Messages in this thread | | | Date | Tue, 3 Dec 2019 16:38:50 +0000 | From | Mark Brown <> | Subject | Re: [PATCH v4] dt-bindings: iio: accel: add binding documentation for ADIS16240 |
| |
On Sun, Dec 01, 2019 at 11:40:32AM +0000, Jonathan Cameron wrote:
> +CC Mark as we probably need a more general view point on > the question of whether SPI mode should be enforced by binding > or in the driver.
Not sure I see the question here, I think I was missing a bit of the conversation? It's perfectly fine for a driver to specify a mode, if the hardware always uses some unusual mode then there's no sense in forcing every single DT to set the same mode. On the other hand if there's some configuration for the driver that was handling some board specific configuration that there's already some generic SPI support for setting then it seems odd to have a custom driver specific configuration mechanism. [unhandled content-type:application/pgp-signature] | |