arm64: dts: qcom: sc8280xp: add aliases for i2c4 and i2c21
authorBrian Masney <bmasney@redhat.com>
Tue, 3 Jan 2023 18:22:28 +0000 (13:22 -0500)
committerBjorn Andersson <andersson@kernel.org>
Thu, 19 Jan 2023 00:03:14 +0000 (18:03 -0600)
Add aliases for i2c4 and i2c21 to the crd and x13s DTS files so that
what's exposed to userspace doesn't change in the future if additional
i2c buses are enabled on these platforms.

Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230103182229.37169-10-bmasney@redhat.com
arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts

index 99fb49f..20c6291 100644 (file)
@@ -17,6 +17,8 @@
        compatible = "qcom,sc8280xp-crd", "qcom,sc8280xp";
 
        aliases {
+               i2c4 = &i2c4;
+               i2c21 = &i2c21;
                serial0 = &uart17;
        };
 
index 8119452..f936b02 100644 (file)
        model = "Lenovo ThinkPad X13s";
        compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp";
 
+       aliases {
+               i2c4 = &i2c4;
+               i2c21 = &i2c21;
+       };
+
        wcd938x: audio-codec {
                compatible = "qcom,wcd9380-codec";