mbox series

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

Message ID 20240401-sy7802-v2-0-1138190a7448@apitzsch.eu (mailing list archive)
Headers show
Series Add sy7802 flash led driver | expand

Message

André Apitzsch via B4 Relay April 1, 2024, 9:23 p.m. UTC
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 extracted from downstream as
the datasheet provided by a distributor of the hardware didn't include
any information about the i2c register description.

Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
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-db74ab32faaf@apitzsch.eu

---
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/silergy,sy7802.yaml   | 100 ++++
 .../boot/dts/qcom/msm8939-longcheer-l9100.dts      |  26 +
 drivers/leds/flash/Kconfig                         |  11 +
 drivers/leds/flash/Makefile                        |   1 +
 drivers/leds/flash/leds-sy7802.c                   | 532 +++++++++++++++++++++
 5 files changed, 670 insertions(+)
---
base-commit: a6bd6c9333397f5a0e2667d4d82fef8c970108f2
change-id: 20240325-sy7802-f40fc6f56525

Best regards,

Comments

Trilok Soni April 1, 2024, 9:45 p.m. UTC | #1
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 implementation is based on information extracted from downstream as
> the datasheet provided by a distributor of the hardware didn't include
> any information about the i2c register description.
> 
> Signed-off-by: André Apitzsch <git@apitzsch.eu>


Is this the right email address? "From" shows devnull+git.apitzsch.eu@kernel.org. 

> ---
> 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-db74ab32faaf@apitzsch.eu
> 
> ---
> 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/silergy,sy7802.yaml   | 100 ++++
>  .../boot/dts/qcom/msm8939-longcheer-l9100.dts      |  26 +
>  drivers/leds/flash/Kconfig                         |  11 +
>  drivers/leds/flash/Makefile                        |   1 +
>  drivers/leds/flash/leds-sy7802.c                   | 532 +++++++++++++++++++++
>  5 files changed, 670 insertions(+)
> ---
> base-commit: a6bd6c9333397f5a0e2667d4d82fef8c970108f2
> change-id: 20240325-sy7802-f40fc6f56525
> 
> Best regards,
André Apitzsch April 1, 2024, 10:11 p.m. UTC | #2
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 implementation is based on information extracted from
> > downstream as
> > the datasheet provided by a distributor of the hardware didn't
> > include
> > any information about the i2c register description.
> > 
> > Signed-off-by: André Apitzsch <git@apitzsch.eu>
> 
> 
> Is this the right email address? "From" shows
> devnull+git.apitzsch.eu@kernel.org. 
> 
This was created by b4 using the web submission endpoint.

André

> > ---
> > 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-db74ab32faaf@apitzsch.eu
> > 
> > ---
> > 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/silergy,sy7802.yaml   | 100 ++++
> >  .../boot/dts/qcom/msm8939-longcheer-l9100.dts      |  26 +
> >  drivers/leds/flash/Kconfig                         |  11 +
> >  drivers/leds/flash/Makefile                        |   1 +
> >  drivers/leds/flash/leds-sy7802.c                   | 532
> > +++++++++++++++++++++
> >  5 files changed, 670 insertions(+)
> > ---
> > base-commit: a6bd6c9333397f5a0e2667d4d82fef8c970108f2
> > change-id: 20240325-sy7802-f40fc6f56525
> > 
> > Best regards,