* [PATCH] ARM: at91/dt: sama5d4: fix dma conf for aes, sha and tdes nodes @ 2015-06-08 13:55 Ludovic Desroches 2015-06-09 10:12 ` Nicolas Ferre 0 siblings, 1 reply; 3+ messages in thread From: Ludovic Desroches @ 2015-06-08 13:55 UTC (permalink / raw) To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA Cc: nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w, alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, Ludovic Desroches The xdmac channel configuration is done in one cell not two. This error prevents from probing devices correctly. Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Fixes: 83906783b766 ("ARM: at91/dt: sama5d4: add aes, sha and tdes nodes") Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org # 4.1 --- arch/arm/boot/dts/sama5d4.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi index 6b1bb58..51ddec4 100644 --- a/arch/arm/boot/dts/sama5d4.dtsi +++ b/arch/arm/boot/dts/sama5d4.dtsi @@ -1125,10 +1125,10 @@ compatible = "atmel,at91sam9g46-aes"; reg = <0xfc044000 0x100>; interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>; - dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) - AT91_XDMAC_DT_PERID(41)>, - <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) - AT91_XDMAC_DT_PERID(40)>; + dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) + | AT91_XDMAC_DT_PERID(41))>, + <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) + | AT91_XDMAC_DT_PERID(40))>; dma-names = "tx", "rx"; clocks = <&aes_clk>; clock-names = "aes_clk"; @@ -1139,10 +1139,10 @@ compatible = "atmel,at91sam9g46-tdes"; reg = <0xfc04c000 0x100>; interrupts = <14 IRQ_TYPE_LEVEL_HIGH 0>; - dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) - AT91_XDMAC_DT_PERID(42)>, - <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) - AT91_XDMAC_DT_PERID(43)>; + dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) + | AT91_XDMAC_DT_PERID(42))>, + <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) + | AT91_XDMAC_DT_PERID(43))>; dma-names = "tx", "rx"; clocks = <&tdes_clk>; clock-names = "tdes_clk"; @@ -1153,8 +1153,8 @@ compatible = "atmel,at91sam9g46-sha"; reg = <0xfc050000 0x100>; interrupts = <15 IRQ_TYPE_LEVEL_HIGH 0>; - dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) - AT91_XDMAC_DT_PERID(44)>; + dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) + | AT91_XDMAC_DT_PERID(44))>; dma-names = "tx"; clocks = <&sha_clk>; clock-names = "sha_clk"; -- 2.2.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: at91/dt: sama5d4: fix dma conf for aes, sha and tdes nodes 2015-06-08 13:55 [PATCH] ARM: at91/dt: sama5d4: fix dma conf for aes, sha and tdes nodes Ludovic Desroches @ 2015-06-09 10:12 ` Nicolas Ferre [not found] ` <5576BBFD.2060605-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Nicolas Ferre @ 2015-06-09 10:12 UTC (permalink / raw) To: Ludovic Desroches, Arnd Bergmann, Olof Johansson, Kevin Hilman Cc: linux-arm-kernel, devicetree, linux-kernel, alexandre.belloni Le 08/06/2015 15:55, Ludovic Desroches a écrit : > The xdmac channel configuration is done in one cell not two. This error > prevents from probing devices correctly. > > Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> > Fixes: 83906783b766 ("ARM: at91/dt: sama5d4: add aes, sha and tdes nodes") > Cc: stable@vger.kernel.org # 4.1 Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Arnd, Olof, Kevin, This patch is a fix concerning material that had been added to 4.1, so it's not exactly a regression. So, as we missed the last train to 4.1, I'd like to queue it for 4.2 but it's the only patch I have on top of my previous DT pull-request (at91-dt4, not taken by you, yet). So, should I build another pull-request (at91-dt5) or can you take this single patch when you pull the at91-dt4 material? BTW, here is the link to patchwork if it's easier: https://patchwork.kernel.org/patch/6565591/ Thanks, bye, > --- > arch/arm/boot/dts/sama5d4.dtsi | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi > index 6b1bb58..51ddec4 100644 > --- a/arch/arm/boot/dts/sama5d4.dtsi > +++ b/arch/arm/boot/dts/sama5d4.dtsi > @@ -1125,10 +1125,10 @@ > compatible = "atmel,at91sam9g46-aes"; > reg = <0xfc044000 0x100>; > interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>; > - dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) > - AT91_XDMAC_DT_PERID(41)>, > - <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) > - AT91_XDMAC_DT_PERID(40)>; > + dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) > + | AT91_XDMAC_DT_PERID(41))>, > + <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) > + | AT91_XDMAC_DT_PERID(40))>; > dma-names = "tx", "rx"; > clocks = <&aes_clk>; > clock-names = "aes_clk"; > @@ -1139,10 +1139,10 @@ > compatible = "atmel,at91sam9g46-tdes"; > reg = <0xfc04c000 0x100>; > interrupts = <14 IRQ_TYPE_LEVEL_HIGH 0>; > - dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) > - AT91_XDMAC_DT_PERID(42)>, > - <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) > - AT91_XDMAC_DT_PERID(43)>; > + dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) > + | AT91_XDMAC_DT_PERID(42))>, > + <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) > + | AT91_XDMAC_DT_PERID(43))>; > dma-names = "tx", "rx"; > clocks = <&tdes_clk>; > clock-names = "tdes_clk"; > @@ -1153,8 +1153,8 @@ > compatible = "atmel,at91sam9g46-sha"; > reg = <0xfc050000 0x100>; > interrupts = <15 IRQ_TYPE_LEVEL_HIGH 0>; > - dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) > - AT91_XDMAC_DT_PERID(44)>; > + dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) > + | AT91_XDMAC_DT_PERID(44))>; > dma-names = "tx"; > clocks = <&sha_clk>; > clock-names = "sha_clk"; > -- Nicolas Ferre ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <5576BBFD.2060605-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] ARM: at91/dt: sama5d4: fix dma conf for aes, sha and tdes nodes [not found] ` <5576BBFD.2060605-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> @ 2015-06-11 1:57 ` Kevin Hilman 0 siblings, 0 replies; 3+ messages in thread From: Kevin Hilman @ 2015-06-11 1:57 UTC (permalink / raw) To: Nicolas Ferre Cc: Ludovic Desroches, Arnd Bergmann, Olof Johansson, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> writes: > Le 08/06/2015 15:55, Ludovic Desroches a écrit : >> The xdmac channel configuration is done in one cell not two. This error >> prevents from probing devices correctly. >> >> Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> >> Fixes: 83906783b766 ("ARM: at91/dt: sama5d4: add aes, sha and tdes nodes") >> Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org # 4.1 > > Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > > Arnd, Olof, Kevin, > > This patch is a fix concerning material that had been added to 4.1, so > it's not exactly a regression. > > So, as we missed the last train to 4.1, I'd like to queue it for 4.2 but > it's the only patch I have on top of my previous DT pull-request > (at91-dt4, not taken by you, yet). > > So, should I build another pull-request (at91-dt5) or can you take this > single patch when you pull the at91-dt4 material? I've applied it to next/dt after pulling your dt4 series. > BTW, here is the link to patchwork if it's easier: > https://patchwork.kernel.org/patch/6565591/ Yes, that's helpful. I'm a big fan of 'pwclient git-am', and patchwork collects acks automatically as well. :) Thanks, Kevin -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-11 1:57 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-06-08 13:55 [PATCH] ARM: at91/dt: sama5d4: fix dma conf for aes, sha and tdes nodes Ludovic Desroches 2015-06-09 10:12 ` Nicolas Ferre [not found] ` <5576BBFD.2060605-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> 2015-06-11 1:57 ` Kevin Hilman
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).