awinic,aw9523b-led (on aw9523b bus)

Description

AW9523B LED Controller. This is an 8-bit linear current source LED
dimmer that is built into the AW9523B I2C IO Expander

Properties

Top level properties

These property descriptions apply to “awinic,aw9523b-led” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

current-microamp

int

Global LED Max Current

Default value: 37000

Legal values: 37000, 27750, 18500, 9250

Child node properties

Name

Type

Details

port

int

AW9523B LED port number (0..1)

This property is required.

Legal values: 0, 1

pin

int

AW9523B LED pin/channel number (0..7)

This property is required.

Legal values: 0, 1, 2, 3, 4, 5, 6, 7

index

int

Index of the LED on a controller. It can be used by drivers or
applications to map a logical LED to its real position on the
controller. For example, this allows to handle boards where the
LEDs in an array/strip are not wired following the LED order of
the controller.

label

string

Human readable string describing the LED. It can be used by an
application to identify this LED or to retrieve its number/index
(i.e. child node number) on the parent device.

See Important properties for more information.

color-mapping

array

Channel to color mapping of a multicolor LED. If a LED supports
several colors, then the color-mapping property can be used to
describe how the hardware channels and the colors are mapped.

For example the channel to color mapping of RGB LEDs would be

   color-mapping =
        <LED_COLOR_ID_RED>,
        <LED_COLOR_ID_GREEN>,
        <LED_COLOR_ID_BLUE>;