accel/qaic: Add AIC200 support
[drm/drm-misc.git] / Documentation / devicetree / bindings / leds / backlight / richtek,rt4831-backlight.yaml
blob99e9e138fa92c88b3a4de01b76fe426b10c4c639
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT4831 Backlight
9 maintainers:
10   - ChiYuan Huang <cy_huang@richtek.com>
12 description: |
13   RT4831 is a mutifunctional device that can provide power to the LCD display
14   and LCD backlight.
16   For the LCD backlight, it can provide four channel WLED driving capability.
17   Each channel driving current is up to 30mA
19   Datasheet is available at
20   https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf
22 allOf:
23   - $ref: common.yaml#
25 properties:
26   compatible:
27     const: richtek,rt4831-backlight
29   default-brightness:
30     minimum: 0
31     maximum: 2048
33   max-brightness:
34     minimum: 0
35     maximum: 2048
37   richtek,pwm-enable:
38     description: |
39       Specify the backlight dimming following by PWM duty or by SW control.
40     type: boolean
42   richtek,bled-ovp-sel:
43     description: |
44       Backlight OVP level selection, currently support 17V/21V/25V/29V.
45     $ref: /schemas/types.yaml#/definitions/uint8
46     default: 1
47     minimum: 0
48     maximum: 3
50   richtek,bled-ocp-microamp:
51     description: |
52       Backlight over current protection level.
53     enum: [900000, 1200000, 1500000, 1800000]
55   richtek,channel-use:
56     description: |
57       Backlight LED channel to be used.
58       BIT 0/1/2/3 is used to indicate led channel 1/2/3/4 enable or disable.
59     $ref: /schemas/types.yaml#/definitions/uint8
60     minimum: 1
61     maximum: 15
63 required:
64   - compatible
65   - richtek,channel-use
67 additionalProperties: false