Re: [PATCH v6 1/5] spi: dt-bindings: Add spi-device-addr peripheral property
Jonathan Cameron <[email protected]>
| Newsgroups | org.kernel.vger.linux-spi,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260719031038.4cbb21db@jic23-huawei> |
On Wed, 15 Jul 2026 13:41:04 +0200 Janani Sunil <[email protected]> wrote: > Some SPI devices support sharing a single chip select across multiple > physical chips by encoding a device address in the SPI frame itself. > Add the generic spi-device-addr property for describing these hardware > addresses. The property is placed on the SPI peripheral node and may > contain multiple addresses. > > Signed-off-by: Janani Sunil <[email protected]> > --- > Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml > index 880a9f624566..135657582131 100644 > --- a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml > +++ b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml > @@ -142,6 +142,11 @@ properties: > minItems: 2 > maxItems: 4 > > + spi-device-addr: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: > + Device address used when multiple peripherals share a single chip select. This needs to also explain why it is an array. > + > st,spi-midi-ns: > deprecated: true > description: | >