On Sat, Oct 19, 2024 at 03:57:54PM +0200, barnabas.czeman@xxxxxxxxxxxxxx wrote: > On 2024-10-19 15:48, Dmitry Baryshkov wrote: > > On Sat, Oct 19, 2024 at 01:50:51PM +0200, Barnabás Czémán wrote: > > > Add initial support for Xiaomi Redmi 5A (riva). > > > > > > Signed-off-by: Barnabás Czémán <barnabas.czeman@xxxxxxxxxxxxxx> > > > --- > > > arch/arm64/boot/dts/qcom/Makefile | 1 + > > > arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 295 > > > +++++++++++++++++++++++ > > > 2 files changed, 296 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/qcom/Makefile > > > b/arch/arm64/boot/dts/qcom/Makefile > > > index 065bb19481c16db2affd291826d420c83a89c52a..79add0e07d8a5f3362d70b0aaaaa9b8c48e31239 > > > 100644 > > > --- a/arch/arm64/boot/dts/qcom/Makefile > > > +++ b/arch/arm64/boot/dts/qcom/Makefile > > > @@ -59,6 +59,7 @@ dtb-$(CONFIG_ARCH_QCOM) += > > > msm8916-wingtech-wt86518.dtb > > > dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt86528.dtb > > > dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt88047.dtb > > > dtb-$(CONFIG_ARCH_QCOM) += msm8916-yiming-uz801v3.dtb > > > +dtb-$(CONFIG_ARCH_QCOM) += msm8917-xiaomi-riva.dtb > > > dtb-$(CONFIG_ARCH_QCOM) += msm8929-wingtech-wt82918hd.dtb > > > dtb-$(CONFIG_ARCH_QCOM) += msm8939-huawei-kiwi.dtb > > > dtb-$(CONFIG_ARCH_QCOM) += msm8939-longcheer-l9100.dtb > > > diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts > > > b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts > > > new file mode 100644 > > > index 0000000000000000000000000000000000000000..7553f73603fc87797b0d424a2af6f2da65c90f5f > > > --- /dev/null > > > +++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts > > > @@ -0,0 +1,295 @@ > > > +// SPDX-License-Identifier: BSD-3-Clause > > > +/* > > > + * Copyright (c) 2023, Barnabas Czeman > > > + */ > > > + > > > +/dts-v1/; > > > + > > > +#include <dt-bindings/arm/qcom,ids.h> > > > +#include <dt-bindings/gpio/gpio.h> > > > +#include <dt-bindings/input/linux-event-codes.h> > > > +#include <dt-bindings/leds/common.h> > > > +#include "msm8917.dtsi" > > > +#include "pm8937.dtsi" > > > + > > > +/ { > > > + model = "Xiaomi Redmi 5A (riva)"; > > > + compatible = "xiaomi,riva", "qcom,msm8917"; > > > + chassis-type = "handset"; > > > + > > > + qcom,msm-id = <QCOM_ID_MSM8917 0>; > > > + qcom,board-id = <0x1000b 2>, <0x2000b 2>; > > > > Is this required to boot? > Yes Hmm, did you verify the dts against DT bindings? I think you need to fix them. -- With best wishes Dmitry