devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add the property to make backlight OCP level selectable
@ 2022-06-09  2:22 cy_huang
  2022-06-09  2:22 ` [PATCH v3 1/2] dt-bindings: backlight: rt4831: Add the new ocp level property cy_huang
  2022-06-09  2:22 ` [PATCH v3 2/2] backlight: rt4831: Apply ocp level from devicetree cy_huang
  0 siblings, 2 replies; 5+ messages in thread
From: cy_huang @ 2022-06-09  2:22 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, lee.jones, daniel.thompson,
	jingoohan1
  Cc: pavel, deller, cy_huang, lucas_tsai, devicetree, dri-devel,
	linux-fbdev, linux-leds, linux-kernel

From: ChiYuan Huang <cy_huang@richtek.com>

This patch series is to add the backlight ocp level property parsing.

Since  v3
- Refine the description for backlight ocp property.
- Use the enum to list the supported value.

Since v2
- change the property name from the register style 'richtek,bled-ocp-cel' to
  'richtek,bled-ocp-microamp'.
- Use the clamp and roundup to get the ovp level selector.

ChiYuan Huang (2):
  dt-bindings: backlight: rt4831: Add the new ocp level property
  backlight: rt4831: Apply ocp level from devicetree

 .../leds/backlight/richtek,rt4831-backlight.yaml   |  5 ++++
 drivers/video/backlight/rt4831-backlight.c         | 33 +++++++++++++++++++++-
 2 files changed, 37 insertions(+), 1 deletion(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-09 10:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-09  2:22 [PATCH v3 0/2] Add the property to make backlight OCP level selectable cy_huang
2022-06-09  2:22 ` [PATCH v3 1/2] dt-bindings: backlight: rt4831: Add the new ocp level property cy_huang
2022-06-09  9:26   ` Daniel Thompson
2022-06-09 10:31   ` Krzysztof Kozlowski
2022-06-09  2:22 ` [PATCH v3 2/2] backlight: rt4831: Apply ocp level from devicetree cy_huang

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).