ODROID-C4:Add support pcm5242(HiFi-shield2) codec.

Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I9477e212374f819fd8b7d1ae0f1255a1f6660239
This commit is contained in:
ckkim
2020-04-06 16:02:58 +09:00
committed by Dongjin Kim
parent 8335f10cb9
commit b653306435
2 changed files with 4 additions and 2 deletions

View File

@@ -5,8 +5,8 @@ on the board).
Required properties:
- compatible : One of "ti,pcm5121", "ti,pcm5122", "ti,pcm5141" or
"ti,pcm5142"
- compatible : One of "ti,pcm5121", "ti,pcm5122", "ti,pcm5141",
"ti,pcm5142" or "ti,pcm5242"
- reg : the I2C address of the device for I2C, the chip select
number for SPI.

View File

@@ -48,6 +48,7 @@ static const struct i2c_device_id pcm512x_i2c_id[] = {
{ "pcm5122", },
{ "pcm5141", },
{ "pcm5142", },
{ "pcm5242", },
{ }
};
MODULE_DEVICE_TABLE(i2c, pcm512x_i2c_id);
@@ -57,6 +58,7 @@ static const struct of_device_id pcm512x_of_match[] = {
{ .compatible = "ti,pcm5122", },
{ .compatible = "ti,pcm5141", },
{ .compatible = "ti,pcm5142", },
{ .compatible = "ti,pcm5242", },
{ }
};
MODULE_DEVICE_TABLE(of, pcm512x_of_match);