You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge remote-tracking branches 'asoc/topic/wm8962', 'asoc/topic/wm8974' and 'asoc/topic/wm9713' into asoc-next
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
WM8974 audio CODEC
|
||||
|
||||
This device supports both I2C and SPI (configured with pin strapping
|
||||
on the board).
|
||||
|
||||
Required properties:
|
||||
- compatible: "wlf,wm8974"
|
||||
- reg: the I2C address or SPI chip select number of the device
|
||||
|
||||
Examples:
|
||||
|
||||
codec: wm8974@1a {
|
||||
compatible = "wlf,wm8974";
|
||||
reg = <0x1a>;
|
||||
};
|
||||
@@ -890,7 +890,8 @@ config SND_SOC_WM8971
|
||||
tristate
|
||||
|
||||
config SND_SOC_WM8974
|
||||
tristate
|
||||
tristate "Wolfson Microelectronics WM8974 codec"
|
||||
depends on I2C
|
||||
|
||||
config SND_SOC_WM8978
|
||||
tristate "Wolfson Microelectronics WM8978 codec"
|
||||
@@ -943,6 +944,7 @@ config SND_SOC_WM9712
|
||||
|
||||
config SND_SOC_WM9713
|
||||
tristate
|
||||
select REGMAP_AC97
|
||||
|
||||
# Amp
|
||||
config SND_SOC_LM4857
|
||||
|
||||
@@ -131,7 +131,7 @@ static const struct reg_default wm8962_reg[] = {
|
||||
{ 15, 0x6243 }, /* R15 - Software Reset */
|
||||
|
||||
{ 17, 0x007B }, /* R17 - ALC1 */
|
||||
|
||||
{ 18, 0x0000 }, /* R18 - ALC2 */
|
||||
{ 19, 0x1C32 }, /* R19 - ALC3 */
|
||||
{ 20, 0x3200 }, /* R20 - Noise Gate */
|
||||
{ 21, 0x00C0 }, /* R21 - Left ADC volume */
|
||||
@@ -794,7 +794,6 @@ static bool wm8962_volatile_register(struct device *dev, unsigned int reg)
|
||||
case WM8962_CLOCKING1:
|
||||
case WM8962_CLOCKING2:
|
||||
case WM8962_SOFTWARE_RESET:
|
||||
case WM8962_ALC2:
|
||||
case WM8962_THERMAL_SHUTDOWN_STATUS:
|
||||
case WM8962_ADDITIONAL_CONTROL_4:
|
||||
case WM8962_DC_SERVO_6:
|
||||
|
||||
@@ -632,9 +632,16 @@ static const struct i2c_device_id wm8974_i2c_id[] = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, wm8974_i2c_id);
|
||||
|
||||
static const struct of_device_id wm8974_of_match[] = {
|
||||
{ .compatible = "wlf,wm8974", },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, wm8974_of_match);
|
||||
|
||||
static struct i2c_driver wm8974_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "wm8974",
|
||||
.of_match_table = wm8974_of_match,
|
||||
},
|
||||
.probe = wm8974_i2c_probe,
|
||||
.remove = wm8974_i2c_remove,
|
||||
|
||||
+151
-147
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user