[PATCH v3 0/2] spi: davinci: Convert bindings to DT schema and clean up DTS
Bhargav Joshi <[email protected]>
| Newsgroups | org.kernel.vger.linux-spi,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This series converts the TI DaVinci/Keystone SPI controller device tree bindings from the legacy text format to DT schema. - Patch 1 renames property ti,davinci-spi-num-cs from keystone-k2l.dtsi, as the driver uses the standard num-cs property. - Patch 2 Converts ti,davinci-spi from text to DT schema. Signed-off-by: Bhargav Joshi <[email protected]> --- Changes in v3: - patch 2: since old text binding required num-cs, #address-cells, and #size-cells mark them as required - patch 2: davinci-spi don't work as spi-slave i.e address-cells 0 is not applicable and spi-controller permits both 0 and 1 so explicitely define #address-cells as 1 - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - patch 1: Instead of deleting ti,davinci-spi-num-cs, renamed it to num-cs to properly preserve the hardware's intended chip select limits - patch 2: Removed maximum: 6 constraint from num-cs. - patch 2: Add standalone support for ti,dm6441-spi in compatibles. - Link to v1: https://lore.kernel.org/r/[email protected] --- Bhargav Joshi (2): ARM: dts: ti: keystone-k2l: Rename ti,davinci-spi-num-cs to num-cs dt-bindings: spi: ti,davinci-spi: convert to DT schema .../devicetree/bindings/spi/spi-davinci.txt | 100 ----------------- .../bindings/spi/spi-peripheral-props.yaml | 1 + .../spi/ti,davinci-spi-peripheral-props.yaml | 25 +++++ .../devicetree/bindings/spi/ti,davinci-spi.yaml | 124 +++++++++++++++++++++ arch/arm/boot/dts/ti/keystone/keystone-k2l.dtsi | 6 +- 5 files changed, 153 insertions(+), 103 deletions(-) --- base-commit: 3eb40771c00a8488fa6ed2cc1fe203477908bf38 change-id: 20260816-ti-davinci-spi-e64e4e48b6b6 Best regards, -- Bhargav