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 99fb49ffbb7330d0b29cfe313abf1cf20cfdcb9d..20c629172477b42fb525169246a96156039bf7ae 100644 (file)
@@ -17,6 +17,8 @@
        compatible = "qcom,sc8280xp-crd", "qcom,sc8280xp";
 
        aliases {
+               i2c4 = &i2c4;
+               i2c21 = &i2c21;
                serial0 = &uart17;
        };
 
index 811945283be67ab4c8003f9bfc15533462a79cb8..f936b020a71d74b4a6f3ff4f5cbbdca617f96173 100644 (file)
        model = "Lenovo ThinkPad X13s";
        compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp";
 
+       aliases {
+               i2c4 = &i2c4;
+               i2c21 = &i2c21;
+       };
+
        wcd938x: audio-codec {
                compatible = "qcom,wcd9380-codec";