From patchwork Thu Apr 11 21:44:19 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: 10896925 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 E982C17EF for ; Thu, 11 Apr 2019 21:45:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAF2F289CA for ; Thu, 11 Apr 2019 21:45:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF4FE28E04; Thu, 11 Apr 2019 21:45:11 +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 6C523289CA for ; Thu, 11 Apr 2019 21:45:11 +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=57i8dJT51RmyhEyS237qJn0a6kw/rmojG+Uqr9AjQn8=; b=sXlGTq/qRn6v3r dVEcfLMjkM9Z0Auh4s4qgBQTKFlrabWDEmeM2I35POp+lD0UXUvrxhzUsXN2xIOXMeckTX/VDA6FS IPTchBFAtjyo5Fa4QfQveN0aSvVTvk+F4s6/x4AEqMwmU8axldxss5zjGpad5aYKIjINbNMPybHKY xZNHl0urZfz5Pfw9GFwZyqgz2lnECpxVE3xWVRG6fwVu2jcG2nbwmePPPDhJr7dAItCPpOPTn1gTg 4QMGbmtaqXRqlxAos/w4lXHxIuniUI0XCYJ5Tl77N+tKBZZdxbG891MNzs/vgnrg1PWwCqpMKNFy3 WCi0U9KTU3o5sF5oy6sQ==; 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 1hEhVI-0005oQ-Ep; Thu, 11 Apr 2019 21:45:04 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEhVF-0005Tp-Gz for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2019 21:45:02 +0000 Received: by mail-wm1-x344.google.com with SMTP id q16so8584820wmj.3 for ; Thu, 11 Apr 2019 14:45:00 -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=y2wr/p0D10xFIIpnKwI96croYPKLKiRxARTqv9EDdHM=; b=cGjkv/AWjzj7FUd6tnaBxt1L4ZCeo2CHHgZx8IccyJRhTnJdkJgAQDZKU2bdnTo8+H wGnncQaFHzp5bmSfawg2hxaDl0/idYyMjmvhlqZ36mnv5cAtjM+cUYwJ6AcNVGHMSnD1 ryQaQOVDol+xY+WPqXJ1nPiFwSFaJHTBAPKQx7otV3VRGJtwar/ZEYybhhUqg60HmXtr T3bRc4Nqy1ww+iPhfHwaRya2xN8Bwl4m3x6Sr/jNKBC2I8VsWlOG0k5aWyjev0ZdUVyG K6dsjaRp75AiGdZueobAg7zLX21TDlip0F+INPy5noFAI8nau36JR8dKfn0zL5J8DEa3 KN2w== 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=y2wr/p0D10xFIIpnKwI96croYPKLKiRxARTqv9EDdHM=; b=owfXweresgHdkBqL+BqxYs9Y0u5yEE98Z9bCU8XtsqnBY2hHVRfhdcwvUwBdmIQk1X NUxTi/gZ9dyJGCaUwIfxzvLxNPZ4QwJ7Nk9s4Vb3iu5VrIIBiF2a6RdFbJoG0zPbvE06 pNWFM1mUW5Qf69uySlqquObh8d0oEngwAWaoMuZUZy1N1wTTsyPG3Bta+sNIfViq+/ve PtFKJFUcGMUEEO6Cl84Nl92ZAlK5BqvcIJJ4kchgTGU87udA6HCvSCd/kmS+VGz19Fpp JAVI/lH7FDS8mHckjm7anSkzj7DkYxlupuW1MfuEon5td2HPxjX2xlW9q+Gk/n3tabu9 Ob0g== X-Gm-Message-State: APjAAAWjK6Lvu/nxRqshicctzKon7Cf6Xex7o+XR98ZGezwFQ6zbdb+C ZTcvg3aC0UZI7vLoWn5ZcYQ= X-Google-Smtp-Source: APXvYqy7IGTKaTswNq9oenyWUVi9KhQCPhtuFQo+5B4MukKXlYwlrQmgCLRfUrxUR9DOnUMmhV9m3Q== X-Received: by 2002:a7b:c347:: with SMTP id l7mr8078386wmj.70.1555019099587; Thu, 11 Apr 2019 14:44:59 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id a22sm5952961wmj.44.2019.04.11.14.44.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 14:44:59 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible Date: Thu, 11 Apr 2019 23:44:19 +0200 Message-Id: <20190411214422.2267-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411214422.2267-1-peron.clem@gmail.com> References: <20190411214422.2267-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-20190411_144501_566511_43FC496F X-CRM114-Status: GOOD ( 14.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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 has a SPDIF controller with an increase of the fifo size and the possibility to output the master clock. However it's still compatible with the already existing driver for Allwiner H3. Add this compatible in the device-tree bindings documentation. Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt b/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt index 0c64a209c2e9..e33180354dce 100644 --- a/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt +++ b/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt @@ -7,10 +7,11 @@ For now only playback is supported. Required properties: - - compatible : should be one of the following: + - compatible : Should be one of the following: - "allwinner,sun4i-a10-spdif": for the Allwinner A10 SoC - "allwinner,sun6i-a31-spdif": for the Allwinner A31 SoC - "allwinner,sun8i-h3-spdif": for the Allwinner H3 SoC + - "allwinner,sun50i-h6-spdif", "allwinner,sun8i-h3-spdif": for H6 SoC - reg : Offset and length of the register set for the device. From patchwork Thu Apr 11 21:44:20 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: 10896931 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 096EC1515 for ; Thu, 11 Apr 2019 21:45:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E785D28852 for ; Thu, 11 Apr 2019 21:45:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB1FB28969; Thu, 11 Apr 2019 21:45:43 +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 86FCF28852 for ; Thu, 11 Apr 2019 21:45:43 +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=Oo8JXJzoxMCkWdkjlhFzEG2fpAH24vWzbpQm3rwwrpQ=; b=bOcvMngapfZfvQ f6/OkorIwPds4VOqDb2UzWl29iDojCbXaEoaeiHVk1gD2oZlvUDwBFyzfgrmxSLZ523/ClCeZbmJv +xXHOQAftctWRs/yu8NH07fwzdprxAQ6zCbdRQsjnnu2s2sSfbgT+FBsCJY1lqjgnhBQTK1RL5o+C l4M9DcZmFpRaYIwzXNotsVLIBpeK05zFtv+ctwl9wBpvm+YAxzdpINr1BjDRvO39ZCDTpORKwR42Z 1u43WaR7szlfxZZK41Y/di7ll54M1OoJp4VjeXzgcrZvSmS5lsO6wvGhkbCkf0DYR4ISOVMk8ODBP bzcnVLs2aNtqGjcaAH5Q==; 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 1hEhVo-0007Oa-Ey; Thu, 11 Apr 2019 21:45:36 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEhVI-0005Tq-7D for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2019 21:45:09 +0000 Received: by mail-wm1-x341.google.com with SMTP id q16so8584861wmj.3 for ; Thu, 11 Apr 2019 14:45:01 -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=Nf6OU8Al/mJlL06i5Ldod7GFzDf/F0dAuUkuELsAL+4=; b=mmM/YPd6deyfysNcaGBmW8rDxDvidiY0kHbKWlV2C3owwrB7VAjDjVqA+c2lPmSf3Z yXgoDywG+w651wYVDe0hUMPLRZZxIG+2d1r2Bx2MkL0FUfv48c8/CrN3V/69VX6tOk5A KSm7SB1H+Gstttl5zGhoDQZYKrFH2NFpCuXnMBxTeGe9JSZ/px7Cn4VqXEQFwqgkdLXv vcwNJiMXavDcO76bfMLt0zl5QCyp+gz5djKre5FAFSi3+pKMeBrm7P7iWt0rixEBv9wn fhnXZ67PfKWe25pVJKw7zAk4z+OhI3nzXpR/yjxSGutN7ElVKSwbCTYjWDTC3hn2L1pZ GGgg== 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=Nf6OU8Al/mJlL06i5Ldod7GFzDf/F0dAuUkuELsAL+4=; b=EBvTj9AU/mEC4uElydds5FcEwWUNAbtNbbbV/kyEvXtXHBFkTDq/tz23YAwAYWlm3e 4ZXtLvuebOYhXY5JDq/5K+odk5T+kmUi6DgRstK2N2uxs8kWo1rYEiEqq8TMIsRNW7RK rvyFwXoHUMGwS4udJDyIIEE3KXvgIwHcLn9P/gRHi2SRh2U+3J86gnPyUZBI6jhDd4eP SJTI1pSKAn4sEgeZseRqAiLi9qxoo3MDCi81v4xbmrwyxthtnUIAZ8J0ceUtP1cYTSw+ jbr1DZRCQU5EeCVQIV3li3VZ1BPtlsus+xI0ykLUD74/qesxEt4K1jYuU6f7tgRzjvvQ fTYA== X-Gm-Message-State: APjAAAWaMBrlILSSu6R6s2NgABf/i05Z7e7gudvH8E9rVdqe9fAwvnXQ bs+kehU/EH4B+6GMgFsQhJ4= X-Google-Smtp-Source: APXvYqzWdQdPWN8xVDqibwotfg551teNj8wR8ECuX7KxAlrbIAzVNhlXL1mRVjKDJbcWwIbxENON/Q== X-Received: by 2002:a05:600c:ca:: with SMTP id u10mr8419199wmm.122.1555019100299; Thu, 11 Apr 2019 14:45:00 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id a22sm5952961wmj.44.2019.04.11.14.44.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 14:44:59 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 2/4] arm64: dts: allwinner: Add SPDIF node for Allwinner H6 Date: Thu, 11 Apr 2019 23:44:20 +0200 Message-Id: <20190411214422.2267-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411214422.2267-1-peron.clem@gmail.com> References: <20190411214422.2267-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-20190411_144504_442352_50296B45 X-CRM114-Status: GOOD ( 13.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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). Add this node in the SoC device-tree and as they are only one pinmuxing available set it as default. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index ad2077830f73..5e850b359be5 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -83,6 +83,24 @@ method = "smc"; }; + sound_spdif { + compatible = "simple-audio-card"; + simple-audio-card,name = "On-board SPDIF"; + + simple-audio-card,cpu { + sound-dai = <&spdif>; + }; + + simple-audio-card,codec { + sound-dai = <&spdif_out>; + }; + }; + + spdif_out: spdif-out { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + }; + timer { compatible = "arm,armv8-timer"; interrupts = ; + compatible = "allwinner,sun50i-h6-spdif", + "allwinner,sun8i-h3-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"; From patchwork Thu Apr 11 21:44:21 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: 10896933 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 DA1C71515 for ; Thu, 11 Apr 2019 21:45:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C554C28852 for ; Thu, 11 Apr 2019 21:45:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8E4F28969; Thu, 11 Apr 2019 21:45:53 +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 6721F28852 for ; Thu, 11 Apr 2019 21:45:53 +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=3efTVDrzpPtjHeOnCxqC25VXZ1fZoyJ++UZm8uKhGOc=; b=I0vZwEPj1jrWUN luBB7kA0ElEkkC3GaKDlRVS4M+v41QW7PJ/zPy1ceAWzwQxfv8QPmakErNBWCzD30vTf0DvEl5CcX Jy/Yfooys+C+No3THiojb12GnC8PiTvW3F4xkOKOHjvhqDZJjXY7eq3oy6yg5NLeQfCvezSX8Mdu0 mKAIg325OdKlip5+QJcu5ov36M0Xb3hJXv8IZAz1wAmKlwKWZl9EP/rjHL5P5M7fa058hohL/uuLk 5bfffJNj4Rv6JcBlyFFqpC5ob8v8O2JsxH/Wr1Mui7CODzFnk0j8XgOBDOb5hCpUJw+D84zDUtLXt CSRx834iK/LlU3Yvt/UA==; 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 1hEhVz-0007cK-Mo; Thu, 11 Apr 2019 21:45:47 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEhVI-0005YV-Kw for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2019 21:45:09 +0000 Received: by mail-wr1-x444.google.com with SMTP id k17so4582881wrx.10 for ; Thu, 11 Apr 2019 14:45:03 -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=LVtadINjoQxMwgCqQXKn8a84EoN+51Atn4X2TR15k18=; b=QAuTn6c8/nyzKZvxPVTSoueg0fm2LTdsL3IpWwCKmjqim2F/9qmErOzuMBXMVzhuP3 DTlGAzSvX3JplRLClnpp+7bs9Bx7/8c0IYGNi9O0LDEkLx85VVlSb5mJH+pkXNDJ52j3 9YK1fYBgHQec0Nu4kwlBjOLLaz6GY2VsUwL7GHCuPGcvPws4emaXuq0uCOKi4BlwjGTK feJ1QJc3waAS8w8zkBiQljwWIC0IgPVcnD26ASjUT9PTrCSjMDUMYFYPEXZyDWOQN39Q Ujc3ERnvH1dNeOqTo0k7z6venmBdRY1J2NKmBDzcLg4Dgnc7XGOzgdQgvuje/rdQEwvq rffQ== 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=LVtadINjoQxMwgCqQXKn8a84EoN+51Atn4X2TR15k18=; b=fB35+eBHaG68yKG28YzgJ4LPpw4k/SZtJ0wSQNhKuqsexr/iWp5WPH+zh71TsWiTUB ASxSfvcq6cRXy9UgIWEUTWv63e0dWkZqIlF7L2PxHALuXSqIJgn9TkekYr3Mvsxjhn47 91pzt5a/EBFUJxiQi0Dr2uQnl0h3Tg03GmXTA08GBSZxPpNR6MY8TktcQ9fUAQB6kxoZ IWCQj/1FanFGC1Qpy5p7XoBDFqZFBF9dR6IjXPMKf93tkv1ZTl/y3gNotsMB2eDdFIFL 5cyZq+UrRKBvy0JNaVC4iyZSBSv2lOKHTN8frxpiROXN2oXB78HXcReQeoTJXs2IRpHg Y37Q== X-Gm-Message-State: APjAAAWFcsIqc0rydiTQkX975+yYSN2K0Y5prfXDuW9vn4l+SU8Q516N cwa1xRIIlov81Gcte0gho60= X-Google-Smtp-Source: APXvYqwf2Tm4YvVDqO+wkao4h2NJcep8SdMG+x3bb1bGOvD7ayysiVOvEQ5+N6MiG9QPlAqcVEWFTA== X-Received: by 2002:adf:ef8e:: with SMTP id d14mr30717233wro.81.1555019101751; Thu, 11 Apr 2019 14:45:01 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id a22sm5952961wmj.44.2019.04.11.14.45.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 14:45:00 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 3/4] arm64: dts: allwinner: h6: Enable SPDIF for Beelink GS1 Date: Thu, 11 Apr 2019 23:44:21 +0200 Message-Id: <20190411214422.2267-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411214422.2267-1-peron.clem@gmail.com> References: <20190411214422.2267-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-20190411_144505_013600_9F0A12B9 X-CRM114-Status: GOOD ( 12.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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 Beelink GS1 board has a SPDIF out connector, so enable it in the device-tree of the board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts index 0dc33c90dd60..76a95ad33dc5 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts @@ -243,6 +243,10 @@ vcc-pm-supply = <®_aldo1>; }; +&spdif { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>; From patchwork Thu Apr 11 21:44:22 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: 10896929 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 15FCC17EF for ; Thu, 11 Apr 2019 21:45:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3E82287DB for ; Thu, 11 Apr 2019 21:45:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4ACD288BE; Thu, 11 Apr 2019 21:45:32 +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 9DCC4287DB for ; Thu, 11 Apr 2019 21:45:32 +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=mj589LtNzTdf5EGQIGUI2RuyAiS+rDLzAQ7hNGzabSw=; b=slan7bj27+8Mik bTGtEmL1rx/zsg/817xAWGM1Zl9t8hgyE1ZHSaNzUA/Vo73sG7KVxyPfDSekHeqRACOM4TYvXYcWk SfiAu+2XvCsfauvt+yMAKqXPKIOjiDdZCvX+vKFqFxGNglvrkTh8yUOYewD/pEyT79zrCARMwLpia kvk53T7TThA+yazpypJ0phaEcBtGxFinUbNBjp/Iw1TkFyl71ddHiERVWA/U/YizSzar6EupQWW/x tPyGMnMQgHCRR9T4YOOTaPuo8CdNSVX7Al27CHCf1fWYrzFhH9UcDLQ98I9C/ObcIIqd+/bDksSUr yw98dqkCzr4qn0funuIw==; 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 1hEhVf-0007AU-9e; Thu, 11 Apr 2019 21:45:27 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEhVI-0005ht-8L for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2019 21:45:07 +0000 Received: by mail-wm1-x344.google.com with SMTP id c1so8585053wml.4 for ; Thu, 11 Apr 2019 14:45:04 -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=JVJVK0fp29mg3uKqbJ1q8hSd1H1wIjJMNf88P2gVgQM=; b=eLym+nFzMPEMBTGFUxknYwNUspxDzZykV9hXzVkOvQhnfIqALZMOLkWucFAWqSgiri fPU7+rUFijm7zUgVVYmidMrygjzh+PkhTBvYmyv70nWSBzXHZ77+WxHgh9+gipKnKXBJ ARBNXZr7eCwqcCAcSFUqyDGlcYWdRp2/CXVTr1RTiIpNxuDnif4EdnX3GGEqNR+uI1fi Tljc1h7aI48BnCa14/TMeNXr4XXzmEO4VeeV0wEfiPFdhxwsmFcAJfYnMDJTuxVRgMfL C5vZFQXNAxJV5CsLCH54GqGGSoU/cVgPpL2eU4p/toforWEJaFPoTBs3/iYU3m/kpOCY zZlg== 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=JVJVK0fp29mg3uKqbJ1q8hSd1H1wIjJMNf88P2gVgQM=; b=i+fC2VoVuzwrqN3k0GfiKuR3XvcMT7wmkhEkjkrQh4Uxd5I+mYtXfRqc4C7qTJuTSw a/uphqyK3icZEDfR/XNtOLvoZnmAoPBuONRFFGXZEI5MObdXg+RVwyiC4/2dWVogVnKX 6iO0FjGMwJVRc3SUgSvfXb0S+KEreaL7tr0b/J+VT3+QYOIZ5GCb1sPrRqco/hOyvZ1e xHNoQivi/n1Eb2pG1zCt0tmz/3+nQ05th1SZe1DRRomfLtODf5XQad2z6tuXnluDsEL4 ERHV3/CnK4Z4BYwFEhWuKTk2z9D7SLhOU7ubwYq6Mz2aoWxrVvKxxclrzvNjrF1/NO32 cjNQ== X-Gm-Message-State: APjAAAVyOtauaRBFks+DX00jOZIEZpqolrCco8XSvIjyGhATQNiP6wrH qD0sOxehuqoEuiMrzsjt7Rc= X-Google-Smtp-Source: APXvYqw1FfnLiu9yGxJABPKTeB77CeJRhU/gQkKVmtDIgPljWAD+qUTsp2BPgy/PT1sKmVHRyn+rBQ== X-Received: by 2002:a1c:4602:: with SMTP id t2mr8649183wma.120.1555019102854; Thu, 11 Apr 2019 14:45:02 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id a22sm5952961wmj.44.2019.04.11.14.45.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 14:45:02 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 4/4] arm64: defconfig: Enable Sun4i SPDIF module Date: Thu, 11 Apr 2019 23:44:22 +0200 Message-Id: <20190411214422.2267-5-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411214422.2267-1-peron.clem@gmail.com> References: <20190411214422.2267-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-20190411_144504_436744_6BE7B081 X-CRM114-Status: GOOD ( 11.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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 A64 and H6 use the Sun4i SPDIF driver. Enable this to allow a proper support for these SoCs. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2d9c39033c1a..423413768d79 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -531,6 +531,7 @@ CONFIG_SND_SOC_RK3399_GRU_SOUND=m CONFIG_SND_MESON_AXG_SOUND_CARD=m CONFIG_SND_SOC_SAMSUNG=y CONFIG_SND_SOC_RCAR=m +CONFIG_SND_SUN4I_SPDIF=m CONFIG_SND_SOC_AK4613=m CONFIG_SND_SOC_PCM3168A_I2C=m CONFIG_SND_SIMPLE_CARD=m