About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / mfd / arizona.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:01 EST.

1	Wolfson Arizona class audio SoCs
2	
3	These devices are audio SoCs with extensive digital capabilites and a range
4	of analogue I/O.
5	
6	Required properties:
7	
8	  - compatible : one of the following chip-specific strings:
9		"wlf,wm5102"
10		"wlf,wm5110"
11	  - reg : I2C slave address when connected using I2C, chip select number when
12	    using SPI.
13	
14	  - interrupts : The interrupt line the /IRQ signal for the device is
15	    connected to.
16	  - interrupt-controller : Arizona class devices contain interrupt controllers
17	    and may provide interrupt services to other devices.
18	  - interrupt-parent : The parent interrupt controller.
19	  - #interrupt-cells: the number of cells to describe an IRQ, this should be 2.
20	    The first cell is the IRQ number.
21	    The second cell is the flags, encoded as the trigger masks from
22	    Documentation/devicetree/bindings/interrupts.txt
23	
24	  - gpio-controller : Indicates this device is a GPIO controller.
25	  - #gpio-cells : Must be 2. The first cell is the pin number and the
26	    second cell is used to specify optional parameters (currently unused).
27	
28	  - AVDD1-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, CPVDD-supply,
29	    SPKVDDL-supply, SPKVDDR-supply : power supplies for the device, as covered
30	    in Documentation/devicetree/bindings/regulator/regulator.txt
31	
32	Optional properties:
33	
34	  - wlf,reset : GPIO specifier for the GPIO controlling /RESET
35	  - wlf,ldoena : GPIO specifier for the GPIO controlling LDOENA
36	
37	  - wlf,gpio-defaults : A list of GPIO configuration register values. If
38	    absent, no configuration of these registers is performed. If any
39	    entry has a value that is out of range for a 16 bit register then
40	    the chip default will be used.  If present exactly five values must
41	    be specified.
42	
43	Example:
44	
45	codec: wm5102@1a {
46		compatible = "wlf,wm5102";
47		reg = <0x1a>;
48		interrupts = <347>;
49		#interrupt-cells = <2>;
50	        interrupt-parent = <&gic>;
51	
52		gpio-controller;
53		#gpio-cells = <2>;
54	
55		wlf,gpio-defaults = <
56			0x00000000, /* AIF1TXLRCLK */
57			0xffffffff,
58			0xffffffff,
59			0xffffffff,
60			0xffffffff,
61		>;
62	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.