]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander
authorDang Huynh <danct12@riseup.net>
Wed, 31 Jul 2024 06:18:43 +0000 (13:18 +0700)
committerBjorn Andersson <andersson@kernel.org>
Thu, 1 Aug 2024 02:41:37 +0000 (21:41 -0500)
F(x)tec Pro1X comes with PCA9534 IO Expander, it is used for enabling
touch screen VDD/VDDIO and keyboard's caps lock LED.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dang Huynh <danct12@riseup.net>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20240731-qx1050-feature-expansion-v3-2-b945527fa5d2@riseup.net
[bjorn: Dropped unnecessary comment in i2c1]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts

index 70f479a63f2e55f0d9fe3ec46da164e0bf2b1023..6abe080a00a2694302685855108daf084d1873b1 100644 (file)
        status = "disabled";
 };
 
+&gpi_dma0 {
+       status = "okay";
+};
+
+&i2c1 {
+       clock-frequency = <100000>;
+
+       status = "okay";
+
+       pca9534: gpio@21 {
+               compatible = "nxp,pca9534";
+               reg = <0x21>;
+               gpio-controller;
+               #gpio-cells = <2>;
+       };
+};
+
 &pm6125_gpios {
        vol_up_n: vol-up-n-state {
                pins = "gpio5";
        status = "okay";
 };
 
+&qupv3_id_0 {
+       status = "okay";
+};
+
 &rpm_requests {
        regulators-0 {
                compatible = "qcom,rpm-pm6125-regulators";