Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2108238yba; Fri, 19 Apr 2019 12:16:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxURYKywFQxxjKX9spYuK/Kmuy9G6dJSVPG2tf0rTvpq3QksfvmH3j617lt6K/+d0fxgjc8 X-Received: by 2002:a17:902:7084:: with SMTP id z4mr5619587plk.305.1555701393525; Fri, 19 Apr 2019 12:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555701393; cv=none; d=google.com; s=arc-20160816; b=ZXku989g2DkeUOcIiBhJyTgdj0lFBcAtGtXI2ixnYLPFr4kiw5usCftiFR/guZ3CeT 8m/IuWuTUG3iSQKrHQ8DSP+jrCYV2mVLe4Yb6dxL5JCkJ3Wl8LMRzKYbgurlEWuoT7ui xP7L6ClLdEIuTAh90Oj/libHQJO6P3pF/j2+D7ql4qTNnZDJ9K76gkOBCRp+k3Run1o/ Um8sBj74KyxCDbBKCtP2WxdRrPPndqT1jNeq/BO4RI5DUYmP+X4xeCh74wqu6A7/DSOD AonSbEZdyU5Go7O/tUJ+O4lkHe1ozNCN9YX0IVqHpwfFkaueMlbbs+uMKzZwnf+E2Zr8 S+tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jd3S+Mf+Q5mKFNJ2557E4VnQHOtpZj9UubuBQAoizH4=; b=vf7tvgQ4dm9/dZ0NuI1Yfqh77P6CC5CI9x4ijqXPKQXzLIYGjB1y2HlXoscgsNI19M 1A3x1ZjRSNam3J11inUmZaT2yp62kqIu5ED+niChTAFFR8gtbMmVpU4zWswjRR6vwPyj spUX9WT2wzX0aW1Nzd/PaR8Lu8PcVQZUfGyrij3UiX2BYp8Wludze0TWd7ZgndAjf9YT jp40YT13O9joyx4bMRhZ3h7QmsdNCcD0MHNXuDFjMA8iL4A6JTxtvTPJhDKIgUh5SlQM prh1gxzdphXJY/PnLcAM2VwGPahYma2+2cplvoOYD5bMPy8kX3kyJPmiJdC52pr+eTqp qlmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=smOxsVOK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si6114120pfc.92.2019.04.19.12.16.18; Fri, 19 Apr 2019 12:16:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=smOxsVOK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728925AbfDSTOU (ORCPT + 99 others); Fri, 19 Apr 2019 15:14:20 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44149 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbfDSTOT (ORCPT ); Fri, 19 Apr 2019 15:14:19 -0400 Received: by mail-wr1-f67.google.com with SMTP id w18so7926607wrv.11; 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=qGfCnX4Woyilp4Q2BfndhKA8Bw83dLlVh6OkBtS+F1N0WjGIiRqvKZK8MyJdxs4pgC xgw5TFLvikfh3teuhAcFdXSWas5L8nM/8uaybIlg0qpnJhU6JbOeHN/jUotX+DJl8Db7 ggUUxnAKrii/gPBd2xmmZLyfWx7NTItKXffKoWVDc776fJHdwWWdB/ZPLyhchFMshz6c 9mmh4oPKEoJUNONwz085hafO8iHo83a98SI5hV5rHzi0YBFvQ+eR7n1S2xzf0l1dSK99 YUYchBO6rEeF4pQPtufvrtdV9NCT71UM1eMVlFXPJp+H6tUfVDPz/n5o725xeOF7szA3 BWbQ== X-Gm-Message-State: APjAAAWpwqN+1K1InPDi+p4lFAWxDYf2K8ltSBasC+sK+ltcdhCGqVRT 5kpmMPdEtXHb5CyuUhLcKzw= 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?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Chen-Yu Tsai , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , Mark Brown , Rob Herring , Maxime Ripard Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.17.1