From patchwork Fri Apr 19 19:17:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10909645 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A6F5314DB for ; Fri, 19 Apr 2019 19:17:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97A5628E03 for ; Fri, 19 Apr 2019 19:17:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8ACB628E04; Fri, 19 Apr 2019 19:17:03 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E0A6128DFD for ; Fri, 19 Apr 2019 19:17:02 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DCAF3953; Fri, 19 Apr 2019 21:16:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DCAF3953 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1555701421; bh=eiwuWriD5lpPRF/yUgq7yesZrL43U2/RZ1rSkDfj6PE=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=AuNcj/TG2ZSF+JX5zuUBVis16VrqFal0nhM6kek3e9vn0oX3+nfE2XylXOxjLBYeQ WWWNVGz/SnM5Dwiv8SpksrLK0p8YacCmeEJBdJ2WUXC7byFffywNYb27+ZKreZrHqM hfporYvj93KE0cwHSGsgeGEpaER350Zg0P/V86/o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 690D3F89723; Fri, 19 Apr 2019 21:14:31 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2904EF896F0; Fri, 19 Apr 2019 21:14:24 +0200 (CEST) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 82AEDF896E2 for ; Fri, 19 Apr 2019 21:14:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 82AEDF896E2 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IdDrImZj" Received: by mail-wr1-x441.google.com with SMTP id k1so6784554wrw.0 for ; Fri, 19 Apr 2019 12:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aqxEuO5Wa9TNowRy0k4ep3/SVha/dtjGZVLoJh0GNOs=; b=IdDrImZjfvTFcOS0wXsQD7ySNlwYcF15CQsiJooKs7WUZzEymiS8t1SOmb/s0j2Vqo fkJG23FA/ZUTYX9RMJwr+TPQIwE6zhdNkBnKlrcVvVgqaOXAU5U1DITtyt/rxQaIrXMS gos/qNewORkA5UmDKtfQf4dM7tbl7gNau1h9mqC5PAJIJrGSMn8Y2Pd92spqbtw2j/b3 t38EtSgXjv4VBcJFioEHBf7dH3HhJeN15DvmsZ/8T/U4zGgwsc2bM7tVYXOB/+JjySwk lvWU+0R5b6qPBsalFqd2+VVxybiqoEf0iFE/N9LFpWDaG14UZvGSiWAHE68s0QcCFeMS D2zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aqxEuO5Wa9TNowRy0k4ep3/SVha/dtjGZVLoJh0GNOs=; b=LwUOhRNd3UvQXBfg46ubPSQcK3xgjsHlWorEXtwrllUgZVeZfx/cHUATGbLb1Vc2S7 SGPpdnS6kYzIcfh2NxsqBZSCRQrkFFZi0/2WllnkR3oqtXSdIwjNhOWvms3Ls2efr0XW 2bjV5zCvkbmjCRy1Qmz+AV2vfJpmTBDybZcm9KyMRUlBOYLvDmwg2SiUaMCiUoGEg3gR OZzdI0vlxnyqBjgBEYgnVe9/wLvnPUaK4HpLTNdg20w+E55pJRTgHFxlXtL2FjTa/4+L o+89MGZsgCKNRP6nACN1d2yK0nMjWdEPEI8wfZDrdowIz5lPhCl/QE8qtz84Pro8AXaJ fwmw== X-Gm-Message-State: APjAAAXbPdSaIRimCnOANCPQlLT9X6ftebXb2MaHZQLhWhn6A/W/lWXp HqNTTIyqR36VOjKbddXfZVw= X-Google-Smtp-Source: APXvYqxmTFSd8dtc1UTyylmRoEPgB2qijjF1d62J88FBGA45NqbedyiHyX/nNSUO4x5v5MnMa6irHQ== X-Received: by 2002:adf:8bc5:: with SMTP id w5mr3972111wra.226.1555701258412; Fri, 19 Apr 2019 12:14:18 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id z18sm8131149wrr.90.2019.04.19.12.14.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2019 12:14:17 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Chen-Yu Tsai , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , Mark Brown , Rob Herring , Maxime Ripard Date: Fri, 19 Apr 2019 21:17:26 +0200 Message-Id: <20190419191730.9437-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190419191730.9437-1-peron.clem@gmail.com> References: <20190419191730.9437-1-peron.clem@gmail.com> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH v2 1/5] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP Allwinner H6 has a SPDIF controller with an increase of the fifo size and a sligher difference in memory mapping compare which make it not compatible with the previous generation H3/A64. Signed-off-by: Clément Péron Reviewed-by: Rob Herring Reviewed-by: Rob Herring Acked-by: Maxime Ripard --- Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt b/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt index 0c64a209c2e9..c0fbb50a4df9 100644 --- a/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt +++ b/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt @@ -7,10 +7,11 @@ For now only playback is supported. Required properties: - - compatible : should be one of the following: + - compatible : Should be one of the following: - "allwinner,sun4i-a10-spdif": for the Allwinner A10 SoC - "allwinner,sun6i-a31-spdif": for the Allwinner A31 SoC - "allwinner,sun8i-h3-spdif": for the Allwinner H3 SoC + - "allwinner,sun50i-h6-spdif": for the allwinner H6 SoC - reg : Offset and length of the register set for the device. From patchwork Fri Apr 19 19:17:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10909643 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3280B14DB for ; Fri, 19 Apr 2019 19:16:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 265C228DFD for ; Fri, 19 Apr 2019 19:16:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19C7B28E03; Fri, 19 Apr 2019 19:16:20 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5FBE728DFD for ; Fri, 19 Apr 2019 19:16:19 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 32FC3921; Fri, 19 Apr 2019 21:15:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 32FC3921 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1555701377; bh=04xNK2mI8Z68hAeX5F+sr8S0BQYw3Povd2pza+QHYBc=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mH9cT3vHwV6s5J75RaSYiScDAvz3ZH12HYLv9mUOWdhx++cUt7gQkXGSnr8aavYJZ Dw1dKBicwz1OHcSP3h2axsXKZoa+oieECdj/Xi19wp7OgD6RbXQnroWH4pmHvQjmqI CewwcDw+ypMm9ezPa6gVgntkcbEX2XPaVbUq4ahc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 9CF2DF807B6; Fri, 19 Apr 2019 21:14:29 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 82178F896FA; Fri, 19 Apr 2019 21:14:23 +0200 (CEST) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BB579F896EC for ; Fri, 19 Apr 2019 21:14:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BB579F896EC Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DWMTEcyz" Received: by mail-wr1-x441.google.com with SMTP id t17so7925379wrw.13 for ; Fri, 19 Apr 2019 12:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WVM3scnTgs2IQkEMAAfq9yJRu6ngnARGM49TDVLenVA=; b=DWMTEcyzNWH/FMMheV28CFOQute8yMYoKlrl3FMEp3n1ki2JJcYDc4jseQEcjZy472 MXpaXnfUA7HeUHY/OAexdTaUm5hNKRHBLmp1PmPtLMbBwyenSv2HuS4VX3+0LRhueD7B 3D4oGjwRratIk2khPgqF5arvDvcq9HfmIBPE5NvdIBFe0pFiDIfCGpeM/mBKQGcMQAiy 5dHEwR/yssUPTVhX//epxw/uwoRl43viNTi/W007Ie46wI/Slnt7NNIy18Bb6kQyCvaS m9zMhNOhP3EkUeXMtxR86r1e76QUZt61an02c439kwszvNXmjVbThjhAVr4GDbCUffqK J++w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WVM3scnTgs2IQkEMAAfq9yJRu6ngnARGM49TDVLenVA=; b=HFGd8gxuSs+UdDvXX2dYPahQBsm0d45CIcA0+CGyyD+w0Fbzd1IlJbt9OuOR1x7PyB v+ZP88HKdB5XfBWG+aKf9U+4ANrPjb4nWLZ4NCtzFjqLm3VSDhe6RXxuAYfA5RUo2kKy xrsumuVRzYdsZyYyraNpWM0ozMzSwWwb4KXc7er3HhB4Unnhv3CgZRZa2rZzmmDGN/Kz ABv3MW5LpP/ZInfCjkulpwEjVjxr9g+CTix8ODgHl0XKzNv5oshqzXn0WL2h2VEtGe1q UL4yWcIAGfRFbWXWww7TU0Ielx+3nZm+55nInPcuSgbs16B208f+Zp57Z2JzOp7auG3T zRCw== X-Gm-Message-State: APjAAAXqvO3Y+hnMS9OYUnzBIyeFvbLmsEYon+NB8Hwq1d/FRuc4M8r9 7U0Rs3TmbjB/pQBSpbrSvmQ= X-Google-Smtp-Source: APXvYqy5181QHaD6yrquflT4EtdVXCqq7ShuMm/sqJtoI/XvqBTYh+CtBc45wy+FlX6DSPUb2UXlLw== X-Received: by 2002:adf:e40b:: with SMTP id g11mr3966604wrm.207.1555701259628; Fri, 19 Apr 2019 12:14:19 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id z18sm8131149wrr.90.2019.04.19.12.14.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2019 12:14:18 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Chen-Yu Tsai , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , Mark Brown , Rob Herring , Maxime Ripard Date: Fri, 19 Apr 2019 21:17:27 +0200 Message-Id: <20190419191730.9437-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190419191730.9437-1-peron.clem@gmail.com> References: <20190419191730.9437-1-peron.clem@gmail.com> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH v2 2/5] ASoC: sun4i-spdif: Add support for H6 SoC X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP Allwinner H6 has a different mapping for the fifo register controller. Actually only the fifo tx flush bit is used. Add a new quirk to know the correct fifo tx flush bit. Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-spdif.c | 42 ++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c index b4af4aabead1..19e4bf9caa24 100644 --- a/sound/soc/sunxi/sun4i-spdif.c +++ b/sound/soc/sunxi/sun4i-spdif.c @@ -75,6 +75,18 @@ #define SUN4I_SPDIF_FCTL_RXOM(v) ((v) << 0) #define SUN4I_SPDIF_FCTL_RXOM_MASK GENMASK(1, 0) +#define SUN50I_H6_SPDIF_FCTL (0x14) + #define SUN50I_H6_SPDIF_FCTL_HUB_EN BIT(31) + #define SUN50I_H6_SPDIF_FCTL_FTX BIT(30) + #define SUN50I_H6_SPDIF_FCTL_FRX BIT(29) + #define SUN50I_H6_SPDIF_FCTL_TXTL(v) ((v) << 12) + #define SUN50I_H6_SPDIF_FCTL_TXTL_MASK GENMASK(19, 12) + #define SUN50I_H6_SPDIF_FCTL_RXTL(v) ((v) << 4) + #define SUN50I_H6_SPDIF_FCTL_RXTL_MASK GENMASK(10, 4) + #define SUN50I_H6_SPDIF_FCTL_TXIM BIT(2) + #define SUN50I_H6_SPDIF_FCTL_RXOM(v) ((v) << 0) + #define SUN50I_H6_SPDIF_FCTL_RXOM_MASK GENMASK(1, 0) + #define SUN4I_SPDIF_FSTA (0x18) #define SUN4I_SPDIF_FSTA_TXE BIT(14) #define SUN4I_SPDIF_FSTA_TXECNTSHT (8) @@ -169,16 +181,25 @@ struct sun4i_spdif_dev { struct snd_soc_dai_driver cpu_dai_drv; struct regmap *regmap; struct snd_dmaengine_dai_dma_data dma_params_tx; + const struct sun4i_spdif_quirks *quirks; +}; + +struct sun4i_spdif_quirks { + unsigned int reg_dac_txdata; /* TX FIFO offset for DMA config */ + unsigned int reg_fctl_ftx; /* TX FIFO flush bitmask */ + bool has_reset; }; static void sun4i_spdif_configure(struct sun4i_spdif_dev *host) { + const struct sun4i_spdif_quirks *quirks = host->quirks; + /* soft reset SPDIF */ regmap_write(host->regmap, SUN4I_SPDIF_CTL, SUN4I_SPDIF_CTL_RESET); /* flush TX FIFO */ regmap_update_bits(host->regmap, SUN4I_SPDIF_FCTL, - SUN4I_SPDIF_FCTL_FTX, SUN4I_SPDIF_FCTL_FTX); + quirks->reg_fctl_ftx, quirks->reg_fctl_ftx); /* clear TX counter */ regmap_write(host->regmap, SUN4I_SPDIF_TXCNT, 0); @@ -405,22 +426,26 @@ static struct snd_soc_dai_driver sun4i_spdif_dai = { .name = "spdif", }; -struct sun4i_spdif_quirks { - unsigned int reg_dac_txdata; /* TX FIFO offset for DMA config */ - bool has_reset; -}; - static const struct sun4i_spdif_quirks sun4i_a10_spdif_quirks = { .reg_dac_txdata = SUN4I_SPDIF_TXFIFO, + .reg_fctl_ftx = SUN4I_SPDIF_FCTL_FTX, }; static const struct sun4i_spdif_quirks sun6i_a31_spdif_quirks = { .reg_dac_txdata = SUN4I_SPDIF_TXFIFO, + .reg_fctl_ftx = SUN4I_SPDIF_FCTL_FTX, .has_reset = true, }; static const struct sun4i_spdif_quirks sun8i_h3_spdif_quirks = { .reg_dac_txdata = SUN8I_SPDIF_TXFIFO, + .reg_fctl_ftx = SUN4I_SPDIF_FCTL_FTX, + .has_reset = true, +}; + +static const struct sun4i_spdif_quirks sun50i_h6_spdif_quirks = { + .reg_dac_txdata = SUN8I_SPDIF_TXFIFO, + .reg_fctl_ftx = SUN50I_H6_SPDIF_FCTL_FTX, .has_reset = true, }; @@ -437,6 +462,10 @@ static const struct of_device_id sun4i_spdif_of_match[] = { .compatible = "allwinner,sun8i-h3-spdif", .data = &sun8i_h3_spdif_quirks, }, + { + .compatible = "allwinner,sun50i-h6-spdif", + .data = &sun50i_h6_spdif_quirks, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, sun4i_spdif_of_match); @@ -501,6 +530,7 @@ static int sun4i_spdif_probe(struct platform_device *pdev) dev_err(&pdev->dev, "Failed to determine the quirks to use\n"); return -ENODEV; } + host->quirks = quirks; host->regmap = devm_regmap_init_mmio(&pdev->dev, base, &sun4i_spdif_regmap_config); From patchwork Fri Apr 19 19:17:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10909647 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 17A921515 for ; Fri, 19 Apr 2019 19:17:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BBA628E00 for ; Fri, 19 Apr 2019 19:17:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0B2D28E04; Fri, 19 Apr 2019 19:17:43 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 55D2C28E00 for ; Fri, 19 Apr 2019 19:17:43 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A0EE09FA; Fri, 19 Apr 2019 21:16:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A0EE09FA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1555701461; bh=JYY19RDhjicOBTFob00FLtcuH7cmIm1QKGKiOGEgUQE=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Ul9PCuLSOD/OXSJTwM2ZzFcMfevZzbbm8gLCB8r7Bv0oWJFNvNowtstUJ6P46OBzG /WzofpjrCB1585RSlolhwNSIRVDsjWkAqKAzgnCom8HuCT0D3ADJUuyROwmETKAlr3 1jsi4fAekZIocKpNfkSdr8ZYlkK+K/enWyHFRff0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1C485F89728; Fri, 19 Apr 2019 21:14:33 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id B4952F8970A; Fri, 19 Apr 2019 21:14:25 +0200 (CEST) Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 36E74F896EA for ; Fri, 19 Apr 2019 21:14:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 36E74F896EA Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Fmw+8qN7" Received: by mail-wr1-x443.google.com with SMTP id c6so2278142wrm.1 for ; Fri, 19 Apr 2019 12:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uKVrYG5fLNMq4oH61B/TjfI3DotxPxjhCoHU0PS1JtQ=; b=Fmw+8qN7tfPH2V88rzY0I30wZ5901KlVIJ5/XnYPdTSySXV3OaXpjJAWDicCRUG+vQ g0Lpey8lZAvzvI/4ZHbaG2aXi2sHom8ayzkRFJdZQpk5NH2eB6TTugThntly7zpqBZw9 bu0q0CmxPC08bIly9hQt5ljgZfYJ7B1XsRvj9iKVGpLb3lLv4mzjQOjC+v49+g0SufC/ QIjThzyGkVCnipdumYWcap8C994gWpEDuDhkPupp+WUfydcqAZ0/2WDKEGQ/GfsNeu4L K3h/dAEjvRNxXOTXQom7CjAh5+kg+LWVeHVNhVnx/oFZmUEH6v7Or4Gg7qjqYI3j8vTt zFjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uKVrYG5fLNMq4oH61B/TjfI3DotxPxjhCoHU0PS1JtQ=; b=phdf3EwFuC9vTgeiAEkMKokgq5u6UiEzS4KT8XM+DCbqAOcQP5eREHDqCws6x1qF59 fML7goNmVf/oWjp9Jj7YbKsUfcEiBq4Tpg1Jk4CmW0+Xt3KoWb/ZqDYOOUo23IyJPyVL DndaGz/vfCZAGaRQkqcM2GLz6dSdchNspUXGB7UAWkMX4jXjKNnqSw58iFMUaPWS4pUm Rv3QQYhj/gQf0s4rLsQziC/121hMyABXiUCnK9BIVE9uYSKprf+umk/zwSS8FXsxJzRv EHQscqgTeB+pUvej3pxnO6bJQKR7On9Xw+nKDppfrt2eX8q5QwRT9pErA+tiDa6RjSbk oweA== X-Gm-Message-State: APjAAAWkoZq6gZEr2CrTFCCwqFCLZw3g1q7Hr08oSnnNvR+wSePJIExa OkVrcczcFKd7e8+8Vw3+Ff4= X-Google-Smtp-Source: APXvYqw0SfIPTdkzmi2hHA0afL8ILH0rUVdUVu94UsPI92T2uHoU3QcbDdsI02m4rGRPDxwvH5YoGQ== X-Received: by 2002:adf:fa47:: with SMTP id y7mr4259360wrr.27.1555701261219; Fri, 19 Apr 2019 12:14:21 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id z18sm8131149wrr.90.2019.04.19.12.14.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2019 12:14:19 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Chen-Yu Tsai , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , Mark Brown , Rob Herring , Maxime Ripard Date: Fri, 19 Apr 2019 21:17:28 +0200 Message-Id: <20190419191730.9437-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190419191730.9437-1-peron.clem@gmail.com> References: <20190419191730.9437-1-peron.clem@gmail.com> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH v2 3/5] arm64: dts: allwinner: Add SPDIF node for Allwinner H6 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP The Allwinner H6 has a SPDIF controller called OWA (One Wire Audio). Only one pinmuxing is available so set it as default. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 38 ++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index ad2077830f73..6c1debf11e5c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -83,6 +83,24 @@ method = "smc"; }; + sound_spdif { + compatible = "simple-audio-card"; + simple-audio-card,name = "On-board SPDIF"; + + simple-audio-card,cpu { + sound-dai = <&spdif>; + }; + + simple-audio-card,codec { + sound-dai = <&spdif_out>; + }; + }; + + spdif_out: spdif-out { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + }; + timer { compatible = "arm,armv8-timer"; interrupts = ; + compatible = "allwinner,sun50i-h6-spdif"; + reg = <0x05093000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>; + clock-names = "apb", "spdif"; + resets = <&ccu RST_BUS_SPDIF>; + dmas = <&dma 2>; + dma-names = "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&spdif_tx_pin>; + status = "disabled"; + }; + usb2otg: usb@5100000 { compatible = "allwinner,sun50i-h6-musb", "allwinner,sun8i-a33-musb"; From patchwork Fri Apr 19 19:17:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10909649 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B10B41515 for ; Fri, 19 Apr 2019 19:18:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A067228DFD for ; Fri, 19 Apr 2019 19:18:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FFB228E03; Fri, 19 Apr 2019 19:18:16 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E953A28DFD for ; Fri, 19 Apr 2019 19:18:15 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2CD0A875; Fri, 19 Apr 2019 21:17:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2CD0A875 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1555701494; bh=ivikoVa8KFwB4OdrR4tj9eyzYRfkyaXkft0gue/PvCM=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=kga6ELvykE2dnFU7XG8v4qOGHSwuT459t3Re9Vs2dZqM8PkQ/fOd3/CMXeq+aIlkJ nkuNgWR3FhOd3WIgJFnpDzqCot9czRirSDE2ch6pmctYm2/JrROCn7NV+lMBLr7U2T UFgla91lL4zjnCsfkEdz6AlN0acCcWC0PNseL9ZA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 62F22F8972A; Fri, 19 Apr 2019 21:14:34 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5AB3AF89720; Fri, 19 Apr 2019 21:14:28 +0200 (CEST) Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id ED852F896F0 for ; Fri, 19 Apr 2019 21:14:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz ED852F896F0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bBcMLpPr" Received: by mail-wr1-x442.google.com with SMTP id k17so7952734wrx.10 for ; Fri, 19 Apr 2019 12:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wa5zJEu0wHUbCMisIa1+skTbLI8R1wqtGj7+AFP0Jt8=; b=bBcMLpPr0Ss4cubMiCFuMZtRRWsA95kPo3YepC4Izt3F0G987GtaNqcIeNFEIXC3jU hqjyHAbDsSPsw+Z8WIyRjHk/GVklQ9OmEmgAqKDRBXJMCyd7tFRFYHGIiMBlX+lPURVv 3K5maGJFw13IjQ5kGtak8HaPI3WZIikq5YpTrXeHB/bKH+jHCBTO2TIY64coypKFGqz5 oTSMofNYqcxK4F7XmP1YpDTjX4AjCub5UgI9K6+EgNqmi1i/pp890hElnP+ywYo9IU9X MDDG0EJAr/M2oBDkQTNlBXZ3IFXRgYroE9dSH1Gtpt8ZmfTxFi4+8IlGcYcdDM7yZhUI 6kIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wa5zJEu0wHUbCMisIa1+skTbLI8R1wqtGj7+AFP0Jt8=; b=dAUcjzXNTSWrDXyEeIhp9WMC+KOhuETW9QX04ZTKjh48FrGF5ujo6a9/Yf20K/V4Ky XbuR8yIWdfb/rOUo1gRBsTmxh1dHVFDHrbIWGqwPG4FkR1Sp2BwC0YMSPGHKYiFn5/tr oqyKRWRFz3vCuUtcQpYecVgLzf9tTap8yyOo9WuqelWvrJRSZnVfWbaMILWIfPRTHHkx VN4T9wqUAh3oX7zMK1sihFnfI4MoChQ7UNJlrKUxkiH5T+zCNVhrCGkYlWlqP5geVcF4 OR6Ocip4Uy5VDqTTIljS1FnmWGZ2re8Uyx5qcKW09e8hCCMpXhae5NsQXBS2p4JfhNu4 2UEA== X-Gm-Message-State: APjAAAXd5zQcSzboJhNvnh/UhLhfmiqygF4ZPfwSTer4siyL9fuOEI56 X2mP3Igu1oPCpd6Yg8kamLs= X-Google-Smtp-Source: APXvYqzAekguxykEQv+5laFyV/ORVMc37WUNEIB1po0LKufS+N6gy/BH6mV8NVbozDDG0ziLWa7u3g== X-Received: by 2002:adf:edca:: with SMTP id v10mr3849928wro.157.1555701262848; Fri, 19 Apr 2019 12:14:22 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id z18sm8131149wrr.90.2019.04.19.12.14.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2019 12:14:21 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Chen-Yu Tsai , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , Mark Brown , Rob Herring , Maxime Ripard Date: Fri, 19 Apr 2019 21:17:29 +0200 Message-Id: <20190419191730.9437-5-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190419191730.9437-1-peron.clem@gmail.com> References: <20190419191730.9437-1-peron.clem@gmail.com> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH v2 4/5] arm64: dts: allwinner: h6: Enable SPDIF for Beelink GS1 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP Beelink GS1 board has a SPDIF out connector, so enable it in the device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts index 0dc33c90dd60..76a95ad33dc5 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts @@ -243,6 +243,10 @@ vcc-pm-supply = <®_aldo1>; }; +&spdif { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>; From patchwork Fri Apr 19 19:17:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10909651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 840B514DB for ; Fri, 19 Apr 2019 19:18:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7530228E03 for ; Fri, 19 Apr 2019 19:18:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65E9D28E05; Fri, 19 Apr 2019 19:18:53 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BE40128E03 for ; Fri, 19 Apr 2019 19:18:52 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E90F0953; Fri, 19 Apr 2019 21:18:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E90F0953 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1555701531; bh=t+7Q969Fw51lH41u8gSZYlCMXiILq1ExV9e0SK8pqYQ=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=rHfVMCoUjboNMCUkZy7WvaW1MIAHp4Ijt9fbUic498qx+yaBFOlbfQK4LZfSrSEi0 j8MXmmi0iiytUtgvOXO+EG/HqnINJFYKdJQ3BbeAt3DgQHoiAjSRvqY4DpGpnMvH94 DFKqVjhNTl6iSdbMFxn6OMHc08DsWsfzNsVnSWy0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 82E34F89732; Fri, 19 Apr 2019 21:14:35 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2F0FFF8971F; Fri, 19 Apr 2019 21:14:29 +0200 (CEST) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 42E7CF896FB for ; Fri, 19 Apr 2019 21:14:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 42E7CF896FB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bLSv5krM" Received: by mail-wr1-x444.google.com with SMTP id h4so7960494wre.7 for ; Fri, 19 Apr 2019 12:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yg1VOoGGj2e9HUBUjH9P0F8HoxifiboWQ0NYHZZxQwU=; b=bLSv5krM3mOIHCeik1CsBD872udWfGjFF+0ZFvHsxAQMGy3cvznhh0w9qsG3NyFJOE ZyUGCBe+UVN4IKjq4k68bAi6w028q+QdswTdta5Sn3jmzv72fYF4TddE9N/jQ5SCwY/p ZYrguVhWtnTyb6vi0dHYt44gIvlIqo//5ia7yUYeH3F8dtj49q6/pHIjzwteybdXGP/F TWFx9HcgCiBBU/iXssNk0cn911Ntaga+j71eklrsTQIPkYlqKAr1fGolpgti3Bj5gBxA eXautKUiBrSXnBFBo99ibLZrlkGzRdJSg/5Oc5o9HSE7pBHZXHUIwOWl6nOlENNxOYHe 2EUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yg1VOoGGj2e9HUBUjH9P0F8HoxifiboWQ0NYHZZxQwU=; b=goZBKQQAQO8Sho/RBUejTgf9Ukn+d5qpAR8vf9B8kEnGWCcVNJK+3pT4791jkP3xzr LeHa9iCqYlxKA1YdJ1wBMQa3k0rGafm+dlE9tW3EPjt8yMnxQkDhV0YlFzvqho/xRDBC Hf+nVkrIigpswPBFe4pqzH6N1eWSEBhbtK7ylldElLspRsPQvRCwYCrRstWWsc9d9lc2 /N4S+tblXqO4upTp4GaHG/QzxMLUJSHs9mj6cT/3uofFyKeLOfFLiaNyuACap9HLLT4e BPpWFt8FhWuVmaEy309sZkgNmp0YVHtxPpgoK7NNtESnAoQiFwJWsiw9Sz/OL8ENqONM +qGA== X-Gm-Message-State: APjAAAXJpoh6u4kly+sEqZ1NOVZjTrCsy5dkH5TYKXRHUZVWbv3ANzv9 I5dARL1r71xE/rXd/8O3l/c= X-Google-Smtp-Source: APXvYqz9eTSGdABGRaZjq5azDwlrz8fm9whlijjarIONZfiUZL4+Ix+OVWlK1RlaFJ5umpRfyUSw9Q== X-Received: by 2002:a5d:638d:: with SMTP id p13mr3946296wru.202.1555701264320; Fri, 19 Apr 2019 12:14:24 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id z18sm8131149wrr.90.2019.04.19.12.14.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2019 12:14:23 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Chen-Yu Tsai , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , Mark Brown , Rob Herring , Maxime Ripard Date: Fri, 19 Apr 2019 21:17:30 +0200 Message-Id: <20190419191730.9437-6-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190419191730.9437-1-peron.clem@gmail.com> References: <20190419191730.9437-1-peron.clem@gmail.com> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH v2 5/5] arm64: defconfig: Enable Sun4i SPDIF module X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP Allwinner A64 and H6 use the Sun4i SPDIF driver. Enable this to allow a proper support. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2d9c39033c1a..423413768d79 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -531,6 +531,7 @@ CONFIG_SND_SOC_RK3399_GRU_SOUND=m CONFIG_SND_MESON_AXG_SOUND_CARD=m CONFIG_SND_SOC_SAMSUNG=y CONFIG_SND_SOC_RCAR=m +CONFIG_SND_SUN4I_SPDIF=m CONFIG_SND_SOC_AK4613=m CONFIG_SND_SOC_PCM3168A_I2C=m CONFIG_SND_SIMPLE_CARD=m