zephyr/dts/bindings/led/ti,lp503x.yaml

31 lines
757 B
YAML

# Copyright (c) 2020 Seagate Technology LLC
# SPDX-License-Identifier: Apache-2.0
description: TI LP503x LED controller node
compatible: "ti,lp503x"
include: ["i2c-device.yaml", "led-controller.yaml"]
properties:
max_curr_opt:
type: boolean
required: false
description: |
If enabled the maximum current output is set to 35 mA (25.5 mA else).
log_scale_en:
type: boolean
required: false
description: |
If enabled a logarithmic dimming scale curve is used for LED brightness
control. A linear dimming scale curve is used else.
child-binding:
properties:
label:
required: true
index:
required: true
color-mapping:
required: true