From patchwork Mon Mar 25 13:52:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10869227 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 021FD1390 for ; Mon, 25 Mar 2019 13:58:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEB8F29323 for ; Mon, 25 Mar 2019 13:58:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1F3329325; Mon, 25 Mar 2019 13:58:07 +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 86F9E29323 for ; Mon, 25 Mar 2019 13:58:07 +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=gb1ZJLPuPm13sSUZEnyTJTZUBR1uWPhPgpEQ15iZBTE=; b=MdLERqkaO3sVhs j7gJYl7kjzkvF9M0h045HfopRlQJLhzNU1CCihtzIraRnq9MVeT8iVCIahR22Gn0E/Ag2LgnGOcap DKKej7uTZWhP4Cl8NUTHltMy+h4YhhOmHcEtbSvym6VetGIhpeh0RIyhy91Nh0WBHcBlLUEo5SSAV oITdV8TkomdGtp6OSmIMnQr6G/4OC+8fDaHzDa0qqi/LXI9Ew5y8fRP+crClnK8BYWk+pCXyL+e3S XLiEOVmxL2p5NfwkxfiXoqaVV9Yo8Xe9YTu2uF3hcGvvwzpHek78iYIiXmbfX29QSL48JHQC4d92g 8sjzjJYvhhPohm0AG6eA==; 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 1h8Q6x-00049V-5S; Mon, 25 Mar 2019 13:57:59 +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 1h8Q2z-00072o-Pw for linux-arm-kernel@bombadil.infradead.org; Mon, 25 Mar 2019 13:53:53 +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=kcR7y+47JyUFeWu5ULQEFlymSnXGl95SisAryDpuPlQ=; b=CXcKMHFoheDdxixLgW4zqBOeMp f082brciApp3PnG6wcCGnEYzIcEuCzCFVvrXhW6HuD1gD0IJgDtNOOECWn4EfO9Y4HpqX5zY2TzWF e6NfyeMulHdXYSBEJ4lEMgI3RftOuT25CIfYyymN2t8RATfKIxe3h1yQ+h1GEyYT3sqDSzsKspVw3 fwNhFMaF1yGt1pZnEcye907pPRpw/zwRdp+Tt13OlCzT5KGuej+OzIxEHma1s82tHOVig78tI6hdL sn/WyYF+9XSwqrZJsGSDToI7T7ap/9YHzuUtAb1Y4df4GqtIkHQh1Vm+TCLFgXbfINQu+ahAKRWsI Ktm2qtUg==; Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8Q2v-0004yE-0r 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 relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 0EB9A20008; Mon, 25 Mar 2019 13:53:23 +0000 (UTC) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 25/28] ARM: dts: sun8i: h3: Fix the SPDIF binding Date: Mon, 25 Mar 2019 14:52:57 +0100 Message-Id: <20190325135300.6440-25-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_095349_209163_080DF898 X-CRM114-Status: GOOD ( 11.78 ) 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/arm/boot/dts/sunxi-h3-h5.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index 3b18fd71efc1..c0cbf386331a 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -590,8 +590,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"; status = "disabled"; };