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: 1088159 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oFuM1H55"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="smOxsVOK"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44m5J16TwLz9s9T for ; Sat, 20 Apr 2019 05:14:25 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=iES08NdisrIiSFRoF9jLqxZS2wvNdPd8mexvkCJZsL8=; b=oFuM1H55okPmnl idbWzIz1JZoUm1d3s7PEv7QwIlpgtZc/kPRgOUuHsT0geyZCFsgM6AM3LSLtewmdFevVjnIupcS3s QjGBxQgMbTZq7HX79EFuAhzo5Xqsxf1wNlL60izXfJiTDscPHVQMkmDEzSRPvAQnKUfj87pVUxKC+ tzlvnEyq6258uedSXFtyyc2T5aCPoinNI3m7GtbzOpQOhWCWe4ABYLK0NpQvEOHiRuHMQn1lHP7X/ oKMITZfL5ewfekNN3NzdwnLwi91lmEnn8QL9C5oQbguejg51K/T/USzHu8QDeiG4uzCS5DdaFs1SN dBaWaN8vbbkjo8un3jtA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHYxq-0005ml-GM; Fri, 19 Apr 2019 19:14:22 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHYxn-0005ls-Eg for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2019 19:14:21 +0000 Received: by mail-wr1-x441.google.com with SMTP id h4so7960261wre.7 for ; Fri, 19 Apr 2019 12:14:19 -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=ejbq2HD/XsfK1gngNVD7O9Ub7wNdX1MoiK69F72g5ehsN5D6D/CT5yg6q02M0qy+y9 bRBBYsgmZH2Crm7g7fRowHhfTcE923Pp/J2oSYJypw4n+gftyOu6T3HD2q808xOPfpxb 4OeYLqeWR98uyRVOCc7WD1h8BWa3nphQXNk1QTtP/y+ekglkWRV64LRgitcSuujPNaAB BUn4NnUSo51JBpNYBGBFMyEg2kPfG00BtZFCi5nPlbgZwDPHXr8YF4X01jJjxqQViuCy mw7un3OF7Z0/0cYFv2LbnNoQO8f3TPlnjy3/YEcXbDxSmgF/CLWLT9M7x51zK0Ar0+mj TuWw== X-Gm-Message-State: APjAAAV1tRh9g4kMtB6M66uGERb8/smd7vCTjMW7TMqzaFi79VJ537h7 mzoe7Nv63tF20tm/2stkQ6E= 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 Subject: [PATCH v2 0/5] Allwinner H6 SPDIF support 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190419_121419_495779_B8F57E48 X-CRM114-Status: GOOD ( 13.95 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (peron.clem[at]gmail.com) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list 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, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org *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(-)