This patch adds jsl_rt5682_rt1015p which supports the RT5682 headset codec and RT1015P speaker amplifier combination on JasperLake platform.
Signed-off-by: Brent Lu brent.lu@intel.com
sound/soc/codecs/rt1015p.c | 10 ++ sound/soc/intel/boards/Kconfig | 1 + sound/soc/intel/boards/sof_realtek_common.c | 94 +++++++++++++++++++ sound/soc/intel/boards/sof_realtek_common.h | 8 ++ sound/soc/intel/boards/sof_rt5682.c | 31 +++++- .../intel/common/soc-acpi-intel-jsl-match.c | 13 +++ 6 files changed, 155 insertions(+), 2 deletions(-)
Sorry it contains unnecessary patch for codec driver. I'll remove it and upload a version 2.
I'm also wondering if it's a good idea to use acpi_dev_present() function in driver probe to determine the number of amp device instance. Without using it, we will need to use quirk for those devices using one EN pin for two amps.
Regards, Brent