ST-Ericsson Analog Baseband AB8500 and AB8505
Schema identifier ($id): "http://devicetree.org/schemas/mfd/stericsson,ab8500.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
the AB8500 "Analog Baseband" is the mixed-signals integrated circuit handling power management (regulators), analog-to-digital conversion (ADC), battery charging, fuel gauging of the battery, battery-backed RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms in connection with the DB8500 digital baseband. The DB8500 PRCMU communicates directly and autonomously with the AB8500 and thus it appears as a subnode of the DB8500 PRCMU. An altered version called AB8505 also exist, the difference in AB8505 is that some of the USB and USB charging handling has changed, and it has an embedded USB-to-serial converter. Most subblocks takes their interrupts directly from the AB8500 embedded interrupt controller.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^ab850[05]$"
compatible — required here #
Allowed values (enum): "stericsson,ab8500", "stericsson,ab8505"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-controller — not listed as required here #
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here #
Exact value (const): 2
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
clock-controller — required here #
Node describing the AB8500 clock controller. This provides the reference clock for the entire U8500 system and the DB8500 counterpart.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — not listed as required here
Exact value (const): "stericsson,ab8500-clk"
#clock-cells — not listed as required here
Exact value (const): 1
gpio — required here #
Node describing the AB8500 GPIO controller. A few GPIO pins available for misc usage.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — not listed as required here
Allowed values (enum): "stericsson,ab8500-gpio", "stericsson,ab8505-gpio"
gpio-controller — not listed as required here
true — No constraints added by this property rule.
#gpio-cells — not listed as required here
Exact value (const): 2
rtc — required here #
Node describing the AB8500 battery-backed RTC.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — not listed as required here
Exact value (const): "stericsson,ab8500-rtc"
interrupts — not listed as required here
Array item rules (items)
Item 1
60 second interval alarm interrupt
Item 2
RTC alarm
interrupt-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"60S"
Item 2
Exact value (
const):"ALARM"
adc — required here #
Node describing the AB8500 general purpose analog to digital converter, GPADC.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "stericsson,ab8500-gpadc"
interrupts — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — required here
true — No constraints added by this property rule.
vddadc-supply — required here
true — No constraints added by this property rule.
#address-cells — required here
Exact value (const): 1
#size-cells — required here
Exact value (const): 0
#io-channel-cells — required here
Exact value (const): 1
Properties matching a name pattern (patternProperties) #
^channel@[0-9a-f]+$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): /schemas/iio/adc/adc.yaml#
Represents each of the external channels which are connected to the ADC.
Properties and child nodes (properties)
reg — required here
Array item rules (items)
Minimum value (
minimum):1Maximum value (
maximum):31
Required in this object (required): "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Required in this object (required): "compatible", "interrupts", "interrupt-names", "vddadc-supply", "#address-cells", "#size-cells", "#io-channel-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
thermal — required here #
Node describing the AB8500 thermal control block. All this block really does is to fire an interrupt when the die becomes 130 degrees Celsius in temperature.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "stericsson,abx500-temp"
interrupts — required here
Array item rules (items)
Item 1
Thermal warm warning interrupt
interrupt-names — required here
Array item rules (items)
Item 1
Exact value (
const):"ABX500_TEMP_WARM"
Required in this object (required): "compatible", "interrupts", "interrupt-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
ab8500_fg — required here #
Node describing the AB8500 fuel gauge control block.
Value type (type): "object"
Shared schema rule ($ref): /schemas/power/supply/stericsson,ab8500-fg.yaml
ab8500_btemp — required here #
Node describing the AB8500 battery temperature control block.
Value type (type): "object"
Shared schema rule ($ref): /schemas/power/supply/stericsson,ab8500-btemp.yaml
ab8500_charger — required here #
Node describing the AB8500 battery charger control block.
Value type (type): "object"
Shared schema rule ($ref): /schemas/power/supply/stericsson,ab8500-charger.yaml
ab8500_chargalg — required here #
Node describing the AB8500 battery charger algorithm.
Value type (type): "object"
Shared schema rule ($ref): /schemas/power/supply/stericsson,ab8500-chargalg.yaml
phy — required here #
Node describing the AB8500 USB PHY control block.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "stericsson,ab8500-usb"
interrupts — required here
Array item rules (items)
Item 1
ID wakeup rising IRQ
Item 2
ID wakeup falling IRQ
Item 3
VBUS detection falling IRQ
Item 4
VBUS detection rising IRQ
Item 5
USB link status change IRQ
Item 6
ADP probe plug IRQ
Item 7
ADP probe unplug IRQ
interrupt-names — required here
Array item rules (items)
Item 1
Exact value (
const):"ID_WAKEUP_R"
Item 2
Exact value (
const):"ID_WAKEUP_F"
Item 3
Exact value (
const):"VBUS_DET_F"
Item 4
Exact value (
const):"VBUS_DET_R"
Item 5
Exact value (
const):"USB_LINK_STATUS"
Item 6
Exact value (
const):"USB_ADP_PROBE_PLUG"
Item 7
Exact value (
const):"USB_ADP_PROBE_UNPLUG"
vddulpivio18-supply — required here
true — No constraints added by this property rule.
v-ape-supply — required here
true — No constraints added by this property rule.
musb_1v8-supply — required here
true — No constraints added by this property rule.
clocks — required here
Array item rules (items)
Item 1
PRCMY system clock
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"sysclk"
#phy-cells — required here
Exact value (const): 0
Required in this object (required): "compatible", "interrupts", "interrupt-names", "vddulpivio18-supply", "v-ape-supply", "musb_1v8-supply", "clocks", "clock-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
key — required here #
Node describing the AB8500 power-on key control block.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "stericsson,ab8500-poweron-key"
interrupts — required here
Array item rules (items)
Item 1
ON key falling IRQ
Item 2
ON key rising IRQ
interrupt-names — required here
Array item rules (items)
Item 1
Exact value (
const):"ONKEY_DBF"
Item 2
Exact value (
const):"ONKEY_DBR"
Required in this object (required): "compatible", "interrupts", "interrupt-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
ab8500-sysctrl — not listed as required here #
Node describing the AB8500 system control block.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "stericsson,ab8500-sysctrl"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
codec — not listed as required here #
Node describing the AB8500 audio codec block.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "stericsson,ab8500-codec"
V-AUD-supply — not listed as required here
true — No constraints added by this property rule.
V-AMIC1-supply — not listed as required here
true — No constraints added by this property rule.
V-AMIC2-supply — not listed as required here
true — No constraints added by this property rule.
V-DMIC-supply — not listed as required here
true — No constraints added by this property rule.
clocks — not listed as required here
Array item rules (items)
Item 1
Audio system clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"audioclk"
stericsson,earpeice-cmv — not listed as required here
Earpiece voltage
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 950, 1100, 1270, 1580
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
regulator — required here #
Node describing the AB8500 internal regulators.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "stericsson,ab8500-regulator", "stericsson,ab8505-regulator"
vin-supply — not listed as required here
The regulator supplying all of the internal regulators with power.
ab8500_ldo_aux1 — not listed as required here
The voltage for the auxiliary LDO regulator 1
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_aux2 — not listed as required here
The voltage for the auxiliary LDO regulator 2
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_aux3 — not listed as required here
The voltage for the auxiliary LDO regulator 3
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_aux4 — not listed as required here
The voltage for the auxiliary LDO regulator 4 only present on AB8505
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_aux5 — not listed as required here
The voltage for the auxiliary LDO regulator 5 only present on AB8505
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_aux6 — not listed as required here
The voltage for the auxiliary LDO regulator 6 only present on AB8505
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_aux8 — not listed as required here
The voltage for the auxiliary LDO regulator 8 only present on AB8505
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_intcore — not listed as required here
The LDO regulator for the internal core voltage of the AB8500
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_adc — not listed as required here
Analog power regulator for the analog to digital converter ADC, only present on AB8505
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_tvout — not listed as required here
The voltage for the TV output regulator, incidentally this voltage is also used for other purposes such as measuring the temperature of the NTC thermistor on the battery. Only present on AB8500.
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_audio — not listed as required here
The LDO regulator for the audio codec output
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_anamic1 — not listed as required here
The LDO regulator for the analog microphone 1
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_anamic2 — not listed as required here
The LDO regulator for the analog microphone 2
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_dmic — not listed as required here
The LDO regulator for the digital microphone only present on AB8500
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ldo_ana — not listed as required here
Analog power regulator for CSI and DSI interfaces, Camera Serial Interface CSI and Display Serial Interface DSI.
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
regulator-external — not listed as required here #
Node describing the AB8500 external regulators. This concerns the autonomous regulators VSMPS1, VSMPS2 and VSMPS3 that are normally controlled by external electronics but also sometimes need to be explicitly controlled by software.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "stericsson,ab8500-ext-regulator"
ab8500_ext1 — not listed as required here
The voltage for the VSMPS1 external regulator
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ext2 — not listed as required here
The voltage for the VSMPS2 external regulator
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ab8500_ext3 — not listed as required here
The voltage for the VSMPS3 external regulator
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^pwm@[1-9]+?$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pwm/pwm.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Represents each of the PWM blocks in the AB8500
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "stericsson,ab8500-pwm"
reg — required here
true — No constraints added by this property rule.
clocks — not listed as required here
Array item rules (items)
Item 1
internal clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"intclk"
Required in this object (required): "compatible", "reg"
Required in this object (required): "compatible", "clock-controller", "gpio", "rtc", "adc", "thermal", "ab8500_fg", "ab8500_btemp", "ab8500_charger", "ab8500_chargalg", "phy", "key", "regulator"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 42: Some subnodes use a reg, some don't. Those that do use a single cell.
Line 108: AB8505 only supports one (software) EOC interrupt
Line 378: There is never any AUX7 regulator which is confusing