[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zdkda5jf072mENvK@shikoro>
Date: Fri, 23 Feb 2024 23:34:19 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Rob Herring <robh@...nel.org>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Andi Shyti <andi.shyti@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-i3c@...ts.infradead.org,
linux-sound@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: i2c: Remove obsolete i2c.txt
Hi Rob,
> > * In the schema, "clock-frequency" has a minimum of 1kHz and a maximum
> > of 3MHz. Why? The specs do not say anything about a minimum freq and
> > fastest speed mentioned in the docs is 5Mhz (Ultra fast mode).
>
> IIRC, the high speed mode originally topped out at 3MHz. I guess
> that's been revised.
Hs-mode has a max of 3.4MHz...
>
> We can drop the minimum.
... but I see you changed min/max now to 1/5000000. That's what I would
have suggested as well.
> > * new binding "i2c-scl-clk-low-timeout-us" has a description which I do
> > not understand. What is a waiting state?
>
> Shrug. May have to look at the MPC h/w that uses the property.
I will also have another look. My gut feeling is that the binding is
okay, only the description might need an update.
> >
> > * new binding "no-detect" is broken. At the least, it should be named
> > something like "bus-fully-described" and then the OS can decide to
> > leave out auto-detection mechanisms. If you are interested in the
> > latter, you can simply disable class based instantiation on the host
> > controller. No need to describe this in DT.
>
> I've reverted the property now.
Cool, thanks!
Kind regards,
Wolfram
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists