mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
ODROID-C4:Add support pcm5242(HiFi-shield2) codec.
Signed-off-by: ckkim <changkon12@gmail.com> Change-Id: I9477e212374f819fd8b7d1ae0f1255a1f6660239
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user