From: Rudi Heitbaum <rudi@heitbaum.com>
To: Heiko Stuebner <heiko@sntech.de>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: rockchip: rk3399pro-vmarc-som: add i2c2 scl timing
Date: Fri, 28 Aug 2026 10:50:17 +0000 [thread overview]
Message-ID: <apFn6U6Vq0nwaAMo@5be1eda4e59e> (raw)
In-Reply-To: <6298523.lOV4Wx5bFT@phil>
On Thu, Aug 27, 2026 at 03:18:01PM +0200, Heiko Stuebner wrote:
> Hi Rudi,
>
> Am Montag, 24. August 2026, 05:06:43 Mitteleuropäische Sommerzeit schrieb Rudi Heitbaum:
> > The hym8563 on i2c2 does not ack:
> >
> > rtc-hym8563 2-0051: could not init device, -6
> >
> > It is also the ext_clock for sdio-pwrseq, so wifi does not come up
> > either.
> >
> > i2c2 runs at 400 kHz with no scl edge times. The core defaults both to
> > 300 ns and rk3x-i2c calculates a 900 ns high period, which is short for
> > this bus - it acks at 100 kHz. Set the edges to the values i2c3 already
> > uses, giving 1050 ns at 400 kHz.
> >
> > Tested on a Radxa ROCK Pi N10: rtc0 registers and keeps time across a
> > reboot, and wifi activates.
>
> You tested on a Radxa Rock PI N10, but are changing the vmarc-som?
> I'm not really understanding this.
Hi Heiko,
Thanks for looking at this. The rk3399pro-vmarc-som and the dalang-carrier
are sold by Radxa as a Rock-Pi-N10. Radxa sold the Rock-Pi-N8 with the
Dalang carrier but with a RK3288 som (I have taken this into account when
making the changes to the dts files).
I had previously looked at completing the bringup done for this SBC,
but on revisiting the bringup now have been able to complete the bring
up of all IO on this board, but have considered that the dts needs to
be broken across all of the 3 .dts files.
The fix 4 patches that I have submitted so far are the dependencies for
the dts to work.
- arm64: dts: rockchip: rk3399pro-vmarc-som: add i2c2 scl timing
- usb: onboard_dev: add the Rockchip rk1808
- Bluetooth: btsdio: Do not bind to non-removable BCM4359
- dt-bindings: regulator: fan53555: add tcs,tcs4526
The followup commits are to the dts files:
- arch/arm/boot/dts/rockchip/rockchip-radxa-dalang-carrier.dtsi
- arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi
- arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts
https://github.com/heitbaum/linux/compare/1b78070aaef63512688aebfbc82365ef9d6660f1...58aad007a1866bfbab8393f779687ff1ec005209
Thanks
Rudi
> Heiko
>
> >
> > Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
> > ---
> > arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi
> > index 64e6ba345739..074f09c6d11c 100644
> > --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi
> > +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi
> > @@ -296,6 +296,8 @@ &i2c1 {
> >
> > &i2c2 {
> > clock-frequency = <400000>;
> > + i2c-scl-falling-time-ns = <15>;
> > + i2c-scl-rising-time-ns = <450>;
> > status = "okay";
> >
> > hym8563: rtc@51 {
> >
>
>
>
>
prev parent reply other threads:[~2026-08-28 10:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 3:06 Rudi Heitbaum
2026-08-27 13:18 ` Heiko Stuebner
2026-08-28 10:50 ` Rudi Heitbaum [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=apFn6U6Vq0nwaAMo@5be1eda4e59e \
--to=rudi@heitbaum.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh@kernel.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
all inboxes | Powered by JetHome®