Loading Documentation/devicetree/bindings/spi/jcore,spi.txt 0 → 100644 +34 −0 Original line number Diff line number Diff line J-Core SPI master Required properties: - compatible: Must be "jcore,spi2". - reg: Memory region for registers. - #address-cells: Must be 1. - #size-cells: Must be 0. Optional properties: - clocks: If a phandle named "ref_clk" is present, SPI clock speed programming is relative to the frequency of the indicated clock. Necessary only if the input clock rate is something other than a fixed 50 MHz. - clock-names: Clock names, one for each phandle in clocks. See spi-bus.txt for additional properties not specific to this device. Example: spi@40 { compatible = "jcore,spi2"; #address-cells = <1>; #size-cells = <0>; reg = <0x40 0x8>; spi-max-frequency = <25000000>; clocks = <&bus_clk>; clock-names = "ref_clk"; } Documentation/devicetree/bindings/spi/spi-meson.txt +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ NOR memories, without DMA support and a 64-byte unified transmit / receive buffer. Required properties: - compatible: should be "amlogic,meson6-spifc" - compatible: should be "amlogic,meson6-spifc" or "amlogic,meson-gxbb-spifc" - reg: physical base address and length of the controller registers - clocks: phandle of the input clock for the baud rate generator - #address-cells: should be 1 Loading drivers/spi/Kconfig +7 −0 Original line number Diff line number Diff line Loading @@ -295,6 +295,13 @@ config SPI_IMX This enables using the Freescale i.MX SPI controllers in master mode. config SPI_JCORE tristate "J-Core SPI Master" depends on OF && (SUPERH || COMPILE_TEST) help This enables support for the SPI master controller in the J-Core synthesizable, open source SoC. config SPI_LM70_LLP tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" depends on PARPORT Loading drivers/spi/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ obj-$(CONFIG_SPI_FSL_SPI) += spi-fsl-spi.o obj-$(CONFIG_SPI_GPIO) += spi-gpio.o obj-$(CONFIG_SPI_IMG_SPFI) += spi-img-spfi.o obj-$(CONFIG_SPI_IMX) += spi-imx.o obj-$(CONFIG_SPI_JCORE) += spi-jcore.o obj-$(CONFIG_SPI_LM70_LLP) += spi-lm70llp.o obj-$(CONFIG_SPI_LP8841_RTC) += spi-lp8841-rtc.o obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o Loading Loading
Documentation/devicetree/bindings/spi/jcore,spi.txt 0 → 100644 +34 −0 Original line number Diff line number Diff line J-Core SPI master Required properties: - compatible: Must be "jcore,spi2". - reg: Memory region for registers. - #address-cells: Must be 1. - #size-cells: Must be 0. Optional properties: - clocks: If a phandle named "ref_clk" is present, SPI clock speed programming is relative to the frequency of the indicated clock. Necessary only if the input clock rate is something other than a fixed 50 MHz. - clock-names: Clock names, one for each phandle in clocks. See spi-bus.txt for additional properties not specific to this device. Example: spi@40 { compatible = "jcore,spi2"; #address-cells = <1>; #size-cells = <0>; reg = <0x40 0x8>; spi-max-frequency = <25000000>; clocks = <&bus_clk>; clock-names = "ref_clk"; }
Documentation/devicetree/bindings/spi/spi-meson.txt +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ NOR memories, without DMA support and a 64-byte unified transmit / receive buffer. Required properties: - compatible: should be "amlogic,meson6-spifc" - compatible: should be "amlogic,meson6-spifc" or "amlogic,meson-gxbb-spifc" - reg: physical base address and length of the controller registers - clocks: phandle of the input clock for the baud rate generator - #address-cells: should be 1 Loading
drivers/spi/Kconfig +7 −0 Original line number Diff line number Diff line Loading @@ -295,6 +295,13 @@ config SPI_IMX This enables using the Freescale i.MX SPI controllers in master mode. config SPI_JCORE tristate "J-Core SPI Master" depends on OF && (SUPERH || COMPILE_TEST) help This enables support for the SPI master controller in the J-Core synthesizable, open source SoC. config SPI_LM70_LLP tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" depends on PARPORT Loading
drivers/spi/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ obj-$(CONFIG_SPI_FSL_SPI) += spi-fsl-spi.o obj-$(CONFIG_SPI_GPIO) += spi-gpio.o obj-$(CONFIG_SPI_IMG_SPFI) += spi-img-spfi.o obj-$(CONFIG_SPI_IMX) += spi-imx.o obj-$(CONFIG_SPI_JCORE) += spi-jcore.o obj-$(CONFIG_SPI_LM70_LLP) += spi-lm70llp.o obj-$(CONFIG_SPI_LP8841_RTC) += spi-lp8841-rtc.o obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o Loading