brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 99e9e13 Raw
68 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RT4831 Backlight8 9maintainers:10  - ChiYuan Huang <cy_huang@richtek.com>11 12description: |13  RT4831 is a mutifunctional device that can provide power to the LCD display14  and LCD backlight.15 16  For the LCD backlight, it can provide four channel WLED driving capability.17  Each channel driving current is up to 30mA18 19  Datasheet is available at20  https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf21 22allOf:23  - $ref: common.yaml#24 25properties:26  compatible:27    const: richtek,rt4831-backlight28 29  default-brightness:30    minimum: 031    maximum: 204832 33  max-brightness:34    minimum: 035    maximum: 204836 37  richtek,pwm-enable:38    description: |39      Specify the backlight dimming following by PWM duty or by SW control.40    type: boolean41 42  richtek,bled-ovp-sel:43    description: |44      Backlight OVP level selection, currently support 17V/21V/25V/29V.45    $ref: /schemas/types.yaml#/definitions/uint846    default: 147    minimum: 048    maximum: 349 50  richtek,bled-ocp-microamp:51    description: |52      Backlight over current protection level.53    enum: [900000, 1200000, 1500000, 1800000]54 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/uint860    minimum: 161    maximum: 1562 63required:64  - compatible65  - richtek,channel-use66 67additionalProperties: false68