.. | .. |
---|
27 | 27 | |
---|
28 | 28 | - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. |
---|
29 | 29 | |
---|
| 30 | +- realtek,btndet-delay |
---|
| 31 | + The debounce delay for push button. |
---|
| 32 | + The delay time is realtek,btndet-delay value multiple of 8.192 ms. |
---|
| 33 | + If absent, the default is 16. |
---|
| 34 | + |
---|
| 35 | +- #clock-cells : Should be set to '<1>', wclk and bclk sources provided. |
---|
| 36 | +- clock-output-names : Name given for DAI clocks output. |
---|
| 37 | + |
---|
| 38 | +- clocks : phandle and clock specifier for codec MCLK. |
---|
| 39 | +- clock-names : Clock name string for 'clocks' attribute, should be "mclk". |
---|
| 40 | + |
---|
| 41 | +- realtek,dmic-clk-rate-hz : Set the clock rate (hz) for the requirement of |
---|
| 42 | + the particular DMIC. |
---|
| 43 | + |
---|
| 44 | +- realtek,dmic-delay-ms : Set the delay time (ms) for the requirement of |
---|
| 45 | + the particular DMIC. |
---|
| 46 | + |
---|
30 | 47 | Pins on the device (for linking into audio routes) for RT5682: |
---|
31 | 48 | |
---|
32 | 49 | * DMIC L1 |
---|
.. | .. |
---|
41 | 58 | compatible = "realtek,rt5682i"; |
---|
42 | 59 | reg = <0x1a>; |
---|
43 | 60 | interrupt-parent = <&gpio>; |
---|
44 | | - interrupts = <TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>; |
---|
| 61 | + interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_LEVEL_HIGH>; |
---|
45 | 62 | realtek,ldo1-en-gpios = |
---|
46 | 63 | <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>; |
---|
47 | 64 | realtek,dmic1-data-pin = <1>; |
---|
48 | 65 | realtek,dmic1-clk-pin = <1>; |
---|
49 | 66 | realtek,jd-src = <1>; |
---|
| 67 | + realtek,btndet-delay = <16>; |
---|
| 68 | + |
---|
| 69 | + #clock-cells = <1>; |
---|
| 70 | + clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk"; |
---|
| 71 | + |
---|
| 72 | + clocks = <&osc>; |
---|
| 73 | + clock-names = "mclk"; |
---|
50 | 74 | }; |
---|