public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: <Conor.Dooley@microchip.com>
To: <fancer.lancer@gmail.com>, <mail@conchuod.ie>
Cc: niklas.cassel@wdc.com, alsa-devel@alsa-project.org,
	airlied@linux.ie, palmer@rivosinc.com,
	linux-kernel@vger.kernel.org, thierry.reding@gmail.com,
	krzysztof.kozlowski+dt@linaro.org,
	linux-riscv@lists.infradead.org, sam@ravnborg.org,
	damien.lemoal@opensource.wdc.com, daniel.lezcano@linaro.org,
	joabreu@synopsys.com, geert@linux-m68k.org,
	Eugeniy.Paltsev@synopsys.com, devicetree@vger.kernel.org,
	aou@eecs.berkeley.edu, broonie@kernel.org,
	dri-devel@lists.freedesktop.org, paul.walmsley@sifive.com,
	tglx@linutronix.de, dillon.minfei@gmail.com, lgirdwood@gmail.com,
	linux-spi@vger.kernel.org, vkoul@kernel.org, robh+dt@kernel.org,
	palmer@dabbelt.com, daniel@ffwll.ch, dmaengine@vger.kernel.org,
	masahiroy@kernel.org
Subject: Re: [PATCH v3 05/15] dt-bindings: dma: dw-axi-dmac: extend the number of interrupts
Date: Thu, 30 Jun 2022 23:12:53 +0000	[thread overview]
Message-ID: <f7d64f1d-9fb8-6259-cd60-8bfc65636300@microchip.com> (raw)
In-Reply-To: <20220630215540.cifnzovya57bgbsw@mobilestation>

On 30/06/2022 22:55, Serge Semin wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Wed, Jun 29, 2022 at 07:43:34PM +0100, Conor Dooley wrote:
>> From: Conor Dooley <conor.dooley@microchip.com>
>>
>> The Canaan k210 apparently has a Sysnopsys Designware AXI DMA
>> controller, but according to the documentation & devicetree it has 6
>> interrupts rather than the standard one. Support the 6 interrupt
>> configuration by unconditionally extending the binding to a maximum of
>> 8 per-channel interrupts thereby matching the number of possible
>> channels.
>>
>> Link: https://canaan-creative.com/wp-content/uploads/2020/03/kendryte_standalone_programming_guide_20190311144158_en.pdf #Page 51
>> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
>> ---
>>  Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
>> index 4324a94b26b2..e33ef22aec9c 100644
>> --- a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
>> +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
>> @@ -34,7 +34,9 @@ properties:
>>        - const: axidma_apb_regs
>>
>>    interrupts:
> 
>> -    maxItems: 1
>> +    description: per channel interrupts
> 
> Description is inaccurate. It's either combined or per-channel IRQs.

I will change it to:
  interrupts:
    description: |
      If the IP-core synthesis parameter DMAX_INTR_IO_TYPE is set to 1, this
      will be per-channel interrupts. Otherwise, this is a single combined IRQ
      for all channels.
    minItems: 1
    maxItems: 8

How's that sound?


> 
> Other than that:
> Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
> 
> -Sergey
> 
>> +    minItems: 1
>> +    maxItems: 8
>>
>>    clocks:
>>      items:
>> --
>> 2.36.1
>>


  reply	other threads:[~2022-07-04 11:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220629184343.3438856-1-mail@conchuod.ie>
2022-06-30 16:28 ` [PATCH v3 00/15] Canaan devicetree fixes Niklas Cassel
2022-06-30 16:38   ` Conor.Dooley
2022-06-30 17:53   ` Sudeep Holla
2022-06-30 18:01     ` Conor.Dooley
2022-06-30 18:21       ` Sudeep Holla
2022-06-30 18:30         ` Conor.Dooley
2022-06-30 21:16     ` Damien Le Moal
2022-07-01 11:14       ` Sudeep Holla
     [not found] ` <20220629184343.3438856-14-mail@conchuod.ie>
2022-06-30 16:49   ` [PATCH v3 13/15] riscv: dts: canaan: fix bus {ranges,reg} warnings Niklas Cassel
2022-06-30 17:02     ` Conor.Dooley
2022-06-30 19:31       ` Conor.Dooley
     [not found] ` <20220629184343.3438856-5-mail@conchuod.ie>
2022-06-30 16:57   ` [PATCH v3 04/15] spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width Rob Herring
2022-06-30 21:43   ` Serge Semin
     [not found] ` <20220629184343.3438856-9-mail@conchuod.ie>
2022-06-30 21:51   ` [PATCH v3 08/15] riscv: dts: canaan: fix the k210's timer nodes Serge Semin
     [not found] ` <20220629184343.3438856-6-mail@conchuod.ie>
2022-06-30 21:55   ` [PATCH v3 05/15] dt-bindings: dma: dw-axi-dmac: extend the number of interrupts Serge Semin
2022-06-30 23:12     ` Conor.Dooley [this message]
2022-07-01 19:41       ` Rob Herring
2022-07-01 10:31 ` (subset) [PATCH v3 00/15] Canaan devicetree fixes Mark Brown
     [not found] ` <20220629184343.3438856-3-mail@conchuod.ie>
2022-07-01 19:38   ` [PATCH v3 02/15] dt-bindings: display: ili9341: document canaan kd233's lcd Rob Herring
     [not found] ` <20220629184343.3438856-4-mail@conchuod.ie>
2022-07-01 19:39   ` [PATCH v3 03/15] ASoC: dt-bindings: convert designware-i2s to dt-schema Rob Herring

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=f7d64f1d-9fb8-6259-cd60-8bfc65636300@microchip.com \
    --to=conor.dooley@microchip.com \
    --cc=Eugeniy.Paltsev@synopsys.com \
    --cc=airlied@linux.ie \
    --cc=alsa-devel@alsa-project.org \
    --cc=aou@eecs.berkeley.edu \
    --cc=broonie@kernel.org \
    --cc=damien.lemoal@opensource.wdc.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dillon.minfei@gmail.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=fancer.lancer@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=joabreu@synopsys.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=mail@conchuod.ie \
    --cc=masahiroy@kernel.org \
    --cc=niklas.cassel@wdc.com \
    --cc=palmer@dabbelt.com \
    --cc=palmer@rivosinc.com \
    --cc=paul.walmsley@sifive.com \
    --cc=robh+dt@kernel.org \
    --cc=sam@ravnborg.org \
    --cc=tglx@linutronix.de \
    --cc=thierry.reding@gmail.com \
    --cc=vkoul@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox