]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: lemans-evk: Add TCA9534 I/O expander
authorNirmesh Kumar Singh <quic_nkumarsi@quicinc.com>
Tue, 16 Sep 2025 10:46:51 +0000 (16:16 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 16 Sep 2025 14:48:04 +0000 (09:48 -0500)
Integrate the TCA9534 I/O expander via I2C to provide 8 additional
GPIO lines for extended I/O functionality.

Signed-off-by: Nirmesh Kumar Singh <quic_nkumarsi@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Wasim Nazir <wasim.nazir@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250916-lemans-evk-bu-v5-3-53d7d206669d@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/lemans-evk.dts

index 4da2c5a12c1f44c3b67be8e0d01396962535547c..d1118818e2fdcc8662534ed7d960cee9e50fb0e6 100644 (file)
        status = "okay";
 };
 
+&i2c18 {
+       status = "okay";
+
+       expander0: gpio@38 {
+               compatible = "ti,tca9538";
+               reg = <0x38>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+
+       expander1: gpio@39 {
+               compatible = "ti,tca9538";
+               reg = <0x39>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+
+       expander2: gpio@3a {
+               compatible = "ti,tca9538";
+               reg = <0x3a>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+
+       expander3: gpio@3b {
+               compatible = "ti,tca9538";
+               reg = <0x3b>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+};
+
 &mdss0 {
        status = "okay";
 };