devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] arm64: Realtek RTD1295 IRQ mux
@ 2017-08-17 10:11 Andreas Färber
       [not found] ` <20170817101140.32000-1-afaerber-l3A5Bk7waGM@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andreas Färber @ 2017-08-17 10:11 UTC (permalink / raw)
  To: Thomas Gleixner, Jason Cooper, Marc Zyngier, linux-arm-kernel
  Cc: 蒋丽琴, devicetree, linux-kernel,
	Andreas Färber, Roc He

Hello,

This series adds two IRQ muxes for the Realtek RTD1295 SoC.
Based on the reset controller series.

There being no public source code for RTD1295, the implementation is based on
register offsets seen in the DT, split up into two separate nodes.

A workaround for hanging timer initialization was taken from QNAP's rtk119x
GPL code dump and is not yet fully understood; that code also contains a quirk
for i2c3 in the iso mux that is not yet verified to be needed on RTD1295,
for lack of i2c driver, assuming a linear intr_status/intr_en mapping for now.

My convention here is to use a compatible string for the model that I've
tested (RTD1295) but a file name of rtd119x to indicate its RTD1195 heritage.

More experimental patches at:
https://github.com/afaerber/linux/commits/rtd1295-next

Have a lot of fun!

Cheers,
Andreas

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Roc He <hepeng@zidoo.tv>
Cc: 蒋丽琴 <jiang.liqin@geniatech.com>
Cc: devicetree@vger.kernel.org

Andreas Färber (3):
  dt-bindings: interrupt-controller: Add Realtek RTD1295
  arm64: dts: realtek: Add irq mux to RTD1295
  irqchip: Add Realtek RTD1295 mux driver

 .../interrupt-controller/realtek,rtd119x-mux.txt   |  28 +++
 arch/arm64/boot/dts/realtek/rtd1295.dtsi           |  22 +++
 drivers/irqchip/Makefile                           |   1 +
 drivers/irqchip/irq-rtd119x-mux.c                  | 201 +++++++++++++++++++++
 4 files changed, 252 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd119x-mux.txt
 create mode 100644 drivers/irqchip/irq-rtd119x-mux.c

-- 
2.12.3


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-25 19:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 10:11 [RFC 0/3] arm64: Realtek RTD1295 IRQ mux Andreas Färber
     [not found] ` <20170817101140.32000-1-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-08-17 10:11   ` [RFC 1/3] dt-bindings: interrupt-controller: Add Realtek RTD1295 Andreas Färber
     [not found]     ` <20170817101140.32000-2-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-08-22  2:14       ` Rob Herring
2017-08-25 19:41         ` Andreas Färber
2017-08-17 10:11 ` [RFC 2/3] arm64: dts: realtek: Add irq mux to RTD1295 Andreas Färber
     [not found] ` <20170817101140.32000-4-afaerber@suse.de>
     [not found]   ` <da3b236f-08ec-837a-de18-4c22b30ce5ca@arm.com>
2017-08-18 17:21     ` [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver Andreas Färber
     [not found]       ` <d7b03533-0442-4df9-7829-5e81f3ed6f34-l3A5Bk7waGM@public.gmane.org>
2017-08-18 17:47         ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).