Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: John Crispin <john@phrozen.org>
To: "Lorenzo Bianconi" <lorenzo@kernel.org>,
	"Lee Jones" <lee@kernel.org>, "Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Uwe Kleine-König" <ukleinek@kernel.org>
Cc: Christian Marangi <ansuelsmth@gmail.com>,
	devicetree@vger.kernel.org, lei.dong@airoha.com,
	Linqi.zhang@airoha.com, linux-kernel@vger.kernel.org,
	linux-mediatek@lists.infradead.org, linux-pwm@vger.kernel.org,
	mfd@lists.linux.dev, Rajeev.kumar@airoha.com,
	upstream@airoha.com, Weifeng.xu@airoha.com,
	zhengping.zhang@airoha.com
Subject: [PATCH 1/3] dt-bindings: mfd: airoha: add #pwm-cells to AN7589 gpio-sysctl
Date: Tue,  1 Dec 2026 20:44:32 +0100	[thread overview]
Message-ID: <20261201194434.3132187-2-john@phrozen.org> (raw)
In-Reply-To: <20261201194434.3132187-1-john@phrozen.org>

The AN7589 PWM controller sits in the GPIO system controller. It has
no resources of its own, so it gets no child node. The system
controller node is the PWM provider.

Signed-off-by: John Crispin <john@phrozen.org>
---
 .../devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml b/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml
index 0785b61bdda3..476f7241bb1b 100644
--- a/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml
+++ b/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml
@@ -11,7 +11,7 @@ maintainers:
 
 description:
   Airoha AN7589 SoC GPIO system controller which provides a register map
-  for controlling the GPIO and pins of the SoC.
+  for controlling the GPIO, pins and PWM of the SoC.
 
 properties:
   compatible:
@@ -29,6 +29,9 @@ properties:
     description:
       Child node definition for AN7589 Pin controller
 
+  "#pwm-cells":
+    const: 3
+
 required:
   - compatible
   - reg
@@ -42,6 +45,7 @@ examples:
     system-controller@1fbf0200 {
       compatible = "airoha,an7589-gpio-sysctl", "syscon", "simple-mfd";
       reg = <0x1fbf0200 0x100>;
+      #pwm-cells = <3>;
 
       pinctrl {
         compatible = "airoha,an7589-pinctrl";
-- 
2.34.1



  reply	other threads:[~2026-12-01 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 19:44 [PATCH 0/3] pwm: airoha: add AN7589 support John Crispin
2026-12-01 19:44 ` John Crispin [this message]
2026-12-01 19:44 ` [PATCH 2/3] mfd: add Airoha GPIO system controller driver John Crispin
2026-12-01 19:44 ` [PATCH 3/3] pwm: airoha: add support for AN7589 John Crispin

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=20261201194434.3132187-2-john@phrozen.org \
    --to=john@phrozen.org \
    --cc=Linqi.zhang@airoha.com \
    --cc=Rajeev.kumar@airoha.com \
    --cc=Weifeng.xu@airoha.com \
    --cc=ansuelsmth@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=lei.dong@airoha.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=mfd@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=ukleinek@kernel.org \
    --cc=upstream@airoha.com \
    --cc=zhengping.zhang@airoha.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