mbox series

[0/2] Add the property to make ocp level selectable

Message ID 1653534995-30794-1-git-send-email-u0084500@gmail.com
Headers show
Series Add the property to make ocp level selectable | expand

Message

cy_huang May 26, 2022, 3:16 a.m. UTC
From: ChiYuan Huang <cy_huang@richtek.com>

This patch series is to make ocp level selectable.

Some application design use small inductor. And it's easy to trigger the
over current protection. Due to the OCP limit, It make the brightness current
not match the configured value.

To meet the HW design, the ocp level have to be selectable.

ChiYuan Huang (2):
  dt-bindings: backlight: rt4831: Add the new property for ocp level
    selection
  backlight: rt4831: Add the property parsing for ocp level selection

 .../bindings/leds/backlight/richtek,rt4831-backlight.yaml   |  8 ++++++++
 drivers/video/backlight/rt4831-backlight.c                  | 13 +++++++++++++
 include/dt-bindings/leds/rt4831-backlight.h                 |  5 +++++
 3 files changed, 26 insertions(+)