Re: [PATCH v2 2/2] ARM: dts: qcom: msm8926-motorola-peregrine: Add initial device tree

2023-12-15 Thread André Apitzsch
Am Freitag, dem 15.12.2023 um 00:37 +0100 schrieb Konrad Dybcio: > > > On 12/14/23 21:59, André Apitzsch wrote: > > This dts adds support for Motorola Moto G 4G released in 2013. > > > > Add a device tree with initial support for: > > > > -

[PATCH v2 1/2] dt-bindings: arm: qcom: Add Motorola Moto G 4G (2013)

2023-12-14 Thread André Apitzsch
Document the compatible for the MSM8926-based Motorola Moto G 4G smartphone released in 2013. Acked-by: Krzysztof Kozlowski Signed-off-by: André Apitzsch --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 0/2] ARM: dts: qcom: msm8926-motorola-peregrine: Add initial device tree

2023-12-14 Thread André Apitzsch
This dts adds support for Motorola Moto G 4G released in 2013. Add a device tree with initial support for: - GPIO keys - Hall sensor - SDHCI - Vibrator Signed-off-by: André Apitzsch --- Changes in v2: - Make clear it's about Moto G 4G released in 2013. - Add a-b to patch 1/2. - Combine nodes

Re: [PATCH 0/2] ARM: dts: qcom: msm8926-motorola-peregrine: Add initial device tree

2023-12-14 Thread André Apitzsch
Am Mittwoch, dem 13.12.2023 um 21:44 +0100 schrieb Konrad Dybcio: > > > On 12/13/23 21:33, André Apitzsch wrote: > > This dts adds support for Motorola Moto G 4G released in 2013. > I have a similar one in my drawer.. not the 4g kind, titan IIRC? > Wasn't this one codena

[PATCH 0/2] ARM: dts: qcom: msm8926-motorola-peregrine: Add initial device tree

2023-12-13 Thread André Apitzsch
This dts adds support for Motorola Moto G 4G released in 2013. Add a device tree with initial support for: - GPIO keys - Hall sensor - SDHCI - Vibrator Signed-off-by: André Apitzsch --- André Apitzsch (2): dt-bindings: arm: qcom: Add Motorola Moto G 4G ARM: dts: qcom: msm8926

[PATCH 1/2] dt-bindings: arm: qcom: Add Motorola Moto G 4G

2023-12-13 Thread André Apitzsch
Document the compatible for the MSM8926-based Motorola Moto G 4G smartphone. Signed-off-by: André Apitzsch --- 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

[PATCH v2] arm64: dts: qcom: msm8939-longcheer-l9100: Add proximity-near-level

2023-11-26 Thread André Apitzsch
Consider an object near to the sensor when their distance is about 4 cm or below. Reviewed-by: Konrad Dybcio Signed-off-by: André Apitzsch --- Changes in v2: - add R-b - Link to v1: https://lore.kernel.org/r/20231016-bqm5_prox-v1-1-2acdc732b...@apitzsch.eu --- arch/arm64/boot/dts/qcom/msm8939

Re: [PATCH] arm64: dts: qcom: msm8939-longcheer-l9100: Add proximity-near-level

2023-10-18 Thread André Apitzsch
Am Mittwoch, dem 18.10.2023 um 10:32 +0200 schrieb Konrad Dybcio: > > > On 10/17/23 22:03, André Apitzsch wrote: > > Am Dienstag, dem 17.10.2023 um 18:25 +0200 schrieb Konrad Dybcio: > > > > > > > > > On 10/16/23 22:18, André Apitzsch wrote: > >

Re: [PATCH] arm64: dts: qcom: msm8939-longcheer-l9100: Add proximity-near-level

2023-10-17 Thread André Apitzsch
Am Dienstag, dem 17.10.2023 um 18:25 +0200 schrieb Konrad Dybcio: > > > On 10/16/23 22:18, André Apitzsch wrote: > > Consider an object near to the sensor when their distance is about > > 4 cm > > or below. > > > > Signed-off-by: André Apitzsch > &g

[PATCH] arm64: dts: qcom: msm8939-longcheer-l9100: Add proximity-near-level

2023-10-16 Thread André Apitzsch
Consider an object near to the sensor when their distance is about 4 cm or below. Signed-off-by: André Apitzsch --- arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b/arch/arm64/boot

[PATCH 2/2] arm64: dts: qcom: msm8939-longcheer-l9100: Enable RGB LED

2023-10-13 Thread André Apitzsch
l9100 uses KTD2026 LED driver. Add it to the device tree. Signed-off-by: André Apitzsch --- .../boot/dts/qcom/msm8939-longcheer-l9100.dts | 51 ++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b/arch/arm64/boot/dts

[PATCH 0/2] arm64: dts: qcom: longcheer l8910 and l9100: Enable RGB LED

2023-10-13 Thread André Apitzsch
With the driver for ktd2026 recently applied to linux-leds[1], the LED can be enabled on longcheer l8910 and l9100. [1] https://lore.kernel.org/all/20231002-ktd202x-v6-0-26be8eefe...@apitzsch.eu/ Signed-off-by: André Apitzsch --- André Apitzsch (2): arm64: dts: qcom: msm8916-longcheer

[PATCH 1/2] arm64: dts: qcom: msm8916-longcheer-l8910: Enable RGB LED

2023-10-13 Thread André Apitzsch
l8910 uses KTD2026 LED driver. Add it to the device tree. Tested-by: Stephan Gerhold Signed-off-by: André Apitzsch --- .../boot/dts/qcom/msm8916-longcheer-l8910.dts | 51 ++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910

[PATCH v6 2/2] leds: add ktd202x driver

2023-10-02 Thread André Apitzsch
This commit adds support for Kinetic KTD2026/7 RGB/White LED driver. Signed-off-by: André Apitzsch --- drivers/leds/rgb/Kconfig| 13 + drivers/leds/rgb/Makefile | 1 + drivers/leds/rgb/leds-ktd202x.c | 625 3 files changed, 639

[PATCH v6 0/2] leds: Add a driver for KTD202x

2023-10-02 Thread André Apitzsch
Add the binding description and the corresponding driver for the Kinetic KTD2026 and KTD2027. Signed-off-by: André Apitzsch --- Changes in v6: - Remove un-needed inits - Narrow scope of variables - Release of_node references on early exit - Pass child node to dev_err() in ktd202x_setup_led_rgb

[PATCH v6 1/2] dt-bindings: leds: Add Kinetic KTD2026/2027 LED

2023-10-02 Thread André Apitzsch
Document Kinetic KTD2026/2027 LED driver devicetree bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/kinetic,ktd202x.yaml | 171 + 1 file changed, 171 insertions(+) diff --git a/Documentation/devicetree/bindings

Re: [PATCH v5 2/2] leds: add ktd202x driver

2023-10-02 Thread André Apitzsch
Am Sonntag, dem 01.10.2023 um 22:46 +0200 schrieb Christophe JAILLET: > Le 01/10/2023 à 18:56, André Apitzsch a écrit : > > Hi Christophe, > > > > Am Sonntag, dem 01.10.2023 um 17:15 +0200 schrieb Christophe > > JAILLET: > > > Le 01/10/2023 à 15:52, André Ap

Re: [PATCH v5 2/2] leds: add ktd202x driver

2023-10-01 Thread André Apitzsch
Hi Christophe, Am Sonntag, dem 01.10.2023 um 17:15 +0200 schrieb Christophe JAILLET: > Le 01/10/2023 à 15:52, André Apitzsch a écrit : > > This commit adds support for Kinetic KTD2026/7 RGB/White LED > > driver. > > > > Signed-off-by: André Apitzsch >

[PATCH v5 2/2] leds: add ktd202x driver

2023-10-01 Thread André Apitzsch
This commit adds support for Kinetic KTD2026/7 RGB/White LED driver. Signed-off-by: André Apitzsch --- drivers/leds/rgb/Kconfig| 13 + drivers/leds/rgb/Makefile | 1 + drivers/leds/rgb/leds-ktd202x.c | 619 3 files changed, 633

[PATCH v5 1/2] dt-bindings: leds: Add Kinetic KTD2026/2027 LED

2023-10-01 Thread André Apitzsch
Document Kinetic KTD2026/2027 LED driver devicetree bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/kinetic,ktd202x.yaml | 171 + 1 file changed, 171 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v5 0/2] leds: Add a driver for KTD202x

2023-10-01 Thread André Apitzsch
Add the binding description and the corresponding driver for the Kinetic KTD2026 and KTD2027. Signed-off-by: André Apitzsch --- Changes in v5: - Restructure brightness_set() + add comments to it to be easier understandable - Add some line breaks + remove little line-wraps to improve readability

Re: [PATCH v4 2/2] leds: add ktd202x driver

2023-09-28 Thread André Apitzsch
Hi Lee Jones, Am Donnerstag, dem 28.09.2023 um 15:42 +0100 schrieb Lee Jones: > On Sat, 23 Sep 2023, André Apitzsch wrote: > > > This commit adds support for Kinetic KTD2026/7 RGB/White LED > > driver. > > > > Signed-off-by: André Apitzsch > > --- > &

[PATCH v4 2/2] leds: add ktd202x driver

2023-09-23 Thread André Apitzsch
This commit adds support for Kinetic KTD2026/7 RGB/White LED driver. Signed-off-by: André Apitzsch --- drivers/leds/rgb/Kconfig| 13 + drivers/leds/rgb/Makefile | 1 + drivers/leds/rgb/leds-ktd202x.c | 625 3 files changed, 639

[PATCH v4 1/2] dt-bindings: leds: Add Kinetic KTD2026/2027 LED

2023-09-23 Thread André Apitzsch
Document Kinetic KTD2026/2027 LED driver devicetree bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/kinetic,ktd202x.yaml | 171 + 1 file changed, 171 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v4 0/2] leds: Add a driver for KTD202x

2023-09-23 Thread André Apitzsch
Add the binding description and the corresponding driver for the Kinetic KTD2026 and KTD2027. Signed-off-by: André Apitzsch --- Changes in v4: - Annotate struct ktd202x with __counted_by - Link to v3: https://lore.kernel.org/r/20230906-ktd202x-v3-0-7fcb91c65...@apitzsch.eu Changes in v3: - Add