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

Commit 85c4b31e authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Nicolas Ferre
Browse files

ARM: at91: remove old AT91-specific drivers



GPIO and LED drivers were replaced by generic ones for DT boards. These drivers
were remaining: delete them now. Modifications are also done on the
corresponding header files.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
[nicolas.ferre@atmel.com: split patch]
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 865a3812
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -2,7 +2,7 @@
# Makefile for the linux kernel.
# Makefile for the linux kernel.
#
#


obj-y		:= gpio.o setup.o sysirq_mask.o
obj-y		:= setup.o sysirq_mask.o


obj-$(CONFIG_SOC_AT91SAM9)	+= sam9_smc.o
obj-$(CONFIG_SOC_AT91SAM9)	+= sam9_smc.o


@@ -25,9 +25,6 @@ obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
# SAMA5 board with device-tree
# SAMA5 board with device-tree
obj-$(CONFIG_SOC_SAMA5)		+= board-dt-sama5.o
obj-$(CONFIG_SOC_SAMA5)		+= board-dt-sama5.o


# Drivers
obj-y				+= leds.o

# Power Management
# Power Management
obj-$(CONFIG_PM)		+= pm.o
obj-$(CONFIG_PM)		+= pm.o
obj-$(CONFIG_AT91_SLOW_CLOCK)	+= pm_slowclock.o
obj-$(CONFIG_AT91_SLOW_CLOCK)	+= pm_slowclock.o
+0 −3
Original line number Original line Diff line number Diff line
@@ -117,7 +117,4 @@ extern void __init at91_add_device_isi(struct isi_platform_data *data,
/* CAN */
/* CAN */
extern void __init at91_add_device_can(struct at91_can_data *data);
extern void __init at91_add_device_can(struct at91_can_data *data);


 /* LEDs */
extern void __init at91_gpio_leds(struct gpio_led *leds, int nr);

#endif
#endif
+0 −16
Original line number Original line Diff line number Diff line
@@ -41,20 +41,4 @@ extern void at91sam9_idle(void);


/* Matrix */
/* Matrix */
extern void at91_ioremap_matrix(u32 base_addr);
extern void at91_ioremap_matrix(u32 base_addr);

 /* GPIO */
#define AT91RM9200_PQFP		3	/* AT91RM9200 PQFP package has 3 banks */
#define AT91RM9200_BGA		4	/* AT91RM9200 BGA package has 4 banks */

struct at91_gpio_bank {
	unsigned short id;		/* peripheral ID */
	unsigned long regbase;		/* offset from system peripheral base */
};
extern void __init at91_gpio_init(struct at91_gpio_bank *, int nr_banks);
extern void __init at91_gpio_irq_setup(void);
extern int  __init at91_gpio_of_irq_setup(struct device_node *node,
					  struct device_node *parent);

extern u32 at91_get_extern_irq(void);

#endif /* _AT91_GENERIC_H */
#endif /* _AT91_GENERIC_H */
Loading