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] [day] [month] [year] [list]
Date:   Fri, 18 Nov 2022 17:13:22 +0100
From:   Frank Wunderlich <frank-w@...lic-files.de>
To:     Chunfeng Yun (云春峰) 
        <Chunfeng.Yun@...iatek.com>
Cc:     "linux-mediatek@...ts.infradead.org" 
        <linux-mediatek@...ts.infradead.org>,
        "linux@...web.de" <linux@...web.de>,
        "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "robh+dt@...nel.org" <robh+dt@...nel.org>,
        "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
        Sam Shih (史碩三) 
        <Sam.Shih@...iatek.com>, "kishon@...com" <kishon@...com>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        "lorenzo@...nel.org" <lorenzo@...nel.org>,
        "pabeni@...hat.com" <pabeni@...hat.com>,
        Jianjun Wang (王建军) 
        <Jianjun.Wang@...iatek.com>,
        "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
        "krzysztof.kozlowski+dt@...aro.org" 
        <krzysztof.kozlowski+dt@...aro.org>,
        "vkoul@...nel.org" <vkoul@...nel.org>,
        "bhelgaas@...gle.com" <bhelgaas@...gle.com>,
        "matthias.bgg@...il.com" <matthias.bgg@...il.com>,
        "linux-phy@...ts.infradead.org" <linux-phy@...ts.infradead.org>,
        Ryder Lee <Ryder.Lee@...iatek.com>,
        Bo Jiao (焦波) <Bo.Jiao@...iatek.com>,
        "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>
Subject: Aw: Re: [PATCH v5 07/11] arm64: dts: mt7986: add usb related device
 nodes

Hi

> Gesendet: Freitag, 18. November 2022 um 07:43 Uhr
> Von: "Chunfeng Yun (云春峰)" <Chunfeng.Yun@...iatek.com>
> On Thu, 2022-11-17 at 17:27 +0100, Frank Wunderlich wrote:
> > From: Sam Shih <sam.shih@...iatek.com>
> > 
> > This patch adds USB support for MT7986.
> > 
> > Signed-off-by: Sam Shih <sam.shih@...iatek.com>
> > Signed-off-by: Frank Wunderlich <frank-w@...lic-files.de>
> > ---
> > changes compared to sams original version:
> > - reorder xhci-clocks based on yaml binding
> > 
> > v5:
> >  - update ranges/reg of usb-phy
> >  - not added RB from AngeloGioacchino for v4 because of these changes

> > diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> > b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> > index 006878e3f2b2..2b5d7ea31b4d 100644
> > --- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> > +++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> > @@ -23,6 +23,24 @@ memory@...00000 {
> >  		device_type = "memory";
> >  		reg = <0 0x40000000 0 0x40000000>;
> >  	};
> > +
> > +	reg_3p3v: regulator-3p3v {
> > +		compatible = "regulator-fixed";
> > +		regulator-name = "fixed-3.3V";
> > +		regulator-min-microvolt = <3300000>;
> > +		regulator-max-microvolt = <3300000>;
> > +		regulator-boot-on;
> > +		regulator-always-on;
> > +	};
> > +
> > +	reg_5v: regulator-5v {
> > +		compatible = "regulator-fixed";
> > +		regulator-name = "fixed-5V";
> > +		regulator-min-microvolt = <5000000>;
> > +		regulator-max-microvolt = <5000000>;
> > +		regulator-boot-on;
> > +		regulator-always-on;
> > +	};
> >  };
> Usually if we use a gpio to control a switch to turn on/off power, we
> model it as a fixed regulator, but here no gpio provided in reg_3p3v
> and reg_5v, if no gpio used, no need these two fixed regulators too.

i can drop 5v regulator, but 3v3 is used by emmc, so i would move that to the mmc-patch

> >  
> >  &crypto {
> > @@ -140,6 +158,12 @@ &spi1 {
> >  	status = "okay";
> >  };
> >  
> > +&ssusb {
> > +	vusb33-supply = <&reg_3p3v>;
> > +	vbus-supply = <&reg_5v>;
> These two supply can be removed if no swith to control them, they are
> optional.

ok, i drop the references.

anything else ok?

prepared patch here (now yet squashed):
https://github.com/frank-w/BPI-R2-4.14/commits/6.1-r3dts

regards Frank

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ