Apple DWI 2-Wire Interface Backlight Controller

Schema identifier ($id): "http://devicetree.org/schemas/leds/backlight/apple,dwi-bl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nick Chan <towinchenmi@gmail.com>"

Apple SoCs contain a 2-wire interface called DWI. On some Apple iPhones, iPads and iPod touches with a LCD display, 1-2 backlight controllers are connected via DWI. Interfacing with DWI controls all backlight controllers at the same time. As such, the backlight controllers are treated as a single controller regardless of the underlying configuration.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "apple,s5l8960x-dwi-bl", "apple,t7000-dwi-bl", "apple,s8000-dwi-bl", "apple,t8010-dwi-bl", "apple,t8015-dwi-bl"

Item 2

Exact value (const): "apple,dwi-bl"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  dwi_bl: backlight@20e200010 {
    compatible = "apple,s5l8960x-dwi-bl", "apple,dwi-bl";
    reg = <0x2 0x0e200010 0x0 0x8>;
    power-domains = <&ps_dwi>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page