On 04/07/2023 18:32, David Wronek wrote: > There are 6 Xiaomi smartphones with the SM7125 SoC: > > - POCO M2 Pro (gram) > - Redmi Note 9S (curtana) > - Redmi Note 9 Pro (Global, joyeuse) > - Redmi Note 9 Pro (India, curtana) > - Redmi Note 9 Pro Max (excalibur) > - Redmi Note 10 Lite (curtana) > > These devices share a common board design (a.k.a miatoll) with only a > few differences. Add support for the common board, as well as support > for the global Redmi Note 9 Pro. > > Signed-off-by: David Wronek <davidwronek@xxxxxxxxx> > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > .../boot/dts/qcom/sm7125-xiaomi-joyeuse.dts | 16 + > .../boot/dts/qcom/sm7125-xiaomi-miatoll.dtsi | 420 ++++++++++++++++++ > 3 files changed, 437 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts > create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-miatoll.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index 337abc4ceb17..7ef9e7d43904 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -192,6 +192,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb > +dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-joyeuse.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm7225-fairphone-fp4.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8150-hdk.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8150-microsoft-surface-duo.dtb > diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts > new file mode 100644 > index 000000000000..670fd63f3416 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts > @@ -0,0 +1,16 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2023, David Wronek <davidwronek@xxxxxxxxx> I have some doubts that result looking exactly like other file is done not as derivative work. Please retain original copyrights. Best regards, Krzysztof