| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/drivers/mtd/nand/raw/Kconfig | 
|  | 2 | +++ b/drivers/mtd/nand/raw/Kconfig | 
|  | 3 | @@ -559,4 +559,8 @@ config MTD_NAND_RB4XX | 
|  | 4 | Enables support for the NAND flash chip on Mikrotik Routerboard | 
|  | 5 | RB4xx series. | 
|  | 6 |  | 
|  | 7 | +config MTD_NAND_RB91X | 
|  | 8 | +	tristate "MikroTik RB91x NAND driver support" | 
|  | 9 | +	depends on ATH79 && MTD_RAW_NAND | 
|  | 10 | + | 
|  | 11 | endif # MTD_RAW_NAND | 
|  | 12 | --- a/drivers/mtd/nand/raw/Makefile | 
|  | 13 | +++ b/drivers/mtd/nand/raw/Makefile | 
|  | 14 | @@ -59,6 +59,7 @@ obj-$(CONFIG_MTD_NAND_STM32_FMC2)	+= stm | 
|  | 15 | obj-$(CONFIG_MTD_NAND_MESON)		+= meson_nand.o | 
|  | 16 | obj-$(CONFIG_MTD_NAND_AR934X)		+= ar934x_nand.o | 
|  | 17 | obj-$(CONFIG_MTD_NAND_RB4XX)		+= nand_rb4xx.o | 
|  | 18 | +obj-$(CONFIG_MTD_NAND_RB91X)		+= rb91x_nand.o | 
|  | 19 |  | 
|  | 20 | nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o | 
|  | 21 | nand-objs += nand_onfi.o | 
|  | 22 | --- a/drivers/gpio/Kconfig | 
|  | 23 | +++ b/drivers/gpio/Kconfig | 
|  | 24 | @@ -130,6 +130,10 @@ config GPIO_ATH79 | 
|  | 25 | Select this option to enable GPIO driver for | 
|  | 26 | Atheros AR71XX/AR724X/AR913X SoC devices. | 
|  | 27 |  | 
|  | 28 | +config GPIO_LATCH | 
|  | 29 | +	tristate "MikroTik RouterBOARD GPIO latch support" | 
|  | 30 | +	depends on ATH79 | 
|  | 31 | + | 
|  | 32 | config GPIO_RASPBERRYPI_EXP | 
|  | 33 | tristate "Raspberry Pi 3 GPIO Expander" | 
|  | 34 | default RASPBERRYPI_FIRMWARE | 
|  | 35 | --- a/drivers/gpio/Makefile | 
|  | 36 | +++ b/drivers/gpio/Makefile | 
|  | 37 | @@ -67,6 +67,7 @@ obj-$(CONFIG_GPIO_IT87)			+= gpio-it87.o | 
|  | 38 | obj-$(CONFIG_GPIO_IXP4XX)		+= gpio-ixp4xx.o | 
|  | 39 | obj-$(CONFIG_GPIO_JANZ_TTL)		+= gpio-janz-ttl.o | 
|  | 40 | obj-$(CONFIG_GPIO_KEMPLD)		+= gpio-kempld.o | 
|  | 41 | +obj-$(CONFIG_GPIO_LATCH)		+= gpio-latch.o | 
|  | 42 | obj-$(CONFIG_GPIO_LOONGSON1)		+= gpio-loongson1.o | 
|  | 43 | obj-$(CONFIG_GPIO_LOONGSON)		+= gpio-loongson.o | 
|  | 44 | obj-$(CONFIG_GPIO_LP3943)		+= gpio-lp3943.o |