Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/leds/rohm,bd71828-leds.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ROHM BD71828 Power Management Integrated Circuit LED driver
|
|
|
|
maintainers:
|
|
- Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
|
|
|
|
description: |
|
|
This module is part of the ROHM BD71828 MFD device. For more details
|
|
see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml.
|
|
|
|
The LED controller is represented as a sub-node of the PMIC node on the device
|
|
tree.
|
|
|
|
The device has two LED outputs referred as GRNLED and AMBLED in data-sheet.
|
|
|
|
select: false
|
|
|
|
properties:
|
|
compatible:
|
|
const: rohm,bd71828-leds
|
|
|
|
patternProperties:
|
|
"^led-[1-2]$":
|
|
type: object
|
|
description:
|
|
Properties for a single LED.
|
|
properties:
|
|
#allOf:
|
|
#- $ref: "common.yaml#"
|
|
rohm,led-compatible:
|
|
description: LED identification string
|
|
$ref: "/schemas/types.yaml#/definitions/string"
|
|
enum:
|
|
- bd71828-ambled
|
|
- bd71828-grnled
|
|
function:
|
|
description:
|
|
Purpose of LED as defined in dt-bindings/leds/common.h
|
|
$ref: "/schemas/types.yaml#/definitions/string"
|
|
color:
|
|
description:
|
|
LED colour as defined in dt-bindings/leds/common.h
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
|
|
required:
|
|
- compatible
|
|
additionalProperties: false
|
|
|
|
...
|