Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/leds/backlight/common.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Common backlight properties
0008 
0009 maintainers:
0010   - Lee Jones <lee@kernel.org>
0011   - Daniel Thompson <daniel.thompson@linaro.org>
0012   - Jingoo Han <jingoohan1@gmail.com>
0013 
0014 description:
0015   Backlight devices provide backlight for different types of graphical
0016   displays. They are typically but not necessarily implemented using a white
0017   LED powered by a boost converter.
0018 
0019 properties:
0020   default-brightness:
0021     description:
0022       The default brightness that should be applied to the LED by the operating
0023       system on start-up. The brightness should not exceed the brightness the
0024       LED can provide.
0025     $ref: /schemas/types.yaml#/definitions/uint32
0026 
0027   max-brightness:
0028     description:
0029       Normally the maximum brightness is determined by the hardware and this
0030       property is not required. This property is used to put a software limit
0031       on the brightness apart from what the driver says, as it could happen
0032       that a LED can be made so bright that it gets damaged or causes damage
0033       due to restrictions in a specific system, such as mounting conditions.
0034     $ref: /schemas/types.yaml#/definitions/uint32
0035 
0036 additionalProperties: true