Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / ac100.txt
blobdff219f074931bdcce6bbac66853680b72fddbde
1 X-Powers AC100 Codec/RTC IC Device Tree bindings
3 AC100 is a audio codec and RTC subsystem combo IC. The 2 parts are
4 separated, including power supplies and interrupt lines, but share
5 a common register address space and host interface.
7 Required properties:
8 - compatible: "x-powers,ac100"
9 - reg: The I2C slave address or RSB hardware address for the chip
10 - sub-nodes:
11   - codec
12     - compatible:               "x-powers,ac100-codec"
13     - interrupts:               SoC NMI / GPIO interrupt connected to the
14                                 IRQ_AUDIO pin
15     - #clock-cells:             Shall be 0
16     - clock-output-names:       "4M_adda"
18     - see clock/clock-bindings.txt for common clock bindings
20   - rtc
21     - compatible:               "x-powers,ac100-rtc"
22     - clocks:                   A phandle to the codec's "4M_adda" clock
23     - #clock-cells:             Shall be 1
24     - clock-output-names:       "cko1_rtc", "cko2_rtc", "cko3_rtc"
26     - see clock/clock-bindings.txt for common clock bindings
28 Example:
30 ac100: codec@e89 {
31         compatible = "x-powers,ac100";
32         reg = <0xe89>;
34         ac100_codec: codec {
35                 compatible = "x-powers,ac100-codec";
36                 interrupt-parent = <&r_pio>;
37                 interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PL9 */
38                 #clock-cells = <0>;
39                 clock-output-names = "4M_adda";
40         };
42         ac100_rtc: rtc {
43                 compatible = "x-powers,ac100-rtc";
44                 interrupt-parent = <&nmi_intc>;
45                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
46                 clocks = <&ac100_codec>;
47                 #clock-cells = <1>;
48                 clock-output-names = "cko1_rtc", "cko2_rtc", "cko3_rtc";
49         };