irqchip/irq-pruss-intc: Implement irq_{get, set}_irqchip_state ops
authorDavid Lechner <david@lechnology.com>
Wed, 16 Sep 2020 16:36:37 +0000 (18:36 +0200)
committerMarc Zyngier <maz@kernel.org>
Thu, 17 Sep 2020 11:20:32 +0000 (12:20 +0100)
commitb1026e8a95e430e615579f14f0f73c94f9690468
tree6b256c307fec7292777fec90d9e322dad74db659
parent6016f32d1de2798cc88c1a4b703d0ea096c19793
irqchip/irq-pruss-intc: Implement irq_{get, set}_irqchip_state ops

This implements the irq_get_irqchip_state and irq_set_irqchip_state
callbacks for the TI PRUSS INTC driver. The set callback can be used
by drivers to "kick" a PRU by injecting a PRU system event.

Co-developed-by: Suman Anna <s-anna@ti.com>
Co-developed-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Reviewed-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
drivers/irqchip/irq-pruss-intc.c