From: "Ivan T. Ivanov" <iivanov@suse.de>
To: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: linus.walleij@linaro.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, wahrenst@gmx.net, andrea.porta@suse.com,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 7/7] arm64: dts: broadcom: bcm2712: Add UARTA controller node.
Date: Thu, 1 Aug 2024 10:50:03 +0300 [thread overview]
Message-ID: <20240801075003.ghbxzmzzttevmo5u@localhost.localdomain> (raw)
In-Reply-To: <f1b19a03-9509-4d1c-9e54-9c07a372cad3@broadcom.com>
Hi,
On 07-31 15:13, Florian Fainelli wrote:
> > +
> > +/* uarta communicates with the BT module */
> > +&uarta {
> > + uart-has-rtscts;
> > + auto-flow-control;
> > + status = "okay";
> > + clock-frequency = <96000000>;
>
> Would not the "clock-frequency" belong to the .dtsi node instead?
>
Perhaps.
> > + pinctrl-0 = <&uarta_24_pins &bt_shutdown_pins>;
> > + pinctrl-names = "default";
> > +
> > + bluetooth: bluetooth {
> > + compatible = "brcm,bcm43438-bt";
> > + max-speed = <3000000>;
> > + shutdown-gpios = <&gio 29 GPIO_ACTIVE_HIGH>;
> > + local-bd-address = [ 00 00 00 00 00 00 ];
> > + };
> > +};
> > diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> > index 3c0663dc6712..e972f94d6828 100644
> > --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> > +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> > @@ -305,6 +305,17 @@ gio: gpio@7d508500 {
> > brcm,gpio-direct;
> > };
> > + uarta: serial@7d50c000 {
> > + compatible = "brcm,bcm7271-uart";
> > + reg = <0x7d50c000 0x20>;
> > + reg-names = "uart";
> > + reg-shift = <2>;
> > + reg-io-width = <4>;
> > + interrupts = <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>;
> > + skip-init;
>
> Also an undocumented property upstream, what does it do? Is this to set
> UPF_SKIP_TEST?
It is U-Boot thing [1]. I suppose I can drop it.
Thanks,
Ivan
[1] ... "
serial: pl01x: Add support for devices with the rate pre-configured.
For Raspberry Pi, we had the input clock rate to the pl011 fixed in
the rpi.c file, but it may be changed by firmware due to user changes
to config.txt. Since the firmware always sets up the uart (default
115200 output unless the user changes it), we can just skip our own
uart init to simplify the boot process and more reliably get serial
output.
..."
next prev parent reply other threads:[~2024-08-01 7:46 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 6:28 [PATCH 0/7] Add pin control driver for BCM2712 SoC Ivan T. Ivanov
2024-07-31 6:28 ` [PATCH 1/7] dt-bindings: pinctrl: Add support for Broadcom STB pin controller Ivan T. Ivanov
2024-08-01 8:17 ` Krzysztof Kozlowski
2024-08-01 8:38 ` Ivan T. Ivanov
2024-08-01 14:19 ` Krzysztof Kozlowski
2024-08-05 9:27 ` Ivan T. Ivanov
2024-08-02 18:09 ` Stefan Wahren
2024-08-12 16:28 ` Dave Stevenson
2024-08-22 10:54 ` Stefan Wahren
2024-07-31 6:28 ` [PATCH 2/7] pinctrl: bcm: Add STB family pin controller driver Ivan T. Ivanov
2024-08-02 10:22 ` Phil Elwell
2024-08-02 18:36 ` Stefan Wahren
2024-08-05 9:13 ` Stefan Wahren
2024-07-31 6:28 ` [PATCH 3/7] arm64: dts: broadcom: Add support for BCM2712 Ivan T. Ivanov
2024-07-31 21:57 ` Florian Fainelli
2024-08-01 6:45 ` Ivan T. Ivanov
2024-07-31 6:28 ` [PATCH 4/7] arm64: dts: broadcom: bcm2712: Add pin controller nodes Ivan T. Ivanov
2024-08-02 19:16 ` Stefan Wahren
2024-07-31 6:28 ` [PATCH 5/7] arm64: dts: broadcom: bcm2712: Add one more GPIO node Ivan T. Ivanov
2024-07-31 22:11 ` Florian Fainelli
2024-08-01 7:19 ` Ivan T. Ivanov
2024-08-02 18:49 ` Stefan Wahren
2024-08-02 19:08 ` Stefan Wahren
2024-08-05 9:37 ` Ivan T. Ivanov
2024-07-31 6:28 ` [PATCH 6/7] arm64: dts: broadcom: bcm2712: Add second SDHCI controller node Ivan T. Ivanov
2024-08-02 19:01 ` Stefan Wahren
2025-05-12 13:42 ` Ivan T. Ivanov
2024-07-31 6:28 ` [PATCH 7/7] arm64: dts: broadcom: bcm2712: Add UARTA " Ivan T. Ivanov
2024-07-31 22:13 ` Florian Fainelli
2024-08-01 7:50 ` Ivan T. Ivanov [this message]
2024-08-02 19:12 ` Stefan Wahren
2024-07-31 14:25 ` [PATCH 0/7] Add pin control driver for BCM2712 SoC Rob Herring (Arm)
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=20240801075003.ghbxzmzzttevmo5u@localhost.localdomain \
--to=iivanov@suse.de \
--cc=andrea.porta@suse.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=robh@kernel.org \
--cc=wahrenst@gmx.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox