-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: tfa9879: Add device tree bindings
Even though the tfa9879 driver can probe via device tree trough the I2C core code, it is preferable to have explicit device tree bindings instead [1], so add this support. [1] https://www.spinics.net/lists/devicetree/msg195176.html Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Łukasz Majewski <lukma@denx.de> Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information
Fabio Estevam
authored and
Mark Brown
committed
Sep 20, 2017
1 parent
2bd6bf0
commit 3d345b5
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
NXP TFA9879 class-D audio amplifier | ||
|
||
Required properties: | ||
|
||
- compatible : "nxp,tfa9879" | ||
|
||
- reg : the I2C address of the device | ||
|
||
Example: | ||
|
||
&i2c1 { | ||
clock-frequency = <100000>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_i2c1>; | ||
status = "okay"; | ||
|
||
codec: tfa9879@6c { | ||
#sound-dai-cells = <0>; | ||
compatible = "nxp,tfa9879"; | ||
reg = <0x6c>; | ||
}; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters