From patchwork Mon Mar 25 13:52:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10869231 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 DBA6F1575 for ; Mon, 25 Mar 2019 13:58:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3D7129323 for ; Mon, 25 Mar 2019 13:58:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B81C429325; Mon, 25 Mar 2019 13:58:23 +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 414E729323 for ; Mon, 25 Mar 2019 13:58:23 +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=2zwzSE+RiaI+3bodDzy/Yo6GmfcaAjtjYh77Fqxu5ak=; b=kFQC/Vo2FPQXXJ jPdYRYO8Dn5Z5CBGwNDHGjztHO6ty5Vz8b+CYwrkR4TWUv88eA+PDcWjThTobEt3DW6S9V+s6POF6 /ywDaK/4WJRFiqSeWxGiKCYYzDcXRy3kcTIqroaRkUJlCaPgoclTsb2L9acjnbSHnM28luEH4UelJ MH+CeLOZB2euDaOqccbipoorddxjzCUW6w/ijHfejKeRS9yHshXd2Md/zN6IOT5iw7vJdudHZhxsL ssdV/KQJAjR/0HrGWYwzayTjgbGMIMs4cxK9bwgQZEfED801g6Wg0zvUybGKZszQPi/+IJrz03IuQ rphjseO9Ko5yeM29CIMA==; 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 1h8Q7J-0004fC-DX; Mon, 25 Mar 2019 13:58:21 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8Q30-00073y-CV for linux-arm-kernel@bombadil.infradead.org; Mon, 25 Mar 2019 13:53:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=zua/YFCTrA6gj2oroebFnIwm6+55WD+ljORdCaD3SMU=; b=QRRGXPuh9r7ZXVbrnXdmj5pf+5 PJij9oXA188qnXWSYD7xOxslWDVQ5TNW+XQeSbrTN1J3NcJyXU4vWzfjzsnOrcsJMN/NurLWpmY19 1q7rE/AGECFpS5nP9K9yIfcFh9eUSUE7EyMmAzwpJG1TlgWbV64MTuYrd3iz1IjZ3mWnVnQrmlxbn 4xUqCw+6UM0r9e/Lz2XZelWH7/GoV21Y53pXMXW8MKwhxvh6I7rDhSgGJFXK98BWEyTgBTmsQREJj 5q6cEzg3x4QH8vKDqGE4RHzuDXTYCCkN05xfA19AVkAP/fIqhVnJExQvtQnGzpJaSzjkVcOmyf3FQ hB1IO55w==; Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8Q2x-0004yI-1h for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2019 13:53:52 +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 relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 4D4F31BF20D; Mon, 25 Mar 2019 13:53:23 +0000 (UTC) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 24/28] ARM: dts: sun8i: a83t: Fix the SPDIF binding Date: Mon, 25 Mar 2019 14:52:56 +0100 Message-Id: <20190325135300.6440-24-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_095351_245207_E94E896C X-CRM114-Status: GOOD ( 11.38 ) 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 Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 883f039e9e71..09e7f74ab5f5 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -794,8 +794,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";