bmips: document GPIO external interrupts
BCM63xx SoCs have an external interrupt controller which can be used for specific GPIO keys. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
		| @@ -6,6 +6,7 @@ | |||||||
| #include <dt-bindings/gpio/gpio.h> | #include <dt-bindings/gpio/gpio.h> | ||||||
| #include <dt-bindings/input/input.h> | #include <dt-bindings/input/input.h> | ||||||
| #include <dt-bindings/interrupt-controller/bcm6318-interrupt-controller.h> | #include <dt-bindings/interrupt-controller/bcm6318-interrupt-controller.h> | ||||||
|  | #include <dt-bindings/interrupt-controller/irq.h> | ||||||
| #include <dt-bindings/reset/bcm6318-reset.h> | #include <dt-bindings/reset/bcm6318-reset.h> | ||||||
| #include <dt-bindings/soc/bcm6318-pm.h> | #include <dt-bindings/soc/bcm6318-pm.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,6 +6,7 @@ | |||||||
| #include <dt-bindings/gpio/gpio.h> | #include <dt-bindings/gpio/gpio.h> | ||||||
| #include <dt-bindings/input/input.h> | #include <dt-bindings/input/input.h> | ||||||
| #include <dt-bindings/interrupt-controller/bcm63268-interrupt-controller.h> | #include <dt-bindings/interrupt-controller/bcm63268-interrupt-controller.h> | ||||||
|  | #include <dt-bindings/interrupt-controller/irq.h> | ||||||
| #include <dt-bindings/reset/bcm63268-reset.h> | #include <dt-bindings/reset/bcm63268-reset.h> | ||||||
| #include <dt-bindings/soc/bcm63268-pm.h> | #include <dt-bindings/soc/bcm63268-pm.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,6 +6,7 @@ | |||||||
| #include <dt-bindings/gpio/gpio.h> | #include <dt-bindings/gpio/gpio.h> | ||||||
| #include <dt-bindings/input/input.h> | #include <dt-bindings/input/input.h> | ||||||
| #include <dt-bindings/interrupt-controller/bcm6328-interrupt-controller.h> | #include <dt-bindings/interrupt-controller/bcm6328-interrupt-controller.h> | ||||||
|  | #include <dt-bindings/interrupt-controller/irq.h> | ||||||
| #include <dt-bindings/reset/bcm6328-reset.h> | #include <dt-bindings/reset/bcm6328-reset.h> | ||||||
| #include <dt-bindings/soc/bcm6328-pm.h> | #include <dt-bindings/soc/bcm6328-pm.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,6 +6,7 @@ | |||||||
| #include <dt-bindings/gpio/gpio.h> | #include <dt-bindings/gpio/gpio.h> | ||||||
| #include <dt-bindings/input/input.h> | #include <dt-bindings/input/input.h> | ||||||
| #include <dt-bindings/interrupt-controller/bcm6358-interrupt-controller.h> | #include <dt-bindings/interrupt-controller/bcm6358-interrupt-controller.h> | ||||||
|  | #include <dt-bindings/interrupt-controller/irq.h> | ||||||
| #include <dt-bindings/reset/bcm6358-reset.h> | #include <dt-bindings/reset/bcm6358-reset.h> | ||||||
|  |  | ||||||
| / { | / { | ||||||
|   | |||||||
| @@ -6,6 +6,7 @@ | |||||||
| #include <dt-bindings/gpio/gpio.h> | #include <dt-bindings/gpio/gpio.h> | ||||||
| #include <dt-bindings/input/input.h> | #include <dt-bindings/input/input.h> | ||||||
| #include <dt-bindings/interrupt-controller/bcm6362-interrupt-controller.h> | #include <dt-bindings/interrupt-controller/bcm6362-interrupt-controller.h> | ||||||
|  | #include <dt-bindings/interrupt-controller/irq.h> | ||||||
| #include <dt-bindings/reset/bcm6362-reset.h> | #include <dt-bindings/reset/bcm6362-reset.h> | ||||||
| #include <dt-bindings/soc/bcm6362-pm.h> | #include <dt-bindings/soc/bcm6362-pm.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,6 +6,7 @@ | |||||||
| #include <dt-bindings/gpio/gpio.h> | #include <dt-bindings/gpio/gpio.h> | ||||||
| #include <dt-bindings/input/input.h> | #include <dt-bindings/input/input.h> | ||||||
| #include <dt-bindings/interrupt-controller/bcm6368-interrupt-controller.h> | #include <dt-bindings/interrupt-controller/bcm6368-interrupt-controller.h> | ||||||
|  | #include <dt-bindings/interrupt-controller/irq.h> | ||||||
| #include <dt-bindings/reset/bcm6368-reset.h> | #include <dt-bindings/reset/bcm6368-reset.h> | ||||||
|  |  | ||||||
| / { | / { | ||||||
|   | |||||||
| @@ -81,4 +81,9 @@ | |||||||
| #define BCM6318_IRQ_EPHY2_IDDQ_ENERGY	78 | #define BCM6318_IRQ_EPHY2_IDDQ_ENERGY	78 | ||||||
| #define BCM6318_IRQ_EPHY3_IDDQ_ENERGY	79 | #define BCM6318_IRQ_EPHY3_IDDQ_ENERGY	79 | ||||||
|  |  | ||||||
|  | #define BCM6318_EXTIRQ_0		0 /* GPIO 33 */ | ||||||
|  | #define BCM6318_EXTIRQ_1		1 | ||||||
|  | #define BCM6318_EXTIRQ_2		2 | ||||||
|  | #define BCM6318_EXTIRQ_3		3 | ||||||
|  |  | ||||||
| #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6318_H */ | #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6318_H */ | ||||||
|   | |||||||
| @@ -83,4 +83,9 @@ | |||||||
| #define BCM63268_IRQ_ATM_DMA19		79 | #define BCM63268_IRQ_ATM_DMA19		79 | ||||||
| #define BCM63268_IRQ_LSSPI		80 | #define BCM63268_IRQ_LSSPI		80 | ||||||
|  |  | ||||||
|  | #define BCM63268_EXTIRQ_0		0 /* GPIO 32 */ | ||||||
|  | #define BCM63268_EXTIRQ_1		1 /* GPIO 33 */ | ||||||
|  | #define BCM63268_EXTIRQ_2		2 /* GPIO 34 */ | ||||||
|  | #define BCM63268_EXTIRQ_3		3 /* GPIO 35 */ | ||||||
|  |  | ||||||
| #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM63268_H */ | #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM63268_H */ | ||||||
|   | |||||||
| @@ -65,4 +65,9 @@ | |||||||
| #define BCM6328_IRQ_ATM_DMA19		62 | #define BCM6328_IRQ_ATM_DMA19		62 | ||||||
| #define BCM6328_IRQ_SAR			63 | #define BCM6328_IRQ_SAR			63 | ||||||
|  |  | ||||||
|  | #define BCM6328_EXTIRQ_0		0 /* GPIO 23 */ | ||||||
|  | #define BCM6328_EXTIRQ_1		1 /* GPIO 24 */ | ||||||
|  | #define BCM6328_EXTIRQ_2		2 /* GPIO 15 */ | ||||||
|  | #define BCM6328_EXTIRQ_3		3 /* GPIO 12 */ | ||||||
|  |  | ||||||
| #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6328_H */ | #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6328_H */ | ||||||
|   | |||||||
| @@ -35,4 +35,11 @@ | |||||||
| #define BCM6358_IRQ_DG			30 | #define BCM6358_IRQ_DG			30 | ||||||
| #define BCM6358_IRQ_MPI			31 | #define BCM6358_IRQ_MPI			31 | ||||||
|  |  | ||||||
|  | #define BCM6358_EXTIRQ0_0		0 /* GPIO 34 */ | ||||||
|  | #define BCM6358_EXTIRQ0_1		1 /* GPIO 35 */ | ||||||
|  | #define BCM6358_EXTIRQ0_2		2 /* GPIO 36 */ | ||||||
|  | #define BCM6358_EXTIRQ0_3		3 /* GPIO 37 */ | ||||||
|  | #define BCM6358_EXTIRQ1_4		0 /* GPIO 32 */ | ||||||
|  | #define BCM6358_EXTIRQ1_5		1 /* GPIO 33 */ | ||||||
|  |  | ||||||
| #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6358_H */ | #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6358_H */ | ||||||
|   | |||||||
| @@ -68,4 +68,9 @@ | |||||||
| #define BCM6362_IRQ_ATM_DMA18		62 | #define BCM6362_IRQ_ATM_DMA18		62 | ||||||
| #define BCM6362_IRQ_ATM_DMA19		63 | #define BCM6362_IRQ_ATM_DMA19		63 | ||||||
|  |  | ||||||
|  | #define BCM6362_EXTIRQ_0		0 /* GPIO 24 */ | ||||||
|  | #define BCM6362_EXTIRQ_1		1 /* GPIO 25 */ | ||||||
|  | #define BCM6362_EXTIRQ_2		2 /* GPIO 26 */ | ||||||
|  | #define BCM6362_EXTIRQ_3		3 /* GPIO 27 */ | ||||||
|  |  | ||||||
| #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6362_H */ | #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6362_H */ | ||||||
|   | |||||||
| @@ -68,4 +68,11 @@ | |||||||
| #define BCM6368_IRQ_PCM_DMA0		62 | #define BCM6368_IRQ_PCM_DMA0		62 | ||||||
| #define BCM6368_IRQ_PCM_DMA1		63 | #define BCM6368_IRQ_PCM_DMA1		63 | ||||||
|  |  | ||||||
|  | #define BCM6368_EXTIRQ0_0		0 /* GPIO 34 */ | ||||||
|  | #define BCM6368_EXTIRQ0_1		1 /* GPIO 35 */ | ||||||
|  | #define BCM6368_EXTIRQ0_2		2 /* GPIO 36 */ | ||||||
|  | #define BCM6368_EXTIRQ0_3		3 /* GPIO 37 */ | ||||||
|  | #define BCM6368_EXTIRQ1_4		0 /* GPIO 32 */ | ||||||
|  | #define BCM6368_EXTIRQ1_5		1 /* GPIO 33 */ | ||||||
|  |  | ||||||
| #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6368_H */ | #endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM6368_H */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Álvaro Fernández Rojas
					Álvaro Fernández Rojas