From: Claudiu Beznea <claudiu.beznea@kernel.org>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: geert+renesas@glider.be, linusw@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, magnus.damm@gmail.com,
claudiu.beznea@tuxon.dev, linux-renesas-soc@vger.kernel.org,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Subject: Re: [PATCH 9/9] arm64: dts: renesas: rzg3s-smarc-som: Enable I3C
Date: Wed, 27 May 2026 12:06:52 +0300 [thread overview]
Message-ID: <a35b5300-c5f4-4af7-b566-194724451d37@kernel.org> (raw)
In-Reply-To: <ahXQnt4MTVoBB9bF@shikoro>
Hi, Wolfram,
On 5/26/26 19:55, Wolfram Sang wrote:
> Hi Claudiu,
>
>> Could you please let me know what do you consider we should do here? Do you
>> think we could drop these pin controller setting and do some particular I3C
>> controller settings instead?
>
> My original thought was: If it was a boolean state which is active when
> suspending and disabled when resuming, then we wouldn't need a customer
> specific binding for it and just do this in the suspend/resume functions
> of the pin-controller...
>
> ... BUT ...
>
> reading more about this in the manual, just raises more questions for
> me.
>
>> The output is fixed at Hi-Z and no data is transmitted to the inside even if
>> data is input from outside. “Standby mode” is available when using I2C mode
>> only. (Not available when using I3C mode).
>>
>> The current driver proposal don't take into account the IP mode when setting
>> STBN though
>> pinctrl_pm_select_sleep_state()/pinctrl_pm_select_default_state() to keep
>> the code simpler, relying on the "Not available when using I3C mode" part of
>> the note, and considering setting it when the IP is in I3C mode is harmless.
>
> This is one question I also had: What does "not available" actually
> mean? Did you confirm with HW guys that it is really harmles?
I asked this yesterday, but I don't have an answer to it.
In my testing I haven't noticed any issues with it.
>
> I also wonder about the intended use-case of this mode. "no data is
> transmitted to the inside even if data is input from outside" doesn't
> really sound like a mode intended when the whole SoC goes to sleep.
Indeed, that's why I chose in the driver to touch it though the runtime PM APIs,
so it can be configured after the I3C IP is no longer used.
> Why
> or how would input be even transmitted to the inside if everything is in
> a deep-sleep state? I could also imagine that this mode is rather used
> to hide from the bus for a while for some corner-case reason.
>
> And finally: does this really save energy?
I don't expect. I'm not sure I can measure it. I also asked to the HW team.
> Could you measure a benefit?
> Maybe there is nothing driven at all in the sleep state? Then, nothing
> is gained? Not clear from the datasheet.
>
> Because the datasheet is so sparse with information and because it
> doesn't say how STBN is intended to be used, I would argue we should
> skip it until we know what it is for and how it is used. If we know this
> somewhen, we can still add this in a second step.
OK for me.
>
> But for now, enabling I3C realiably is the first step, and for that we
> surley need the POC bit to select the voltage. This is easily
> understandable and straightforward to do. So, my suggestion is to pick
> this low-hanging fruit now and reach for the other one once we have more
> information about it.
OK, I'll re-spin this dropping the STBN feature until further clarification.
--
Thank you,
Claudiu
next prev parent reply other threads:[~2026-05-27 9:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-22 10:22 [PATCH 0/9] pinctrl: renesas: rzg2l: Add support for RZ/G3S I3C Claudiu Beznea
2026-05-22 10:22 ` [PATCH 1/9] pinctrl: renesas: rzg2l: Generalize the power source code Claudiu Beznea
2026-05-22 10:22 ` [PATCH 2/9] pinctrl: renesas: rzg2l: Drop defines present in struct rzg2l_hwcfg Claudiu Beznea
2026-05-22 10:22 ` [PATCH 3/9] pinctrl: renesas: rzg2l: Keep member documentation aligned Claudiu Beznea
2026-05-27 9:35 ` Geert Uytterhoeven
2026-05-22 10:22 ` [PATCH 4/9] pinctrl: renesas: rzg2l: Use tab instead of spaces Claudiu Beznea
2026-05-27 9:36 ` Geert Uytterhoeven
2026-05-22 10:22 ` [PATCH 5/9] dt-bindings: pinctrl: renesas,rzg2l-pinctrl: Document the missing I3C power source option Claudiu Beznea
2026-05-22 16:11 ` Conor Dooley
2026-05-22 10:22 ` [PATCH 6/9] pinctrl: renesas: rzg2l: Add RZ/G3S support for selecting the I3C power source Claudiu Beznea
2026-05-22 10:22 ` [PATCH 7/9] dt-bindings: pinctrl: renesas,rzg2l-pinctrl: Document the I3C standby property Claudiu Beznea
2026-05-22 12:30 ` Wolfram Sang
2026-05-22 10:22 ` [PATCH 8/9] pinctrl: renesas: rzg2l: Add RZ/G3S support for selecting the I3C standby state Claudiu Beznea
2026-05-22 10:22 ` [PATCH 9/9] arm64: dts: renesas: rzg3s-smarc-som: Enable I3C Claudiu Beznea
2026-05-22 12:29 ` Wolfram Sang
2026-05-22 13:01 ` Claudiu Beznea
2026-05-26 7:37 ` Claudiu Beznea
2026-05-26 10:00 ` Wolfram Sang
2026-05-26 16:55 ` Wolfram Sang
2026-05-27 9:06 ` Claudiu Beznea [this message]
2026-06-04 11:12 ` Claudiu Beznea
2026-06-04 20:17 ` Wolfram Sang
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=a35b5300-c5f4-4af7-b566-194724451d37@kernel.org \
--to=claudiu.beznea@kernel.org \
--cc=claudiu.beznea.uj@bp.renesas.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=robh@kernel.org \
--cc=wsa+renesas@sang-engineering.com \
/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®