Thread (11 messages) 11 messages, 7 authors, 2021-05-26

Re: [PATCH v2] dt-bindings: i2c: Move i2c-omap.txt to YAML format

From: Andreas Kemnade <andreas@kemnade.info>
Date: 2021-05-07 14:36:10
Also in: linux-arm-kernel, linux-i2c, linux-omap, lkml

On Fri, 7 May 2021 19:45:45 +0530
Vignesh Raghavendra [off-list ref] wrote:
On 5/7/21 12:24 PM, Grygorii Strashko wrote:
quoted

On 06/05/2021 17:00, Vignesh Raghavendra wrote:  
quoted
Convert i2c-omap.txt to YAML schema for better checks and documentation.

Following properties were used in DT but were not documented in txt
bindings and has been included in YAML schema:
1. Include ti,am4372-i2c compatible
2. Include dmas property used in few OMAP dts files  
The DMA is not supported by i2c-omap driver, so wouldn't be better to
just drop dmas from DTBs to avoid confusions?
It can be added later.
  
Will do.. I will also send patches dropping dmas from dts that currently
have them populated.
hmm, we have
- DO attempt to make bindings complete even if a driver doesn't support some
  features. For example, if a device has an interrupt, then include the
  'interrupts' property even if the driver is only polled mode.

in Documentation/devicetree/bindings/writing-bindings.rst
Shouln't the dma stay there if the hardware supports it? Devicetree
should describe the hardware not the driver if I understood things
right.

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