Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Vladimir Zapolskiy <vz@mleia.com>
To: Frank Li <Frank.li@nxp.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>,
	"moderated list:ARM/LPC32XX SOC SUPPORT"
	<linux-arm-kernel@lists.infradead.org>,
	open list <linux-kernel@vger.kernel.org>,
	imx@lists.linux.dev
Subject: Re: [PATCH 1/5] ARM: dts: lpc32xx: add bus surfix for simple-bus
Date: Fri, 14 Nov 2025 18:44:03 +0200	[thread overview]
Message-ID: <03494fa4-26e6-4691-8fa6-5bd99c2c25a1@mleia.com> (raw)
In-Reply-To: <aRdWoQ/vPplF0aQA@lizhi-Precision-Tower-5810>

On 11/14/25 18:19, Frank Li wrote:
> On Fri, Nov 14, 2025 at 01:55:50AM +0200, Vladimir Zapolskiy wrote:
>> Hi Frank.
>>
>> On 10/29/25 22:27, Frank Li wrote:
>>> add bus surfix for simple-bus to fix below CHECK_DTBS warnings:
>>
>> typo in the subject and in the commit message above, s/surfix/suffix/
>>
>>> arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: usb (simple-bus): $nodename:0: 'usb' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
>>>           from schema $id: http://devicetree.org/schemas/simple-bus.yaml#
>>>
>>> Signed-off-by: Frank Li <Frank.Li@nxp.com>
>>> ---
>>>    arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 6 +++---
>>>    1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi b/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
>>> index 2236901a00313..9790b0a1d6537 100644
>>> --- a/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
>>> +++ b/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
>>> @@ -86,7 +86,7 @@ dma: dma-controller@31000000 {
>>>    			#dma-cells = <2>;
>>>    		};
>>> -		usb {
>>> +		usb-bus {
>>
>> Device nodes under "usb" should be just elevated, the "simple-bus" here
>> was used only to group some controllers together.
>>
>>>    			#address-cells = <1>;
>>>    			#size-cells = <1>;
>>>    			compatible = "simple-bus";
>>> @@ -307,14 +307,14 @@ mpwm: pwm@400e8000 {
>>>    			};
>>>    		};
>>> -		fab {
>>> +		fab-bus {
>>
>> FAB shall find its place in the AXI/AHB/APB/... list, isn't it?
> 
> what's FAB means? It is too short and hard to find exact information
> from google?

You may find UM10326 "LPC32x0 and LPC32x0/01 User manual" document online,
LPC32xx is an old and simple SoC.

FAB stands for Fast Access Bus, it's a bus behind AHB to FAB bridge, you
may get an overview from "Fig 3. LPC32x0 block diagram, AHB matrix view",
and "Table 4. Peripheral devices on the LPC32x0" lists all FAB peripherals.

So, FAB is very similar to APB functionally, could it be just another
name of APB?.. Likely we won't know for sure.

I'd suggest to send a change, which adds "fab" to the list of permitted
device tree node names with a "simple-bus" compatible. Or let me know,
and I'll do it myself whenever I find a minute for it...

>>>    			#address-cells = <1>;
>>>    			#size-cells = <1>;
>>>    			compatible = "simple-bus";
>>>    			ranges = <0x20000000 0x20000000 0x30000000>;
>>>    			/* System Control Block */
>>> -			scb {
>>> +			scb-bus {
>>>    				compatible = "simple-bus";
>>>    				ranges = <0x0 0x40004000 0x00001000>;
>>>    				#address-cells = <1>;
>>
>> Here "simple-bus" is also unjustified...

-- 
Best wishes,
Vladimir


  reply	other threads:[~2025-11-14 16:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-29 20:27 [PATCH 1/5] ARM: dts: lpc32xx: add bus surfix for simple-bus Frank Li
2025-10-29 20:27 ` [PATCH 2/5] ARM: dts: lpc32xx: add sspclk clock for SPI[0,1] Frank Li
2025-11-13 23:12   ` Vladimir Zapolskiy
2025-10-29 20:27 ` [PATCH 3/5] ARM: dts: lpc3250-ea3250: add key- prefix for gpio-keys Frank Li
2025-11-14  0:02   ` Vladimir Zapolskiy
2025-10-29 20:28 ` [PATCH 4/5] ARM: dts: lpc3250-phy3250: add at25 required properties Frank Li
2025-11-13 23:47   ` Vladimir Zapolskiy
2025-11-14 16:14     ` Frank Li
2025-11-14 16:32       ` Vladimir Zapolskiy
2025-10-29 20:28 ` [PATCH 5/5] ARM: dts: lpc32xx: update #address-cells of arm,pl175 to 2 Frank Li
2025-11-13 23:44   ` Vladimir Zapolskiy
2025-11-13 23:55 ` [PATCH 1/5] ARM: dts: lpc32xx: add bus surfix for simple-bus Vladimir Zapolskiy
2025-11-14 16:19   ` Frank Li
2025-11-14 16:44     ` Vladimir Zapolskiy [this message]
2025-11-14 16:56       ` Frank Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03494fa4-26e6-4691-8fa6-5bd99c2c25a1@mleia.com \
    --to=vz@mleia.com \
    --cc=Frank.li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=piotr.wojtaszczyk@timesys.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox