From patchwork Fri Apr 19 19:17:25 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: 10909637 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 C21E214DB for ; Fri, 19 Apr 2019 19:15:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B72B828DFD for ; Fri, 19 Apr 2019 19:15:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABA5828E05; Fri, 19 Apr 2019 19:15:23 +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 DBE1A28DFD for ; Fri, 19 Apr 2019 19:15:22 +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 AF55486F; Fri, 19 Apr 2019 21:14:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AF55486F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1555701315; bh=RQlKSCFJCjjjEWIb37wfB+05eH1Jo2UcUVCcpf98YDQ=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=BlS8Th784dcofFIDJrEoJXXYO+WrY8UOLVk0FSKgMnrbyOqCnvWOcBKiXqn1mIpiO J9ZAhfzMIn8b6uueRcOv7Vi9203Zp2poY+XL0KVjvxKA17WfLYa9Nt8RlO2eLdVtFw VFYATW+vryvICG4LPgkHgBFM6CS3ZyYGZyX/Je78= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 88E9DF896E2; Fri, 19 Apr 2019 21:14:24 +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 DF67BF807B6; Fri, 19 Apr 2019 21:14:21 +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 2621DF807B6 for ; Fri, 19 Apr 2019 21:14:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2621DF807B6 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="smOxsVOK" Received: by mail-wr1-x442.google.com with SMTP id c12so1802247wrt.8 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:mime-version :content-transfer-encoding; bh=jd3S+Mf+Q5mKFNJ2557E4VnQHOtpZj9UubuBQAoizH4=; b=smOxsVOKcApmiBmDFPymal2Cd55aZuhF62HW93ui53fTMHnhBoin8f9Of3LuduZO1m jet3cu3eOnjOnOtGA5sI0acxdtYKVlIH9RGCwdHtJV+lngYR6ksuzoLFWCN4JlZgAkp1 g4ixlwt0PZkOWFPsVnG3goHHFPts6USrSQqzQQWrHdCpXdjaF12qwXjz8nMo1RS8Gccb p22/6e8omzVfzVSA82jTO4G90qJujk7RiCwCgLrf+UJeIX39SJVY/2o/HJemfBez0Dy6 sEwmkvBnTHTeEA88q0ccBfgStdFBxfjPJwGEcU4Gsu3ABbO8rzVCku0zh+07dr8Pe545 PP7w== 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:mime-version :content-transfer-encoding; bh=jd3S+Mf+Q5mKFNJ2557E4VnQHOtpZj9UubuBQAoizH4=; b=oUVrzdcMp2UtrPFDjphYLaEv+Rh5ETjAVRxXJiAUSz1w/PkVCaM8KCC/U6c0ZJJ68j 4oBz7BUrsqLZ6L4VQSNRhG/D5Bod9yOjPIDN44jif4udvAnXvKhDTPsAfzidFKU1F583 PubVNxzZxqDmVkBtx911ASixDuoLcF0rXrhdpR9f7fnCLI6J8Ol9zOsKSHIXqmRz3FHh Dm3Y6fcnpJMjS+j+03/Ie5WWqTCTi9M2rZe8XgdKxwxp+MaWGvgbTUXIqhM+TixTOaFM 49jG43XBK0lSS6r3c22vUnLepspOYNnT9fBCwWTLpSr51FsjhxEBkzwczK/b7GBoHpf+ NS5g== X-Gm-Message-State: APjAAAUcVu7ALK+7O+s5LzqZJ/Jqj3lUuPdPlZu/Ersrd32yxM3US7e/ ivGFQFfmItVQbtg6lxBWUKo= X-Google-Smtp-Source: APXvYqyRFIIPTwLPRvmF0h+3wr9mjSY9NQPZ6or7JB1dRBh12Su0EYTWsB7WQDgAPRAaIhul2dKIaQ== X-Received: by 2002:a5d:4103:: with SMTP id l3mr3239183wrp.151.1555701257503; Fri, 19 Apr 2019 12:14:17 -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.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2019 12:14:16 -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:25 +0200 Message-Id: <20190419191730.9437-1-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 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 0/5] Allwinner H6 SPDIF support 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 *H6 DMA support IS REQUIRED* Allwinner H6 SoC has a SPDIF controller called One Wire Audio (OWA) which is different from the previous H3 generation and not compatible. Difference are an increase of fifo sizes, some memory mapping are different and there is now the possibility to output the master clock on a pin. Also this series require the DMA working on H6, a first version has been submitted by Jernej Škrabec but is not yet accepted (as this moment): https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=89011 This series has been tested on Beelink GS1 on top of sunxi/for-next with Jernej DMA support patch. Clément Péron (5): dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible ASoC: sun4i-spdif: Add support for H6 SoC arm64: dts: allwinner: Add SPDIF node for Allwinner H6 arm64: dts: allwinner: h6: Enable SPDIF for Beelink GS1 arm64: defconfig: Enable Sun4i SPDIF module .../bindings/sound/sunxi,sun4i-spdif.txt | 3 +- .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 4 ++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 38 +++++++++++++++++ arch/arm64/configs/defconfig | 1 + sound/soc/sunxi/sun4i-spdif.c | 42 ++++++++++++++++--- 5 files changed, 81 insertions(+), 7 deletions(-)