Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 2b9def8c authored by Derek Fang's avatar Derek Fang Committed by Mark Brown
Browse files

ASoC: rt1308: Add RT1308 amplifier driver



This is the initial amplifier driver for rt1308.

Signed-off-by: default avatarDerek Fang <derek.fang@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent aff50895
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
RT1308 audio Amplifier

This device supports I2C only.

Required properties:

- compatible : "realtek,rt1308".

- reg : The I2C address of the device.


Example:

rt1308: rt1308@10 {
	compatible = "realtek,rt1308";
	reg = <0x10>;
};
+6 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ config SND_SOC_ALL_CODECS
	select SND_SOC_RT298 if I2C
	select SND_SOC_RT1011 if I2C
	select SND_SOC_RT1305 if I2C
	select SND_SOC_RT1308 if I2C
	select SND_SOC_RT5514 if I2C
	select SND_SOC_RT5616 if I2C
	select SND_SOC_RT5631 if I2C
@@ -904,6 +905,7 @@ config SND_SOC_RL6231
	default y if SND_SOC_RT5682=y
	default y if SND_SOC_RT1011=y
	default y if SND_SOC_RT1305=y
	default y if SND_SOC_RT1308=y
	default m if SND_SOC_RT5514=m
	default m if SND_SOC_RT5616=m
	default m if SND_SOC_RT5640=m
@@ -919,6 +921,7 @@ config SND_SOC_RL6231
	default m if SND_SOC_RT5682=m
	default m if SND_SOC_RT1011=m
	default m if SND_SOC_RT1305=m
	default m if SND_SOC_RT1308=m

config SND_SOC_RL6347A
	tristate
@@ -947,6 +950,9 @@ config SND_SOC_RT1011
config SND_SOC_RT1305
	tristate

config SND_SOC_RT1308
	tristate

config SND_SOC_RT5514
	tristate

+2 −0
Original line number Diff line number Diff line
@@ -148,6 +148,7 @@ snd-soc-rl6231-objs := rl6231.o
snd-soc-rl6347a-objs := rl6347a.o
snd-soc-rt1011-objs := rt1011.o
snd-soc-rt1305-objs := rt1305.o
snd-soc-rt1308-objs := rt1308.o
snd-soc-rt274-objs := rt274.o
snd-soc-rt286-objs := rt286.o
snd-soc-rt298-objs := rt298.o
@@ -428,6 +429,7 @@ obj-$(CONFIG_SND_SOC_RL6231) += snd-soc-rl6231.o
obj-$(CONFIG_SND_SOC_RL6347A)	+= snd-soc-rl6347a.o
obj-$(CONFIG_SND_SOC_RT1011)	+= snd-soc-rt1011.o
obj-$(CONFIG_SND_SOC_RT1305)	+= snd-soc-rt1305.o
obj-$(CONFIG_SND_SOC_RT1308)	+= snd-soc-rt1308.o
obj-$(CONFIG_SND_SOC_RT274)	+= snd-soc-rt274.o
obj-$(CONFIG_SND_SOC_RT286)	+= snd-soc-rt286.o
obj-$(CONFIG_SND_SOC_RT298)	+= snd-soc-rt298.o