Commit Graph

5 Commits (9601d94138de66e4fc9f55a08dfb348cdfcc3181)

Author SHA1 Message Date
Hauke Mehrtens a116b8e0b6 kernel: Deactivate *-gpio-custom drivers for 4.19
Kernel interface changed with kernel 4.19, it does not accept raw GPIO
numbers any more. Deactivate these drivers on kernel 4.19 for now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
6 years ago
Karl Vogel 76378c6b9f build: use KERNEL_MAKE_FLAGS for kernel file compilations
The build system already defines KERNEL_CROSS which defaults to TARGET_CROSS.
Make use of this variable for kernel makefiles.

Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
7 years ago
Alexandru Ardelean 9168abe8b5 kernel/spi-gpio-custom: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
8 years ago
Hauke Mehrtens 837d4f8f41 spi-gpio-custom: fix section mismatch
This fixes this section mismatch warning:
The function spi_gpio_custom_get_slave_cs() references
the variable __initdata bus_nump.
This is often because spi_gpio_custom_get_slave_cs lacks a __initdata
annotation or the annotation of bus_nump is wrong.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48930
8 years ago
Gabor Juhos 6bb50e4df1 package/kernel: add spi-gpio-custom module
The package makes it possible to create custom SPI
buses via GPIO lines.

This module is based on i2c-gpio-custom and allows to
configure an SPI bus via GPIO lines and expose it to
userspace without rebuilding the kernel. This is maily
intended to connect microcontrollers and other simple
SPI devices without making an ad-hoc kernel driver.

Signed-off-by: Marco Burato <zmaster.adsl@gmail.com>
[juhosg:
  - change subject,
  - extend and reformat commit message,
  - cleanup checkpatch errors/warnings in module source]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37872
11 years ago