14f10f31eSChiYuan Huang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 24f10f31eSChiYuan Huang%YAML 1.2 34f10f31eSChiYuan Huang--- 44f10f31eSChiYuan Huang$id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml# 54f10f31eSChiYuan Huang$schema: http://devicetree.org/meta-schemas/core.yaml# 64f10f31eSChiYuan Huang 74f10f31eSChiYuan Huangtitle: Richtek RT4831 Backlight 84f10f31eSChiYuan Huang 94f10f31eSChiYuan Huangmaintainers: 104f10f31eSChiYuan Huang - ChiYuan Huang <cy_huang@richtek.com> 114f10f31eSChiYuan Huang 124f10f31eSChiYuan Huangdescription: | 134f10f31eSChiYuan Huang RT4831 is a mutifunctional device that can provide power to the LCD display 144f10f31eSChiYuan Huang and LCD backlight. 154f10f31eSChiYuan Huang 164f10f31eSChiYuan Huang For the LCD backlight, it can provide four channel WLED driving capability. 174f10f31eSChiYuan Huang Each channel driving current is up to 30mA 184f10f31eSChiYuan Huang 194f10f31eSChiYuan Huang Datasheet is available at 204f10f31eSChiYuan Huang https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf 214f10f31eSChiYuan Huang 224f10f31eSChiYuan HuangallOf: 234f10f31eSChiYuan Huang - $ref: common.yaml# 244f10f31eSChiYuan Huang 254f10f31eSChiYuan Huangproperties: 264f10f31eSChiYuan Huang compatible: 274f10f31eSChiYuan Huang const: richtek,rt4831-backlight 284f10f31eSChiYuan Huang 294f10f31eSChiYuan Huang default-brightness: 304f10f31eSChiYuan Huang minimum: 0 314f10f31eSChiYuan Huang maximum: 2048 324f10f31eSChiYuan Huang 334f10f31eSChiYuan Huang max-brightness: 344f10f31eSChiYuan Huang minimum: 0 354f10f31eSChiYuan Huang maximum: 2048 364f10f31eSChiYuan Huang 374f10f31eSChiYuan Huang richtek,pwm-enable: 384f10f31eSChiYuan Huang description: | 394f10f31eSChiYuan Huang Specify the backlight dimming following by PWM duty or by SW control. 404f10f31eSChiYuan Huang type: boolean 414f10f31eSChiYuan Huang 424f10f31eSChiYuan Huang richtek,bled-ovp-sel: 434f10f31eSChiYuan Huang description: | 444f10f31eSChiYuan Huang Backlight OVP level selection, currently support 17V/21V/25V/29V. 454f10f31eSChiYuan Huang $ref: /schemas/types.yaml#/definitions/uint8 464f10f31eSChiYuan Huang default: 1 474f10f31eSChiYuan Huang minimum: 0 484f10f31eSChiYuan Huang maximum: 3 494f10f31eSChiYuan Huang 50*27e5c654SChiYuan Huang richtek,bled-ocp-microamp: 51*27e5c654SChiYuan Huang description: | 52*27e5c654SChiYuan Huang Backlight over current protection level. 53*27e5c654SChiYuan Huang enum: [900000, 1200000, 1500000, 1800000] 54*27e5c654SChiYuan Huang 554f10f31eSChiYuan Huang richtek,channel-use: 564f10f31eSChiYuan Huang description: | 574f10f31eSChiYuan Huang Backlight LED channel to be used. 584f10f31eSChiYuan Huang BIT 0/1/2/3 is used to indicate led channel 1/2/3/4 enable or disable. 594f10f31eSChiYuan Huang $ref: /schemas/types.yaml#/definitions/uint8 604f10f31eSChiYuan Huang minimum: 1 614f10f31eSChiYuan Huang maximum: 15 624f10f31eSChiYuan Huang 634f10f31eSChiYuan Huangrequired: 644f10f31eSChiYuan Huang - compatible 654f10f31eSChiYuan Huang - richtek,channel-use 664f10f31eSChiYuan Huang 674f10f31eSChiYuan HuangadditionalProperties: false 68