Richtek RT4831 Backlight
Schema identifier ($id): "http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
RT4831 is a mutifunctional device that can provide power to the LCD display and LCD backlight.
For the LCD backlight, it can provide four channel WLED driving capability. Each channel driving current is up to 30mA
Datasheet is available at https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "richtek,rt4831-backlight"
default-brightness — not listed as required here #
Minimum value (minimum): 0
Maximum value (maximum): 2048
max-brightness — not listed as required here #
Minimum value (minimum): 0
Maximum value (maximum): 2048
richtek,pwm-enable — not listed as required here #
Specify the backlight dimming following by PWM duty or by SW control.
Value type (type): "boolean"
richtek,bled-ovp-sel — not listed as required here #
Backlight OVP level selection, currently support 17V/21V/25V/29V.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Default value (default): 1
Minimum value (minimum): 0
Maximum value (maximum): 3
richtek,bled-ocp-microamp — not listed as required here #
Backlight over current protection level.
Allowed values (enum): 900000, 1200000, 1500000, 1800000
richtek,channel-use — required here #
Backlight LED channel to be used. BIT 0/1/2/3 is used to indicate led channel 1/2/3/4 enable or disable.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Minimum value (minimum): 1
Maximum value (maximum): 15
Required in this object (required): "compatible", "richtek,channel-use"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)