1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/leds/backlight/apple,dwi-bl.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Apple DWI 2-Wire Interface Backlight Controller 8 9maintainers: 10 - Nick Chan <towinchenmi@gmail.com> 11 12description: 13 Apple SoCs contain a 2-wire interface called DWI. On some Apple iPhones, 14 iPads and iPod touches with a LCD display, 1-2 backlight controllers 15 are connected via DWI. Interfacing with DWI controls all backlight 16 controllers at the same time. As such, the backlight controllers are 17 treated as a single controller regardless of the underlying 18 configuration. 19 20allOf: 21 - $ref: common.yaml# 22 23properties: 24 compatible: 25 items: 26 - enum: 27 - apple,s5l8960x-dwi-bl 28 - apple,t7000-dwi-bl 29 - apple,s8000-dwi-bl 30 - apple,t8010-dwi-bl 31 - apple,t8015-dwi-bl 32 - const: apple,dwi-bl 33 34 reg: 35 maxItems: 1 36 37 power-domains: 38 maxItems: 1 39 40required: 41 - compatible 42 - reg 43 44unevaluatedProperties: false 45 46examples: 47 - | 48 soc { 49 #address-cells = <2>; 50 #size-cells = <2>; 51 52 dwi_bl: backlight@20e200010 { 53 compatible = "apple,s5l8960x-dwi-bl", "apple,dwi-bl"; 54 reg = <0x2 0x0e200010 0x0 0x8>; 55 power-domains = <&ps_dwi>; 56 }; 57 }; 58