linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties
@ 2022-06-20 12:41 YuTong Chang
  2022-06-24 15:37 ` Krzysztof Kozlowski
  2022-06-27 10:54 ` Tony Lindgren
  0 siblings, 2 replies; 6+ messages in thread
From: YuTong Chang @ 2022-06-20 12:41 UTC (permalink / raw)
  To: bcousson
  Cc: tony, robh+dt, krzysztof.kozlowski+dt, linux-omap, devicetree,
	linux-kernel, YuTong Chang

According to technical manual(table 11-24), the DMA of MMCHS0 should be
direct mapped.

Signed-off-by: YuTong Chang <mtwget@gmail.com>
---
v1 -> v2: Cleaned up coding style and addressed review comments

 arch/arm/boot/dts/am33xx-l4.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi
index 7da42a5b959c..7e50fe633d8a 100644
--- a/arch/arm/boot/dts/am33xx-l4.dtsi
+++ b/arch/arm/boot/dts/am33xx-l4.dtsi
@@ -1502,8 +1502,7 @@ SYSC_OMAP2_SOFTRESET |
 			mmc1: mmc@0 {
 				compatible = "ti,am335-sdhci";
 				ti,needs-special-reset;
-				dmas = <&edma_xbar 24 0 0
-					&edma_xbar 25 0 0>;
+				dmas = <&edma 24 0>, <&edma 25 0>;
 				dma-names = "tx", "rx";
 				interrupts = <64>;
 				reg = <0x0 0x1000>;
-- 
2.36.1


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

* Re: [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties
  2022-06-20 12:41 [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties YuTong Chang
@ 2022-06-24 15:37 ` Krzysztof Kozlowski
  2022-06-27 10:54 ` Tony Lindgren
  1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-24 15:37 UTC (permalink / raw)
  To: YuTong Chang, bcousson
  Cc: tony, robh+dt, krzysztof.kozlowski+dt, linux-omap, devicetree,
	linux-kernel

On 20/06/2022 14:41, YuTong Chang wrote:
> According to technical manual(table 11-24), the DMA of MMCHS0 should be
> direct mapped.
> 
> Signed-off-by: YuTong Chang <mtwget@gmail.com>
> ---
> v1 -> v2: Cleaned up coding style and addressed review comments

Please add Acked-by/Reviewed-by tags when posting new versions. However,
there's no need to repost patches *only* to add the tags. The upstream
maintainer will do that for acks received on the version they apply.

https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540

If a tag was not added on purpose, please state why and what changed.


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof

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

* Re: [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties
  2022-06-20 12:41 [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties YuTong Chang
  2022-06-24 15:37 ` Krzysztof Kozlowski
@ 2022-06-27 10:54 ` Tony Lindgren
  2022-07-01  6:04   ` Yu-Tung Chang
  1 sibling, 1 reply; 6+ messages in thread
From: Tony Lindgren @ 2022-06-27 10:54 UTC (permalink / raw)
  To: YuTong Chang
  Cc: bcousson, robh+dt, krzysztof.kozlowski+dt, linux-omap, devicetree,
	linux-kernel

Hi,

* YuTong Chang <mtwget@gmail.com> [220620 15:36]:
> According to technical manual(table 11-24), the DMA of MMCHS0 should be
> direct mapped.

Could this be a bug in the manual assuming mmchs0 is working? Or does this
fix something for you?

Regards,

Tony

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

* Re: [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties
  2022-06-27 10:54 ` Tony Lindgren
@ 2022-07-01  6:04   ` Yu-Tung Chang
  2022-07-01  6:14     ` Yu-Tung Chang
  0 siblings, 1 reply; 6+ messages in thread
From: Yu-Tung Chang @ 2022-07-01  6:04 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Benoit Cousson, robh+dt, krzysztof.kozlowski+dt, linux-omap,
	devicetree, open list

Tony Lindgren <tony@atomide.com> 于2022年6月27日周一 18:54写道:

>
> Hi,
>
> * YuTong Chang <mtwget@gmail.com> [220620 15:36]:
> > According to technical manual(table 11-24), the DMA of MMCHS0 should be
> > direct mapped.
>
> Could this be a bug in the manual assuming mmchs0 is working? Or does this
> fix something for you?
>
It modified in commit b5e5090660742c838ddc0b5d1a001e6fe3d5bfd5,
the dma of mmc1 was changed to edma_xbar and did not explain why it should
not match the document.
> Regards,
>
> Tony

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

* Re: [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties
  2022-07-01  6:04   ` Yu-Tung Chang
@ 2022-07-01  6:14     ` Yu-Tung Chang
  2022-07-04  6:25       ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: Yu-Tung Chang @ 2022-07-01  6:14 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Benoit Cousson, robh+dt, krzysztof.kozlowski+dt, linux-omap,
	devicetree, open list

Yu-Tung Chang <mtwget@gmail.com> 于2022年7月1日周五 14:04写道:
>
> Tony Lindgren <tony@atomide.com> 于2022年6月27日周一 18:54写道:
>
> >
> > Hi,
> >
> > * YuTong Chang <mtwget@gmail.com> [220620 15:36]:
> > > According to technical manual(table 11-24), the DMA of MMCHS0 should be
> > > direct mapped.
> >
> > Could this be a bug in the manual assuming mmchs0 is working? Or does this
> > fix something for you?
> >
> It modified in commit b5e5090660742c838ddc0b5d1a001e6fe3d5bfd5,
> the dma of mmc1 was changed to edma_xbar and did not explain why it should
> not match the document.
> > Regards,
> >
> > Tony
No evidence of any official documentation error, before submitting
b5e5090660742c838ddc0b5d1a001e6fe3d5bfd5, the mmc1 dma properties
matches the official documentation.

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

* Re: [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties
  2022-07-01  6:14     ` Yu-Tung Chang
@ 2022-07-04  6:25       ` Tony Lindgren
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2022-07-04  6:25 UTC (permalink / raw)
  To: Yu-Tung Chang
  Cc: Benoit Cousson, robh+dt, krzysztof.kozlowski+dt, linux-omap,
	devicetree, open list

* Yu-Tung Chang <mtwget@gmail.com> [220701 06:09]:
> Yu-Tung Chang <mtwget@gmail.com> 于2022年7月1日周五 14:04写道:
> >
> > Tony Lindgren <tony@atomide.com> 于2022年6月27日周一 18:54写道:
> >
> > >
> > > Hi,
> > >
> > > * YuTong Chang <mtwget@gmail.com> [220620 15:36]:
> > > > According to technical manual(table 11-24), the DMA of MMCHS0 should be
> > > > direct mapped.
> > >
> > > Could this be a bug in the manual assuming mmchs0 is working? Or does this
> > > fix something for you?
> > >
> > It modified in commit b5e5090660742c838ddc0b5d1a001e6fe3d5bfd5,
> > the dma of mmc1 was changed to edma_xbar and did not explain why it should
> > not match the document.
> > > Regards,
> > >
> > > Tony
> No evidence of any official documentation error, before submitting
> b5e5090660742c838ddc0b5d1a001e6fe3d5bfd5, the mmc1 dma properties
> matches the official documentation.

OK thanks for clarifying. will apply to fixes with a fixes tag.

Regards,

Tony

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

end of thread, other threads:[~2022-07-04  6:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-20 12:41 [PATCH v2] ARM: dts: am33xx: Fix MMCHS0 dma properties YuTong Chang
2022-06-24 15:37 ` Krzysztof Kozlowski
2022-06-27 10:54 ` Tony Lindgren
2022-07-01  6:04   ` Yu-Tung Chang
2022-07-01  6:14     ` Yu-Tung Chang
2022-07-04  6:25       ` Tony Lindgren

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).