From patchwork Mon Aug 12 10:51:14 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: 11089617 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 5667213AC for ; Mon, 12 Aug 2019 10:51:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 472F027F88 for ; Mon, 12 Aug 2019 10:51:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3BD4727F93; Mon, 12 Aug 2019 10:51:56 +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 DFBE627F88 for ; Mon, 12 Aug 2019 10:51:55 +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:References:In-Reply-To: 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: List-Owner; bh=BM9vDbApgsi3ZOK4hgzY6MRNsVwFI0bQsnZcK2VE8zg=; b=R7MgdjreDlqbXl 8YvGWjVVhusZTMibXQba8ZYmIFNWRZ4fOjulufUS4+QNlERSa9mHIo2EAwGWzSG8fc4rIobeaCOYR jzSNnebB6weU0brRi+6y9Uej1l8j+NhIiyAeJphjxWVzjH3UaJHzkSuQFvbaJ1qnxQz6PMCOZ9AdF 7rjFDJEZKfM2/Srl3a0g2GYreEHYNuCJ/CqjBEV3AeATP6SzuU+KlanwShNEi3ypMM92iBrmFJhX3 mEnj83wWIHudCQ8q4OC0NACfZ+z7HQNoZrB7G3SxuSm9XNf1eM02vaDw327Tn5zX/R07PxnPG4QKd QNcH02XPnrivycHoLVrA==; 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 1hx7vf-0001Xr-5C; Mon, 12 Aug 2019 10:51:55 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hx7v9-00017l-N5 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 10:51:25 +0000 Received: by mail-wm1-x344.google.com with SMTP id z23so11348724wmf.2 for ; Mon, 12 Aug 2019 03:51: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=E6tk82k5TW54Tmi+3csD4OKmu7+dtwlB6O+wvC9mbyU=; b=FFXOj+d+O9qgInIVXb+Sftndtm05JphCPhcUol3hrBE+2Q+2OuhLTyMNJmheL0djcD gbuQJs8q9565e+PIwD7RxJ62El0N2FEi6Buo6yjREUkvPyxDraK0pbon0NhGJla+6r1z lerT5NsDc33Ih7WN7RXKWZ2hQhhaHFuvsbo8yjOIh6vzeNe5BncMwRy5P81G34DzB10q u6xhvJW3J/gsKIzhC2RV/4kcuDgmOBcQlrLdCAPc3ivPdDgZUf2iKh73IYJ2Dv96c6LP 1OqlPXvjt5xnl4AU1/oHN0m+GLRP/zaYn//65jYOm09yj8roL+9bTUxpMcEcpieKHxbx m8/g== 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=E6tk82k5TW54Tmi+3csD4OKmu7+dtwlB6O+wvC9mbyU=; b=AauL3nzlIGLyDRcSHy29kpoOy1QMYvDcZruxryH6wOR+2QrgiDTmVBLsspjKnX3wkQ CbgkCZ0ashcUbRkws03h7uGZzYWsfiyYiXQrY3kDX8nIOdQykeQ306MxgwZrR2noF3Gr 4KBLgoFSc+JDCyo5qJS42abdhyJJaSinfxOYbXMtLbyuRdcQlv2PKRovWDj0ALiI6Os/ XwdEIXCGLo5IUBP6UCXUF9xEtJleb2DRd1xYmgnYBb/p2LA20CHVXBC5Vg4Rf1XRwI97 3DnSVt/ow9t1za/0J3711bz/HfH7oLySMRzsbN6eHwRQd2t6CaCBqUzc/zGHYBGl30pF 4ZqA== X-Gm-Message-State: APjAAAWapX2qGWbW9he7UEuSFxUd2k3QlRmZeVFaX7+BKhY1KL/iKxGb sYsgOMYjpifymlDu1KsI+VY= X-Google-Smtp-Source: APXvYqz3iWhMUmifg53tK3NRpq7zKWmNYACZQgK+R7BpcssqngYhmlMV2tEFxt29aLSzmCM7t5zo1Q== X-Received: by 2002:a1c:9d8c:: with SMTP id g134mr7086261wme.174.1565607082211; Mon, 12 Aug 2019 03:51:22 -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.21 (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 1/2] arm64: dts: allwinner: Add SPDIF node for Allwinner H6 Date: Mon, 12 Aug 2019 12:51:14 +0200 Message-Id: <20190812105115.26676-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190812105115.26676-1-peron.clem@gmail.com> References: <20190812105115.26676-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_035123_804772_69C36A64 X-CRM114-Status: GOOD ( 11.58 ) 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 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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 7628a7c83096..2ba9ab9e0924 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -282,6 +282,11 @@ bias-pull-up; }; + spdif_tx_pin: spdif-tx-pin { + pins = "PH7"; + function = "spdif"; + }; + uart0_ph_pins: uart0-ph-pins { pins = "PH0", "PH1"; function = "uart0"; @@ -411,6 +416,21 @@ }; }; + spdif: spdif@5093000 { + #sound-dai-cells = <0>; + 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";