summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/spi
AgeCommit message (Collapse)Author
2024-08-15spi: soft_spi: Parse cs-gpios only if num-chipselects is not <0>Michael Polyntsov
Some boards don't have chipselect lines for leds so cs-gpios is not specified in the dts leading to probing error. Fix it by making behavior similar to the one in Linux, parse num-chipselects and if it is zero, ignore cs-gpios. Signed-off-by: Michael Polyntsov <[email protected]> Signed-off-by: Mikhail Kshevetskiy <[email protected]>
2023-07-13doc: bindings: soft-spi: Remove the usage of deprecated propertiesFabio Estevam
According to Documentation/devicetree/bindings/spi/spi-gpio.yaml from Linux, the recommended spio-gpio properties are: sck-gpios, miso-gpios and mosi-gpios. gpio-sck, gpio-mosi and gpio-miso are considered deprecated. Update the bindings to suggest the recommeded properties. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2023-07-13dt-bindings: spi: Add bcm63xx-hsspi controller supportWilliam Zhang
Bring the device tree binding document from Linux to u-boot Port from linux patches: Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: William Zhang <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2022-06-22dt-bindings: spi: Add hpe gxp spiNick Hawkins
Add support for the HPE GXP SPI Controller. Signed-off-by: Nick Hawkins <[email protected]>
2022-03-15k210: use the board vendor name rather than the marketing nameDamien Le Moal
"kendryte" is the marketing name for the K210 RISC-V SoC produced by Canaan Inc. Rather than "kendryte,k210", use the usual "canaan,k210" vendor,SoC compatibility string format in the device tree files and use the SoC name for file names. With these changes, the device tree files are more in sync with the Linux kernel DTS and drivers, making uboot device tree usable by the kernel. Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Niklas Cassel <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2021-09-30WS cleanup: remove SPACE(s) followed by TABWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]>
2021-08-14doc: stm32mp1: add page for device tree bindingsPatrick Delaunay
With device tree binding migration to yaml it is difficult to synchronize the binding from Linux kernel to U-Boot. Instead of maintaining the same dt bindings, this patch adds in the U-Boot documentation the path to the device tree bindings in Linux kernel for STMicroelectronics devices, when they are used without modification. Signed-off-by: Patrick Delaunay <[email protected]> Signed-off-by: Patrice Chotard <[email protected]> Add links for referenced text files. Signed-off-by: Heinrich Schuchardt <[email protected]>
2020-12-18spi: dw: Document devicetree bindingSean Anderson
This documentation has been taken from Linux commit 3d7db0f11c7a ("spi: dw: Refactor mid_spi_dma_setup() to separate DMA and IRQ config"), immediately before the file was deleted and replaced with a yaml version. Additional compatible strings from newer versions have been added, as well as a few U-Boot-specific ones. Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2020-10-22spi: Add Qualcomm QUP SPI controller driverRobert Marko
This patch adds support for the Qualcomm QUP SPI controller that is commonly found in most of Qualcomm SoC-s. Driver currently supports v1.1.1, v2.1.1 and v2.2.1 HW. FIFO and Block modes are supported, no support for DMA mode is planned. Signed-off-by: Robert Marko <[email protected]> Signed-off-by: Luka Kovacic <[email protected]> Cc: Luka Perkov <[email protected]>
2020-07-27fsl_dspi: Introduce DT bindings for CS-SCK and SCK-CS delaysVladimir Oltean
Communication with some SPI slaves just won't cut it if these delays (before the beginning, and after the end of a transfer) are not added to the Chip Select signal. These are a straight copy from Linux: Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt drivers/spi/spi-fsl-dspi.c Signed-off-by: Vladimir Oltean <[email protected]> [Rebased] Signed-off-by: Priyanka Jain <[email protected]>
2019-07-22doc: device-tree-bindings: alignment with v5.2-rc6 for spi-stm32-qspi.txtPatrice Chotard
Align doc/device-tree-bindings/spi/spi-stm32-qspi.txt with kernel v5.2-rc6 Signed-off-by: Patrice Chotard <[email protected]>
2019-05-23m68k: add basic set of devicetreesAngelo Dureghello
This patch adds a basic group of devicetrees, one for each cpu family, including actually just uart and dspi devices, since these are the drivers supporting devicetree (support added in this patch-set). Acked-by: Jagan Teki <[email protected]> Signed-off-by: Angelo Dureghello <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2019-04-12doc: device-tree-bindings: switch from spi-flash to jedec, spi-norNeil Armstrong
Since all DTS files has been switched to "jedec,spi-nor", remove the "spi-flash" compatible from the bindings examples. Signed-off-by: Neil Armstrong <[email protected]> Reviewed-by: Simon Goldschmidt <[email protected]> Reviewed-by: Rick Chen <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2018-11-29spi: cadence_qspi: use "cdns,qspi-nor" as compatibleSimon Goldschmidt
Linux uses "cdns,qspi-nor" as compatible string for the cadence qspi driver, so change driver, docs and all device trees. Signed-off-by: Simon Goldschmidt <[email protected]>
2018-01-24dts: cadence_spi: Update documentation for DT bindingsJason Rush
Update documentation to reflect adopting the Linux DT bindings. Tested on TI K2G platform: Tested-by: Vignesh R <[email protected]> Tested on a socfpga-cyclonev board: Tested-by: Simon Goldschmidt <[email protected]> Signed-off-by: Jason Rush <[email protected]> Reviewed-by: Jagan Teki <[email protected]> Acked-by: Simon Goldschmidt <[email protected]> Acked-by: Marek Vasut <[email protected]>
2018-01-10doc: bindings: soft-spi: update documentation to match the codeMiquel Raynal
Linux bindings have been introduced in the code (removing the U-Boot specific ones) without documentation update. Compatible string has changed, as well as the four GPIO properties. Reflect this by updating the soft-spi.txt documentation. Fixes: 102412c415 ("dm: spi: soft_spi: switch to use linux compatible string") Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2017-11-30dt-bindings: spi: Add andestech atcspi200 spi binding docRick Chen
Add a document to describe Andestech atcspi200 spi and binding information. Signed-off-by: Rick Chen <[email protected]>
2017-01-28ARM: DTS: stm32: add stm32f746-disco device tree filesMichael Kurz
This patch adds the DTS source files needed for stm32f746-disco board The files are based on the stm32f429/469 files from current linux kernel. Source for "arch/arm/dts/armv7-m.dtsi": Linux: "arch/arm/boot/dts/armv7-m.dtsi" Signed-off-by: Michael Kurz <[email protected]> Acked-by: Vikas MANOCHA <[email protected]>
2016-05-21drivers: spi: add spi support for QCA/Atheros ath79 SOCsWills Wang
This patch add a compatible spi driver for ath79 series SOC. Signed-off-by: Wills Wang <[email protected]> Reviewed-by: Thomas Chou <[email protected]> Reviewed-by: Daniel Schwierzeck <[email protected]>
2016-03-22Fix spelling of "transferred".Vagrant Cascadian
Signed-off-by: Vagrant Cascadian <[email protected]> Acked-by: Marek Vasut <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2015-10-25doc: device-tree-bindings: spi: Add zynq qspi infoJagan Teki
Added device-tree-binding information for zynq qspi controller driver. Signed-off-by: Jagan Teki <[email protected]> Cc: Simon Glass <[email protected]> Cc: Siva Durga Prasad Paladugu <[email protected]> Acked-by: Michal Simek <[email protected]> Tested-by: Jagan Teki <[email protected]>
2015-10-23spi : convert altera_spi to driver modelThomas Chou
Convert altera_spi to driver model Signed-off-by: Thomas Chou <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2015-07-28spi: Fix zynq SPI bindingMichal Simek
Zynq is using Cadence IP where binding is documented in the Linux kernel and there is no reason to use different binding. Synchronize it. Signed-off-by: Michal Simek <[email protected]>
2015-07-03spi: cadence_qspi: add device tree binding docVikas Manocha
This patch adds the device tree binding doc for the cadence qspi controller & also removes the not needed properties from the stv0991 device tree. Signed-off-by: Vikas Manocha <[email protected]> Reviewed-by: Jagannadh Teki <[email protected]>
2015-07-01spi: zynq_spi: Add fdt support in driverJagan Teki
Now zynq spi driver platform data is controlled by devicetree, enable the status by saying "okay" on respective board dts to use the devicetree generated platdata. Ex: &spi1 { status = "okay"; }; Signed-off-by: Jagan Teki <[email protected]> Acked-by: Simon Glass <[email protected]> Cc: Michal Simek <[email protected]> Cc: Siva Durga Prasad Paladugu <[email protected]> Tested-by: Jagan Teki <[email protected]>
2015-07-01dts: zynq: Add zynq spi controller nodesJagan Teki
This patch adds zynq spi controller nodes in zynq-7000.dtsi. Signed-off-by: Jagan Teki <[email protected]> Acked-by: Simon Glass <[email protected]> Cc: Michal Simek <[email protected]> Cc: Siva Durga Prasad Paladugu <[email protected]> Tested-by: Jagan Teki <[email protected]>
2014-10-22dm: spi: Add soft_spi implementationSimon Glass
Add a new implementation of soft_spi that uses device tree to specify the GPIOs. This will replace soft_spi_legacy for boards which use driver model. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
2014-08-06spi: Support half-duplex mode in FDT decodeSimon Glass
This parameter should also be supported. Signed-off-by: Simon Glass <[email protected]> Tested-by: Ajay Kumar <[email protected]> Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
2013-12-09spi: Add device tree binding for SPI busSimon Glass
This was obtained from Linux 3.12 commit 5e01dc7b26. Signed-off-by: Simon Glass <[email protected]>