Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9907985pxu; Tue, 29 Dec 2020 08:14:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDUi6RJMjBQHoL8/1gQKUw6PvJ6hpPRRclvyXaP6rblme8/g7vkIEiCzB4jgvonNg0B05e X-Received: by 2002:a17:907:d09:: with SMTP id gn9mr45228290ejc.349.1609258441845; Tue, 29 Dec 2020 08:14:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609258441; cv=none; d=google.com; s=arc-20160816; b=0iz6pk4MS8rizAfKxc0u9bYKwYw7cL/57olxrIKLTQZQ89TARILl71hBiXNJKSKTYX 8LLegMNLxb+w2gaiLCdSJE4xhtQhMWeG6agy3c7nlWtTzx6zGz2fpd7g1SLkJyMBy7im AlxPONyiiFm86HHjjb5bIFqhakLaZvRzy4WloZ7akV3sKURHeUhL4cdsL0ke1WPW74kg s5JY3YOh/K0kF7chgWdKEoeMJrTkhFbHk1FDA3oqNeAtVMm3zkCW/WWmr9zbyo36PgLZ fSkp2g/NKjzAEviPjduGUwXJbc7usj/sdKG/044ZBQkBfhU7tUf2Njz2zADLyi1StLC0 LQpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+YkJE2LcLSD3EE6sqVw1hwvBfVG/re4CMN303q9UJPI=; b=TeO0g8scDuiJcc8MBwd/yvzgy4WU+61+QIJGun3zVrKjbO729gnyqJw0hupKxP8LMQ /sd7NBccrtOhcNWVgrW4++LF3QDYGtFE5okmvJ9Sbwyu8PVwNOLDMxsHMqEySq2IrxFg 2v2KxdFuhiWRSasq6kayhmr5MAeNLVDHduEUc/uzLFgMpTL7nvqRjyUUg3v4rpxardjM PgC51hdlkx3bwl8fLhlfKdEJmTOdiWr4C60IxeJ+klCC2tTBzctn/20lvffjwlMr/r93 HrhTs0oCyIAX/2+XoguKv2Dqi6miRZj1Rm+iDOKPYVaWAxZhB46EtUiAdSVh5eoRTzv0 ObWg== 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; 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 d16si15551454ejz.96.2020.12.29.08.13.39; Tue, 29 Dec 2020 08:14:01 -0800 (PST) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726276AbgL2QNF (ORCPT + 99 others); Tue, 29 Dec 2020 11:13:05 -0500 Received: from mail-ej1-f53.google.com ([209.85.218.53]:39521 "EHLO mail-ej1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbgL2QNE (ORCPT ); Tue, 29 Dec 2020 11:13:04 -0500 Received: by mail-ej1-f53.google.com with SMTP id n26so18710906eju.6; Tue, 29 Dec 2020 08:12:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=+YkJE2LcLSD3EE6sqVw1hwvBfVG/re4CMN303q9UJPI=; b=Zcvj2OmH8H8t4/GN4APKNJSLkiqSOHlWgv0qvnbKcf0YN9iwuGiW1eSYio4q1JqOHQ LNIdJqDPn4rFXLOCWDAx/5Bii0jLEsS0eszvCaXLHNuNEQtRkMdetpjOLzx5bztpLGJG rIBl5Ed29+z5ZFFW3IYlK7HvNQFRuF1Bh006CJayYDohW+fiYvOy381gdYqa1zIUYjBZ OOScLou+m13bFAmZP7bq1QupCZf5iYW+PM5Ely/DLLfmjvCdCvhgwCSXZbSr3XXGyEG3 KqB5e35c6+eIjZNii+0V5t03UKTInEvIgrxLpqmx67wlu4zP+zwJo19rwdBjOxkyjDxB lvbA== X-Gm-Message-State: AOAM532kDMRXnX+jdL6BowRrvTdabC+yfhkd1FRCrznfheVFVbQvg38W q54V8zMnInkAznTq41uAZLs= X-Received: by 2002:a17:906:9345:: with SMTP id p5mr45349274ejw.40.1609258343104; Tue, 29 Dec 2020 08:12:23 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id f11sm38247122edy.59.2020.12.29.08.12.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 08:12:22 -0800 (PST) Date: Tue, 29 Dec 2020 17:12:20 +0100 From: Krzysztof Kozlowski To: Adam Ford Cc: Peng Fan , Shawn Guo , Sascha Hauer , Fabio Estevam , Rob Herring , devicetree , Linux Kernel Mailing List , NXP Linux Team , Sascha Hauer , arm-soc Subject: Re: [PATCH 2/4] arm64: dts: imx8mn: add spba bus node Message-ID: <20201229161220.GA17229@kozik-lap> References: <1609243245-9671-1-git-send-email-peng.fan@nxp.com> <1609243245-9671-3-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 29, 2020 at 06:26:41AM -0600, Adam Ford wrote: > On Tue, Dec 29, 2020 at 6:15 AM wrote: > > > > From: Peng Fan > > > > According to RM, there is a spba bus inside aips3 and aips1, add it. > > > > Signed-off-by: Peng Fan > > --- > > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 362 +++++++++++----------- > > 1 file changed, 189 insertions(+), 173 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > > index c824f2615fe8..91f85b8cee9a 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > > @@ -269,117 +269,125 @@ aips1: bus@30000000 { > > #size-cells = <1>; > > ranges = <0x30000000 0x30000000 0x400000>; > > > > - sai1: sai@30010000 { > > - #sound-dai-cells = <0>; > > - compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; > > - reg = <0x30010000 0x10000>; > > - interrupts = ; > > - clocks = <&clk IMX8MM_CLK_SAI1_IPG>, > > - <&clk IMX8MM_CLK_SAI1_ROOT>, > > - <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; > > - clock-names = "bus", "mclk1", "mclk2", "mclk3"; > > - dmas = <&sdma2 0 2 0>, <&sdma2 1 2 0>; > > - dma-names = "rx", "tx"; > > - status = "disabled"; > > - }; > > + bus@30000000 { > > There is already a bus@30000000 (aips1), and I think the system > doesn't like it when there are multiple busses with the same name. > > There was some discussion on fixing the 8mn [1], but it doesn't look > like it went anywhere. > > I am guessing the Mini will need something similar to the nano. > > [1] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/1607324004-12960-1-git-send-email-shengjiu.wang@nxp.com/ Several replies from S.j. Wang are missing from LKML (and maybe patchwork?) but we reached a conclusion: https://lore.kernel.org/linux-arm-kernel/20201208090601.GA8347@kozik-lap/ Either you do some remapping of address space or just rename the "bus" nodes (e.g. generic bus-1 or a specific spba-bus). Best regards, Krzysztof