| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/leds/sprd,sc2731-bltc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Spreadtrum SC2731 PMIC breathing light controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Orson Zhai <[email protected]> |
| 11 |
- Baolin Wang <[email protected]> |
| 12 |
- Chunyan Zhang <[email protected]> |
| 13 |
|
| 14 |
description: | |
| 15 |
The SC2731 breathing light controller supports up to 3 outputs: |
| 16 |
red LED, green LED and blue LED. Each LED can work at normal PWM mode |
| 17 |
or breath light mode. |
| 18 |
|
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
const: sprd,sc2731-bltc |
| 22 |
|
| 23 |
reg: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
'#address-cells': |
| 27 |
const: 1 |
| 28 |
|
| 29 |
'#size-cells': |
| 30 |
const: 0 |
| 31 |
|
| 32 |
patternProperties: |
| 33 |
"^led@[0-2]$": |
| 34 |
type: object |
| 35 |
$ref: common.yaml# |
| 36 |
unevaluatedProperties: false |
| 37 |
|
| 38 |
properties: |
| 39 |
reg: |
| 40 |
minimum: 0 |
| 41 |
maximum: 2 |
| 42 |
|
| 43 |
required: |
| 44 |
- reg |
| 45 |
|
| 46 |
required: |
| 47 |
- compatible |
| 48 |
- reg |
| 49 |
- '#address-cells' |
| 50 |
- '#size-cells' |
| 51 |
|
| 52 |
additionalProperties: false |
| 53 |
... |