From: "Diederik de Haas" <didi.debian@cknow.org>
To: "Heiko Stübner" <heiko@sntech.de>, linux-rockchip@lists.infradead.org
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, "Andy Yan" <andyshrk@163.com>,
"Diederik de Haas" <didi.debian@cknow.org>
Subject: Re: [PATCH 5/8] arm64: dts: rockchip: Fix bluetooth properties on rk3566 box demo
Date: Mon, 07 Oct 2024 21:33:11 +0200 [thread overview]
Message-ID: <D4PTPHH4ELA3.34KQLVNGTP15E@cknow.org> (raw)
In-Reply-To: <4607042.LvFx2qVVIh@diego>
[-- Attachment #1: Type: text/plain, Size: 3008 bytes --]
Hi Heiko,
On Mon Oct 7, 2024 at 6:04 PM CEST, Heiko Stübner wrote:
> Am Montag, 7. Oktober 2024, 17:27:12 CEST schrieb Diederik de Haas:
> > On Mon Sep 30, 2024 at 11:01 PM CEST, Heiko Stuebner wrote:
> > > The expected clock-name is different (ext_clock -> extclk) and the wakeup
> >
> > According to "brcm,bluetooth.yaml", 'extclk' is deprecated in favor of
> > 'txco', so it seems better to use that?
> > Same would be true for Rock960 boards (patch 6 of this series).
>
> thanks for that catch. I mainly stumbled upon the "_" underscore, found the
> clockname without but didn't take into account that there was a deprecated
> flag set in the binding :-)
Doing research for another improvement, I stumbled upon this commit:
ebceec271e55 ("arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards")
with the following diff:
```
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk808 1>;
- clock-names = "ext_clock";
+ clock-names = "lpo";
pinctrl-names = "default";
pinctrl-0 = <&wifi_enable_h>;
reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
```
But do read the full git commit message.
The corresponding bluetooth node had 'lpo' as new value for
'clock-names' though ... from "ext_clock", but it also changed
its compatible, so it's not the same. For details, see commit
f471b1b2db08 ("arm64: dts: rockchip: Fix Bluetooth on ROCK Pi 4 boards")
So it's possible the change needs to be more extensive.
And a Tested-by tag from someone with the board is probably a good idea.
Regards,
Diederik
> > > gpio properties are named differently when changing from vendor-tree to
> > > mainline. So fix those to match the binding.
> > >
> > > Fixes: 2e0537b16b25 ("arm64: dts: rockchip: Add dts for rockchip rk3566 box demo board")
> > > Cc: Andy Yan <andyshrk@163.com>
> > > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > > ---
> > > arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts | 6 +++---
> > > 1 file changed, 3 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts b/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts
> > > index 0c18406e4c59..dd6fe964d618 100644
> > > --- a/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts
> > > +++ b/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts
> > > @@ -449,9 +449,9 @@ &uart1 {
> > > bluetooth {
> > > compatible = "brcm,bcm43438-bt";
> > > clocks = <&pmucru CLK_RTC_32K>;
> > > - clock-names = "ext_clock";
> > > - device-wake-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
> > > - host-wake-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
> > > + clock-names = "extclk";
> > > + device-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
> > > + host-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
> > > shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
> > > pinctrl-names = "default";
> > > pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
> >
> >
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-10-07 19:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-30 21:01 [PATCH 0/8] Fixing some dtbscheck warnings Heiko Stuebner
2024-09-30 21:01 ` [PATCH 1/8] arm64: dts: rockchip: fix i2c2 pinctrl-names property on anbernic-rg353p Heiko Stuebner
2024-09-30 22:08 ` Chris Morgan
2024-09-30 21:01 ` [PATCH 2/8] arm64: dts: rockchip: fix i2c2 pinctrl-names property on anbernic-rg353v Heiko Stuebner
2024-09-30 22:09 ` Chris Morgan
2024-09-30 21:01 ` [PATCH 3/8] arm64: dts: rockchip: Drop regulator-init-microvolt from rk3568-roc-pc Heiko Stuebner
2024-09-30 22:55 ` Jonas Karlman
2024-10-08 20:27 ` Heiko Stübner
2024-09-30 21:01 ` [PATCH 4/8] arm64: dts: rockchip: Drop regulator-init-microvolt from rk3588-toybrick-x0 Heiko Stuebner
2024-09-30 21:01 ` [PATCH 5/8] arm64: dts: rockchip: Fix bluetooth properties on rk3566 box demo Heiko Stuebner
2024-10-07 15:27 ` Diederik de Haas
2024-10-07 16:04 ` Heiko Stübner
2024-10-07 19:33 ` Diederik de Haas [this message]
2024-10-08 20:20 ` Heiko Stübner
2024-10-08 20:26 ` Diederik de Haas
2024-09-30 21:01 ` [PATCH 6/8] arm64: dts: rockchip: Fix bluetooth properties on Rock960 boards Heiko Stuebner
2024-09-30 21:01 ` [PATCH 7/8] arm64: dts: rockchip: Remove undocumented emmc property from PX30-Ringneck Heiko Stuebner
2024-10-01 10:04 ` Quentin Schulz
2024-10-08 20:29 ` Heiko Stübner
2024-09-30 21:01 ` [PATCH 8/8] arm64: dts: rockchip: Remove #cooling-cells from fan on Theobroma boards Heiko Stuebner
2024-10-01 9:55 ` Quentin Schulz
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=D4PTPHH4ELA3.34KQLVNGTP15E@cknow.org \
--to=didi.debian@cknow.org \
--cc=andyshrk@163.com \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).