1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/leds/backli 4 $id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Richtek RT4831 Backlight 7 title: Richtek RT4831 Backlight 8 8 9 maintainers: 9 maintainers: 10 - ChiYuan Huang <cy_huang@richtek.com> 10 - ChiYuan Huang <cy_huang@richtek.com> 11 11 12 description: | 12 description: | 13 RT4831 is a mutifunctional device that can p 13 RT4831 is a mutifunctional device that can provide power to the LCD display 14 and LCD backlight. 14 and LCD backlight. 15 15 16 For the LCD backlight, it can provide four c 16 For the LCD backlight, it can provide four channel WLED driving capability. 17 Each channel driving current is up to 30mA 17 Each channel driving current is up to 30mA 18 18 19 Datasheet is available at 19 Datasheet is available at 20 https://www.richtek.com/assets/product_file/ 20 https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf 21 21 22 allOf: 22 allOf: 23 - $ref: common.yaml# 23 - $ref: common.yaml# 24 24 25 properties: 25 properties: 26 compatible: 26 compatible: 27 const: richtek,rt4831-backlight 27 const: richtek,rt4831-backlight 28 28 29 default-brightness: 29 default-brightness: 30 minimum: 0 30 minimum: 0 31 maximum: 2048 31 maximum: 2048 32 32 33 max-brightness: 33 max-brightness: 34 minimum: 0 34 minimum: 0 35 maximum: 2048 35 maximum: 2048 36 36 37 richtek,pwm-enable: 37 richtek,pwm-enable: 38 description: | 38 description: | 39 Specify the backlight dimming following 39 Specify the backlight dimming following by PWM duty or by SW control. 40 type: boolean 40 type: boolean 41 41 42 richtek,bled-ovp-sel: 42 richtek,bled-ovp-sel: 43 description: | 43 description: | 44 Backlight OVP level selection, currently 44 Backlight OVP level selection, currently support 17V/21V/25V/29V. 45 $ref: /schemas/types.yaml#/definitions/uin 45 $ref: /schemas/types.yaml#/definitions/uint8 46 default: 1 46 default: 1 47 minimum: 0 47 minimum: 0 48 maximum: 3 48 maximum: 3 49 49 50 richtek,bled-ocp-microamp: 50 richtek,bled-ocp-microamp: 51 description: | 51 description: | 52 Backlight over current protection level. 52 Backlight over current protection level. 53 enum: [900000, 1200000, 1500000, 1800000] 53 enum: [900000, 1200000, 1500000, 1800000] 54 54 55 richtek,channel-use: 55 richtek,channel-use: 56 description: | 56 description: | 57 Backlight LED channel to be used. 57 Backlight LED channel to be used. 58 BIT 0/1/2/3 is used to indicate led chan 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/uin 59 $ref: /schemas/types.yaml#/definitions/uint8 60 minimum: 1 60 minimum: 1 61 maximum: 15 61 maximum: 15 62 62 63 required: 63 required: 64 - compatible 64 - compatible 65 - richtek,channel-use 65 - richtek,channel-use 66 66 67 additionalProperties: false 67 additionalProperties: false
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.