Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2384256pxx; Sat, 31 Oct 2020 19:08:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzmNMsXsn1BC3t0TXsVTT3mV7fj+DbKcIqwtGIRK3zY0xIRXHS8BXA2XKGHnimE35ojoJJ X-Received: by 2002:a50:d616:: with SMTP id x22mr10002116edi.221.1604196496508; Sat, 31 Oct 2020 19:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604196496; cv=none; d=google.com; s=arc-20160816; b=dUFEaXncWV5SA0Z5RaobHzUbmdni5QXSXvfSBU+mn36BwZbxEwe1rU1/mBelmTsGzi hUSqMgRzXNMscZBSpKcckQHR7nAfXbLob/YcSHSH8np9FhmhQEf2yLT5BF4w/AQco1hP rPH0CvOWwLdSkn3OhsjBDhueuP+qhzuc+bOmtU6gKdJcb5/Nuy8bA4wh5zVcugODyphC aY3lbesUZAEhjAqtB8NJ1xeYdhluQUt/XbZPaj3EUHd+gI3Ep5RLVpJB7dqmMBASpyS5 AQKbcAwzM11M3SduMXnd+lR3vp9b02IjPy2uDMQ2TZmQ8ffQHu1ymcczjbB8Pw/Diysn 0nhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PL2iqFp5oOUwIqW/8GC9zb+PWwHFrtZuQB91y93hT9c=; b=GmgP38So033vmFm20Vc80j9kOI/HE8HJdbrI9FrCPzHQZkI4HWWuEZ2KVcP4SRz/fo oRWuMfMsN4JJK1L2Luwee7TKMC4J8x974t30D4GR4pjf1sIFUYQ1VUUygoAmuQROGoW3 es3xJPrba7jjuFfYfCFeXJCF5cfp/K+doENEADvbt/Q8cehKI+8A4nHH+hHxCTN5GWZo XTOOC6hUYJewmPh3Pn4kH6kLMwUYojGz0OamjJZOvAfjmM459/r4GzB8sQ19zbXUPmuk bHXOAwlFXGcR7+rCzL7WHVQaAyu/NLz4ph75WUNw3IuDqGvwtysOZAS/tyekuxwXnyeF raWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NbTiqT2f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si6750369ejx.734.2020.10.31.19.07.53; Sat, 31 Oct 2020 19:08:16 -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; dkim=pass header.i=@kernel.org header.s=default header.b=NbTiqT2f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726555AbgKACDU (ORCPT + 99 others); Sat, 31 Oct 2020 22:03:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:34706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726395AbgKACDT (ORCPT ); Sat, 31 Oct 2020 22:03:19 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 089A822254; Sun, 1 Nov 2020 02:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604196199; bh=BEBcBlNDVhWIWQJqnvkgZFa8uAtL4iZ7Q2tdbA7H+/c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NbTiqT2f20acDczxbs3/mLYG/CwBvIsdUNES9JEjPqWbP4dTZ/uqC5KTE4BJeQ3SE nfzaH+u6/lyWdw1ib1JmhUvRUpFR11c/0hx/FEa5sHn7Pjgr1CLMceSCg1pcK0qa6+ 9soNK+24HUDdyjfjCEvloG5n0ZnBH5vCcmNL/4JU= Date: Sun, 1 Nov 2020 10:03:09 +0800 From: Shawn Guo To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, aford@beaconembedded.com, Rob Herring , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter Message-ID: <20201101020308.GC31601@dragon> References: <20201019174529.289499-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201019174529.289499-1-aford173@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 19, 2020 at 12:45:24PM -0500, Adam Ford wrote: > The driver exists for the Enhanced Asynchronous Sample Rate Converter > (EASRC) Controller, but there isn't a device tree entry for it. > > On the vendor kernel, they put this on a spba-bus for SDMA support. > > Add the the node for the spba-bus with the easrc node inside. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > index 746faf1cf2fb..7d34281332e1 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > @@ -246,6 +246,34 @@ aips1: bus@30000000 { > #size-cells = <1>; > ranges; > > + spba-bus@30000000 { spba: bus@30000000 > + compatible = "fsl,spba-bus", "simple-bus"; "fsl,spba-bus" is undocumented. Document it or drop it. > + #address-cells = <1>; > + #size-cells = <1>; > + reg = <0x30000000 0x100000>; > + ranges; > + > + easrc: easrc@300C0000 { > + compatible = "fsl,imx8mn-easrc"; > + reg = <0x300C0000 0x10000>; > + interrupts = ; > + clocks = <&clk IMX8MN_CLK_ASRC_ROOT>; > + clock-names = "mem"; > + dmas = <&sdma2 16 23 0> , <&sdma2 17 23 0>, > + <&sdma2 18 23 0> , <&sdma2 19 23 0>, > + <&sdma2 20 23 0> , <&sdma2 21 23 0>, > + <&sdma2 22 23 0> , <&sdma2 23 23 0>; > + dma-names = "ctx0_rx", "ctx0_tx", > + "ctx1_rx", "ctx1_tx", > + "ctx2_rx", "ctx2_tx", > + "ctx3_rx", "ctx3_tx"; > + fsl,easrc-ram-script-name = "imx/easrc/easrc-imx8mn.bin"; Undocumented property? Shawn > + fsl,asrc-rate = <8000>; > + fsl,asrc-width = <16>; > + status = "disabled"; > + }; > + }; > + > gpio1: gpio@30200000 { > compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio"; > reg = <0x30200000 0x10000>; > -- > 2.25.1 >