All of lore.kernel.org
 help / color / mirror / Atom feed
From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] arm64: dts: marvell: Fix A37xx UART0 register size
Date: Tue, 19 Sep 2017 16:12:10 +0200	[thread overview]
Message-ID: <87bmm6srph.fsf@free-electrons.com> (raw)
In-Reply-To: <20170907130453.25497-1-miquel.raynal@free-electrons.com> (Miquel Raynal's message of "Thu, 7 Sep 2017 15:04:53 +0200")

Hi Miquel,
 
 On jeu., sept. 07 2017, Miquel Raynal <miquel.raynal@free-electrons.com> wrote:

> From: allen yan <yanwei@marvell.com>
>
> Armada-37xx UART0 registers are 0x200 bytes wide. Right next to them are
> the UART1 registers that should not be declared in this node.
>
> Update the example in DT bindings document accordingly.
>
> Signed-off-by: allen yan <yanwei@marvell.com>
> Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>

Applied on mvebu/dt64

Thanks,

Gregory

> ---
>
> Change since first version: re-added original author 'Signed-off-by'.
>
>  Documentation/devicetree/bindings/serial/mvebu-uart.txt | 2 +-
>  arch/arm64/boot/dts/marvell/armada-37xx.dtsi            | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/serial/mvebu-uart.txt b/Documentation/devicetree/bindings/serial/mvebu-uart.txt
> index 6087defd9f93..d37fabe17bd1 100644
> --- a/Documentation/devicetree/bindings/serial/mvebu-uart.txt
> +++ b/Documentation/devicetree/bindings/serial/mvebu-uart.txt
> @@ -8,6 +8,6 @@ Required properties:
>  Example:
>  	serial at 12000 {
>  		compatible = "marvell,armada-3700-uart";
> -		reg = <0x12000 0x400>;
> +		reg = <0x12000 0x200>;
>  		interrupts = <43>;
>  	};
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index 51763d674050..9e558801266a 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -129,7 +129,7 @@
>  
>  			uart0: serial at 12000 {
>  				compatible = "marvell,armada-3700-uart";
> -				reg = <0x12000 0x400>;
> +				reg = <0x12000 0x200>;
>  				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
>  				status = "disabled";
>  			};
> -- 
> 2.11.0
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

      reply	other threads:[~2017-09-19 14:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-07 13:04 [PATCH v2] arm64: dts: marvell: Fix A37xx UART0 register size Miquel Raynal
2017-09-19 14:12 ` Gregory CLEMENT [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=87bmm6srph.fsf@free-electrons.com \
    --to=gregory.clement@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.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.