From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffy Chen Subject: [PATCH v2 0/3] ASoC: rockchip: Parse dai links from dts Date: Thu, 10 Aug 2017 12:54:55 +0800 Message-ID: <1502340898-28403-1-git-send-email-jeffy.chen@rock-chips.com> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org Cc: briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, Jeffy Chen , Jaroslav Kysela , Matthias Kaehlcke , alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, Will Deacon , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Mark Brown , Klaus Goger , Takashi Iwai , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Liam Girdwood , Rob Herring , Mark Rutland , Caesar Wang , Catalin Marinas , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Currently we are using a fixed list of dai links in the driver. This serial of patches would let the driver parse dai links from dts, so that we can disable some of them for future boards in the dts. Tested on my chromebook bob(with cros 4.4 kernel), it still works after disabled rt5514 codec in the dts. Changes in v2: Let rockchip,codec-names be a required property, because we plan to add more supported codecs to the fixed dai link list in the driver. Let rockchip,codec-names be a required property. Jeffy Chen (3): ASoC: rockchip: Parse dai links from dts arm64: dts: rockchip: Add rockchip,codec-names property dt-bindings: ASoC: rockchip: Add rockchip,codec-names property .../bindings/sound/rockchip,rk3399-gru-sound.txt | 2 + arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 1 + sound/soc/rockchip/rk3399_gru_sound.c | 125 +++++++++++++-------- 3 files changed, 84 insertions(+), 44 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html