Thread (7 messages) 7 messages, 3 authors, 2024-02-27

Re: [PATCH] dt-bindings: i2c: Remove obsolete i2c.txt

From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: 2024-02-22 19:55:37
Also in: linux-gpio, linux-i2c, linux-i3c, linux-sound, linux-tegra, lkml

On Thu, Feb 22, 2024 at 10:43:42AM -0700, Rob Herring wrote:
Everything in i2c.txt is covered by schemas/i2c/i2c-controller.yaml in
dtschema project, so remove i2c.txt and update links to it in the tree.

Signed-off-by: Rob Herring <robh@kernel.org>
Differences to i2c.txt:

* 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).

* new binding "i2c-scl-clk-low-timeout-us" has a description which I do
  not understand. What is a waiting state?

* 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.
Wolfram, you can take it or I can.
Once we are done, I guess it is better if you take it.

Thanks for the work,

   Wolfram

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help