Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ab7f2a4 authored by John Crispin's avatar John Crispin Committed by Greg Kroah-Hartman
Browse files

staging: mt7621-spi: add mt7621 support



NeilBrown:
    The code will fail with a warning if asked to transfer
    more than 32 bytes at a time.  So used max_transfer_size
    interface to tell users about this.

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 16e556aa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -122,4 +122,6 @@ source "drivers/staging/mt7621-pinctrl/Kconfig"

source "drivers/staging/mt7621-gpio/Kconfig"

source "drivers/staging/mt7621-spi/Kconfig"

endif # STAGING
+1 −0
Original line number Diff line number Diff line
@@ -52,3 +52,4 @@ obj-$(CONFIG_PI433) += pi433/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-pci/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-pinctrl/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-gpio/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-spi/
+6 −0
Original line number Diff line number Diff line
config SPI_MT7621
	tristate "MediaTek MT7621 SPI Controller"
	depends on RALINK
	help
	  This selects a driver for the MediaTek MT7621 SPI Controller.
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_SPI_MT7621)		+= spi-mt7621.o
+5 −0
Original line number Diff line number Diff line

- general code review and clean up
- ensure device-tree requirements are documented

Cc: NeilBrown <neil@brown.name>
Loading