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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1614688331.28437.7.camel@mhfsdcap03>
Date:   Tue, 2 Mar 2021 20:32:11 +0800
From:   Qii Wang <qii.wang@...iatek.com>
To:     Ikjoon Jang <ikjn@...omium.org>
CC:     <wsa@...-dreams.de>, srv_heupstream <srv_heupstream@...iatek.com>,
        <leilk.liu@...iatek.com>, open list <linux-kernel@...r.kernel.org>,
        "moderated list:ARM/Mediatek SoC support" 
        <linux-mediatek@...ts.infradead.org>, <linux-i2c@...r.kernel.org>,
        "Matthias Brugger" <matthias.bgg@...il.com>,
        "moderated list:ARM/Mediatek SoC support" 
        <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] i2c: mediatek: Get device clock-stretch time via dts

Hi,
On Tue, 2021-03-02 at 19:30 +0800, Ikjoon Jang wrote:
> Hi Qii,
> >
> > @@ -1171,6 +1173,8 @@ static int mtk_i2c_parse_dt(struct device_node *np, struct mtk_i2c *i2c)
> >         if (i2c->clk_src_div == 0)
> >                 return -EINVAL;
> >
> > +       of_property_read_u32(np, "clock-stretch-ns", &i2c->clock_stretch_ns);
> > +
> 
> I think this new property "clock-stretch-ns" is for the same purpose of
> "i2c-scl-falling-time-ns" + "i2c-scl-rising-time-ns" defined in
> Documentation/devicetree/bindings/i2c/i2c.txt?
> 

I haven't find the corresponding instructions;and this patch is for the
problem caused by clock-stretch when the scl is pulled.

> >         i2c->have_pmic = of_property_read_bool(np, "mediatek,have-pmic");
> >         i2c->use_push_pull =
> >                 of_property_read_bool(np, "mediatek,use-push-pull");
> > --
> > 1.9.1
> > _______________________________________________
> > Linux-mediatek mailing list
> > Linux-mediatek@...ts.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-mediatek

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ