brintos

brintos / linux-shallow public Read only

0
0
Text · 1013 B · a2b7e9a Raw
51 lines · plain
1RT5668B audio CODEC2 3This device supports I2C only.4 5Required properties:6 7- compatible : "realtek,rt5668b"8 9- reg : The I2C address of the device.10 11Optional properties:12 13- interrupts : The CODEC's interrupt output.14 15- realtek,dmic1-data-pin16  0: dmic1 is not used17  1: using GPIO2 pin as dmic1 data pin18  2: using GPIO5 pin as dmic1 data pin19 20- realtek,dmic1-clk-pin21  0: using GPIO1 pin as dmic1 clock pin22  1: using GPIO3 pin as dmic1 clock pin23 24- realtek,jd-src25  0: No JD is used26  1: using JD1 as JD source27 28- realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.29 30Pins on the device (for linking into audio routes) for RT5668B:31 32  * DMIC L133  * DMIC R134  * IN1P35  * HPOL36  * HPOR37 38Example:39 40rt5668 {41	compatible = "realtek,rt5668b";42	reg = <0x1a>;43	interrupt-parent = <&gpio>;44	interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_LEVEL_HIGH>;45	realtek,ldo1-en-gpios =46		<&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;47	realtek,dmic1-data-pin = <1>;48	realtek,dmic1-clk-pin = <1>;49	realtek,jd-src = <1>;50};51