From: zhengxing zhengxing@rock-chips.com
Hi, The simple-card is not common at present, soc maybe need own machine driver for jack detection. Add drivers for two families of rockchip-bases chromebooks. These machine drives don't use simplecard because we need custom jack detection plumbing.
- use ts3a227e for ext jack detection with max98090 - call rt5645_set_jack_detect function via rt5645 codec driver
Thanks.
Changes in v2: Signed-off-by: zhengxing zhengxing@rock-chips.com
zhengxing (2): ASoC: rockchip: Add machine driver for max98090 codec ASoC: rockchip: Add machine driver for rt5645/rt5650 codec
.../bindings/sound/rockchip-max98090.txt | 19 ++ .../devicetree/bindings/sound/rockchip-rt5645.txt | 17 ++ sound/soc/rockchip/Kconfig | 19 ++ sound/soc/rockchip/Makefile | 6 + sound/soc/rockchip/rockchip_max98090.c | 247 ++++++++++++++++++++ sound/soc/rockchip/rockchip_rt5645.c | 236 +++++++++++++++++++ 6 files changed, 544 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/rockchip-max98090.txt create mode 100644 Documentation/devicetree/bindings/sound/rockchip-rt5645.txt create mode 100644 sound/soc/rockchip/rockchip_max98090.c create mode 100644 sound/soc/rockchip/rockchip_rt5645.c