xref: /freebsd/sys/contrib/device-tree/Bindings/sound/rohm,bd28623.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotROHM BD28623MUV Class D speaker amplifier for digital input
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis codec does not have any control buses such as I2C, it detect format and
4*c66ec88fSEmmanuel Vadotrate of I2S signal automatically. It has two signals that can be connected
5*c66ec88fSEmmanuel Vadotto GPIOs: reset and mute.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties:
8*c66ec88fSEmmanuel Vadot- compatible      : should be "rohm,bd28623"
9*c66ec88fSEmmanuel Vadot- #sound-dai-cells: should be 0.
10*c66ec88fSEmmanuel Vadot- VCCA-supply     : regulator phandle for the VCCA supply
11*c66ec88fSEmmanuel Vadot- VCCP1-supply    : regulator phandle for the VCCP1 supply
12*c66ec88fSEmmanuel Vadot- VCCP2-supply    : regulator phandle for the VCCP2 supply
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotOptional properties:
15*c66ec88fSEmmanuel Vadot- reset-gpios     : GPIO specifier for the active low reset line
16*c66ec88fSEmmanuel Vadot- mute-gpios      : GPIO specifier for the active low mute line
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	codec {
21*c66ec88fSEmmanuel Vadot		compatible = "rohm,bd28623";
22*c66ec88fSEmmanuel Vadot		#sound-dai-cells = <0>;
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot		VCCA-supply = <&vcc_reg>;
25*c66ec88fSEmmanuel Vadot		VCCP1-supply = <&vcc_reg>;
26*c66ec88fSEmmanuel Vadot		VCCP2-supply = <&vcc_reg>;
27*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
28*c66ec88fSEmmanuel Vadot		mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
29*c66ec88fSEmmanuel Vadot	};
30