From: Antonio Borneo <antonio.borneo@foss.st.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Bartosz Golaszewski <brgl@bgdev.pl>, <linux-gpio@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
Christophe Roullier <christophe.roullier@foss.st.com>,
Fabien Dessenne <fabien.dessenne@foss.st.com>,
Valentin Caron <valentin.caron@foss.st.com>
Subject: Re: [PATCH v2 2/9] dt-bindings: pincfg-node: Add property "skew-delay-direction"
Date: Wed, 1 Oct 2025 16:36:17 +0200 [thread overview]
Message-ID: <4de485fc717a1b469979c32852f58fa3c4b20607.camel@foss.st.com> (raw)
In-Reply-To: <CACRpkdZCKXYEegV1cK6X9A9k8ORLWweBQs40PWYuTof3JgcC2w@mail.gmail.com>
On Tue, 2025-09-30 at 14:23 +0200, Linus Walleij wrote:
> Hi Antonio,
>
> thanks for your patch!
>
> And sorry that it takes so long for me to review it! :(
Hi Linus,
no problem, thanks for your review!
>
> On Fri, Sep 5, 2025 at 3:56 PM Antonio Borneo
> <antonio.borneo@foss.st.com> wrote:
>
> > Add the property "skew-delay-direction" to specify on which pin's
> > direction (either input, output or both) the value of the generic
> > property 'skew-delay' applies.
> > For backward compatibility, 'skew-delay' applies on both input and
> > output directions when the new property is not present or has
> > value '0'.
> >
> > Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
> (...)
> > + skew-delay-direction:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > + enum: [0, 1, 2]
> > + default: 0
> > + description: |
> > + 0: skew-delay applies to both input and output directions
> > + 1: skew-delay applies only to the output direction
> > + 2: skew-delay applies only to the input direction
>
> Unfortunately I don't think this will work, because skew-delay
> has a value, and with this scheme we can only specify that we
> want this value to affect both in/out, only in or only out.
>
> What happens when someone want to configure different
> skew delay for input and output?
It makes sense!
I will address it in V3.
> I think it is better to add:
>
> skew-delay-input = <u32>;
> skew-delay-output = <u32>;
>
> So the drivers that need this explicitly specified will need
> to just define one of these instead.
>
> If you want to be very determined, make the schema
> not accept skew-delay if either skew-delay-input
> or skew-delay-output is specified.
Sure, I will add the proper test.
Regards,
Antonio
next prev parent reply other threads:[~2025-10-01 14:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 13:55 [PATCH v2 0/9] pinctrl: stm32: Support I/O synchronization Antonio Borneo
2025-09-05 13:55 ` [PATCH v2 1/9] pinctrl: pinconf-generic: Add property "skew-delay-direction" Antonio Borneo
2025-09-05 13:55 ` [PATCH v2 2/9] dt-bindings: pincfg-node: " Antonio Borneo
2025-09-10 2:08 ` Rob Herring (Arm)
2025-09-30 12:23 ` Linus Walleij
2025-10-01 14:36 ` Antonio Borneo [this message]
2025-09-05 13:55 ` [PATCH v2 3/9] pinctrl: stm32: Rework stm32_pconf_parse_conf() Antonio Borneo
2025-09-05 13:55 ` [PATCH v2 4/9] pinctrl: stm32: Simplify handling of backup pin status Antonio Borneo
2025-09-05 13:55 ` [PATCH v2 5/9] pinctrl: stm32: Drop useless spinlock save and restore Antonio Borneo
2025-09-05 13:55 ` [PATCH v2 6/9] pinctrl: stm32: Avoid keeping a bool value in a u32 variable Antonio Borneo
2025-09-05 13:55 ` [PATCH v2 7/9] pinctrl: stm32: Support I/O synchronization parameters Antonio Borneo
2025-09-05 13:55 ` [PATCH v2 8/9] dt-bindings: " Antonio Borneo
2025-09-10 2:10 ` Rob Herring (Arm)
2025-09-05 13:55 ` [PATCH v2 9/9] arm64: dts: st: Add I/O sync to eth2 pinctrl in stm32mp25-pinctrl.dtsi Antonio Borneo
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=4de485fc717a1b469979c32852f58fa3c4b20607.camel@foss.st.com \
--to=antonio.borneo@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=brgl@bgdev.pl \
--cc=christophe.roullier@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fabien.dessenne@foss.st.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=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh@kernel.org \
--cc=valentin.caron@foss.st.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;
as well as URLs for NNTP newsgroup(s).