[PATCH v3 1/3] Documentation/bindings: Document the SafeXel cryptographic engine driver

From
Marc Zyngier <hidden>
Date
2017-05-22 15:02:38
Also in
linux-crypto
Reply to
Antoine Tenart, 2017-05-22
On 22/05/17 15:54, Antoine Tenart wrote:
On Mon, May 22, 2017 at 03:48:30PM +0100, Marc Zyngier wrote:
quoted
On 22/05/17 15:30, Antoine Tenart wrote:
quoted
On Wed, May 03, 2017 at 05:36:38PM +0100, Marc Zyngier wrote:
quoted
On 24/04/17 08:54, Antoine Tenart wrote:
quoted
+
+	crypto: crypto at 800000 {
+		compatible = "inside-secure,safexcel-eip197";
+		reg = <0x800000 0x200000>;
+		interrupts = <GIC_SPI 34 (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_LEVEL_HIGH)>,
I'm puzzled. How can the interrupt can be both level *and* edge? That
doesn't make any sense.
I agree this looks odd. I took it from Russel's ICU mapping:
http://lists.infradead.org/pipermail/linux-arm-kernel/2017-February/489040.html
This emails says:

ICU-irq => GIC-SPI-num Enable Edge/Level ICU-group
[...]
   24 =>  34 En Lv 0
It also says: 87 =>  34 En Lv 5, which is the IRQ I'm looking for.
Ah, that one as well. So how is the interrupt routed? Via the ICU, and
then to the GIC (with several ICU sources mapped on a single SPI)?

If so, the binding should reflect this.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...
Thread (20 messages) 20 messages, 6 authors, last reply 2017-05-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help