Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753217AbaJVAnK (ORCPT ); Tue, 21 Oct 2014 20:43:10 -0400 Received: from regular1.263xmail.com ([211.150.99.132]:48446 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750769AbaJVAnJ (ORCPT ); Tue, 21 Oct 2014 20:43:09 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: jay.xu@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 127.0.0.1 X-LOGIN-NAME: jay.xu@rock-chips.com X-UNIQUE-TAG: <7c6d2a5d942d1a44a8118e565de28946> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Jianqun To: heiko@sntech.de, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.de, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Cc: huangtao@rock-chips.com, cf@rock-chips.com, Jianqun Subject: [PATCH] ASoC: rockchip-i2s: add rockchip-max98090 driver support Date: Wed, 22 Oct 2014 08:40:56 +0800 Message-Id: <1413938456-30468-1-git-send-email-jay.xu@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1413891110-21059-1-git-send-email-jay.xu@rock-chips.com> References: <1413891110-21059-1-git-send-email-jay.xu@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is to add support for rockchip board with max98090 codec. It also needs sound node in dt file. Tested on rockchip board based on rk3288. Signed-off-by: Jianqun --- change since v1: -Just make the max98090 driver directly selectable, suggested by Lars sound/soc/rockchip/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig index 78fc159..230b0e9 100644 --- a/sound/soc/rockchip/Kconfig +++ b/sound/soc/rockchip/Kconfig @@ -9,3 +9,15 @@ config SND_SOC_ROCKCHIP config SND_SOC_ROCKCHIP_I2S tristate + depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP + help + Say Y or M if you want to add support for I2S driver for Rockchip + I2S device. + +config SND_SOC_MAX98090 + tristate "ASoC support max98090 device driver" + depends on I2C && GPIOLIB + select SND_SOC_ROCKCHIP_I2S + help + Say Y or M here if you want to add support for Rockchio board using + a max98090 codec. -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/