lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aLqjK0FYSkXtBvv5@apocalypse>
Date: Fri, 5 Sep 2025 10:45:31 +0200
From: Andrea della Porta <andrea.porta@...e.com>
To: Stanimir Varbanov <svarbanov@...e.de>
Cc: Andrea della Porta <andrea.porta@...e.com>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>,
	Florian Fainelli <florian.fainelli@...adcom.com>,
	Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
	devicetree@...r.kernel.org, linux-rpi-kernel@...ts.infradead.org,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	iivanov@...e.de, mbrugger@...e.com,
	Jonathan Bell <jonathan@...pberrypi.com>,
	Phil Elwell <phil@...pberrypi.com>
Subject: Re: [PATCH 1/2] arm64: dts: broadcom: rp1: Add USB nodes

Hi Stanimir,

On 13:46 Thu 04 Sep     , Stanimir Varbanov wrote:
> Hi Andrea,
> 
> Thank you for the patch!
> 
> On 8/28/25 4:50 PM, Andrea della Porta wrote:
> > The RaspberryPi 5 has RP1 chipset containing two USB host controller,
> > while presenting two USB 2.0 and two USB 3.0 ports to the outside.
> > 
> > Add the relevant USB nodes to the devicetree.
> > 
> > Signed-off-by: Andrea della Porta <andrea.porta@...e.com>
> > ---
> >  arch/arm64/boot/dts/broadcom/rp1-common.dtsi | 28 ++++++++++++++++++++
> >  1 file changed, 28 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/broadcom/rp1-common.dtsi b/arch/arm64/boot/dts/broadcom/rp1-common.dtsi
> > index 5002a375eb0b..116617fcb1eb 100644
> > --- a/arch/arm64/boot/dts/broadcom/rp1-common.dtsi
> > +++ b/arch/arm64/boot/dts/broadcom/rp1-common.dtsi
> > @@ -39,4 +39,32 @@ rp1_gpio: pinctrl@...d0000 {
> >  			     <1 IRQ_TYPE_LEVEL_HIGH>,
> >  			     <2 IRQ_TYPE_LEVEL_HIGH>;
> >  	};
> > +
> > +	rp1_usb0: usb@...00000 {
> > +		reg = <0x00 0x40200000  0x0 0x100000>;
> > +		compatible = "snps,dwc3";
> > +		dr_mode = "host";
> > +		interrupts = <31 IRQ_TYPE_EDGE_RISING>;
> > +		usb3-lpm-capable;
> > +		snps,dis_rxdet_inp3_quirk;
> > +		snps,parkmode-disable-ss-quirk;
> > +		snps,parkmode-disable-hs-quirk;
> > +		snps,tx-max-burst = /bits/ 8 <8>;
> > +		snps,tx-thr-num-pkt = /bits/ 8 <2>;
> > +		status = "disabled";
> > +	};
> > +
> 
> I'd order the generic properties first and then vendor specific.
> Something like this:
> 
> rp1_usb0: usb@...00000 {
> 	compatible = "snps,dwc3";
> 	reg = <0x00 0x40200000 0x0 0x100000>;
> 	interrupts = <31 IRQ_TYPE_EDGE_RISING>;
> 	dr_mode = "host";
>         ....
> }

Ack.

Many thanks,
Andrea

> 
> > +	rp1_usb1: usb@...00000 {
> > +		reg = <0x00 0x40300000  0x0 0x100000>;
> > +		compatible = "snps,dwc3";
> > +		dr_mode = "host";
> > +		interrupts = <36 IRQ_TYPE_EDGE_RISING>;
> > +		usb3-lpm-capable;
> > +		snps,dis_rxdet_inp3_quirk;
> > +		snps,parkmode-disable-ss-quirk;
> > +		snps,parkmode-disable-hs-quirk;
> > +		snps,tx-max-burst = /bits/ 8 <8>;
> > +		snps,tx-thr-num-pkt = /bits/ 8 <2>;
> > +		status = "disabled";
> > +	};
> >  };
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ