1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/leds/rohm,bd71828-leds.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: ROHM BD71828 Power Management Integrated Circuit LED driver 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunmaintainers: 10*4882a593Smuzhiyun - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 11*4882a593Smuzhiyun 12*4882a593Smuzhiyundescription: | 13*4882a593Smuzhiyun This module is part of the ROHM BD71828 MFD device. For more details 14*4882a593Smuzhiyun see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun The LED controller is represented as a sub-node of the PMIC node on the device 17*4882a593Smuzhiyun tree. 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun The device has two LED outputs referred as GRNLED and AMBLED in data-sheet. 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunselect: false 22*4882a593Smuzhiyun 23*4882a593Smuzhiyunproperties: 24*4882a593Smuzhiyun compatible: 25*4882a593Smuzhiyun const: rohm,bd71828-leds 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunpatternProperties: 28*4882a593Smuzhiyun "^led-[1-2]$": 29*4882a593Smuzhiyun type: object 30*4882a593Smuzhiyun description: 31*4882a593Smuzhiyun Properties for a single LED. 32*4882a593Smuzhiyun properties: 33*4882a593Smuzhiyun #allOf: 34*4882a593Smuzhiyun #- $ref: "common.yaml#" 35*4882a593Smuzhiyun rohm,led-compatible: 36*4882a593Smuzhiyun description: LED identification string 37*4882a593Smuzhiyun $ref: "/schemas/types.yaml#/definitions/string" 38*4882a593Smuzhiyun enum: 39*4882a593Smuzhiyun - bd71828-ambled 40*4882a593Smuzhiyun - bd71828-grnled 41*4882a593Smuzhiyun function: 42*4882a593Smuzhiyun description: 43*4882a593Smuzhiyun Purpose of LED as defined in dt-bindings/leds/common.h 44*4882a593Smuzhiyun $ref: "/schemas/types.yaml#/definitions/string" 45*4882a593Smuzhiyun color: 46*4882a593Smuzhiyun description: 47*4882a593Smuzhiyun LED colour as defined in dt-bindings/leds/common.h 48*4882a593Smuzhiyun $ref: "/schemas/types.yaml#/definitions/uint32" 49*4882a593Smuzhiyun 50*4882a593Smuzhiyunrequired: 51*4882a593Smuzhiyun - compatible 52*4882a593SmuzhiyunadditionalProperties: false 53*4882a593Smuzhiyun 54*4882a593Smuzhiyun... 55