Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1684575 > unrolled thread

[PATCH] ARM64: allwinner: sun50i-a64: Correct emac register size

Started byCorentin Labbe <clabbe.montjoie@gmail.com>
First post2017-07-10 20:50 +0200
Last post2017-07-11 21:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM64: allwinner: sun50i-a64: Correct emac register size Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-07-10 20:50 +0200
    Re: [PATCH] ARM64: allwinner: sun50i-a64: Correct emac register size Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-11 21:40 +0200

#1684575 — [PATCH] ARM64: allwinner: sun50i-a64: Correct emac register size

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2017-07-10 20:50 +0200
Subject[PATCH] ARM64: allwinner: sun50i-a64: Correct emac register size
Message-ID<u1LUS-cs-7@gated-at.bofh.it>
The datasheet said that emac register size is 0x10000 not 0x100

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index e9a41b1896df..be70f5cac447 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -464,7 +464,7 @@
 		emac: ethernet@1c30000 {
 			compatible = "allwinner,sun50i-a64-emac";
 			syscon = <&syscon>;
-			reg = <0x01c30000 0x100>;
+			reg = <0x01c30000 0x10000>;
 			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "macirq";
 			resets = <&ccu RST_BUS_EMAC>;
-- 
2.13.0

[toc] | [next] | [standalone]


#1685311

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2017-07-11 21:40 +0200
Message-ID<u29aN-6ru-13@gated-at.bofh.it>
In reply to#1684575

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jul 10, 2017 at 08:44:40PM +0200, Corentin Labbe wrote:
> The datasheet said that emac register size is 0x10000 not 0x100
> 
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>

Applied, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web