[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230602-lm3630a_boost_frequency-v1-2-076472036d1a@mweigand.net>
Date: Wed, 14 Jun 2023 21:08:53 +0200
From: Maximilian Weigand <mweigand2017@...il.com>
To: Lee Jones <lee@...nel.org>,
Daniel Thompson <daniel.thompson@...aro.org>,
Jingoo Han <jingoohan1@...il.com>,
Helge Deller <deller@....de>, Pavel Machek <pavel@....cz>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Heiko Stuebner <heiko@...ech.de>
Cc: dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-leds@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org,
Maximilian Weigand <mweigand@...igand.net>
Subject: [PATCH 2/3] dt-bindings: backlight: lm3630a: add entries to
control boost frequency
From: Maximilian Weigand <mweigand@...igand.net>
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 <mweigand@...igand.net>
---
.../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:
+ description: |
+ 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.
+ type: boolean
+
required:
- compatible
- reg
--
2.39.2
Powered by blists - more mailing lists