15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 75956d97fSEmmanuel Vadottitle: Richtek RT4831 Backlight 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel Vadotmaintainers: 105956d97fSEmmanuel Vadot - ChiYuan Huang <cy_huang@richtek.com> 115956d97fSEmmanuel Vadot 125956d97fSEmmanuel Vadotdescription: | 135956d97fSEmmanuel Vadot RT4831 is a mutifunctional device that can provide power to the LCD display 145956d97fSEmmanuel Vadot and LCD backlight. 155956d97fSEmmanuel Vadot 165956d97fSEmmanuel Vadot For the LCD backlight, it can provide four channel WLED driving capability. 175956d97fSEmmanuel Vadot Each channel driving current is up to 30mA 185956d97fSEmmanuel Vadot 195956d97fSEmmanuel Vadot Datasheet is available at 205956d97fSEmmanuel Vadot https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf 215956d97fSEmmanuel Vadot 225956d97fSEmmanuel VadotallOf: 235956d97fSEmmanuel Vadot - $ref: common.yaml# 245956d97fSEmmanuel Vadot 255956d97fSEmmanuel Vadotproperties: 265956d97fSEmmanuel Vadot compatible: 275956d97fSEmmanuel Vadot const: richtek,rt4831-backlight 285956d97fSEmmanuel Vadot 295956d97fSEmmanuel Vadot default-brightness: 305956d97fSEmmanuel Vadot minimum: 0 315956d97fSEmmanuel Vadot maximum: 2048 325956d97fSEmmanuel Vadot 335956d97fSEmmanuel Vadot max-brightness: 345956d97fSEmmanuel Vadot minimum: 0 355956d97fSEmmanuel Vadot maximum: 2048 365956d97fSEmmanuel Vadot 375956d97fSEmmanuel Vadot richtek,pwm-enable: 385956d97fSEmmanuel Vadot description: | 395956d97fSEmmanuel Vadot Specify the backlight dimming following by PWM duty or by SW control. 405956d97fSEmmanuel Vadot type: boolean 415956d97fSEmmanuel Vadot 425956d97fSEmmanuel Vadot richtek,bled-ovp-sel: 435956d97fSEmmanuel Vadot description: | 445956d97fSEmmanuel Vadot Backlight OVP level selection, currently support 17V/21V/25V/29V. 455956d97fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint8 465956d97fSEmmanuel Vadot default: 1 475956d97fSEmmanuel Vadot minimum: 0 485956d97fSEmmanuel Vadot maximum: 3 495956d97fSEmmanuel Vadot 50*b97ee269SEmmanuel Vadot richtek,bled-ocp-microamp: 51*b97ee269SEmmanuel Vadot description: | 52*b97ee269SEmmanuel Vadot Backlight over current protection level. 53*b97ee269SEmmanuel Vadot enum: [900000, 1200000, 1500000, 1800000] 54*b97ee269SEmmanuel Vadot 555956d97fSEmmanuel Vadot richtek,channel-use: 565956d97fSEmmanuel Vadot description: | 575956d97fSEmmanuel Vadot Backlight LED channel to be used. 585956d97fSEmmanuel Vadot BIT 0/1/2/3 is used to indicate led channel 1/2/3/4 enable or disable. 595956d97fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint8 605956d97fSEmmanuel Vadot minimum: 1 615956d97fSEmmanuel Vadot maximum: 15 625956d97fSEmmanuel Vadot 635956d97fSEmmanuel Vadotrequired: 645956d97fSEmmanuel Vadot - compatible 655956d97fSEmmanuel Vadot - richtek,channel-use 665956d97fSEmmanuel Vadot 675956d97fSEmmanuel VadotadditionalProperties: false 68