From patchwork Mon Mar 25 13:52:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10869277 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 B7D801575 for ; Mon, 25 Mar 2019 14:09:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CBF128802 for ; Mon, 25 Mar 2019 14:09:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F6DD28FC2; Mon, 25 Mar 2019 14:09:51 +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_SIGNED, DKIM_VALID,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 18B5C28802 for ; Mon, 25 Mar 2019 14:09:51 +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=klpKYfX5X796vr3s1JRl3vBaVgAijLdXyzwOYSiYdhA=; b=KOoIXeWWLE+SaG KOlXQJ0KATyhiLKX/6gelKHw1SMszDbTm6nTLoP8zsR/rEtICyHZqONCfls42z04nG5IhtgfFC9M4 bRxMg9LY5APO85ixLVCb1bULj2dgvOhXFB2o+us6PRn2XVI9XfKkBfMk5c6GSIFE1sYST4UOL5jXM U3kr4gz80OsHQlYa+kmQJTFd2sDzewZWLI4OOtnU9GW2DQBHcibD8Em1OYcLI6nJVl4+JNAo6xQVD VXjRO4jk/G4RT1FoI+qDw/rUv3e4navyOxWsH3pNcm+7vVs+VYJ47m0dIUTCg7RdDaxY9qHj+ogD3 xnHY+C0wIfuSEtc5Vzcg==; 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 1h8QIH-0002Dg-9b; Mon, 25 Mar 2019 14:09:41 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8QIA-0001wY-BD for linux-arm-kernel@bombadil.infradead.org; Mon, 25 Mar 2019 14:09:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=aSvmGu4FxNAhT8R0s8+BznxYE5QuOMuESuPYz5zxCtY=; b=uzodomROQHeKkK+urI3V8g8DRR 7uGNmHK7EcDwhnmrSqQIu4vrINwMLTKJqDQhZV1bvxi5nGmQXsIqJ7YAoFLahnzWKSjMugPxQPuim kP5VnaZMLjR3tKtfV21X42So9FIHjX7ea/fU1PZ6qvWJGoLoOm2+zAQyvcxgeaRSrJTpWptrVWOwM 6m1bsA1eKhKMJ5nBboo5ESTmJm/mhcDHWuTN9+PpzFubFdkdZaKYLA68Mk4o9TFAr6HHLfHJC7B5p eadWWGGlcfRY4dQsthK5xdPv1MT1o/PW7OGpqkttv8T5gHCVNWfBE2yS7dC0BYHpx7XT+fUxRE75Y JoKsFpeQ==; Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8Q2t-0000Xe-JQ for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2019 13:53:50 +0000 X-Originating-IP: 90.88.33.153 Received: from localhost (aaubervilliers-681-1-92-153.w90-88.abo.wanadoo.fr [90.88.33.153]) (Authenticated sender: maxime.ripard@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 64AD01C0012; Mon, 25 Mar 2019 13:53:26 +0000 (UTC) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 26/28] arm64: dts: allwinner: a64: Fix the SPDIF binding Date: Mon, 25 Mar 2019 14:52:58 +0100 Message-Id: <20190325135300.6440-26-maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190325135300.6440-1-maxime.ripard@bootlin.com> References: <20190325135300.6440-1-maxime.ripard@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_135347_722892_A7931225 X-CRM114-Status: GOOD ( 13.05 ) 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: 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 SPDIF binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one. This has gone un-noticed since the driver only has support for transmission currently. Signed-off-by: Maxime Ripard --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 9514dc170970..ec7f27f617fd 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -719,8 +719,8 @@ clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>; resets = <&ccu RST_BUS_SPDIF>; clock-names = "apb", "spdif"; - dmas = <&dma 2>; - dma-names = "tx"; + dmas = <&dma 2>, <&dma 2>; + dma-names = "rx", "tx"; pinctrl-names = "default"; pinctrl-0 = <&spdif_tx_pin>; status = "disabled";