Re: [PATCH v2 00/10] dt-bindings: iio: use spi-peripheral-props.yaml

From
Krzysztof Kozlowski <hidden>
Date
2022-08-01 15:45:24
Also in
linux-devicetree, linux-iio, lkml
Reply to
Lukas Wunner, 2022-07-30
On 31/07/2022 00:46, Lukas Wunner wrote:
On Wed, Jul 27, 2022 at 06:46:36PM +0200, Krzysztof Kozlowski wrote:
quoted
 78 files changed, 324 insertions(+), 249 deletions(-)
Pardon me for being dense, but what is the benefit of this series
that justifies inflating the schema definitions by a total of 75 lines?
The commits were explaining rationale, so let me bring it here. The
benefits are:
This allows using all properties typical for SPI-connected devices, even
these which device bindings author did not tried yet.

Also, what I did not mention in commit msg, this makes sure, that
spi-xxx properties have a type, which is validated by
spi-peripheral-props.yaml. Otherwise, when someone puts bogus data as
spi-max-frequency (e.g. phandle) and checks only with that device
schema, no errors are reported.

Best regards,
Krzysztof
Thread (22 messages) 22 messages, 5 authors, last reply 2022-08-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help