* [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts
@ 2023-07-24 20:52 André Apitzsch
2023-07-24 20:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 André Apitzsch
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: André Apitzsch @ 2023-07-24 20:52 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, André Apitzsch
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>
---
André Apitzsch (2):
dt-bindings: arm: qcom: Add BQ Aquaris M5
arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree
Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../boot/dts/qcom/msm8939-longcheer-l9100.dts | 340 +++++++++++++++++++++
3 files changed, 342 insertions(+)
---
base-commit: 4d2c646ac07cf4a35ef1c4a935a1a4fd6c6b1a36
change-id: 20230724-bq_m5-bc9afe378f8d
Best regards,
--
André Apitzsch <git@apitzsch.eu>
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 2023-07-24 20:52 [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts André Apitzsch @ 2023-07-24 20:52 ` André Apitzsch 2023-07-25 5:46 ` Krzysztof Kozlowski 2023-07-24 20:52 ` [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree André Apitzsch 2023-08-02 15:25 ` [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts Pavel Machek 2 siblings, 1 reply; 12+ messages in thread From: André Apitzsch @ 2023-07-24 20:52 UTC (permalink / raw) To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel, André Apitzsch Add a compatible for BQ Aquaris M5 (Longcheer L9100). Signed-off-by: André Apitzsch <git@apitzsch.eu> --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index a6f7ef4f0830..66f660dd5026 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -186,6 +186,7 @@ properties: - items: - enum: + - longcheer,l9100 - samsung,a7 - sony,kanuti-tulip - square,apq8039-t2 -- 2.41.0 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 2023-07-24 20:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 André Apitzsch @ 2023-07-25 5:46 ` Krzysztof Kozlowski 2023-07-25 8:13 ` Konrad Dybcio 0 siblings, 1 reply; 12+ messages in thread From: Krzysztof Kozlowski @ 2023-07-25 5:46 UTC (permalink / raw) To: André Apitzsch, Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel On 24/07/2023 22:52, André Apitzsch wrote: > Add a compatible for BQ Aquaris M5 (Longcheer L9100). > > Signed-off-by: André Apitzsch <git@apitzsch.eu> > --- > Documentation/devicetree/bindings/arm/qcom.yaml | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- This is an automated instruction, just in case, because many review tags are being ignored. If you do not know the process, here is a short explanation: Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply. https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 Best regards, Krzysztof ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 2023-07-25 5:46 ` Krzysztof Kozlowski @ 2023-07-25 8:13 ` Konrad Dybcio 2023-07-25 9:43 ` Krzysztof Kozlowski 0 siblings, 1 reply; 12+ messages in thread From: Konrad Dybcio @ 2023-07-25 8:13 UTC (permalink / raw) To: Krzysztof Kozlowski, André Apitzsch, Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel On 25.07.2023 07:46, Krzysztof Kozlowski wrote: > On 24/07/2023 22:52, André Apitzsch wrote: >> Add a compatible for BQ Aquaris M5 (Longcheer L9100). >> >> Signed-off-by: André Apitzsch <git@apitzsch.eu> >> --- >> Documentation/devicetree/bindings/arm/qcom.yaml | 1 + >> 1 file changed, 1 insertion(+) > > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > > --- > > This is an automated instruction, just in case, because many review tags > are being ignored. If you do not know the process, here is a short > explanation: > > Please add Acked-by/Reviewed-by/Tested-by tags when posting new > versions, under or above your Signed-off-by tag. Tag is "received", when > provided in a message replied to you on the mailing list. Tools like b4 > can help here. However, there's no need to repost patches *only* to add > the tags. The upstream maintainer will do that for acks received on the > version they apply. > > https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 Krzysztof, update your bot to paste this link with s/v5.17/latest/g Konrad ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 2023-07-25 8:13 ` Konrad Dybcio @ 2023-07-25 9:43 ` Krzysztof Kozlowski 2023-07-25 10:03 ` Konrad Dybcio 0 siblings, 1 reply; 12+ messages in thread From: Krzysztof Kozlowski @ 2023-07-25 9:43 UTC (permalink / raw) To: Konrad Dybcio, André Apitzsch, Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel On 25/07/2023 10:13, Konrad Dybcio wrote: > On 25.07.2023 07:46, Krzysztof Kozlowski wrote: >> On 24/07/2023 22:52, André Apitzsch wrote: >>> Add a compatible for BQ Aquaris M5 (Longcheer L9100). >>> >>> Signed-off-by: André Apitzsch <git@apitzsch.eu> >>> --- >>> Documentation/devicetree/bindings/arm/qcom.yaml | 1 + >>> 1 file changed, 1 insertion(+) >> >> >> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> >> >> --- >> >> This is an automated instruction, just in case, because many review tags >> are being ignored. If you do not know the process, here is a short >> explanation: >> >> Please add Acked-by/Reviewed-by/Tested-by tags when posting new >> versions, under or above your Signed-off-by tag. Tag is "received", when >> provided in a message replied to you on the mailing list. Tools like b4 >> can help here. However, there's no need to repost patches *only* to add >> the tags. The upstream maintainer will do that for acks received on the >> version they apply. >> >> https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 > Krzysztof, update your bot to paste this link with s/v5.17/latest/g Is there any difference? :) I would need to update links in all my templates and re-check the links... Best regards, Krzysztof ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 2023-07-25 9:43 ` Krzysztof Kozlowski @ 2023-07-25 10:03 ` Konrad Dybcio 2023-07-26 7:34 ` Krzysztof Kozlowski 0 siblings, 1 reply; 12+ messages in thread From: Konrad Dybcio @ 2023-07-25 10:03 UTC (permalink / raw) To: Krzysztof Kozlowski, André Apitzsch, Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel On 25.07.2023 11:43, Krzysztof Kozlowski wrote: > On 25/07/2023 10:13, Konrad Dybcio wrote: >> On 25.07.2023 07:46, Krzysztof Kozlowski wrote: >>> On 24/07/2023 22:52, André Apitzsch wrote: >>>> Add a compatible for BQ Aquaris M5 (Longcheer L9100). >>>> >>>> Signed-off-by: André Apitzsch <git@apitzsch.eu> >>>> --- >>>> Documentation/devicetree/bindings/arm/qcom.yaml | 1 + >>>> 1 file changed, 1 insertion(+) >>> >>> >>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>> >>> >>> --- >>> >>> This is an automated instruction, just in case, because many review tags >>> are being ignored. If you do not know the process, here is a short >>> explanation: >>> >>> Please add Acked-by/Reviewed-by/Tested-by tags when posting new >>> versions, under or above your Signed-off-by tag. Tag is "received", when >>> provided in a message replied to you on the mailing list. Tools like b4 >>> can help here. However, there's no need to repost patches *only* to add >>> the tags. The upstream maintainer will do that for acks received on the >>> version they apply. >>> >>> https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 >> Krzysztof, update your bot to paste this link with s/v5.17/latest/g > > Is there any difference? :) I would need to update links in all my > templates and re-check the links... Don't know, but the keyword "latest" in the link always points to the.. latest available release Konrad ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 2023-07-25 10:03 ` Konrad Dybcio @ 2023-07-26 7:34 ` Krzysztof Kozlowski 2023-07-26 13:15 ` Konrad Dybcio 0 siblings, 1 reply; 12+ messages in thread From: Krzysztof Kozlowski @ 2023-07-26 7:34 UTC (permalink / raw) To: Konrad Dybcio, André Apitzsch, Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel On 25/07/2023 12:03, Konrad Dybcio wrote: > On 25.07.2023 11:43, Krzysztof Kozlowski wrote: >> On 25/07/2023 10:13, Konrad Dybcio wrote: >>> On 25.07.2023 07:46, Krzysztof Kozlowski wrote: >>>> On 24/07/2023 22:52, André Apitzsch wrote: >>>>> Add a compatible for BQ Aquaris M5 (Longcheer L9100). >>>>> >>>>> Signed-off-by: André Apitzsch <git@apitzsch.eu> >>>>> --- >>>>> Documentation/devicetree/bindings/arm/qcom.yaml | 1 + >>>>> 1 file changed, 1 insertion(+) >>>> >>>> >>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>>> >>>> >>>> --- >>>> >>>> This is an automated instruction, just in case, because many review tags >>>> are being ignored. If you do not know the process, here is a short >>>> explanation: >>>> >>>> Please add Acked-by/Reviewed-by/Tested-by tags when posting new >>>> versions, under or above your Signed-off-by tag. Tag is "received", when >>>> provided in a message replied to you on the mailing list. Tools like b4 >>>> can help here. However, there's no need to repost patches *only* to add >>>> the tags. The upstream maintainer will do that for acks received on the >>>> version they apply. >>>> >>>> https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 >>> Krzysztof, update your bot to paste this link with s/v5.17/latest/g >> >> Is there any difference? :) I would need to update links in all my >> templates and re-check the links... > Don't know, but the keyword "latest" in the link always points to the.. > latest available release And how do you update the line marker in "latest" version, so it points to exact line I want? I could switch to latest kernel doc and point to chapters, but then not to specific lines. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 2023-07-26 7:34 ` Krzysztof Kozlowski @ 2023-07-26 13:15 ` Konrad Dybcio 0 siblings, 0 replies; 12+ messages in thread From: Konrad Dybcio @ 2023-07-26 13:15 UTC (permalink / raw) To: Krzysztof Kozlowski, André Apitzsch, Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel On 26.07.2023 09:34, Krzysztof Kozlowski wrote: > On 25/07/2023 12:03, Konrad Dybcio wrote: >> On 25.07.2023 11:43, Krzysztof Kozlowski wrote: >>> On 25/07/2023 10:13, Konrad Dybcio wrote: >>>> On 25.07.2023 07:46, Krzysztof Kozlowski wrote: >>>>> On 24/07/2023 22:52, André Apitzsch wrote: >>>>>> Add a compatible for BQ Aquaris M5 (Longcheer L9100). >>>>>> >>>>>> Signed-off-by: André Apitzsch <git@apitzsch.eu> >>>>>> --- >>>>>> Documentation/devicetree/bindings/arm/qcom.yaml | 1 + >>>>>> 1 file changed, 1 insertion(+) >>>>> >>>>> >>>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>>>> >>>>> >>>>> --- >>>>> >>>>> This is an automated instruction, just in case, because many review tags >>>>> are being ignored. If you do not know the process, here is a short >>>>> explanation: >>>>> >>>>> Please add Acked-by/Reviewed-by/Tested-by tags when posting new >>>>> versions, under or above your Signed-off-by tag. Tag is "received", when >>>>> provided in a message replied to you on the mailing list. Tools like b4 >>>>> can help here. However, there's no need to repost patches *only* to add >>>>> the tags. The upstream maintainer will do that for acks received on the >>>>> version they apply. >>>>> >>>>> https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 >>>> Krzysztof, update your bot to paste this link with s/v5.17/latest/g >>> >>> Is there any difference? :) I would need to update links in all my >>> templates and re-check the links... >> Don't know, but the keyword "latest" in the link always points to the.. >> latest available release > > And how do you update the line marker in "latest" version, so it points > to exact line I want? I could switch to latest kernel doc and point to > chapters, but then not to specific lines. Hm, right. Didn't think about that. Konrad ^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree 2023-07-24 20:52 [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts André Apitzsch 2023-07-24 20:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 André Apitzsch @ 2023-07-24 20:52 ` André Apitzsch 2023-07-25 5:48 ` Krzysztof Kozlowski 2023-07-25 8:11 ` Stephan Gerhold 2023-08-02 15:25 ` [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts Pavel Machek 2 siblings, 2 replies; 12+ messages in thread From: André Apitzsch @ 2023-07-24 20:52 UTC (permalink / raw) To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel, André Apitzsch 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/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 23fd31d4bf5a..3200bc92853f 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -39,6 +39,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-thwc-uf896.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-thwc-ufi001c.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt88047.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-yiming-uz801v3.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8939-longcheer-l9100.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-samsung-a7.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-sony-xperia-kanuti-tulip.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb 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 @@ +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8939-pm8916.dtsi" + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/leds/common.h> +#include <dt-bindings/pinctrl/qcom,pmic-mpp.h> + +/ { + model = "BQ Aquaris M5 (Longcheer L9100)"; + compatible = "longcheer,l9100", "qcom,msm8939"; + chassis-type = "handset"; + + aliases { + mmc0 = &sdhc_1; /* eMMC */ + mmc1 = &sdhc_2; /* SD card */ + serial0 = &blsp_uart2; + }; + + chosen { + stdout-path = "serial0"; + }; + + gpio-hall-sensor { + compatible = "gpio-keys"; + + pinctrl-0 = <&gpio_hall_sensor_default>; + pinctrl-names = "default"; + + label = "GPIO Hall Effect Sensor"; + + event-hall-sensor { + label = "Hall Effect Sensor"; + gpios = <&tlmm 20 GPIO_ACTIVE_LOW>; + linux,input-type = <EV_SW>; + linux,code = <SW_LID>; + linux,can-disable; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-0 = <&gpio_keys_default>; + pinctrl-names = "default"; + + label = "GPIO Buttons"; + + button-volume-up { + label = "Volume Up"; + gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; + linux,code = <KEY_VOLUMEUP>; + }; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>; + color = <LED_COLOR_ID_WHITE>; + default-state = "off"; + function = LED_FUNCTION_KBD_BACKLIGHT; + + pinctrl-0 = <&button_backlight_default>; + pinctrl-names = "default"; + }; + }; + + reg_ts_vdd: regulator-vdd-ts { + compatible = "regulator-fixed"; + regulator-name = "regulator-vdd-ts"; + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + + gpio = <&tlmm 78 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 = <&ts_vdd_default>; + pinctrl-names = "default"; + }; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pm8916_pwm 0 100000>; + brightness-levels = <0 255>; + num-interpolated-steps = <255>; + default-brightness-level = <128>; + enable-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&lcd_bl_en_default>; + pinctrl-names = "default"; + }; + + flash-led-controller { + compatible = "ocs,ocp8110"; + flash-gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>; + enable-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&camera_front_flash_default>; + pinctrl-names = "default"; + + led { + function = LED_FUNCTION_FLASH; + color = <LED_COLOR_ID_WHITE>; + flash-max-timeout-us = <250000>; + }; + }; + + usb_id: usb-id { + compatible = "linux,extcon-usb-gpio"; + id-gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&usb_id_default &usb_id_switch_default>; + pinctrl-names = "default"; + }; + +}; + +&blsp_i2c3 { + status = "okay"; + + magnetometer@d { + compatible = "asahi-kasei,ak09911"; + reg = <0x0d>; + + vdd-supply = <&pm8916_l17>; + vid-supply = <&pm8916_l6>; + + reset-gpios = <&tlmm 68 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&mag_reset_default>; + pinctrl-names = "default"; + }; + + light-sensor@23 { + compatible = "liteon,ltr559"; + reg = <0x23>; + + vdd-supply = <&pm8916_l17>; + vddio-supply = <&pm8916_l5>; + + interrupt-parent = <&tlmm>; + interrupts = <113 IRQ_TYPE_EDGE_FALLING>; + + pinctrl-0 = <&light_int_default>; + pinctrl-names = "default"; + }; + + imu@68 { + compatible = "bosch,bmi160"; + reg = <0x68>; + + vdd-supply = <&pm8916_l17>; + vddio-supply = <&pm8916_l6>; + }; +}; + +&blsp_i2c5 { + status = "okay"; + + touchscreen@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + + interrupt-parent = <&tlmm>; + interrupts = <13 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>; + + vdda-supply = <&pm8916_l6>; + vdd-supply = <®_ts_vdd>; + + pinctrl-0 = <&ts_int_reset_default>; + pinctrl-names = "default"; + + /* Keys listed from right to left */ + linux,keycodes = <KEY_APPSELECT KEY_HOMEPAGE KEY_BACK>; + }; +}; + +&blsp_uart2 { + status = "okay"; +}; + +&mdss { + status = "okay"; +}; + +&pm8916_pwm { + pinctrl-0 = <&pwm_out>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pm8916_resin { + linux,code = <KEY_VOLUMEDOWN>; + status = "okay"; +}; + +&pm8916_vib { + status = "okay"; +}; + +&sdhc_1 { + status = "okay"; +}; + +&sdhc_2 { + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; + pinctrl-names = "default", "sleep"; + + cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; + + status = "okay"; +}; + +&usb { + extcon = <&usb_id>, <&usb_id>; + status = "okay"; +}; + +&usb_hs_phy { + extcon = <&usb_id>; +}; + +&wcnss { + status = "okay"; +}; + +&wcnss_iris { + compatible = "qcom,wcn3620"; +}; + +&pm8916_rpm_regulators { + pm8916_l17: l17 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + }; +}; + +&tlmm { + button_backlight_default: button-backlight-default-state { + pins = "gpio17"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + camera_front_flash_default: camera-front-flash-default-state { + pins = "gpio8", "gpio49"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + gpio_hall_sensor_default: gpio-hall-sensor-default-state { + pins = "gpio20"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + gpio_keys_default: gpio-keys-default-state { + pins = "gpio107"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + + lcd_bl_en_default: lcd-bl-en-default-state { + pins = "gpio98"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + light_int_default: light-int-default-state { + pins = "gpio113"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + mag_reset_default: mag-reset-default-state { + pins = "gpio68"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + sdc2_cd_default: sdc2-cd-default-state { + pins = "gpio38"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + ts_int_reset_default: ts-int-reset-default-state { + pins = "gpio12", "gpio13"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + ts_vdd_default: ts-vdd-default-state { + pins = "gpio78"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + usb_id_default: usb-id-default-state { + pins = "gpio110"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + }; + + usb_id_switch_default: usb-id-switch-default-state { + pins = "gpio121"; + function = "gpio"; + drive-strength = <2>; + output-high; + }; +}; + +&pm8916_mpps { + pwm_out: mpp4-state { + pins = "mpp4"; + function = "digital"; + power-source = <PM8916_MPP_VPH>; + output-low; + qcom,dtest = <1>; + }; +}; -- 2.41.0 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree 2023-07-24 20:52 ` [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree André Apitzsch @ 2023-07-25 5:48 ` Krzysztof Kozlowski 2023-07-25 8:11 ` Stephan Gerhold 1 sibling, 0 replies; 12+ messages in thread From: Krzysztof Kozlowski @ 2023-07-25 5:48 UTC (permalink / raw) To: André Apitzsch, Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel On 24/07/2023 22:52, André Apitzsch wrote: > This dts adds support for BQ Aquaris M5 (Longcheer L9100) released in > 2015. > > Add a device tree with initial support for: > ... > +&usb_hs_phy { > + extcon = <&usb_id>; > +}; > + > +&wcnss { > + status = "okay"; > +}; > + > +&wcnss_iris { > + compatible = "qcom,wcn3620"; > +}; > + > +&pm8916_rpm_regulators { > + pm8916_l17: l17 { > + regulator-min-microvolt = <2850000>; > + regulator-max-microvolt = <2850000>; > + }; > +}; > + > +&tlmm { Please sort all node extends/overrides by name. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree 2023-07-24 20:52 ` [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree André Apitzsch 2023-07-25 5:48 ` Krzysztof Kozlowski @ 2023-07-25 8:11 ` Stephan Gerhold 1 sibling, 0 replies; 12+ messages in thread From: Stephan Gerhold @ 2023-07-25 8:11 UTC (permalink / raw) To: André Apitzsch Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree, linux-kernel 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts 2023-07-24 20:52 [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts André Apitzsch 2023-07-24 20:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 André Apitzsch 2023-07-24 20:52 ` [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree André Apitzsch @ 2023-08-02 15:25 ` Pavel Machek 2 siblings, 0 replies; 12+ messages in thread From: Pavel Machek @ 2023-08-02 15:25 UTC (permalink / raw) To: André Apitzsch Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree, linux-kernel [-- Attachment #1: Type: text/plain, Size: 279 bytes --] Hi! > This dts adds support for BQ Aquaris M5 (Longcheer L9100) released in > 2015. Thanks for the patches. Please cc phone-devel@vger.kernel.org with phone patches. Best regards, Pavel -- People of Russia, stop Putin before his war on Ukraine escalates. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2023-08-02 15:28 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-07-24 20:52 [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts André Apitzsch 2023-07-24 20:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add BQ Aquaris M5 André Apitzsch 2023-07-25 5:46 ` Krzysztof Kozlowski 2023-07-25 8:13 ` Konrad Dybcio 2023-07-25 9:43 ` Krzysztof Kozlowski 2023-07-25 10:03 ` Konrad Dybcio 2023-07-26 7:34 ` Krzysztof Kozlowski 2023-07-26 13:15 ` Konrad Dybcio 2023-07-24 20:52 ` [PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial device tree André Apitzsch 2023-07-25 5:48 ` Krzysztof Kozlowski 2023-07-25 8:11 ` Stephan Gerhold 2023-08-02 15:25 ` [PATCH 0/2] arm64: dts: qcom: msm8939-longcheer-l9100: Add initial dts Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).