1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6370 Backlight
10 - ChiaEn Wu <chiaen_wu@richtek.com>
13 This module is part of the MT6370 MFD device.
14 The MT6370 Backlight WLED driver supports up to a 29V output voltage for
15 4 channels of 8 series WLEDs. Each channel supports up to 30mA of current
16 capability with 2048 current steps (11 bits, only for MT6370/MT6371) or
17 16384 current steps (14 bits, only for MT6372) in exponential or linear
26 - mediatek,mt6370-backlight
27 - mediatek,mt6372-backlight
36 description: External backlight 'enable' pin
39 mediatek,bled-pwm-enable:
41 Enable external PWM input for backlight dimming
44 mediatek,bled-pwm-hys-enable:
46 Enable the backlight input-hysteresis for PWM mode
49 mediatek,bled-pwm-hys-input-th-steps:
50 $ref: /schemas/types.yaml#/definitions/uint8
53 The selection of the upper and lower bounds threshold of backlight
54 PWM resolution. If we choose selection 64, the variation of PWM
55 resolution needs more than 64 steps.
57 mediatek,bled-ovp-shutdown:
59 Enable the backlight shutdown when OVP level triggered
62 mediatek,bled-ovp-microvolt:
63 enum: [17000000, 21000000, 25000000, 29000000]
65 Backlight OVP level selection.
67 mediatek,bled-ocp-shutdown:
69 Enable the backlight shutdown when OCP level triggered.
72 mediatek,bled-ocp-microamp:
73 enum: [900000, 1200000, 1500000, 1800000]
75 Backlight OC level selection.
77 mediatek,bled-exponential-mode-enable:
79 Enable the exponential mode of backlight brightness. If this property
80 is not enabled, the default is to use linear mode.
83 mediatek,bled-channel-use:
84 $ref: /schemas/types.yaml#/definitions/uint8
86 Backlight LED channel to be used.
99 const: mediatek,mt6372-backlight
119 - mediatek,bled-channel-use
121 additionalProperties: false