# Re: \[PATCH v2 01/10\] dt-bindings: iio: adc: use spi-peripheral-props.yaml

- From: Marcus Folkesson \<marcus.folkesson@gmail.com\>
- Date: 2022-07-27 17:45:45 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2022/07/1874721
- Thread: https://ratatoskr.run/linux-iio/2022/07/1874584/t.md

```text
On Wed, Jul 27, 2022 at 06:46:37PM +0200, Krzysztof Kozlowski wrote:
> Instead of listing directly properties typical for SPI peripherals,
> reference the spi-peripheral-props.yaml schema.  This allows using all
> properties typical for SPI-connected devices, even these which device
> bindings author did not tried yet.
> 
> Remove the spi-* properties which now come via spi-peripheral-props.yaml
> schema, except for the cases when device schema adds some constraints
> like maximum frequency.
> 
> While changing additionalProperties->unevaluatedProperties, put it in
> typical place, just before example DTS.
> 
> Signed-off-by: Krzysztof Kozlowski <redacted>
> ---
[...]
>  .../bindings/iio/adc/microchip,mcp3911.yaml   |  5 +++-

FWIW: 
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2022/07/1874721/attachment/0) (application/pgp-signature, 833 bytes)
