Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1347113ybk; Thu, 21 May 2020 04:51:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfQWjYouWklvFKMp8kCLW9f6wwTPony1nHIhW9mexBUBwFwcioHsazTSeiHowdTrvx6V+4 X-Received: by 2002:a17:906:7717:: with SMTP id q23mr3106441ejm.38.1590061862734; Thu, 21 May 2020 04:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590061862; cv=none; d=google.com; s=arc-20160816; b=PLkUvxD7qWtvnRvXeIdlNJe2qdz48e8X7Ky1YUJGeGt/4fCkTOkFee5KJ9OGb2+R6c Kl1QpIaSJWz7Ng5fXAgPu4AxYeNGxPUvodeBC8AGd3WDOcmIe2mZWiJhOpHcxwj6CnqR ORjW8WN7vx2pBZrYinJAVMJ9GQYzNBP3IKKiIS9MMnuzkwphCNZzeV7zBdurc3Bi36Wd Fq9j4MuWhqAOvpMSUpGOEQKcfABLegGYvfP7eaYMHQDl+boY9fQF6T+yLKNY068ZyaWH NYisP1ekQb1D9e09XZ/ZoRLpi+vqjVbRxCJb4i/Pjnprm32zC4upEd2mFu6X/cxv3UG6 rSVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=r7XtJKJL7RTrftegarFNfuyg+W3vDGGfP6kwpmKox6A=; b=h2Rqe2LeVfSoifp+51A6CNP3uKHCxVS+u8YZdSBR8OhMk2cHkctMOm8JDV3+k+2tI3 zE6ekorO0CkcAl7So9PVC5RiB0wcsdZAjCSQ8ufYMBQmV1fGV0IbvrKkViYyWBYzdUat f4pJgyPnmYwp6pgKq98RpWPm0f+P4IdyJCuiQ4yPFwrHo8T7IRzXzXrmlnTpxRiTFwUx KfiJchZSeAWzJ5bT5VHwuoQX+NTXOUhp5cOHHycYokJy8BZRpCGC8mDi4uFkEMF2Enr9 F5U1vOgVopZXl4H/Bgetg4h+hxsXb/WYTGoRXha8l65fEI7+LsSK35sRxf0suwWVukZa H3aA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si3210628edl.83.2020.05.21.04.50.38; Thu, 21 May 2020 04:51:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729080AbgEULst (ORCPT + 99 others); Thu, 21 May 2020 07:48:49 -0400 Received: from foss.arm.com ([217.140.110.172]:45072 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729002AbgEULst (ORCPT ); Thu, 21 May 2020 07:48:49 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A938E30E; Thu, 21 May 2020 04:48:48 -0700 (PDT) Received: from [10.57.0.164] (unknown [10.57.0.164]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6C46A3F52E; Thu, 21 May 2020 04:48:47 -0700 (PDT) Subject: Re: [RFC PATCH] arm64: dts: rockchip: fix dmas dma-names for rk3308 i2s node To: Johan Jonker , heiko@sntech.de Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org References: <20200520064816.3954-1-jbx6244@gmail.com> From: Robin Murphy Message-ID: <543270ad-dd11-2bd4-8959-e898834c19e5@arm.com> Date: Thu, 21 May 2020 12:48:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200520064816.3954-1-jbx6244@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-05-20 07:48, Johan Jonker wrote: > One of the current rk3308 'i2s' nodes has a different dma layout > with only 1 item. Table 9-2 DMAC1 Request Mapping Table shows that > there 2 dma sources available, so fix the dmas and dma-names > for the rk3308 'i2s' node. > > 10 I2S/PCM_2CH_1 tx High level > 11 I2S/PCM_2CH_1 rx High level ...however table 1-5 in the same manual (at least that I could find) says request 10 is reserved. Does that mean it was intended to be wired up for this, but ended up broken for some reason? Do you have hardware to confirm whether this works reliably or not? Robin. > Signed-off-by: Johan Jonker > --- > arch/arm64/boot/dts/rockchip/rk3308.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi > index ac7f69407..79c1dd1fe 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi > @@ -564,8 +564,8 @@ > interrupts = ; > clocks = <&cru SCLK_I2S1_2CH>, <&cru HCLK_I2S1_2CH>; > clock-names = "i2s_clk", "i2s_hclk"; > - dmas = <&dmac1 11>; > - dma-names = "rx"; > + dmas = <&dmac1 10>, <&dmac1 11>; > + dma-names = "tx", "rx"; > resets = <&cru SRST_I2S1_2CH_M>, <&cru SRST_I2S1_2CH_H>; > reset-names = "reset-m", "reset-h"; > status = "disabled"; >