All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add bindings for slave-specific SPI controller properties
@ 2021-10-28 12:45 ` Pratyush Yadav
  0 siblings, 0 replies; 14+ messages in thread
From: Pratyush Yadav @ 2021-10-28 12:45 UTC (permalink / raw)
  To: Rob Herring
  Cc: Mark Brown, Nishanth Menon, Michael Walle, Miquel Raynal,
	Pratyush Yadav, Richard Weinberger, Tudor Ambarus,
	Vignesh Raghavendra, devicetree, linux-kernel, linux-mtd,
	linux-spi

Hi,

This series adds bindings for slave-specific SPI controller properties.
See patch 1 for more info on the motivations behind this.

This is the best approach that I came up with with my limited knowledge
of JSON schema. It has some limitations that are mentioned in patch 1. I
don't know of any better ways to model this. Suggestions are welcome!

Changes in v2:
- Move other subnode properties listed in spi-controller.yaml to
  spi-slave-props.yaml
- Move the Cadence controller-specific properties out of
  spi-slave-props.yaml. They will be added in a separate file.
- Add a reference to spi-slave-props.yaml in spi-controller.yaml.
- Update description.

Pratyush Yadav (3):
  spi: dt-bindings: add schema listing slave-specific properties
  spi: dt-bindings: cdns,qspi-nor: Move slave-specific properties out
  dt-bindings: mtd: spi-nor: Add a reference to spi-slave-props.yaml

 .../bindings/mtd/jedec,spi-nor.yaml           |  3 +-
 .../spi/cdns,qspi-nor-slave-props.yaml        | 42 +++++++++
 .../bindings/spi/cdns,qspi-nor.yaml           | 33 -------
 .../bindings/spi/spi-controller.yaml          | 69 +-------------
 .../bindings/spi/spi-slave-props.yaml         | 93 +++++++++++++++++++
 5 files changed, 139 insertions(+), 101 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/spi/cdns,qspi-nor-slave-props.yaml
 create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-props.yaml

-- 
2.33.1.835.ge9e5ba39a7


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-11-08 18:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-28 12:45 [PATCH v2 0/3] Add bindings for slave-specific SPI controller properties Pratyush Yadav
2021-10-28 12:45 ` Pratyush Yadav
2021-10-28 12:45 ` [PATCH v2 1/3] spi: dt-bindings: add schema listing slave-specific properties Pratyush Yadav
2021-10-28 12:45   ` Pratyush Yadav
2021-11-08 18:04   ` Rob Herring
2021-11-08 18:04     ` Rob Herring
2021-11-08 18:21     ` Rob Herring
2021-11-08 18:21       ` Rob Herring
2021-10-28 12:45 ` [PATCH v2 2/3] spi: dt-bindings: cdns, qspi-nor: Move slave-specific properties out Pratyush Yadav
2021-10-28 12:45   ` [PATCH v2 2/3] spi: dt-bindings: cdns,qspi-nor: " Pratyush Yadav
2021-11-08 18:06   ` Rob Herring
2021-11-08 18:06     ` Rob Herring
2021-10-28 12:45 ` [PATCH v2 3/3] dt-bindings: mtd: spi-nor: Add a reference to spi-slave-props.yaml Pratyush Yadav
2021-10-28 12:45   ` Pratyush Yadav

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.