Messages in this thread | | | Date | Tue, 25 Jul 2023 10:11:14 +0200 | From | Stephan Gerhold <> | Subject | Re: [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree |
| |
On Mon, Jul 24, 2023 at 10:52:42PM +0200, André Apitzsch wrote: > This dts adds support for BQ Aquaris M5 (Longcheer L9100) released in > 2015. > > Add a device tree with initial support for: > > - GPIO keys > - Hall sensor > - SDHCI > - WCNSS (BT/WIFI) > - Accelerometer/Magnetometer > - Vibrator > - Touchscreen > - Front flash > > Signed-off-by: André Apitzsch <git@apitzsch.eu> > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > .../boot/dts/qcom/msm8939-longcheer-l9100.dts | 340 +++++++++++++++++++++ > 2 files changed, 341 insertions(+) > > [...] > diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts > new file mode 100644 > index 000000000000..74782e323a2c > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts > @@ -0,0 +1,340 @@ > [...] > + > + usb_id: usb-id { > + compatible = "linux,extcon-usb-gpio"; > + id-gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>;
id-gpios, to avoid conflict with https://lore.kernel.org/linux-arm-msm/20230724103914.1779027-7-alexander.stein@ew.tq-group.com/
> + pinctrl-0 = <&usb_id_default &usb_id_switch_default>; > + pinctrl-names = "default"; > + }; > + > +}; > [...] > + > +&mdss { > + status = "okay"; > +}; > +
I'd introduce this together with the display support.
Thanks, Stephan
| |