ArcticSand arc2c0608 LED driver
Schema identifier ($id): "http://devicetree.org/schemas/leds/backlight/arc,arc2c0608.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The ArcticSand arc2c0608 LED driver provides ultra efficient notebook backlighting. Optional properties not specified will default to values in IC EPROM.
Datasheet: https://www.murata.com/-/media/webrenewal/products/power/power-semiconductor/overview/lineup/led-boost/arc2/arc2c0608.ashx.
Maintainers (maintainers): "Brian Dodge <bdodge@arcticsand.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/leds/common.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "arc,arc2c0608"
reg — required here #
Maximum number of items (maxItems): 1
default-brightness — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 4095
led-sources — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
List of enabled channels
Array item rules (items) #
Minimum number of items (minItems): 1
Items must be unique (uniqueItems): true
arc,led-config-0 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Fading speed (period between intensity steps)
arc,led-config-1 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
If set, sets ILED_CONFIG register. Used for fine tuning the maximum LED current.
arc,dim-freq — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
PWM mode frequency setting (bits [3:0] used)
arc,comp-config — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Setting for register CONFIG_COMP which controls internal resitances, feed forward freqs, and initial VOUT at startup. Consult the datasheet.
arc,filter-config — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
RC and PWM Filter settings. Bit Assignment 7654 3 2 1 0 xxxx RCF1 RCF0 PWM1 PWM0 RCF statuses PWM Filter Statues 00 = OFF (default) 00 = OFF (default) 01 = LOW 01 = 2 STEPS 10 - MEDIUM 10 = 4 STEPS 11 = HIGH 11 = 8 STEPS
arc,trim-config — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Sets percentage increase of Maximum LED Current. 0x00 = 0% increase. 0x20 = 20.2%. 0x3F = 41.5%
label — not listed as required here #
true — No constraints added by this property rule.
linux,default-trigger — not listed as required here #
true — No constraints added by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
led-controller@30 {
compatible = "arc,arc2c0608";
reg = <0x30>;
default-brightness = <500>;
label = "lcd-backlight";
linux,default-trigger = "backlight";
led-sources = <0 1 2 5>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)