1d59fb285SBard LiaoRT5668B audio CODEC 2d59fb285SBard Liao 3d59fb285SBard LiaoThis device supports I2C only. 4d59fb285SBard Liao 5d59fb285SBard LiaoRequired properties: 6d59fb285SBard Liao 7d59fb285SBard Liao- compatible : "realtek,rt5668b" 8d59fb285SBard Liao 9d59fb285SBard Liao- reg : The I2C address of the device. 10d59fb285SBard Liao 11d59fb285SBard LiaoOptional properties: 12d59fb285SBard Liao 13d59fb285SBard Liao- interrupts : The CODEC's interrupt output. 14d59fb285SBard Liao 15d59fb285SBard Liao- realtek,dmic1-data-pin 16d59fb285SBard Liao 0: dmic1 is not used 17d59fb285SBard Liao 1: using GPIO2 pin as dmic1 data pin 18d59fb285SBard Liao 2: using GPIO5 pin as dmic1 data pin 19d59fb285SBard Liao 20d59fb285SBard Liao- realtek,dmic1-clk-pin 21d59fb285SBard Liao 0: using GPIO1 pin as dmic1 clock pin 22d59fb285SBard Liao 1: using GPIO3 pin as dmic1 clock pin 23d59fb285SBard Liao 24d59fb285SBard Liao- realtek,jd-src 25d59fb285SBard Liao 0: No JD is used 26d59fb285SBard Liao 1: using JD1 as JD source 27d59fb285SBard Liao 28d59fb285SBard Liao- realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 29d59fb285SBard Liao 30d59fb285SBard LiaoPins on the device (for linking into audio routes) for RT5668B: 31d59fb285SBard Liao 32d59fb285SBard Liao * DMIC L1 33d59fb285SBard Liao * DMIC R1 34d59fb285SBard Liao * IN1P 35d59fb285SBard Liao * HPOL 36d59fb285SBard Liao * HPOR 37d59fb285SBard Liao 38d59fb285SBard LiaoExample: 39d59fb285SBard Liao 40d59fb285SBard Liaort5668 { 41d59fb285SBard Liao compatible = "realtek,rt5668b"; 42d59fb285SBard Liao reg = <0x1a>; 43d59fb285SBard Liao interrupt-parent = <&gpio>; 44*abe42b09SKrzysztof Kozlowski interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_LEVEL_HIGH>; 45d59fb285SBard Liao realtek,ldo1-en-gpios = 46d59fb285SBard Liao <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>; 47d59fb285SBard Liao realtek,dmic1-data-pin = <1>; 48d59fb285SBard Liao realtek,dmic1-clk-pin = <1>; 49d59fb285SBard Liao realtek,jd-src = <1>; 50d59fb285SBard Liao}; 51