1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/backlight/mps,mp3309c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MPS MP3309C backlight
10 - Flavio Suligoi <f.suligoi@asem.it>
13 The Monolithic Power (MPS) MP3309C is a WLED step-up converter, featuring a
14 programmable switching frequency to optimize efficiency.
15 It supports two different dimming modes:
17 - analog mode, via I2C commands (default)
18 - PWM controlled mode.
20 The datasheet is available at:
21 https://www.monolithicpower.com/en/mp3309c.html
34 description: if present, the backlight is controlled in PWM mode.
38 description: GPIO used to enable the backlight in "analog-i2c" dimming mode.
41 mps,overvoltage-protection-microvolt:
42 description: Overvoltage protection (13.5V, 24V or 35.5V).
43 enum: [ 13500000, 24000000, 35500000 ]
47 description: disable synchronous rectification mode
56 unevaluatedProperties: false
64 /* Backlight with PWM control */
65 backlight_pwm: backlight@17 {
66 compatible = "mps,mp3309c";
68 pwms = <&pwm1 0 3333333 0>; /* 300 Hz --> (1/f) * 1*10^9 */
69 max-brightness = <100>;
70 default-brightness = <80>;
71 mps,overvoltage-protection-microvolt = <24000000>;