Message ID | 20230103182229.37169-10-bmasney@redhat.com |
---|---|
State | New |
Headers | show |
Series | dts: qcom: sc8280xp: add i2c, spi, and rng nodes | expand |
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts index dfd8c42d8ca0..92d410af6cf3 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts @@ -17,6 +17,8 @@ / { compatible = "qcom,sc8280xp-crd", "qcom,sc8280xp"; aliases { + i2c4 = &i2c4; + i2c21 = &i2c21; serial0 = &uart17; }; diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 2c360e52dae5..f9da3ee54545 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -21,6 +21,11 @@ / { model = "Lenovo ThinkPad X13s"; compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp"; + aliases { + i2c4 = &i2c4; + i2c21 = &i2c21; + }; + backlight { compatible = "pwm-backlight"; pwms = <&pmc8280c_lpg 3 1000000>;
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> --- New patch introduced in v4 arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 2 ++ arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 5 +++++ 2 files changed, 7 insertions(+)