xref: /linux/Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml (revision 3d21a46093352f7802b9c66c7cce35cd02a50e53)
1873e443dSMatti Vaittinen# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2873e443dSMatti Vaittinen%YAML 1.2
3873e443dSMatti Vaittinen---
4873e443dSMatti Vaittinen$id: http://devicetree.org/schemas/leds/rohm,bd71828-leds.yaml#
5873e443dSMatti Vaittinen$schema: http://devicetree.org/meta-schemas/core.yaml#
6873e443dSMatti Vaittinen
7873e443dSMatti Vaittinentitle: ROHM BD71828 Power Management Integrated Circuit LED driver
8873e443dSMatti Vaittinen
9873e443dSMatti Vaittinenmaintainers:
10873e443dSMatti Vaittinen  - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
11873e443dSMatti Vaittinen
12873e443dSMatti Vaittinendescription: |
13873e443dSMatti Vaittinen  This module is part of the ROHM BD71828 MFD device. For more details
14873e443dSMatti Vaittinen  see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml.
15873e443dSMatti Vaittinen
16873e443dSMatti Vaittinen  The LED controller is represented as a sub-node of the PMIC node on the device
17873e443dSMatti Vaittinen  tree.
18873e443dSMatti Vaittinen
19873e443dSMatti Vaittinen  The device has two LED outputs referred as GRNLED and AMBLED in data-sheet.
20873e443dSMatti Vaittinen
21873e443dSMatti Vaittinenselect: false
22873e443dSMatti Vaittinen
23873e443dSMatti Vaittinenproperties:
24873e443dSMatti Vaittinen  compatible:
25873e443dSMatti Vaittinen    const: rohm,bd71828-leds
26873e443dSMatti Vaittinen
27873e443dSMatti VaittinenpatternProperties:
28873e443dSMatti Vaittinen  "^led-[1-2]$":
29873e443dSMatti Vaittinen    type: object
30873e443dSMatti Vaittinen    description:
31873e443dSMatti Vaittinen      Properties for a single LED.
32873e443dSMatti Vaittinen    properties:
33873e443dSMatti Vaittinen      #allOf:
34873e443dSMatti Vaittinen        #- $ref: "common.yaml#"
35873e443dSMatti Vaittinen      rohm,led-compatible:
36873e443dSMatti Vaittinen        description: LED identification string
37*3d21a460SRob Herring        $ref: "/schemas/types.yaml#/definitions/string"
38*3d21a460SRob Herring        enum:
39873e443dSMatti Vaittinen          - bd71828-ambled
40873e443dSMatti Vaittinen          - bd71828-grnled
41873e443dSMatti Vaittinen      function:
42873e443dSMatti Vaittinen        description:
43873e443dSMatti Vaittinen          Purpose of LED as defined in dt-bindings/leds/common.h
44873e443dSMatti Vaittinen        $ref: "/schemas/types.yaml#/definitions/string"
45873e443dSMatti Vaittinen      color:
46873e443dSMatti Vaittinen        description:
47873e443dSMatti Vaittinen          LED colour as defined in dt-bindings/leds/common.h
48873e443dSMatti Vaittinen        $ref: "/schemas/types.yaml#/definitions/uint32"
49873e443dSMatti Vaittinen
50873e443dSMatti Vaittinenrequired:
51873e443dSMatti Vaittinen  - compatible
527f464532SRob HerringadditionalProperties: false
537f464532SRob Herring
547f464532SRob Herring...
55