Re: [PATCH RESEND v6] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-08-16 Thread André Apitzsch
Am Donnerstag, dem 15.08.2024 um 15:40 -0500 schrieb Bjorn Andersson: > > On Mon, 29 Jul 2024 23:23:04 +0200, André Apitzsch wrote: > > The phone has a Silergy SY7802 flash LED controller. > > > > > > Applied, thanks! > > [1/1] arm64: dts: qcom: msm

Re: [PATCH v2 0/3] Add sy7802 flash led driver

2024-04-01 Thread André Apitzsch
Am Montag, dem 01.04.2024 um 14:45 -0700 schrieb Trilok Soni: > On 4/1/2024 2:23 PM, André Apitzsch via B4 Relay wrote: > > This series introduces a driver for the Silergy SY7802 charge pump > > used > > in the BQ Aquaris M5 and X5 smartphones. > > > > The imple

Re: [PATCH v2 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-05-01 Thread André Apitzsch
Hi Lee Jones, thanks for the feedback. I will address your comments in the next version. I have a few comments/questions though, see below. Best regards, André Am Donnerstag, dem 11.04.2024 um 13:48 +0100 schrieb Lee Jones: > On Mon, 01 Apr 2024, André Apitzsch via B4 Relay wr

Re: [PATCH v2 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-05-02 Thread André Apitzsch
Am Donnerstag, dem 02.05.2024 um 10:10 +0100 schrieb Lee Jones: > On Wed, 01 May 2024, André Apitzsch wrote: > > > > > + ret = -EBUSY; > > > > + goto unlock; > > > > + } > > > > + > > > > +

Re: [PATCH v2 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-05-04 Thread André Apitzsch
Am Freitag, dem 03.05.2024 um 08:19 +0100 schrieb Lee Jones: > On Thu, 11 Apr 2024, Lee Jones wrote: > > > On Mon, 01 Apr 2024, André Apitzsch via B4 Relay wrote: > > > > > From: André Apitzsch > > > > > > Add support for SY7802 flash LED controller

Re: [PATCH v4 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-06-22 Thread André Apitzsch
Hello Lee, Am Freitag, dem 21.06.2024 um 11:26 +0100 schrieb Lee Jones: > On Sun, 16 Jun 2024, André Apitzsch via B4 Relay wrote: > > > From: André Apitzsch > > > > The SY7802 is a current-regulated charge pump which can regulate > > two > > curr

[PATCH 0/3] Add sy7802 flash led driver

2024-03-27 Thread André Apitzsch via B4 Relay
ister description. Signed-off-by: André Apitzsch --- André Apitzsch (3): dt-bindings: leds: Add Silergy SY7802 flash LED leds: sy7802: Add support for Silergy SY7802 flash LED controller arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash .../devicetree/bindings/leds/si

[PATCH 3/3] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-03-27 Thread André Apitzsch via B4 Relay
From: André Apitzsch The phone has a Silergy SY7802 flash LED controller. Signed-off-by: André Apitzsch --- .../boot/dts/qcom/msm8939-longcheer-l9100.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b

[PATCH 1/3] dt-bindings: leds: Add Silergy SY7802 flash LED

2024-03-27 Thread André Apitzsch via B4 Relay
From: André Apitzsch Document Silergy SY7802 flash LED driver devicetree bindings. Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/silergy,sy7802.yaml | 96 ++ 1 file changed, 96 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/silergy

[PATCH 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-03-27 Thread André Apitzsch via B4 Relay
From: André Apitzsch Add support for SY7802 flash LED controller. It can support up to 1.8A flash current. Signed-off-by: André Apitzsch --- drivers/leds/flash/Kconfig | 11 + drivers/leds/flash/Makefile | 1 + drivers/leds/flash/leds-sy7802.c | 532

[PATCH v2 1/3] dt-bindings: leds: Add Silergy SY7802 flash LED

2024-04-01 Thread André Apitzsch via B4 Relay
From: André Apitzsch Document Silergy SY7802 flash LED driver devicetree bindings. Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/silergy,sy7802.yaml | 100 + 1 file changed, 100 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/silergy

[PATCH v2 0/3] Add sy7802 flash led driver

2024-04-01 Thread André Apitzsch via B4 Relay
ister description. Signed-off-by: André Apitzsch --- Changes in v2: - bindings: remove unneeded allOf - bindings: example: move flash-led-controller under i2c node to fix check error - Cc to phone-devel - Link to v1: https://lore.kernel.org/r/20240327-sy7802-v1-0-db74ab32f...@apitzsch.eu ---

[PATCH v2 3/3] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-04-01 Thread André Apitzsch via B4 Relay
From: André Apitzsch The phone has a Silergy SY7802 flash LED controller. Signed-off-by: André Apitzsch --- .../boot/dts/qcom/msm8939-longcheer-l9100.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b

[PATCH v2 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-04-01 Thread André Apitzsch via B4 Relay
From: André Apitzsch Add support for SY7802 flash LED controller. It can support up to 1.8A flash current. Signed-off-by: André Apitzsch --- drivers/leds/flash/Kconfig | 11 + drivers/leds/flash/Makefile | 1 + drivers/leds/flash/leds-sy7802.c | 532

[PATCH v3 0/3] Add sy7802 flash led driver

2024-06-12 Thread André Apitzsch via B4 Relay
ister description. Signed-off-by: André Apitzsch --- Changes in v3: - Add R-b tag to first patch - Extend driver commit message - Improve readability of defines by using BIT() - Rename some variables/parameters * led_no -> led_id * level -> brightness * curr -> fled_{strobe,torch}_use

[PATCH v3 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-06-12 Thread André Apitzsch via B4 Relay
From: André Apitzsch The SY7802 is a current-regulated charge pump which can regulate two current levels for Flash and Torch modes. It is a high-current synchronous boost converter with 2-channel high side current sources. Each channel is able to deliver 900mA current. Signed-off-by: André

[PATCH v3 1/3] dt-bindings: leds: Add Silergy SY7802 flash LED

2024-06-12 Thread André Apitzsch via B4 Relay
From: André Apitzsch Document Silergy SY7802 flash LED driver devicetree bindings. Reviewed-by: Rob Herring Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/silergy,sy7802.yaml | 100 + 1 file changed, 100 insertions(+) diff --git a/Documentation

[PATCH v3 3/3] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-06-12 Thread André Apitzsch via B4 Relay
From: André Apitzsch The phone has a Silergy SY7802 flash LED controller. Signed-off-by: André Apitzsch --- .../boot/dts/qcom/msm8939-longcheer-l9100.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b

[PATCH v4 1/3] dt-bindings: leds: Add Silergy SY7802 flash LED

2024-06-16 Thread André Apitzsch via B4 Relay
From: André Apitzsch Document Silergy SY7802 flash LED driver devicetree bindings. Reviewed-by: Rob Herring Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/silergy,sy7802.yaml | 100 + 1 file changed, 100 insertions(+) diff --git a/Documentation

[PATCH v4 0/3] Add sy7802 flash led driver

2024-06-16 Thread André Apitzsch via B4 Relay
ister description. Signed-off-by: André Apitzsch --- Changes in v4: - Use for_each_available_child_of_node_scoped() to simplify code - Use dev_err_probe() to be consistent with the other code in sy7802_probe() - Split devm_add_action() into 2 devm_add_action_or_reset() to simplify code and ba

[PATCH v4 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-06-16 Thread André Apitzsch via B4 Relay
From: André Apitzsch The SY7802 is a current-regulated charge pump which can regulate two current levels for Flash and Torch modes. It is a high-current synchronous boost converter with 2-channel high side current sources. Each channel is able to deliver 900mA current. Signed-off-by: André

[PATCH v4 3/3] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-06-16 Thread André Apitzsch via B4 Relay
From: André Apitzsch The phone has a Silergy SY7802 flash LED controller. Signed-off-by: André Apitzsch --- .../boot/dts/qcom/msm8939-longcheer-l9100.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b

[PATCH v5 0/3] Add sy7802 flash led driver

2024-06-24 Thread André Apitzsch via B4 Relay
ister description. Signed-off-by: André Apitzsch --- Changes in v5: - Fix language in driver description comment - Unwrap function arguments - Remove unnecessary empty lines - Add Acked-by tag to second patch - Link to v4: https://lore.kernel.org/r/20240616-sy7802-v4-0-789994180...@apitzsch.eu Ch

[PATCH v5 3/3] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-06-24 Thread André Apitzsch via B4 Relay
From: André Apitzsch The phone has a Silergy SY7802 flash LED controller. Signed-off-by: André Apitzsch --- .../boot/dts/qcom/msm8939-longcheer-l9100.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b

[PATCH v5 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-06-24 Thread André Apitzsch via B4 Relay
From: André Apitzsch The SY7802 is a current-regulated charge pump which can regulate two current levels for Flash and Torch modes. It is a high-current synchronous boost converter with 2-channel high side current sources. Each channel is able to deliver 900mA current. Acked-by: Lee Jones

[PATCH v5 1/3] dt-bindings: leds: Add Silergy SY7802 flash LED

2024-06-24 Thread André Apitzsch via B4 Relay
From: André Apitzsch Document Silergy SY7802 flash LED driver devicetree bindings. Reviewed-by: Rob Herring Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/silergy,sy7802.yaml | 100 + 1 file changed, 100 insertions(+) diff --git a/Documentation

[PATCH v6] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-07-07 Thread André Apitzsch via B4 Relay
From: André Apitzsch The phone has a Silergy SY7802 flash LED controller. Reviewed-by: Konrad Dybcio Signed-off-by: André Apitzsch --- This series introduces a driver for the Silergy SY7802 charge pump used in the BQ Aquaris M5 and X5 smartphones. The implementation is based on information

[PATCH RESEND v6] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-07-29 Thread André Apitzsch via B4 Relay
From: André Apitzsch The phone has a Silergy SY7802 flash LED controller. Reviewed-by: Konrad Dybcio Signed-off-by: André Apitzsch --- This series introduces a driver for the Silergy SY7802 charge pump used in the BQ Aquaris M5 and X5 smartphones. The implementation is based on information