Documentation / devicetree / bindings / leds / backlight / arc,arc2c0608.yaml


Based on kernel version 6.19. Page generated on 2026-02-12 08:38 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/leds/backlight/arc,arc2c0608.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ArcticSand arc2c0608 LED driver

description: |
  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:
  - Brian Dodge <bdodge@arcticsand.com>

allOf:
  - $ref: /schemas/leds/common.yaml

properties:
  compatible:
    const: arc,arc2c0608

  reg:
    maxItems: 1

  default-brightness:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 0
    maximum: 4095

  led-sources:
    $ref: /schemas/types.yaml#/definitions/uint32-array
    description: List of enabled channels
    items:
      enum: [0, 1, 2, 3, 4, 5]
    minItems: 1
    uniqueItems: true

  arc,led-config-0:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: Fading speed (period between intensity
      steps)

  arc,led-config-1:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: If set, sets ILED_CONFIG register. Used for
      fine tuning the maximum LED current.

  arc,dim-freq:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: PWM mode frequency setting (bits [3:0] used)

  arc,comp-config:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: Setting for register CONFIG_COMP which
      controls internal resitances, feed forward freqs,
      and initial VOUT at startup. Consult the datasheet.

  arc,filter-config:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: 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:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: Sets percentage increase of Maximum LED
      Current.
      0x00 = 0% increase.
      0x20 = 20.2%.
      0x3F = 41.5%

  label: true

  linux,default-trigger: true

additionalProperties: false

required:
  - compatible
  - reg

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>;
        };
    };
...