Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64: dts: qcom: sdm636-xiaomi-tulip: enable spi_7 interface #43

Merged

Conversation

M0Rf30
Copy link

@M0Rf30 M0Rf30 commented Nov 2, 2024

This enables spi_7 interface on xiaomi-tulip

dmesg:

[ 2.797349] spi_qup c1b7000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64

downstream references:
https://github.com/Genom-Project/android_kernel_xiaomi_tulip/blob/2e83ae9ce4cdfafe5908c802ae1d159ca5e26753/arch/arm/boot/dts/qcom/sdm660-blsp.dtsi#L397

https://github.com/Genom-Project/android_kernel_xiaomi_tulip/blob/2e83ae9ce4cdfafe5908c802ae1d159ca5e26753/arch/arm/boot/dts/qcom/sdm660-pinctrl.dtsi#L839

There is also an enabled device, I tried with:

&blsp_spi7 {
	status = "okay";

        spidev@1 {
		compatible = "rohm,dh2228fv";
                reg = <1>;
                spi-cpol;
                spi-max-frequency = <1000000>;
        };
};

But I have write failures, I think should be (similarly to msm8953 devices), the IR blaster

This change add spi7 interface to SDM630 devices.

Signed-off-by: Gianluca Boiano <[email protected]>
It enables SPI interface on tulip

Signed-off-by: Gianluca Boiano <[email protected]>
@minlexx
Copy link
Member

minlexx commented Nov 2, 2024

What is this spi7 used for?

@M0Rf30
Copy link
Author

M0Rf30 commented Nov 2, 2024

What is this spi7 used for?

In other SoC (msm8953) it's the parent interface of some devices, like IR blaster.
As you can see on tulip is active.

@M0Rf30 M0Rf30 merged commit 84bb8e4 into sdm660-mainline:qcom-sdm660-6.11.y Nov 2, 2024
1 check passed
@M0Rf30 M0Rf30 deleted the qcom-sdm660-6.11.y-tulip-spi branch November 2, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants