~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/da7218.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/sound/da7218.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/da7218.txt (Version linux-6.2.16)


  1 Dialog Semiconductor DA7218 Audio Codec bindin      1 Dialog Semiconductor DA7218 Audio Codec bindings
  2                                                     2 
  3 DA7218 is an audio codec with HP detect featur      3 DA7218 is an audio codec with HP detect feature.
  4                                                     4 
  5 ======                                              5 ======
  6                                                     6 
  7 Required properties:                                7 Required properties:
  8 - compatible : Should be "dlg,da7217" or "dlg,      8 - compatible : Should be "dlg,da7217" or "dlg,da7218"
  9 - reg: Specifies the I2C slave address              9 - reg: Specifies the I2C slave address
 10                                                    10 
 11 - VDD-supply: VDD power supply for the device      11 - VDD-supply: VDD power supply for the device
 12 - VDDMIC-supply: VDDMIC power supply for the d     12 - VDDMIC-supply: VDDMIC power supply for the device
 13 - VDDIO-supply: VDDIO power supply for the dev     13 - VDDIO-supply: VDDIO power supply for the device
 14   (See Documentation/devicetree/bindings/regul     14   (See Documentation/devicetree/bindings/regulator/regulator.txt for further
 15    information relating to regulators)             15    information relating to regulators)
 16                                                    16 
 17 Optional properties:                               17 Optional properties:
 18 - interrupts: IRQ line info for DA7218 chip.       18 - interrupts: IRQ line info for DA7218 chip.
 19   (See Documentation/devicetree/bindings/inter     19   (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
 20    further information relating to interrupt p     20    further information relating to interrupt properties)
 21 - interrupt-names : Name associated with inter     21 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if
 22   interrupt is to be used to wake system, othe     22   interrupt is to be used to wake system, otherwise "irq" should be used.
 23 - wakeup-source: Flag to indicate this device      23 - wakeup-source: Flag to indicate this device can wake system (suspend/resume).
 24                                                    24 
 25 - clocks : phandle and clock specifier for cod     25 - clocks : phandle and clock specifier for codec MCLK.
 26 - clock-names : Clock name string for 'clocks'     26 - clock-names : Clock name string for 'clocks' attribute, should be "mclk".
 27                                                    27 
 28 - dlg,micbias1-lvl-millivolt : Voltage (mV) fo     28 - dlg,micbias1-lvl-millivolt : Voltage (mV) for Mic Bias 1
 29         [<1200>, <1600>, <1800>, <2000>, <2200     29         [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>, <3000>]
 30 - dlg,micbias2-lvl-millivolt : Voltage (mV) fo     30 - dlg,micbias2-lvl-millivolt : Voltage (mV) for Mic Bias 2
 31         [<1200>, <1600>, <1800>, <2000>, <2200     31         [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>, <3000>]
 32 - dlg,mic1-amp-in-sel : Mic1 input source type     32 - dlg,mic1-amp-in-sel : Mic1 input source type
 33         ["diff", "se_p", "se_n"]                   33         ["diff", "se_p", "se_n"]
 34 - dlg,mic2-amp-in-sel : Mic2 input source type     34 - dlg,mic2-amp-in-sel : Mic2 input source type
 35         ["diff", "se_p", "se_n"]                   35         ["diff", "se_p", "se_n"]
 36 - dlg,dmic1-data-sel : DMIC1 channel select ba     36 - dlg,dmic1-data-sel : DMIC1 channel select based on clock edge.
 37         ["lrise_rfall", "lfall_rrise"]             37         ["lrise_rfall", "lfall_rrise"]
 38 - dlg,dmic1-samplephase : When to sample audio     38 - dlg,dmic1-samplephase : When to sample audio from DMIC1.
 39         ["on_clkedge", "between_clkedge"]          39         ["on_clkedge", "between_clkedge"]
 40 - dlg,dmic1-clkrate-hz : DMic1 clock frequency     40 - dlg,dmic1-clkrate-hz : DMic1 clock frequency (Hz).
 41         [<1500000>, <3000000>]                     41         [<1500000>, <3000000>]
 42 - dlg,dmic2-data-sel : DMic2 channel select ba     42 - dlg,dmic2-data-sel : DMic2 channel select based on clock edge.
 43         ["lrise_rfall", "lfall_rrise"]             43         ["lrise_rfall", "lfall_rrise"]
 44 - dlg,dmic2-samplephase : When to sample audio     44 - dlg,dmic2-samplephase : When to sample audio from DMic2.
 45         ["on_clkedge", "between_clkedge"]          45         ["on_clkedge", "between_clkedge"]
 46 - dlg,dmic2-clkrate-hz : DMic2 clock frequency     46 - dlg,dmic2-clkrate-hz : DMic2 clock frequency (Hz).
 47         [<1500000>, <3000000>]                     47         [<1500000>, <3000000>]
 48 - dlg,hp-diff-single-supply : Boolean flag, us     48 - dlg,hp-diff-single-supply : Boolean flag, use single supply for HP
 49                               (DA7217 only)        49                               (DA7217 only)
 50                                                    50 
 51 ======                                             51 ======
 52                                                    52 
 53 Optional Child node - 'da7218_hpldet' (DA7218      53 Optional Child node - 'da7218_hpldet' (DA7218 only):
 54                                                    54 
 55 Optional properties:                               55 Optional properties:
 56 - dlg,jack-rate-us : Time between jack detect      56 - dlg,jack-rate-us : Time between jack detect measurements (us)
 57         [<5>, <10>, <20>, <40>, <80>, <160>, <     57         [<5>, <10>, <20>, <40>, <80>, <160>, <320>, <640>]
 58 - dlg,jack-debounce : Number of debounce measu     58 - dlg,jack-debounce : Number of debounce measurements taken for jack detect
 59         [<0>, <2>, <3>, <4>]                       59         [<0>, <2>, <3>, <4>]
 60 - dlg,jack-threshold-pct : Threshold level for     60 - dlg,jack-threshold-pct : Threshold level for jack detection (% of VDD)
 61         [<84>, <88>, <92>, <96>]                   61         [<84>, <88>, <92>, <96>]
 62 - dlg,comp-inv : Boolean flag, invert comparat     62 - dlg,comp-inv : Boolean flag, invert comparator output
 63 - dlg,hyst : Boolean flag, enable hysteresis       63 - dlg,hyst : Boolean flag, enable hysteresis
 64 - dlg,discharge : Boolean flag, auto discharge     64 - dlg,discharge : Boolean flag, auto discharge of Mic Bias on jack removal
 65                                                    65 
 66 ======                                             66 ======
 67                                                    67 
 68 Example:                                           68 Example:
 69                                                    69 
 70         codec: da7218@1a {                         70         codec: da7218@1a {
 71                 compatible = "dlg,da7218";         71                 compatible = "dlg,da7218";
 72                 reg = <0x1a>;                      72                 reg = <0x1a>;
 73                 interrupt-parent = <&gpio6>;       73                 interrupt-parent = <&gpio6>;
 74                 interrupts = <11 IRQ_TYPE_LEVE     74                 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
 75                 wakeup-source;                     75                 wakeup-source;
 76                                                    76 
 77                 VDD-supply = <&reg_audio>;         77                 VDD-supply = <&reg_audio>;
 78                 VDDMIC-supply = <&reg_audio>;      78                 VDDMIC-supply = <&reg_audio>;
 79                 VDDIO-supply = <&reg_audio>;       79                 VDDIO-supply = <&reg_audio>;
 80                                                    80 
 81                 clocks = <&clks 201>;              81                 clocks = <&clks 201>;
 82                 clock-names = "mclk";              82                 clock-names = "mclk";
 83                                                    83 
 84                 dlg,micbias1-lvl-millivolt = <     84                 dlg,micbias1-lvl-millivolt = <2600>;
 85                 dlg,micbias2-lvl-millivolt = <     85                 dlg,micbias2-lvl-millivolt = <2600>;
 86                 dlg,mic1-amp-in-sel = "diff";      86                 dlg,mic1-amp-in-sel = "diff";
 87                 dlg,mic2-amp-in-sel = "diff";      87                 dlg,mic2-amp-in-sel = "diff";
 88                                                    88 
 89                 dlg,dmic1-data-sel = "lrise_rf     89                 dlg,dmic1-data-sel = "lrise_rfall";
 90                 dlg,dmic1-samplephase = "on_cl     90                 dlg,dmic1-samplephase = "on_clkedge";
 91                 dlg,dmic1-clkrate-hz = <300000     91                 dlg,dmic1-clkrate-hz = <3000000>;
 92                 dlg,dmic2-data-sel = "lrise_rf     92                 dlg,dmic2-data-sel = "lrise_rfall";
 93                 dlg,dmic2-samplephase = "on_cl     93                 dlg,dmic2-samplephase = "on_clkedge";
 94                 dlg,dmic2-clkrate-hz = <300000     94                 dlg,dmic2-clkrate-hz = <3000000>;
 95                                                    95 
 96                 da7218_hpldet {                    96                 da7218_hpldet {
 97                         dlg,jack-rate-us = <40     97                         dlg,jack-rate-us = <40>;
 98                         dlg,jack-debounce = <2     98                         dlg,jack-debounce = <2>;
 99                         dlg,jack-threshold-pct     99                         dlg,jack-threshold-pct = <84>;
100                         dlg,hyst;                 100                         dlg,hyst;
101                 };                                101                 };
102         };                                        102         };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php