xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/stericsson,ab8500.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c9ccf3a3SEmmanuel Vadot%YAML 1.2
3c9ccf3a3SEmmanuel Vadot---
4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/stericsson,ab8500.yaml#
5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c9ccf3a3SEmmanuel Vadot
7c9ccf3a3SEmmanuel Vadottitle: ST-Ericsson Analog Baseband AB8500 and AB8505
8c9ccf3a3SEmmanuel Vadot
9c9ccf3a3SEmmanuel Vadotmaintainers:
10c9ccf3a3SEmmanuel Vadot  - Linus Walleij <linus.walleij@linaro.org>
11c9ccf3a3SEmmanuel Vadot
12c9ccf3a3SEmmanuel Vadotdescription:
13c9ccf3a3SEmmanuel Vadot  the AB8500 "Analog Baseband" is the mixed-signals integrated circuit
14c9ccf3a3SEmmanuel Vadot  handling power management (regulators), analog-to-digital conversion
15c9ccf3a3SEmmanuel Vadot  (ADC), battery charging, fuel gauging of the battery, battery-backed
16c9ccf3a3SEmmanuel Vadot  RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms
17c9ccf3a3SEmmanuel Vadot  in connection with the DB8500 digital baseband. The DB8500 PRCMU
18c9ccf3a3SEmmanuel Vadot  communicates directly and autonomously with the AB8500 and thus it
19c9ccf3a3SEmmanuel Vadot  appears as a subnode of the DB8500 PRCMU. An altered version called
20c9ccf3a3SEmmanuel Vadot  AB8505 also exist, the difference in AB8505 is that some of the USB and
21c9ccf3a3SEmmanuel Vadot  USB charging handling has changed, and it has an embedded USB-to-serial
22c9ccf3a3SEmmanuel Vadot  converter. Most subblocks takes their interrupts directly from the
23c9ccf3a3SEmmanuel Vadot  AB8500 embedded interrupt controller.
24c9ccf3a3SEmmanuel Vadot
25c9ccf3a3SEmmanuel Vadotproperties:
26c9ccf3a3SEmmanuel Vadot  $nodename:
27c9ccf3a3SEmmanuel Vadot    pattern: '^ab850[05]$'
28c9ccf3a3SEmmanuel Vadot
29c9ccf3a3SEmmanuel Vadot  compatible:
30c9ccf3a3SEmmanuel Vadot    enum:
31c9ccf3a3SEmmanuel Vadot      - stericsson,ab8500
32c9ccf3a3SEmmanuel Vadot      - stericsson,ab8505
33c9ccf3a3SEmmanuel Vadot
34c9ccf3a3SEmmanuel Vadot  interrupts:
35c9ccf3a3SEmmanuel Vadot    maxItems: 1
36c9ccf3a3SEmmanuel Vadot
37c9ccf3a3SEmmanuel Vadot  interrupt-controller: true
38c9ccf3a3SEmmanuel Vadot
39c9ccf3a3SEmmanuel Vadot  '#interrupt-cells':
40c9ccf3a3SEmmanuel Vadot    const: 2
41c9ccf3a3SEmmanuel Vadot
42c9ccf3a3SEmmanuel Vadot  # Some subnodes use a reg, some don't. Those that do use a single cell.
43c9ccf3a3SEmmanuel Vadot  '#address-cells':
44c9ccf3a3SEmmanuel Vadot    const: 1
45c9ccf3a3SEmmanuel Vadot
46c9ccf3a3SEmmanuel Vadot  '#size-cells':
47c9ccf3a3SEmmanuel Vadot    const: 0
48c9ccf3a3SEmmanuel Vadot
49c9ccf3a3SEmmanuel Vadot  clock-controller:
50c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 clock controller. This
51c9ccf3a3SEmmanuel Vadot      provides the reference clock for the entire U8500 system and
52c9ccf3a3SEmmanuel Vadot      the DB8500 counterpart.
53c9ccf3a3SEmmanuel Vadot    type: object
547ef62cebSEmmanuel Vadot    additionalProperties: false
55c9ccf3a3SEmmanuel Vadot
56c9ccf3a3SEmmanuel Vadot    properties:
57c9ccf3a3SEmmanuel Vadot      compatible:
58c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-clk
59c9ccf3a3SEmmanuel Vadot
60c9ccf3a3SEmmanuel Vadot      '#clock-cells':
61c9ccf3a3SEmmanuel Vadot        const: 1
62c9ccf3a3SEmmanuel Vadot
63c9ccf3a3SEmmanuel Vadot  gpio:
64c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 GPIO controller. A few
65c9ccf3a3SEmmanuel Vadot      GPIO pins available for misc usage.
66c9ccf3a3SEmmanuel Vadot    type: object
677ef62cebSEmmanuel Vadot    additionalProperties: false
68c9ccf3a3SEmmanuel Vadot
69c9ccf3a3SEmmanuel Vadot    properties:
70c9ccf3a3SEmmanuel Vadot      compatible:
71c9ccf3a3SEmmanuel Vadot        enum:
72c9ccf3a3SEmmanuel Vadot          - stericsson,ab8500-gpio
73c9ccf3a3SEmmanuel Vadot          - stericsson,ab8505-gpio
74c9ccf3a3SEmmanuel Vadot
75c9ccf3a3SEmmanuel Vadot      gpio-controller: true
76c9ccf3a3SEmmanuel Vadot
77c9ccf3a3SEmmanuel Vadot      '#gpio-cells':
78c9ccf3a3SEmmanuel Vadot        const: 2
79c9ccf3a3SEmmanuel Vadot
80c9ccf3a3SEmmanuel Vadot  rtc:
81c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 battery-backed RTC.
82c9ccf3a3SEmmanuel Vadot    type: object
837ef62cebSEmmanuel Vadot    additionalProperties: false
84c9ccf3a3SEmmanuel Vadot
85c9ccf3a3SEmmanuel Vadot    properties:
86c9ccf3a3SEmmanuel Vadot      compatible:
87c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-rtc
88c9ccf3a3SEmmanuel Vadot
89c9ccf3a3SEmmanuel Vadot      interrupts:
90c9ccf3a3SEmmanuel Vadot        items:
91c9ccf3a3SEmmanuel Vadot          - description: 60 second interval alarm interrupt
92c9ccf3a3SEmmanuel Vadot          - description: RTC alarm
93c9ccf3a3SEmmanuel Vadot
94c9ccf3a3SEmmanuel Vadot      interrupt-names:
95c9ccf3a3SEmmanuel Vadot        items:
96c9ccf3a3SEmmanuel Vadot          - const: 60S
97c9ccf3a3SEmmanuel Vadot          - const: ALARM
98c9ccf3a3SEmmanuel Vadot
99c9ccf3a3SEmmanuel Vadot  adc:
100c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 general purpose analog to digital
101c9ccf3a3SEmmanuel Vadot      converter, GPADC.
102c9ccf3a3SEmmanuel Vadot    type: object
103c9ccf3a3SEmmanuel Vadot
104c9ccf3a3SEmmanuel Vadot    properties:
105c9ccf3a3SEmmanuel Vadot      compatible:
106c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-gpadc
107c9ccf3a3SEmmanuel Vadot
108c9ccf3a3SEmmanuel Vadot      # AB8505 only supports one (software) EOC interrupt
109c9ccf3a3SEmmanuel Vadot      interrupts:
110c9ccf3a3SEmmanuel Vadot        minItems: 1
111c9ccf3a3SEmmanuel Vadot        maxItems: 2
112c9ccf3a3SEmmanuel Vadot
113c9ccf3a3SEmmanuel Vadot      interrupt-names: true
114c9ccf3a3SEmmanuel Vadot
115c9ccf3a3SEmmanuel Vadot      vddadc-supply: true
116c9ccf3a3SEmmanuel Vadot
117c9ccf3a3SEmmanuel Vadot      '#address-cells':
118c9ccf3a3SEmmanuel Vadot        const: 1
119c9ccf3a3SEmmanuel Vadot
120c9ccf3a3SEmmanuel Vadot      '#size-cells':
121c9ccf3a3SEmmanuel Vadot        const: 0
122c9ccf3a3SEmmanuel Vadot
123c9ccf3a3SEmmanuel Vadot      '#io-channel-cells':
124c9ccf3a3SEmmanuel Vadot        const: 1
125c9ccf3a3SEmmanuel Vadot
126c9ccf3a3SEmmanuel Vadot    patternProperties:
127c9ccf3a3SEmmanuel Vadot      "^channel@[0-9a-f]+$":
128c9ccf3a3SEmmanuel Vadot        type: object
129c9ccf3a3SEmmanuel Vadot        $ref: ../iio/adc/adc.yaml#
130c9ccf3a3SEmmanuel Vadot        description: Represents each of the external channels which are
131c9ccf3a3SEmmanuel Vadot          connected to the ADC.
132c9ccf3a3SEmmanuel Vadot
133c9ccf3a3SEmmanuel Vadot        properties:
134c9ccf3a3SEmmanuel Vadot          reg:
135c9ccf3a3SEmmanuel Vadot            items:
136c9ccf3a3SEmmanuel Vadot              minimum: 1
137c9ccf3a3SEmmanuel Vadot              maximum: 31
138c9ccf3a3SEmmanuel Vadot
139c9ccf3a3SEmmanuel Vadot        required:
140c9ccf3a3SEmmanuel Vadot          - reg
141c9ccf3a3SEmmanuel Vadot
142c9ccf3a3SEmmanuel Vadot        additionalProperties: false
143c9ccf3a3SEmmanuel Vadot
144c9ccf3a3SEmmanuel Vadot    required:
145c9ccf3a3SEmmanuel Vadot      - compatible
146c9ccf3a3SEmmanuel Vadot      - interrupts
147c9ccf3a3SEmmanuel Vadot      - interrupt-names
148c9ccf3a3SEmmanuel Vadot      - vddadc-supply
149c9ccf3a3SEmmanuel Vadot      - '#address-cells'
150c9ccf3a3SEmmanuel Vadot      - '#size-cells'
151c9ccf3a3SEmmanuel Vadot      - '#io-channel-cells'
152c9ccf3a3SEmmanuel Vadot
153c9ccf3a3SEmmanuel Vadot    additionalProperties: false
154c9ccf3a3SEmmanuel Vadot
155c9ccf3a3SEmmanuel Vadot  thermal:
156c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 thermal control block. All this block
157c9ccf3a3SEmmanuel Vadot      really does is to fire an interrupt when the die becomes 130 degrees Celsius
158c9ccf3a3SEmmanuel Vadot      in temperature.
159c9ccf3a3SEmmanuel Vadot    type: object
160c9ccf3a3SEmmanuel Vadot
161c9ccf3a3SEmmanuel Vadot    properties:
162c9ccf3a3SEmmanuel Vadot      compatible:
163c9ccf3a3SEmmanuel Vadot        const: stericsson,abx500-temp
164c9ccf3a3SEmmanuel Vadot
165c9ccf3a3SEmmanuel Vadot      interrupts:
166c9ccf3a3SEmmanuel Vadot        items:
167c9ccf3a3SEmmanuel Vadot          - description: Thermal warm warning interrupt
168c9ccf3a3SEmmanuel Vadot
169c9ccf3a3SEmmanuel Vadot      interrupt-names:
170c9ccf3a3SEmmanuel Vadot        items:
171c9ccf3a3SEmmanuel Vadot          - const: ABX500_TEMP_WARM
172c9ccf3a3SEmmanuel Vadot
173c9ccf3a3SEmmanuel Vadot    required:
174c9ccf3a3SEmmanuel Vadot      - compatible
175c9ccf3a3SEmmanuel Vadot      - interrupts
176c9ccf3a3SEmmanuel Vadot      - interrupt-names
177c9ccf3a3SEmmanuel Vadot
178c9ccf3a3SEmmanuel Vadot    additionalProperties: false
179c9ccf3a3SEmmanuel Vadot
180c9ccf3a3SEmmanuel Vadot  ab8500_fg:
181c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 fuel gauge control block.
182c9ccf3a3SEmmanuel Vadot    type: object
183c9ccf3a3SEmmanuel Vadot    $ref: ../power/supply/stericsson,ab8500-fg.yaml
184c9ccf3a3SEmmanuel Vadot
185c9ccf3a3SEmmanuel Vadot  ab8500_btemp:
186c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 battery temperature control block.
187c9ccf3a3SEmmanuel Vadot    type: object
188c9ccf3a3SEmmanuel Vadot    $ref: ../power/supply/stericsson,ab8500-btemp.yaml
189c9ccf3a3SEmmanuel Vadot
190c9ccf3a3SEmmanuel Vadot  ab8500_charger:
191c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 battery charger control block.
192c9ccf3a3SEmmanuel Vadot    type: object
193c9ccf3a3SEmmanuel Vadot    $ref: ../power/supply/stericsson,ab8500-charger.yaml
194c9ccf3a3SEmmanuel Vadot
195c9ccf3a3SEmmanuel Vadot  ab8500_chargalg:
196c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 battery charger algorithm.
197c9ccf3a3SEmmanuel Vadot    type: object
198c9ccf3a3SEmmanuel Vadot    $ref: ../power/supply/stericsson,ab8500-chargalg.yaml
199c9ccf3a3SEmmanuel Vadot
200c9ccf3a3SEmmanuel Vadot  phy:
201c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 USB PHY control block.
202c9ccf3a3SEmmanuel Vadot    type: object
203c9ccf3a3SEmmanuel Vadot
204c9ccf3a3SEmmanuel Vadot    properties:
205c9ccf3a3SEmmanuel Vadot      compatible:
206c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-usb
207c9ccf3a3SEmmanuel Vadot
208c9ccf3a3SEmmanuel Vadot      interrupts:
209c9ccf3a3SEmmanuel Vadot        items:
210c9ccf3a3SEmmanuel Vadot          - description: ID wakeup rising IRQ
211c9ccf3a3SEmmanuel Vadot          - description: ID wakeup falling IRQ
212c9ccf3a3SEmmanuel Vadot          - description: VBUS detection falling IRQ
213c9ccf3a3SEmmanuel Vadot          - description: VBUS detection rising IRQ
214c9ccf3a3SEmmanuel Vadot          - description: USB link status change IRQ
215c9ccf3a3SEmmanuel Vadot          - description: ADP probe plug IRQ
216c9ccf3a3SEmmanuel Vadot          - description: ADP probe unplug IRQ
217c9ccf3a3SEmmanuel Vadot
218c9ccf3a3SEmmanuel Vadot      interrupt-names:
219c9ccf3a3SEmmanuel Vadot        items:
220c9ccf3a3SEmmanuel Vadot          - const: ID_WAKEUP_R
221c9ccf3a3SEmmanuel Vadot          - const: ID_WAKEUP_F
222c9ccf3a3SEmmanuel Vadot          - const: VBUS_DET_F
223c9ccf3a3SEmmanuel Vadot          - const: VBUS_DET_R
224c9ccf3a3SEmmanuel Vadot          - const: USB_LINK_STATUS
225c9ccf3a3SEmmanuel Vadot          - const: USB_ADP_PROBE_PLUG
226c9ccf3a3SEmmanuel Vadot          - const: USB_ADP_PROBE_UNPLUG
227c9ccf3a3SEmmanuel Vadot
228c9ccf3a3SEmmanuel Vadot      vddulpivio18-supply: true
229c9ccf3a3SEmmanuel Vadot      v-ape-supply: true
230c9ccf3a3SEmmanuel Vadot      musb_1v8-supply: true
231c9ccf3a3SEmmanuel Vadot
232c9ccf3a3SEmmanuel Vadot      clocks:
233c9ccf3a3SEmmanuel Vadot        items:
234c9ccf3a3SEmmanuel Vadot          - description: PRCMY system clock
235c9ccf3a3SEmmanuel Vadot
236c9ccf3a3SEmmanuel Vadot      clock-names:
237c9ccf3a3SEmmanuel Vadot        items:
238c9ccf3a3SEmmanuel Vadot          - const: sysclk
239c9ccf3a3SEmmanuel Vadot
240c9ccf3a3SEmmanuel Vadot      '#phy-cells':
241c9ccf3a3SEmmanuel Vadot        const: 0
242c9ccf3a3SEmmanuel Vadot
243c9ccf3a3SEmmanuel Vadot    required:
244c9ccf3a3SEmmanuel Vadot      - compatible
245c9ccf3a3SEmmanuel Vadot      - interrupts
246c9ccf3a3SEmmanuel Vadot      - interrupt-names
247c9ccf3a3SEmmanuel Vadot      - vddulpivio18-supply
248c9ccf3a3SEmmanuel Vadot      - v-ape-supply
249c9ccf3a3SEmmanuel Vadot      - musb_1v8-supply
250c9ccf3a3SEmmanuel Vadot      - clocks
251c9ccf3a3SEmmanuel Vadot      - clock-names
252c9ccf3a3SEmmanuel Vadot      - '#phy-cells'
253c9ccf3a3SEmmanuel Vadot
254c9ccf3a3SEmmanuel Vadot    additionalProperties: false
255c9ccf3a3SEmmanuel Vadot
256c9ccf3a3SEmmanuel Vadot  key:
257c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 power-on key control block.
258c9ccf3a3SEmmanuel Vadot    type: object
259c9ccf3a3SEmmanuel Vadot
260c9ccf3a3SEmmanuel Vadot    properties:
261c9ccf3a3SEmmanuel Vadot      compatible:
262c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-poweron-key
263c9ccf3a3SEmmanuel Vadot
264c9ccf3a3SEmmanuel Vadot      interrupts:
265c9ccf3a3SEmmanuel Vadot        items:
266c9ccf3a3SEmmanuel Vadot          - description: ON key falling IRQ
267c9ccf3a3SEmmanuel Vadot          - description: ON key rising IRQ
268c9ccf3a3SEmmanuel Vadot
269c9ccf3a3SEmmanuel Vadot      interrupt-names:
270c9ccf3a3SEmmanuel Vadot        items:
271c9ccf3a3SEmmanuel Vadot          - const: ONKEY_DBF
272c9ccf3a3SEmmanuel Vadot          - const: ONKEY_DBR
273c9ccf3a3SEmmanuel Vadot
274c9ccf3a3SEmmanuel Vadot    required:
275c9ccf3a3SEmmanuel Vadot      - compatible
276c9ccf3a3SEmmanuel Vadot      - interrupts
277c9ccf3a3SEmmanuel Vadot      - interrupt-names
278c9ccf3a3SEmmanuel Vadot
279c9ccf3a3SEmmanuel Vadot    additionalProperties: false
280c9ccf3a3SEmmanuel Vadot
281c9ccf3a3SEmmanuel Vadot  ab8500-sysctrl:
282c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 system control block.
283c9ccf3a3SEmmanuel Vadot    type: object
284c9ccf3a3SEmmanuel Vadot
285c9ccf3a3SEmmanuel Vadot    properties:
286c9ccf3a3SEmmanuel Vadot      compatible:
287c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-sysctrl
288c9ccf3a3SEmmanuel Vadot
289c9ccf3a3SEmmanuel Vadot    required:
290c9ccf3a3SEmmanuel Vadot      - compatible
291c9ccf3a3SEmmanuel Vadot
292c9ccf3a3SEmmanuel Vadot    additionalProperties: false
293c9ccf3a3SEmmanuel Vadot
294c9ccf3a3SEmmanuel Vadot  codec:
295c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 audio codec block.
296c9ccf3a3SEmmanuel Vadot    type: object
297c9ccf3a3SEmmanuel Vadot
298c9ccf3a3SEmmanuel Vadot    properties:
299c9ccf3a3SEmmanuel Vadot      compatible:
300c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-codec
301c9ccf3a3SEmmanuel Vadot
302c9ccf3a3SEmmanuel Vadot      V-AUD-supply: true
303c9ccf3a3SEmmanuel Vadot      V-AMIC1-supply: true
304c9ccf3a3SEmmanuel Vadot      V-AMIC2-supply: true
305c9ccf3a3SEmmanuel Vadot      V-DMIC-supply: true
306c9ccf3a3SEmmanuel Vadot
307c9ccf3a3SEmmanuel Vadot      clocks:
308c9ccf3a3SEmmanuel Vadot        items:
309c9ccf3a3SEmmanuel Vadot          - description: Audio system clock
310c9ccf3a3SEmmanuel Vadot
311c9ccf3a3SEmmanuel Vadot      clock-names:
312c9ccf3a3SEmmanuel Vadot        items:
313c9ccf3a3SEmmanuel Vadot          - const: audioclk
314c9ccf3a3SEmmanuel Vadot
315c9ccf3a3SEmmanuel Vadot      stericsson,earpeice-cmv:
316*aa1a8ff2SEmmanuel Vadot        description: Earpiece voltage
317c9ccf3a3SEmmanuel Vadot        $ref: /schemas/types.yaml#/definitions/uint32
318c9ccf3a3SEmmanuel Vadot        enum: [ 950, 1100, 1270, 1580 ]
319c9ccf3a3SEmmanuel Vadot
320c9ccf3a3SEmmanuel Vadot    required:
321c9ccf3a3SEmmanuel Vadot      - compatible
322c9ccf3a3SEmmanuel Vadot
323c9ccf3a3SEmmanuel Vadot    additionalProperties: false
324c9ccf3a3SEmmanuel Vadot
325c9ccf3a3SEmmanuel Vadot  regulator:
326c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 internal regulators.
327c9ccf3a3SEmmanuel Vadot    type: object
328c9ccf3a3SEmmanuel Vadot
329c9ccf3a3SEmmanuel Vadot    properties:
330c9ccf3a3SEmmanuel Vadot      compatible:
331c9ccf3a3SEmmanuel Vadot        enum:
332c9ccf3a3SEmmanuel Vadot          - stericsson,ab8500-regulator
333c9ccf3a3SEmmanuel Vadot          - stericsson,ab8505-regulator
334c9ccf3a3SEmmanuel Vadot
335c9ccf3a3SEmmanuel Vadot      vin-supply:
336c9ccf3a3SEmmanuel Vadot        description: The regulator supplying all of the internal regulators
337c9ccf3a3SEmmanuel Vadot          with power.
338c9ccf3a3SEmmanuel Vadot
339c9ccf3a3SEmmanuel Vadot      ab8500_ldo_aux1:
340*aa1a8ff2SEmmanuel Vadot        description: The voltage for the auxiliary LDO regulator 1
341c9ccf3a3SEmmanuel Vadot        type: object
342c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3437ef62cebSEmmanuel Vadot        unevaluatedProperties: false
344c9ccf3a3SEmmanuel Vadot
345c9ccf3a3SEmmanuel Vadot      ab8500_ldo_aux2:
346*aa1a8ff2SEmmanuel Vadot        description: The voltage for the auxiliary LDO regulator 2
347c9ccf3a3SEmmanuel Vadot        type: object
348c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3497ef62cebSEmmanuel Vadot        unevaluatedProperties: false
350c9ccf3a3SEmmanuel Vadot
351c9ccf3a3SEmmanuel Vadot      ab8500_ldo_aux3:
352*aa1a8ff2SEmmanuel Vadot        description: The voltage for the auxiliary LDO regulator 3
353c9ccf3a3SEmmanuel Vadot        type: object
354c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3557ef62cebSEmmanuel Vadot        unevaluatedProperties: false
356c9ccf3a3SEmmanuel Vadot
357c9ccf3a3SEmmanuel Vadot      ab8500_ldo_aux4:
358*aa1a8ff2SEmmanuel Vadot        description: The voltage for the auxiliary LDO regulator 4
359c9ccf3a3SEmmanuel Vadot          only present on AB8505
360c9ccf3a3SEmmanuel Vadot        type: object
361c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3627ef62cebSEmmanuel Vadot        unevaluatedProperties: false
363c9ccf3a3SEmmanuel Vadot
364c9ccf3a3SEmmanuel Vadot      ab8500_ldo_aux5:
365*aa1a8ff2SEmmanuel Vadot        description: The voltage for the auxiliary LDO regulator 5
366c9ccf3a3SEmmanuel Vadot          only present on AB8505
367c9ccf3a3SEmmanuel Vadot        type: object
368c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3697ef62cebSEmmanuel Vadot        unevaluatedProperties: false
370c9ccf3a3SEmmanuel Vadot
371c9ccf3a3SEmmanuel Vadot      ab8500_ldo_aux6:
372*aa1a8ff2SEmmanuel Vadot        description: The voltage for the auxiliary LDO regulator 6
373c9ccf3a3SEmmanuel Vadot          only present on AB8505
374c9ccf3a3SEmmanuel Vadot        type: object
375c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3767ef62cebSEmmanuel Vadot        unevaluatedProperties: false
377c9ccf3a3SEmmanuel Vadot
378c9ccf3a3SEmmanuel Vadot      # There is never any AUX7 regulator which is confusing
379c9ccf3a3SEmmanuel Vadot
380c9ccf3a3SEmmanuel Vadot      ab8500_ldo_aux8:
381*aa1a8ff2SEmmanuel Vadot        description: The voltage for the auxiliary LDO regulator 8
382c9ccf3a3SEmmanuel Vadot          only present on AB8505
383c9ccf3a3SEmmanuel Vadot        type: object
384c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3857ef62cebSEmmanuel Vadot        unevaluatedProperties: false
386c9ccf3a3SEmmanuel Vadot
387c9ccf3a3SEmmanuel Vadot      ab8500_ldo_intcore:
388c9ccf3a3SEmmanuel Vadot        description: The LDO regulator for the internal core voltage
389c9ccf3a3SEmmanuel Vadot          of the AB8500
390c9ccf3a3SEmmanuel Vadot        type: object
391c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3927ef62cebSEmmanuel Vadot        unevaluatedProperties: false
393c9ccf3a3SEmmanuel Vadot
394c9ccf3a3SEmmanuel Vadot      ab8500_ldo_adc:
395c9ccf3a3SEmmanuel Vadot        description: Analog power regulator for the analog to digital converter
396c9ccf3a3SEmmanuel Vadot          ADC, only present on AB8505
397c9ccf3a3SEmmanuel Vadot        type: object
398c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
3997ef62cebSEmmanuel Vadot        unevaluatedProperties: false
400c9ccf3a3SEmmanuel Vadot
401c9ccf3a3SEmmanuel Vadot      ab8500_ldo_tvout:
402c9ccf3a3SEmmanuel Vadot        description: The voltage for the TV output regulator, incidentally
403c9ccf3a3SEmmanuel Vadot          this voltage is also used for other purposes such as measuring
404c9ccf3a3SEmmanuel Vadot          the temperature of the NTC thermistor on the battery.
405c9ccf3a3SEmmanuel Vadot          Only present on AB8500.
406c9ccf3a3SEmmanuel Vadot        type: object
407c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4087ef62cebSEmmanuel Vadot        unevaluatedProperties: false
409c9ccf3a3SEmmanuel Vadot
410c9ccf3a3SEmmanuel Vadot      ab8500_ldo_audio:
411c9ccf3a3SEmmanuel Vadot        description: The LDO regulator for the audio codec output
412c9ccf3a3SEmmanuel Vadot        type: object
413c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4147ef62cebSEmmanuel Vadot        unevaluatedProperties: false
415c9ccf3a3SEmmanuel Vadot
416c9ccf3a3SEmmanuel Vadot      ab8500_ldo_anamic1:
417c9ccf3a3SEmmanuel Vadot        description: The LDO regulator for the analog microphone 1
418c9ccf3a3SEmmanuel Vadot        type: object
419c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4207ef62cebSEmmanuel Vadot        unevaluatedProperties: false
421c9ccf3a3SEmmanuel Vadot
422c9ccf3a3SEmmanuel Vadot      ab8500_ldo_anamic2:
423c9ccf3a3SEmmanuel Vadot        description: The LDO regulator for the analog microphone 2
424c9ccf3a3SEmmanuel Vadot        type: object
425c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4267ef62cebSEmmanuel Vadot        unevaluatedProperties: false
427c9ccf3a3SEmmanuel Vadot
428c9ccf3a3SEmmanuel Vadot      ab8500_ldo_dmic:
429c9ccf3a3SEmmanuel Vadot        description: The LDO regulator for the digital microphone
430c9ccf3a3SEmmanuel Vadot          only present on AB8500
431c9ccf3a3SEmmanuel Vadot        type: object
432c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4337ef62cebSEmmanuel Vadot        unevaluatedProperties: false
434c9ccf3a3SEmmanuel Vadot
435c9ccf3a3SEmmanuel Vadot      ab8500_ldo_ana:
436c9ccf3a3SEmmanuel Vadot        description: Analog power regulator for CSI and DSI interfaces,
437c9ccf3a3SEmmanuel Vadot          Camera Serial Interface CSI and Display Serial Interface DSI.
438c9ccf3a3SEmmanuel Vadot        type: object
439c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4407ef62cebSEmmanuel Vadot        unevaluatedProperties: false
441c9ccf3a3SEmmanuel Vadot
442c9ccf3a3SEmmanuel Vadot    required:
443c9ccf3a3SEmmanuel Vadot      - compatible
444c9ccf3a3SEmmanuel Vadot
445c9ccf3a3SEmmanuel Vadot    additionalProperties: false
446c9ccf3a3SEmmanuel Vadot
447c9ccf3a3SEmmanuel Vadot
448c9ccf3a3SEmmanuel Vadot  regulator-external:
449c9ccf3a3SEmmanuel Vadot    description: Node describing the AB8500 external regulators. This
450c9ccf3a3SEmmanuel Vadot      concerns the autonomous regulators VSMPS1, VSMPS2 and VSMPS3
451c9ccf3a3SEmmanuel Vadot      that are normally controlled by external electronics but also
452c9ccf3a3SEmmanuel Vadot      sometimes need to be explicitly controlled by software.
453c9ccf3a3SEmmanuel Vadot    type: object
454c9ccf3a3SEmmanuel Vadot
455c9ccf3a3SEmmanuel Vadot    properties:
456c9ccf3a3SEmmanuel Vadot      compatible:
457c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-ext-regulator
458c9ccf3a3SEmmanuel Vadot
459c9ccf3a3SEmmanuel Vadot      ab8500_ext1:
460c9ccf3a3SEmmanuel Vadot        description: The voltage for the VSMPS1 external regulator
461c9ccf3a3SEmmanuel Vadot        type: object
462c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4637ef62cebSEmmanuel Vadot        unevaluatedProperties: false
464c9ccf3a3SEmmanuel Vadot
465c9ccf3a3SEmmanuel Vadot      ab8500_ext2:
466c9ccf3a3SEmmanuel Vadot        description: The voltage for the VSMPS2 external regulator
467c9ccf3a3SEmmanuel Vadot        type: object
468c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4697ef62cebSEmmanuel Vadot        unevaluatedProperties: false
470c9ccf3a3SEmmanuel Vadot
471c9ccf3a3SEmmanuel Vadot      ab8500_ext3:
472c9ccf3a3SEmmanuel Vadot        description: The voltage for the VSMPS3 external regulator
473c9ccf3a3SEmmanuel Vadot        type: object
474c9ccf3a3SEmmanuel Vadot        $ref: ../regulator/regulator.yaml#
4757ef62cebSEmmanuel Vadot        unevaluatedProperties: false
476c9ccf3a3SEmmanuel Vadot
477c9ccf3a3SEmmanuel Vadot    required:
478c9ccf3a3SEmmanuel Vadot      - compatible
479c9ccf3a3SEmmanuel Vadot
480c9ccf3a3SEmmanuel Vadot    additionalProperties: false
481c9ccf3a3SEmmanuel Vadot
482c9ccf3a3SEmmanuel VadotpatternProperties:
483c9ccf3a3SEmmanuel Vadot  "^pwm@[1-9]+?$":
484c9ccf3a3SEmmanuel Vadot    type: object
485c9ccf3a3SEmmanuel Vadot    $ref: ../pwm/pwm.yaml#
4867ef62cebSEmmanuel Vadot    unevaluatedProperties: false
487c9ccf3a3SEmmanuel Vadot    description: Represents each of the PWM blocks in the AB8500
488c9ccf3a3SEmmanuel Vadot
489c9ccf3a3SEmmanuel Vadot    properties:
490c9ccf3a3SEmmanuel Vadot      compatible:
491c9ccf3a3SEmmanuel Vadot        const: stericsson,ab8500-pwm
492c9ccf3a3SEmmanuel Vadot
493c9ccf3a3SEmmanuel Vadot      reg: true
494c9ccf3a3SEmmanuel Vadot
495c9ccf3a3SEmmanuel Vadot      clocks:
496c9ccf3a3SEmmanuel Vadot        items:
497c9ccf3a3SEmmanuel Vadot          - description: internal clock
498c9ccf3a3SEmmanuel Vadot
499c9ccf3a3SEmmanuel Vadot      clock-names:
500c9ccf3a3SEmmanuel Vadot        items:
501c9ccf3a3SEmmanuel Vadot          - const: intclk
502c9ccf3a3SEmmanuel Vadot
503c9ccf3a3SEmmanuel Vadot    required:
504c9ccf3a3SEmmanuel Vadot      - compatible
505c9ccf3a3SEmmanuel Vadot      - reg
506c9ccf3a3SEmmanuel Vadot
507c9ccf3a3SEmmanuel Vadotrequired:
508c9ccf3a3SEmmanuel Vadot  - compatible
509c9ccf3a3SEmmanuel Vadot  - clock-controller
510c9ccf3a3SEmmanuel Vadot  - gpio
511c9ccf3a3SEmmanuel Vadot  - rtc
512c9ccf3a3SEmmanuel Vadot  - adc
513c9ccf3a3SEmmanuel Vadot  - thermal
514c9ccf3a3SEmmanuel Vadot  - ab8500_fg
515c9ccf3a3SEmmanuel Vadot  - ab8500_btemp
516c9ccf3a3SEmmanuel Vadot  - ab8500_charger
517c9ccf3a3SEmmanuel Vadot  - ab8500_chargalg
518c9ccf3a3SEmmanuel Vadot  - phy
519c9ccf3a3SEmmanuel Vadot  - key
520c9ccf3a3SEmmanuel Vadot  - regulator
521c9ccf3a3SEmmanuel Vadot
522c9ccf3a3SEmmanuel VadotadditionalProperties: false
523