public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: "Yu-Chun Lin [林祐君]" <eleanor.lin@realtek.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "linusw@kernel.org" <linusw@kernel.org>,
	"robh@kernel.org" <robh@kernel.org>,
	"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	"bartosz.golaszewski@oss.qualcomm.com"
	<bartosz.golaszewski@oss.qualcomm.com>,
	"afaerber@suse.com" <afaerber@suse.com>,
	"James Tai [戴志峰]" <james.tai@realtek.com>,
	"CY_Huang[黃鉦晏]" <cy.huang@realtek.com>,
	"Stanley Chang[昌育德]" <stanley_chang@realtek.com>,
	"TY_Chang[張子逸]" <tychang@realtek.com>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-realtek-soc@lists.infradead.org"
	<linux-realtek-soc@lists.infradead.org>
Subject: RE: [PATCH v2 09/14] dt-bindings: pinctrl: realtek: Rename 'realtek,duty-cycle' to 'realtek,pulse-width-adjust'
Date: Mon, 9 Mar 2026 09:18:03 +0000	[thread overview]
Message-ID: <1baf65a11c26482cae4f7b54df1521c5@realtek.com> (raw)
In-Reply-To: <20260307-purring-kind-binturong-1fcb37@quoll>

> On Fri, Mar 06, 2026 at 03:52:39PM +0800, Yu-Chun Lin wrote:
> > From: Tzuyi Chang <tychang@realtek.com>
> >
> > Rename 'realtek,duty-cycle' to 'realtek,pulse-width-adjust'.
> >
> > The previous name was misleading because this hardware block is not a
> > PWM generator. It does not generate a signal with a specific frequency
> > and duty ratio.
> >
> > Instead, it provides a fixed nanosecond-level adjustment to the
> > rising/ falling edges of an existing signal.
> >
> > Signed-off-by: Tzuyi Chang <tychang@realtek.com>
> > Co-developed-by: Yu-Chun Lin <eleanor.lin@realtek.com>
> > Signed-off-by: Yu-Chun Lin <eleanor.lin@realtek.com>
> > ---
> >  .../bindings/pinctrl/realtek,rtd1315e-pinctrl.yaml       | 9 ++++++---
> >  .../bindings/pinctrl/realtek,rtd1319d-pinctrl.yaml       | 9 ++++++---
> >  .../bindings/pinctrl/realtek,rtd1619b-pinctrl.yaml       | 9 ++++++---
> >  3 files changed, 18 insertions(+), 9 deletions(-)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/pinctrl/realtek,rtd1315e-pinctrl.y
> > aml
> > b/Documentation/devicetree/bindings/pinctrl/realtek,rtd1315e-pinctrl.y
> > aml index 90bd49d87d2e..7b3888b2cea8 100644
> > ---
> > a/Documentation/devicetree/bindings/pinctrl/realtek,rtd1315e-pinctrl.y
> > aml
> > +++ b/Documentation/devicetree/bindings/pinctrl/realtek,rtd1315e-pinct
> > +++ rl.yaml
> > @@ -133,10 +133,13 @@ patternProperties:
> >          minimum: 0
> >          maximum: 7
> >
> > -      realtek,duty-cycle:
> > +      realtek,pulse-width-adjust:
> 
> No, that's ABI break without explanation. "misleading" is not the sufficient
> argument for breaking ABI.
> You are stuck with the ABI you added back in 2023.
> 
> Best regards,
> Krzysztof

The reason I renamed 'realtek,duty-cycle' to 'realtek,pulse-width-adjust' is that
during the v1 review, it was pointed out that the name caused confusion with
standard PWM bindings [1]. Since I need to modify the driver logic to address
this, I intended to update the binding simultaneously.

Although the binding was added in 2023, there are currently no DTS files in the
mainline kernel that use the 1315e, 1319d, or 1619b pinctrl device nodes.
Therefore, changing this property name will not break any existing device support
in the mainline tree.

As for the patch structure, I separated the binding and driver changes solely
because checkpatch.pl warned:
"WARNING: DT binding docs and includes should be a separate patch."

Given that there are no actual users of this property in the current mainline DTS,
would it be acceptable to proceed with this rename?

[1] https://lore.kernel.org/all/d5be357c14b84155adfa8a9f00a64d83@realtek.com/

Best regards,
Yu-Chun

  reply	other threads:[~2026-03-09  9:18 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-06  7:52 [PATCH v2 00/14] pinctrl: realtek: Core improvements and RTD1625 support Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 01/14] pinctrl: realtek: Cleanup license string Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 02/14] pinctrl: realtek: Fix return value and silence log for unsupported configs Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 03/14] pinctrl: realtek: Switch to use devm functions Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 04/14] pinctrl: realtek: Simplify error handling with dev_err_probe() Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 05/14] pinctrl: realtek: Fix grammar in error messages Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 06/14] pinctrl: realtek: Support system suspend and resume Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 07/14] dt-bindings: pincfg-node: Add input-voltage-microvolt property Yu-Chun Lin
2026-03-07 12:51   ` Krzysztof Kozlowski
2026-03-09  9:12     ` Yu-Chun Lin [林祐君]
2026-03-06  7:52 ` [PATCH v2 08/14] pinctrl: pinconf-generic: Add properties 'input-voltage-microvolt' Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 09/14] dt-bindings: pinctrl: realtek: Rename 'realtek,duty-cycle' to 'realtek,pulse-width-adjust' Yu-Chun Lin
2026-03-07 12:53   ` Krzysztof Kozlowski
2026-03-09  9:18     ` Yu-Chun Lin [林祐君] [this message]
2026-03-09 10:17       ` Krzysztof Kozlowski
2026-03-09 11:00         ` Yu-Chun Lin [林祐君]
2026-03-10  9:28           ` Linus Walleij
2026-03-06  7:52 ` [PATCH v2 10/14] " Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 11/14] dt-bindings: pinctrl: realtek: Add RTD1625 pinctrl binding Yu-Chun Lin
2026-03-07 13:09   ` Krzysztof Kozlowski
2026-03-09  9:35     ` Yu-Chun Lin [林祐君]
2026-03-06  7:52 ` [PATCH v2 12/14] pinctrl: realtek: Add support for slew rate, input voltage and high VIL Yu-Chun Lin
2026-03-06  7:52 ` [PATCH v2 14/14] arm64: dts: realtek: Add pinctrl support for RTD1625 Yu-Chun Lin
2026-03-10  9:30 ` [PATCH v2 00/14] pinctrl: realtek: Core improvements and RTD1625 support Linus Walleij
     [not found] ` <20260306075244.1170399-14-eleanor.lin@realtek.com>
2026-03-10  9:48   ` [PATCH v2 13/14] pinctrl: realtek: Add rtd1625 pinctrl driver Linus Walleij

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=1baf65a11c26482cae4f7b54df1521c5@realtek.com \
    --to=eleanor.lin@realtek.com \
    --cc=afaerber@suse.com \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=cy.huang@realtek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=james.tai@realtek.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-realtek-soc@lists.infradead.org \
    --cc=robh@kernel.org \
    --cc=stanley_chang@realtek.com \
    --cc=tychang@realtek.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