From patchwork Tue Feb 7 18:30:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9560881 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E54996047A for ; Tue, 7 Feb 2017 18:55:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D69692846F for ; Tue, 7 Feb 2017 18:55:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB45828474; Tue, 7 Feb 2017 18:55:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0C9882846F for ; Tue, 7 Feb 2017 18:55:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cbAv8-0003JS-Cq; Tue, 07 Feb 2017 18:55:18 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbAv7-0003Ig-3W for linux-arm-kernel@bombadil.infradead.org; Tue, 07 Feb 2017 18:55:17 +0000 Received: from forward6p.cmail.yandex.net ([87.250.241.191]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbAcY-0005ga-Rt for linux-arm-kernel@lists.infradead.org; Tue, 07 Feb 2017 18:36:09 +0000 Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [77.88.61.129]) by forward6p.cmail.yandex.net (Yandex) with ESMTP id CD08121B66; Tue, 7 Feb 2017 21:35:08 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id 27A6E2300E04; Tue, 7 Feb 2017 21:34:57 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xxF7boWy4P-Yl80nX2i; Tue, 07 Feb 2017 21:34:54 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1486492495; bh=Q3eNY6EplVKvvk/kkCOST4e1Vgki/pabqWrsVFXrDho=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=Q4Qq05noMz4WAAGQaIk3l206eoKW6HhGP40KmscW4/CQXKWs6ZJBhrhEhdJKMa4qy kECB2FpazjCl0RTuokl58xAtU7mfN8CHV4g7S/RsBTPHjVDqN9xf9XE+xyrRHElPjN TFeV8pRmTkMBgTnOzn6AOe9XTE+N0V6hUCXYh9mo= Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: FR X-Yandex-Suid-Status: 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 1130000036118848 From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Russell King , Catalin Marinas , Will Deacon , Mark Brown , Jaroslav Kysela , Andre Przywara Subject: [PATCH v4 7/9] ASoC: sunxi: allow the analog codec driver to be built on ARM64 Date: Wed, 8 Feb 2017 02:30:40 +0800 Message-Id: <20170207183042.62699-8-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170207183042.62699-1-icenowy@aosc.xyz> References: <20170207183042.62699-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170207_133607_117495_A1598D25 X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP As the 64-bit Allwinner H5 SoC has the same analog codec part (also the same digital part) as H3, enable the driver to be built on ARM64 Allwinner platform, so that it can be used on H5. Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- sound/soc/sunxi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig index 6c344e16aca4..49b71719c9b9 100644 --- a/sound/soc/sunxi/Kconfig +++ b/sound/soc/sunxi/Kconfig @@ -11,7 +11,7 @@ config SND_SUN4I_CODEC config SND_SUN8I_CODEC_ANALOG tristate "Allwinner sun8i Codec Analog Controls Support" - depends on MACH_SUN8I || COMPILE_TEST + depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST select REGMAP help Say Y or M if you want to add support for the analog controls for