From: Jongsung Kim <neidhard.kim@lge.com> To: swarren@wwwdotorg.org, linux@arm.linux.org.uk, gregkh@linuxfoundation.org, jslaby@suse.cz Cc: linux-serial@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jongsung Kim <neidhard.kim@lge.com> Subject: [PATCH] ARM: bcm2835: override the HW UART periphid Date: Tue, 21 May 2013 15:02:29 +0900 [thread overview] Message-ID: <1369116149-2361-1-git-send-email-neidhard.kim@lge.com> (raw) In-Reply-To: <519AD82A.6090809@wwwdotorg.org> Stephen Warren reported the recent commit 78506f2 (add support for extended FIFO-size of PL011-r1p5) breaks the serial port on the BCM2835 ARM SoC. A UART compatible with the ARM PL011-r1p5 should have 32-deep FIFOs. The BCM2835 UART just looks like an ARM PL011-r1p5, but has 16-deep FIFOs just like PL011-r1p4 or earlier revisions. As a workaround for this compatibility issue, this patch overrides the HW UART periphid register values with the actually compatible UART periphid 0x00241011 (r1p3 or r1p4). Reported-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Jongsung Kim <neidhard.kim@lge.com> --- arch/arm/boot/dts/bcm2835.dtsi | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index f0052dc..1e12aef 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/arch/arm/boot/dts/bcm2835.dtsi @@ -44,6 +44,7 @@ reg = <0x7e201000 0x1000>; interrupts = <2 25>; clock-frequency = <3000000>; + arm,primecell-periphid = <0x00241011>; }; gpio: gpio { -- 1.7.1
WARNING: multiple messages have this Message-ID (diff)
From: neidhard.kim@lge.com (Jongsung Kim) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: bcm2835: override the HW UART periphid Date: Tue, 21 May 2013 15:02:29 +0900 [thread overview] Message-ID: <1369116149-2361-1-git-send-email-neidhard.kim@lge.com> (raw) In-Reply-To: <519AD82A.6090809@wwwdotorg.org> Stephen Warren reported the recent commit 78506f2 (add support for extended FIFO-size of PL011-r1p5) breaks the serial port on the BCM2835 ARM SoC. A UART compatible with the ARM PL011-r1p5 should have 32-deep FIFOs. The BCM2835 UART just looks like an ARM PL011-r1p5, but has 16-deep FIFOs just like PL011-r1p4 or earlier revisions. As a workaround for this compatibility issue, this patch overrides the HW UART periphid register values with the actually compatible UART periphid 0x00241011 (r1p3 or r1p4). Reported-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Jongsung Kim <neidhard.kim@lge.com> --- arch/arm/boot/dts/bcm2835.dtsi | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index f0052dc..1e12aef 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/arch/arm/boot/dts/bcm2835.dtsi @@ -44,6 +44,7 @@ reg = <0x7e201000 0x1000>; interrupts = <2 25>; clock-frequency = <3000000>; + arm,primecell-periphid = <0x00241011>; }; gpio: gpio { -- 1.7.1
next prev parent reply other threads:[~2013-05-21 6:02 UTC|newest] Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-04-12 9:18 [PATCH] ARM: PL011: add support for extended FIFO-size of PL011-r1p5 Jongsung Kim 2013-04-12 9:18 ` Jongsung Kim 2013-04-19 12:58 ` Russell King - ARM Linux 2013-05-14 5:56 ` Stephen Warren 2013-05-14 5:56 ` Stephen Warren 2013-05-14 5:56 ` Stephen Warren 2013-05-14 7:15 ` Jongsung Kim 2013-05-14 7:15 ` Jongsung Kim 2013-05-14 7:15 ` Jongsung Kim 2013-05-14 21:03 ` Stephen Warren 2013-05-14 21:03 ` Stephen Warren 2013-05-14 22:50 ` Russell King - ARM Linux 2013-05-14 22:50 ` Russell King - ARM Linux 2013-05-15 1:00 ` Jongsung Kim 2013-05-15 1:00 ` Jongsung Kim 2013-05-15 1:00 ` Jongsung Kim 2013-05-15 4:59 ` Stephen Warren 2013-05-15 4:59 ` Stephen Warren 2013-05-15 9:37 ` Russell King - ARM Linux 2013-05-15 9:37 ` Russell King - ARM Linux 2013-05-16 13:26 ` Jongsung Kim 2013-05-16 13:26 ` Jongsung Kim 2013-05-16 13:26 ` Jongsung Kim 2013-05-21 1:39 ` Jongsung Kim 2013-05-21 1:39 ` Jongsung Kim 2013-05-21 1:39 ` Jongsung Kim 2013-05-21 2:12 ` Stephen Warren 2013-05-21 2:12 ` Stephen Warren 2013-05-21 6:02 ` Jongsung Kim [this message] 2013-05-21 6:02 ` [PATCH] ARM: bcm2835: override the HW UART periphid Jongsung Kim 2013-05-21 6:07 ` Jongsung Kim 2013-05-21 6:07 ` Jongsung Kim 2013-05-21 6:07 ` Jongsung Kim 2013-05-21 9:00 ` Gordon Hollingworth 2013-05-21 9:00 ` Gordon Hollingworth 2013-05-21 9:00 ` Gordon Hollingworth 2013-05-21 16:34 ` Stephen Warren 2013-05-21 16:34 ` Stephen Warren 2013-05-22 1:43 ` Stephen Warren 2013-05-22 1:43 ` Stephen Warren 2013-05-22 1:52 ` Jongsung Kim 2013-05-22 1:52 ` Jongsung Kim 2013-05-22 1:52 ` Jongsung Kim 2013-05-30 4:07 Stephen Warren 2013-06-01 6:43 ` Olof Johansson
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=1369116149-2361-1-git-send-email-neidhard.kim@lge.com \ --to=neidhard.kim@lge.com \ --cc=gregkh@linuxfoundation.org \ --cc=jslaby@suse.cz \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-rpi-kernel@lists.infradead.org \ --cc=linux-serial@vger.kernel.org \ --cc=linux@arm.linux.org.uk \ --cc=swarren@wwwdotorg.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: linkBe 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.