Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332281
b: refs/heads/master
c: 6b52c00
h: refs/heads/master
i:
  332279: 9a37658
v: v3
  • Loading branch information
David Daney authored and John Crispin committed Aug 22, 2012
1 parent 9f6d540 commit ec055b7
Show file tree
Hide file tree
Showing 5 changed files with 404 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 95d585fc289cae216b5abed65bb3dbc85b5d91d4
refs/heads/master: 6b52c00f2b4931c12117dc32a7cf6d5ee59f14ea
33 changes: 33 additions & 0 deletions trunk/Documentation/devicetree/bindings/spi/spi-octeon.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Cavium, Inc. OCTEON SOC SPI master controller.

Required properties:
- compatible : "cavium,octeon-3010-spi"
- reg : The register base for the controller.
- interrupts : One interrupt, used by the controller.
- #address-cells : <1>, as required by generic SPI binding.
- #size-cells : <0>, also as required by generic SPI binding.

Child nodes as per the generic SPI binding.

Example:

spi@1070000001000 {
compatible = "cavium,octeon-3010-spi";
reg = <0x10700 0x00001000 0x0 0x100>;
interrupts = <0 58>;
#address-cells = <1>;
#size-cells = <0>;

eeprom@0 {
compatible = "st,m95256", "atmel,at25";
reg = <0>;
spi-max-frequency = <5000000>;
spi-cpha;
spi-cpol;

pagesize = <64>;
size = <32768>;
address-width = <16>;
};
};

7 changes: 7 additions & 0 deletions trunk/drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,13 @@ config SPI_OC_TINY
help
This is the driver for OpenCores tiny SPI master controller.

config SPI_OCTEON
tristate "Cavium OCTEON SPI controller"
depends on CPU_CAVIUM_OCTEON
help
SPI host driver for the hardware found on some Cavium OCTEON
SOCs.

config SPI_OMAP_UWIRE
tristate "OMAP1 MicroWire"
depends on ARCH_OMAP1
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/spi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ obj-$(CONFIG_SPI_MPC52xx_PSC) += spi-mpc52xx-psc.o
obj-$(CONFIG_SPI_MPC52xx) += spi-mpc52xx.o
obj-$(CONFIG_SPI_NUC900) += spi-nuc900.o
obj-$(CONFIG_SPI_OC_TINY) += spi-oc-tiny.o
obj-$(CONFIG_SPI_OCTEON) += spi-octeon.o
obj-$(CONFIG_SPI_OMAP_UWIRE) += spi-omap-uwire.o
obj-$(CONFIG_SPI_OMAP_100K) += spi-omap-100k.o
obj-$(CONFIG_SPI_OMAP24XX) += spi-omap2-mcspi.o
Expand Down
Loading

0 comments on commit ec055b7

Please sign in to comment.