From patchwork Mon Aug 12 10:51:13 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: 11089615 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 E46D81399 for ; Mon, 12 Aug 2019 10:51:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4B8C27F88 for ; Mon, 12 Aug 2019 10:51:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C819226E54; Mon, 12 Aug 2019 10:51:39 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 6F83826E54 for ; Mon, 12 Aug 2019 10:51:39 +0000 (UTC) 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=Z4AGAdgy9cGt9mrBbuhbCEmeFFyj8psSqBSbRZHnRNA=; b=i73Sy029bRYVbB 4PtOmYoFV7HrmUF3IdSbFfbQ59ZpqzsG6tKpyLqnngugYZAqiITL2RWX5ZtKwwyUFg74K6hSNzeSM Lwy1tuVaEjB/z/3JT2XDCdDvrv3JRRxRqvtTMsrS18BQnP1H7x9Hejz7Ep2ereHXtpEpIvCqrTBK8 N3vgqZyJEAwinX8fzCq+J2Ubmp087Qgv1/DD0EhxbHuCe/H7M38SZKrTQdQsDQcWFeZpfXC18l2kQ RPKXxOf3/jtS6T7fXAZQdwVf/iMMxI8T9Qp9NsDocofigXxOA89iKZ0K6nBsP5X1TRJFJx/R6spL3 FDvhX6mcEiYnFiChHDgA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hx7vO-0001JY-QE; Mon, 12 Aug 2019 10:51:39 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hx7v9-000171-07 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 10:51:24 +0000 Received: by mail-wr1-x443.google.com with SMTP id b16so7437296wrq.9 for ; Mon, 12 Aug 2019 03:51:22 -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=8y69qpb8UD4pmGymBCCj0vrAYWumiZEmgRjo9Gkt4hE=; b=FmGB1X5vECdUSw5GDk1JEITe8ZmsplF/0xnLiaAdpOIwzo5QbdcgBssKwh//qmwyCU sdGiGk/A5GQjJmUBeNo7UwcL0y3F0qBemh8jmQfWxsj7ahELFP2AYX7NJYG3dh51CLBr MYTmkJwSVJ0teDz6aMOa4QuzlKIsE5jYkvnlQfTSwwfJqxIJ/sft41zJ/uX2E4T59RLc XmT320ySyTOt/7VTGWrZmy2qql0ZGKz84zVjyykLuQf4IrSarVgD15V4SNiZWthHua6/ zkTB+GihV4zXFjlbGAoOz3Dn17PqeBPxR9FuiXkGyX/wzraBxP5S8+R6x+7bBo4pkycZ mgGA== 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=8y69qpb8UD4pmGymBCCj0vrAYWumiZEmgRjo9Gkt4hE=; b=LkIY/krRRm0p+fcmtTSQNg2gmPwqORAu9bWoo4GyYvCOZ2B1gkB2GZPuok38btQ1sf 6+8ewu6w0xOcv9KuDLR7x/ZELSzcDfqlcVSJFrzZqd3Nx8KW6HFNUqqTnJJMN7fxPUmC QQMO2oQnb1pMJ2ZAyRzw1/bFEw5HxT0bQW4S7v5kpiOUuOXSHz1k2uCyw6PoaToTL4D+ Bdq/hkjPqIPdx2qswC8Yj+a+49g57OE0ePHydv2+qQHJr2vP2aoFSjjISsuu9ab9SwR6 arimWwWnL3QimmWBuwSz4orpsmroF/bYbqvB9XZBUufAop9Kz2gX4xckoJRkyFJGzfai oPlw== X-Gm-Message-State: APjAAAWb79ik6v3h/xtYBhTVheAvpU4AL1BewhgwK+GZMpkAtvQOkw5Y 1+nv6XSXfG7rXMl4ZrO41Uct8WcmGB2T3g== X-Google-Smtp-Source: APXvYqxO/zN5LoGuQdjgdLXcwdnLGqCiCs6Za6BT+vZzRtge3ZxZPKPUNKyec3jeFUKnm1IP5O8/gQ== X-Received: by 2002:a5d:63d0:: with SMTP id c16mr35364533wrw.22.1565607081493; Mon, 12 Aug 2019 03:51:21 -0700 (PDT) Received: from localhost.localdomain (lputeaux-656-1-11-33.w82-127.abo.wanadoo.fr. [82.127.142.33]) by smtp.gmail.com with ESMTPSA id z8sm22797916wru.13.2019.08.12.03.51.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 12 Aug 2019 03:51:21 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Maxime Ripard , Rob Herring Subject: [PATCH v6 0/2] Allwinner H6 SPDIF support Date: Mon, 12 Aug 2019 12:51:13 +0200 Message-Id: <20190812105115.26676-1-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_035123_141369_DF082C93 X-CRM114-Status: GOOD ( 11.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 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. Actually all these features are unused and only a bit for flushing the TX fifo is required. Changes since v5: - Move soundcard to board device-tree Changes since v4: - rename audio card name to sun50i-h6-spdif - drop patches already merged Changes since v3: - rename reg_fctl_ftx to val_fctl_ftx - rebase this series on sound-next - fix dt-bindings due to change in sound-next - change node name sound_spdif to sound-spdif Changes since v2: - Split quirks and H6 support patch - Add specific section for quirks comment Changes since v1: - Remove H3 compatible - Add TX fifo bit flush quirks - Add H6 bindings in SPDIF driver Clément Péron (2): arm64: dts: allwinner: Add SPDIF node for Allwinner H6 arm64: dts: allwinner: h6: Enable SPDIF for Beelink GS1 .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 22 +++++++++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 20 +++++++++++++++++ 2 files changed, 42 insertions(+)