From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH/RFC 06/10] arm64: dts: r8a7795: add EthernetAVB device node
Date: Thu, 27 Aug 2015 19:43:31 +0000 [thread overview]
Message-ID: <55DF6863.8020509@cogentembedded.com> (raw)
In-Reply-To: <1440667450-3513-7-git-send-email-horms+renesas@verge.net.au>
On 08/27/2015 03:52 PM, Sergei Shtylyov wrote:
>>>>>>> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
>>>>>>> b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
>>>>>>> index 0b435d8274e4..01502f4d2f5f 100644
>>>>>>> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
>>>>>>> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
>>>>>>> @@ -263,6 +263,16 @@
>>>>>>> reg = <0 0xe6060000 0 0x50c>;
>>>>>>> };
>>>>>>>
>>>>>>> + avb: ethernet@e6800000 {
>>>>>>> + compatible = "renesas,etheravb-r8a7795";
>>>>>>> + reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0
>>>>>>> 0x10000>;
>>>>>>> + interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
>>>>>>> <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
>>>>>>
>>>>>> Two interrupts?
>>>>>
>>>>> There are actually 25, for ch0-ch24.
>>>>> Why does this list the interrupts for ch22 and ch24 only?
>>>>
>>>> So all these are AVB-DMAC interrupts, not EMAC? I don't have the
>>>> manual...
>>>
>>> The block diagram just shows a line "intreq_avb_p[24:0] (to INTC)", coming
>>> from both AVB-DMAC and E-MAC.
>
>> Then I'll have to NACK the driver patch.
Yeah, it seems to be total nonsense now... Unless there's some more recent
knowledge behind it than Geert's manual has. :-)
>> It's interesting that there's 24
25 even.
>> IRQs while I remember there were only 15 RX queues on gen2 SoCs.
Actually, 18.
>> That's the only interpretation of the multiple IRQs that comes to mind.
> Oops, I meant the descriptor interrupt #s (not used by the driver now),
> not the RX queues.
After looking thru the gen2 manual, it seems to me that these channels may
be representing 4 TX and 21 RX queues.
>>> Gr{oetje,eeting}s,
>>> Geert
MBR, Sergei
prev parent reply other threads:[~2015-08-27 19:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 9:24 [PATCH/RFC 06/10] arm64: dts: r8a7795: add EthernetAVB device node Simon Horman
2015-08-27 10:41 ` Sergei Shtylyov
2015-08-27 11:00 ` Geert Uytterhoeven
2015-08-27 11:38 ` Sergei Shtylyov
2015-08-27 11:44 ` Geert Uytterhoeven
2015-08-27 12:32 ` Sergei Shtylyov
2015-08-27 12:52 ` Sergei Shtylyov
2015-08-27 19:43 ` Sergei Shtylyov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55DF6863.8020509@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.