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]
Message-ID: <CAByghJaLgY9tStud7_JRoOF4s9fPtzn=mQu=6zvSSO4W4UF6Dw@mail.gmail.com>
Date:   Wed, 12 Jun 2019 17:29:26 +0300
From:   Igor Opaniuk <igor.opaniuk@...il.com>
To:     Shawn Guo <shawnguo@...nel.org>
Cc:     Stefan Agner <stefan@...er.ch>, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Linux ARM <linux-arm-kernel@...ts.infradead.org>,
        robh+dt@...nel.org, mark.rutland@....com, s.hauer@...gutronix.de,
        kernel@...gutronix.de, Fabio Estevam <festevam@...il.com>,
        linux-imx@....com, Marcel Ziswiler <marcel@...wiler.com>,
        Marcel Ziswiler <marcel.ziswiler@...adex.com>
Subject: Re: [PATCH 1/1] ARM: dts: imx6ull-colibri: enable UHS-I for USDHC1

On Wed, Jun 12, 2019 at 4:39 PM Shawn Guo <shawnguo@...nel.org> wrote:
>
> On Wed, Jun 12, 2019 at 03:49:03PM +0300, Igor Opaniuk wrote:
> > Hi Stefan,
> >
> > On Wed, Jun 12, 2019 at 3:17 PM Stefan Agner <stefan@...er.ch> wrote:
> > >
> > > On 06.06.2019 11:06, Igor Opaniuk wrote:
> > > > From: Igor Opaniuk <igor.opaniuk@...adex.com>
> > > >
> > > > Allows to use the SD interface at a higher speed mode if the card
> > > > supports it. For this the signaling voltage is switched from 3.3V to
> > > > 1.8V under the usdhc1's drivers control.
> > > >
> > > > Signed-off-by: Igor Opaniuk <igor.opaniuk@...adex.com>
> > > > ---
> > > >  arch/arm/boot/dts/imx6ul.dtsi                  |  4 ++++
> > > >  arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi | 11 +++++++++--
> > > >  arch/arm/boot/dts/imx6ull-colibri.dtsi         |  6 ++++++
> > > >  3 files changed, 19 insertions(+), 2 deletions(-)
> > > >
> > > > diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
> > > > index fc388b84bf22..91a0ced44e27 100644
> > > > --- a/arch/arm/boot/dts/imx6ul.dtsi
> > > > +++ b/arch/arm/boot/dts/imx6ul.dtsi
> > > > @@ -857,6 +857,8 @@
> > > >                                        <&clks IMX6UL_CLK_USDHC1>,
> > > >                                        <&clks IMX6UL_CLK_USDHC1>;
> > > >                               clock-names = "ipg", "ahb", "per";
> > > > +                             fsl,tuning-step= <2>;
> > > > +                             fsl,tuning-start-tap = <20>;
> > > >                               bus-width = <4>;
> > > >                               status = "disabled";
> > > >                       };
> > > > @@ -870,6 +872,8 @@
> > > >                                        <&clks IMX6UL_CLK_USDHC2>;
> > > >                               clock-names = "ipg", "ahb", "per";
> > > >                               bus-width = <4>;
> > > > +                             fsl,tuning-step= <2>;
> > > > +                             fsl,tuning-start-tap = <20>;
> > > >                               status = "disabled";
> > > >                       };
> > > >
> > > > diff --git a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
> > > > b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
> > > > index 006690ea98c0..7dc7770cf52c 100644
> > > > --- a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
> > > > +++ b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
> > > > @@ -145,13 +145,20 @@
> > > >  };
> > > >
> > > >  &usdhc1 {
> > > > -     pinctrl-names = "default";
> > > > +     pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
> > > >       pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_snvs_usdhc1_cd>;
> > > > -     no-1-8-v;
> > > > +     pinctrl-1 = <&pinctrl_usdhc1_100mhz &pinctrl_snvs_usdhc1_cd>;
> > > > +     pinctrl-2 = <&pinctrl_usdhc1_100mhz &pinctrl_snvs_usdhc1_cd>;
> > >
> > > Should that not be pinctrl_usdhc1_200mhz?
> > >
> >
> > Correct, thanks for pointing this out.
> > Taking into account that the patch was already accepted by Shawn, will
> > send another to fix this typo ASAP (added to my todo list).
>
> I just fixed it up on my branch.
>
> Shawn

Thanks a lot!

-- 
Best regards - Freundliche GrĂ¼sse - Meilleures salutations

Igor Opaniuk

mailto: igor.opaniuk@...il.com
skype: igor.opanyuk
+380 (93) 836 40 67
http://ua.linkedin.com/in/iopaniuk

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ