All of lore.kernel.org
 help / color / mirror / Atom feed
From: khilman@baylibre.com (Kevin Hilman)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 1/4] tty: serial: meson: allow baud-rates higher than 115200
Date: Wed, 18 Jan 2017 13:44:42 -0800	[thread overview]
Message-ID: <m2o9z4yred.fsf@baylibre.com> (raw)
In-Reply-To: <20170115223255.10350-2-martin.blumenstingl@googlemail.com> (Martin Blumenstingl's message of "Sun, 15 Jan 2017 23:32:52 +0100")

Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:

> The vendor driver allows setting baud-rates higher than 115200 baud.
> There is a check in the vendor driver which prevents using more than
> 115200 baud during startup, however it does not have such a check in
> .set_termios.
> Higher baud-rates are often used by the bluetooth modules embedded into
> the SDIO wifi chips (Amlogic devices use brcmfmac based wifi chips quite
> often, 2000000 baud seems to be a common value for the UART baud-rate in
> Amlogic's "libbt").
>
> I have tested this on a Meson GXL device with uart_A (to which the
> bluetooth module is connected, where initialization times out with
> 115200 baud) and uart_AO (which I manually set to 2000000 baud  and then
> connected with my USB UART adapter to that).
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Acked-by: Kevin Hilman <khilman@baylibre.com>

WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
To: Martin Blumenstingl
	<martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Cc: linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	jslaby-IBi9RG/b67k@public.gmane.org,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
	carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	will.deacon-5wv7dgnIgG8@public.gmane.org,
	catalin.marinas-5wv7dgnIgG8@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Subject: Re: [PATCH 1/4] tty: serial: meson: allow baud-rates higher than 115200
Date: Wed, 18 Jan 2017 13:44:42 -0800	[thread overview]
Message-ID: <m2o9z4yred.fsf@baylibre.com> (raw)
In-Reply-To: <20170115223255.10350-2-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> (Martin Blumenstingl's message of "Sun, 15 Jan 2017 23:32:52 +0100")

Martin Blumenstingl <martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> writes:

> The vendor driver allows setting baud-rates higher than 115200 baud.
> There is a check in the vendor driver which prevents using more than
> 115200 baud during startup, however it does not have such a check in
> .set_termios.
> Higher baud-rates are often used by the bluetooth modules embedded into
> the SDIO wifi chips (Amlogic devices use brcmfmac based wifi chips quite
> often, 2000000 baud seems to be a common value for the UART baud-rate in
> Amlogic's "libbt").
>
> I have tested this on a Meson GXL device with uart_A (to which the
> bluetooth module is connected, where initialization times out with
> 115200 baud) and uart_AO (which I manually set to 2000000 baud  and then
> connected with my USB UART adapter to that).
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>

Acked-by: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
--
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

WARNING: multiple messages have this Message-ID (diff)
From: khilman@baylibre.com (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] tty: serial: meson: allow baud-rates higher than 115200
Date: Wed, 18 Jan 2017 13:44:42 -0800	[thread overview]
Message-ID: <m2o9z4yred.fsf@baylibre.com> (raw)
In-Reply-To: <20170115223255.10350-2-martin.blumenstingl@googlemail.com> (Martin Blumenstingl's message of "Sun, 15 Jan 2017 23:32:52 +0100")

Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:

> The vendor driver allows setting baud-rates higher than 115200 baud.
> There is a check in the vendor driver which prevents using more than
> 115200 baud during startup, however it does not have such a check in
> .set_termios.
> Higher baud-rates are often used by the bluetooth modules embedded into
> the SDIO wifi chips (Amlogic devices use brcmfmac based wifi chips quite
> often, 2000000 baud seems to be a common value for the UART baud-rate in
> Amlogic's "libbt").
>
> I have tested this on a Meson GXL device with uart_A (to which the
> bluetooth module is connected, where initialization times out with
> 115200 baud) and uart_AO (which I manually set to 2000000 baud  and then
> connected with my USB UART adapter to that).
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Acked-by: Kevin Hilman <khilman@baylibre.com>

  parent reply	other threads:[~2017-01-18 21:44 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-15 22:32 [PATCH 0/4] Bluetooth support for GXBB/GXL/GXM based devices Martin Blumenstingl
2017-01-15 22:32 ` Martin Blumenstingl
2017-01-15 22:32 ` Martin Blumenstingl
2017-01-15 22:32 ` [PATCH 1/4] tty: serial: meson: allow baud-rates higher than 115200 Martin Blumenstingl
2017-01-15 22:32   ` Martin Blumenstingl
2017-01-15 22:32   ` Martin Blumenstingl
2017-01-15 22:48   ` Andreas Färber
2017-01-15 22:48     ` Andreas Färber
2017-01-15 22:48     ` Andreas Färber
2017-01-18 21:44   ` Kevin Hilman [this message]
2017-01-18 21:44     ` Kevin Hilman
2017-01-18 21:44     ` Kevin Hilman
2017-01-15 22:32 ` [PATCH 2/4] ARM64: dts: meson-gx: add the serial CTS and RTS pin groups Martin Blumenstingl
2017-01-15 22:32   ` Martin Blumenstingl
2017-01-15 22:32   ` Martin Blumenstingl
2017-01-15 22:50   ` Andreas Färber
2017-01-15 22:50     ` Andreas Färber
2017-01-15 22:50     ` Andreas Färber
2017-01-18 21:52     ` Kevin Hilman
2017-01-18 21:52       ` Kevin Hilman
2017-01-18 21:52       ` Kevin Hilman
2017-01-15 22:32 ` [PATCH 3/4] ARM64: dts: meson-gx-p23x-q20x: enable the Bluetooth module Martin Blumenstingl
2017-01-15 22:32   ` Martin Blumenstingl
2017-01-15 22:32   ` Martin Blumenstingl
2017-01-16  0:47   ` Andreas Färber
2017-01-16  0:47     ` Andreas Färber
2017-01-16  0:47     ` Andreas Färber
2017-01-16  9:44     ` Martin Blumenstingl
2017-01-16  9:44       ` Martin Blumenstingl
2017-01-16  9:44       ` Martin Blumenstingl
2017-01-15 22:32 ` [PATCH 4/4] ARM64: dts: meson-gxbb-vega-s95: " Martin Blumenstingl
2017-01-15 22:32   ` Martin Blumenstingl
2017-01-15 22:32   ` Martin Blumenstingl
2017-01-15 22:55   ` Andreas Färber
2017-01-15 22:55     ` Andreas Färber
2017-01-15 22:55     ` Andreas Färber
2017-01-18 11:25 ` [PATCH 0/4] Bluetooth support for GXBB/GXL/GXM based devices Martin Blumenstingl
2017-01-18 11:25   ` Martin Blumenstingl
2017-01-18 11:25   ` Martin Blumenstingl
2017-01-18 22:02   ` Kevin Hilman
2017-01-18 22:02     ` Kevin Hilman
2017-01-18 22:02     ` Kevin Hilman
2017-01-19 13:39     ` Greg KH
2017-01-19 13:39       ` Greg KH
2017-01-19 13:39       ` Greg KH

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=m2o9z4yred.fsf@baylibre.com \
    --to=khilman@baylibre.com \
    --cc=linus-amlogic@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.