2015-11-03 15:08:33 +00:00
|
|
|
Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs
|
2013-03-25 00:11:27 +00:00
|
|
|
|
2016-04-26 23:41:21 +00:00
|
|
|
These devices are audio SoCs with extensive digital capabilities and a range
|
2013-03-25 00:11:27 +00:00
|
|
|
of analogue I/O.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
2014-03-19 10:18:54 +00:00
|
|
|
- compatible : One of the following chip-specific strings:
|
2015-11-03 15:08:33 +00:00
|
|
|
"cirrus,cs47l24"
|
2014-03-19 10:18:54 +00:00
|
|
|
"wlf,wm5102"
|
|
|
|
"wlf,wm5110"
|
2015-01-17 15:21:23 +00:00
|
|
|
"wlf,wm8280"
|
2014-03-19 10:18:54 +00:00
|
|
|
"wlf,wm8997"
|
2015-05-01 15:15:19 +00:00
|
|
|
"wlf,wm8998"
|
|
|
|
"wlf,wm1814"
|
2015-11-03 15:08:33 +00:00
|
|
|
"wlf,wm1831"
|
2015-05-01 15:15:19 +00:00
|
|
|
|
2013-03-25 00:11:27 +00:00
|
|
|
- reg : I2C slave address when connected using I2C, chip select number when
|
|
|
|
using SPI.
|
|
|
|
|
|
|
|
- interrupts : The interrupt line the /IRQ signal for the device is
|
|
|
|
connected to.
|
|
|
|
- interrupt-controller : Arizona class devices contain interrupt controllers
|
|
|
|
and may provide interrupt services to other devices.
|
|
|
|
- #interrupt-cells: the number of cells to describe an IRQ, this should be 2.
|
|
|
|
The first cell is the IRQ number.
|
|
|
|
The second cell is the flags, encoded as the trigger masks from
|
2015-09-21 16:25:40 +00:00
|
|
|
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
|
2013-03-25 00:11:27 +00:00
|
|
|
|
|
|
|
- gpio-controller : Indicates this device is a GPIO controller.
|
|
|
|
- #gpio-cells : Must be 2. The first cell is the pin number and the
|
2017-05-23 14:47:32 +00:00
|
|
|
second cell is used to specify optional parameters, see ../gpio/gpio.txt
|
|
|
|
for details.
|
2013-03-25 00:11:27 +00:00
|
|
|
|
2015-01-17 15:21:23 +00:00
|
|
|
- AVDD-supply, DBVDD1-supply, CPVDD-supply : Power supplies for the device,
|
|
|
|
as covered in Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
|
|
|
|
- DBVDD2-supply, DBVDD3-supply : Additional databus power supplies (wm5102,
|
2015-05-01 15:15:19 +00:00
|
|
|
wm5110, wm8280, wm8998, wm1814)
|
2015-01-17 15:21:23 +00:00
|
|
|
|
|
|
|
- SPKVDDL-supply, SPKVDDR-supply : Speaker driver power supplies (wm5102,
|
2015-05-01 15:15:19 +00:00
|
|
|
wm5110, wm8280, wm8998, wm1814)
|
2015-01-17 15:21:23 +00:00
|
|
|
|
|
|
|
- SPKVDD-supply : Speaker driver power supply (wm8997)
|
2013-03-25 00:11:27 +00:00
|
|
|
|
2015-11-03 15:08:33 +00:00
|
|
|
- DCVDD-supply : Main power supply (cs47l24, wm1831)
|
|
|
|
|
|
|
|
- MICVDD-supply : Microphone power supply (cs47l24, wm1831)
|
|
|
|
|
2013-03-25 00:11:27 +00:00
|
|
|
Optional properties:
|
|
|
|
|
2018-05-09 10:23:48 +00:00
|
|
|
- reset-gpios : GPIO specifier for the GPIO controlling /RESET
|
2013-03-25 00:11:27 +00:00
|
|
|
|
2016-01-08 11:29:42 +00:00
|
|
|
- clocks: Should reference the clocks supplied on MCLK1 and MCLK2
|
|
|
|
- clock-names: Should contains two strings:
|
|
|
|
"mclk1" for the clock supplied on MCLK1, recommended to be a high
|
|
|
|
quality audio reference clock
|
|
|
|
"mclk2" for the clock supplied on MCLK2, recommended to be an always on
|
|
|
|
32k clock
|
|
|
|
|
2015-02-25 15:37:13 +00:00
|
|
|
- wlf,gpio-defaults : A list of GPIO configuration register values. Defines
|
|
|
|
for the appropriate values can found in <dt-bindings/mfd/arizona.txt>. If
|
|
|
|
absent, no configuration of these registers is performed. If any entry has
|
|
|
|
a value that is out of range for a 16 bit register then the chip default
|
|
|
|
will be used. If present exactly five values must be specified.
|
2013-03-25 00:11:27 +00:00
|
|
|
|
2014-07-10 16:04:09 +00:00
|
|
|
- DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
|
|
|
|
they are being externally supplied. As covered in
|
2014-07-10 16:04:08 +00:00
|
|
|
Documentation/devicetree/bindings/regulator/regulator.txt
|
2015-11-03 15:08:33 +00:00
|
|
|
(wm5102, wm5110, wm8280, wm8997, wm8998, wm1814)
|
2014-07-10 16:04:08 +00:00
|
|
|
|
2018-05-09 10:23:48 +00:00
|
|
|
Deprecated properties:
|
|
|
|
|
|
|
|
- wlf,reset : GPIO specifier for the GPIO controlling /RESET
|
|
|
|
|
2015-10-27 16:01:58 +00:00
|
|
|
Also see child specific device properties:
|
|
|
|
Regulator - ../regulator/arizona-regulator.txt
|
|
|
|
Extcon - ../extcon/extcon-arizona.txt
|
2018-09-17 15:33:22 +00:00
|
|
|
Sound - ../sound/wlf,arizona.txt
|
2014-07-10 16:04:08 +00:00
|
|
|
|
2013-03-25 00:11:27 +00:00
|
|
|
Example:
|
|
|
|
|
|
|
|
codec: wm5102@1a {
|
|
|
|
compatible = "wlf,wm5102";
|
|
|
|
reg = <0x1a>;
|
|
|
|
interrupts = <347>;
|
2014-03-19 10:18:54 +00:00
|
|
|
interrupt-controller;
|
2013-03-25 00:11:27 +00:00
|
|
|
#interrupt-cells = <2>;
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
|
|
|
wlf,gpio-defaults = <
|
2015-02-25 15:37:13 +00:00
|
|
|
ARIZONA_GP_FN_TXLRCLK
|
|
|
|
ARIZONA_GP_DEFAULT
|
|
|
|
ARIZONA_GP_DEFAULT
|
|
|
|
ARIZONA_GP_DEFAULT
|
|
|
|
ARIZONA_GP_DEFAULT
|
2013-03-25 00:11:27 +00:00
|
|
|
>;
|
|
|
|
};
|