Thread (9 messages) flat view 9 messages, 5 authors, 2023-06-26

Re: [PATCH 2/3] dt-bindings: backlight: lm3630a: add entries to control boost frequency

From: Krzysztof Kozlowski <hidden>
Date: 2023-06-17 10:12:33
Also in: dri-devel, linux-arm-kernel, linux-devicetree, linux-leds, linux-rockchip, lkml

On 14/06/2023 21:08, Maximilian Weigand wrote:
quoted hunk ↗ jump to hunk
From: Maximilian Weigand <redacted>

Add 'ti,boost_use_1mhz' to switch between 500 kHz and 1 MHz boost
converter switching frequency, and add 'ti,boost_frequency_shift' to
activate a frequency shift to 560 kHz or 1.12 MHz, respectively.

Signed-off-by: Maximilian Weigand <redacted>
---
 .../bindings/leds/backlight/lm3630a-backlight.yaml           | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
index 3c9b4054ed9a..ef7ea0ad2d25 100644
--- a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
+++ b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
@@ -33,6 +33,18 @@ properties:
     description: GPIO to use to enable/disable the backlight (HWEN pin).
     maxItems: 1
 
+  ti,boost_use_1mhz:
No underscores in property names.
+    description: |
Do not need '|' unless you need to preserve formatting.
+      If present, change the boost converter switching frequency from the
+      default 500 kHz to 1 MHz. Refer to data sheet for hardware requirements.
+    type: boolean
+
+  ti,boost_frequency_shift:
+    description: |
+      If present, change boost converter switching frequency from 500 kHz to
+      560 kHz or from 1 Mhz to 1.12 Mhz, respectively.
So just make it a property choosing the frequency, not bools, with
proper unit suffix.


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help