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:   Wed, 11 Sep 2019 08:06:17 +0000
From:   James Tai[戴志峰] <james.tai@...ltek.com>
To:     Arnd Bergmann <arnd@...db.de>,
        "jamestai.sky@...il.com" <jamestai.sky@...il.com>
CC:     DTML <devicetree@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Rob Herring <robh+dt@...nel.org>,
        "Mark Rutland" <mark.rutland@....com>,
        CY_Huang[黃鉦晏] <cy.huang@...ltek.com>,
        Phinex Hung <phinex@...ltek.com>
Subject: RE: [PATCH] ARM: dts: realtek: Add support for Realtek RTD16XX evaluation board

> Subject: Re: [PATCH] ARM: dts: realtek: Add support for Realtek RTD16XX
> evaluation board
> 
> On Thu, Sep 5, 2019 at 10:10 AM <jamestai.sky@...il.com> wrote:
> 
> > +
> > +/ {
> > +       model= "Realtek Mjolnir Evaluation Board";
> > +       model_hex= <0x00000653>;
> 
> The 'mode_hex' property is rather unusual, please drop that for now.

I will remove the 'mode_hex' property in new version patch.

> 
> > +       chosen {
> > +               bootargs = "console=ttyS0,115200 earlycon";
> > +       };
> > +
> > +       memory@0 {
> > +               device_type = "memory";
> > +               reg = <0x0 0x0 0x0 0x80000000>;
> > +       };
> > +
> > +       uart0: serial0@...07800 {
> > +               compatible = "snps,dw-apb-uart";
> > +               reg = <0x0 0x98007800 0x0 0x400>,
> > +                       <0x0 0x98007000 0x0 0x100>;
> > +               reg-shift = <2>;
> > +               reg-io-width = <4>;
> > +               interrupts = <0 68 4>;
> > +               clock-frequency = <27000000>;
> > +               status = "okay";
> > +       };
> 
> This looks like an on-chip uart. Please move that into rtd16xx.dtsi instead, and
> just mark it as 'status="disabled"' there if there are multiple uarts (and add the
> other ones as well), then enable it for the board here.

Yes. It is on-chip uart.
I will move uart0 into 'rtd16xx.dtsi' and mark it as 'status="disabled" '.

> There should also be an 'aliases'. You normally also want to add

I will add aliases in new version patch.

> aliases {
>         serial0 = &uart0;
> };
> 
> chosen {
>        stdout-path= "serial0:115200n8"
> };
> 
> in the board file to make earlycon work right.

OK, I understand.

>       Arnd
> 
> ------Please consider the environment before printing this e-mail.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ