devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add support for linking gpt with poeg
@ 2022-12-15 20:58 Biju Das
  2022-12-15 20:58 ` [DO NOT APPLY PATCH v3 1/3] dt-bindings: pwm: Add RZ/G2L GPT binding Biju Das
  2022-12-15 20:58 ` [PATCH v3 2/3] dt-bindings: pwm: rzg2l-gpt: Document renesas,poegs property Biju Das
  0 siblings, 2 replies; 6+ messages in thread
From: Biju Das @ 2022-12-15 20:58 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring, Krzysztof Kozlowski
  Cc: Biju Das, Uwe Kleine-König, linux-pwm, devicetree,
	Geert Uytterhoeven, Chris Paterson, Prabhakar Mahadev Lad,
	linux-renesas-soc

Renesas RZ/G2L gpt supports output pin disable function by dead time
error and detecting short-circuits between output pins. There are 4
poeg groups shared between gpt channels.

This patch adds support for linking poeg group with gpt channel, so that
gpt channel can control the output disable function through poeg module(port
output enable for gpt)

v2->v3:
 * Moved minItems/MaxItems one level up in bindings.
 * Updated commit header and description for the driver
 * Added check for poeg group in rzg2l_gpt_parse_properties().
v1->v2:
 * removed quotes from ref
 * Added maxItems and minItems for renesas,poegs property
 * Added enums for gpt index
 * Replaced id->poeg-id as per poeg bindings in patch#3.
 
patch#1 is just added to avoid bot errors.
[1] https://patchwork.kernel.org/project/linux-renesas-soc/patch/20221214132232.2835828-2-biju.das.jz@bp.renesas.com/

Patch#3 depend upon [2]
[2] https://patchwork.kernel.org/project/linux-renesas-soc/patch/20221214132232.2835828-3-biju.das.jz@bp.renesas.com/

Biju Das (3):
  dt-bindings: pwm: Add RZ/G2L GPT binding
  dt-bindings: pwm: rzg2l-gpt: Document renesas,poegs property
  pwm: rzg2l-gpt: Add support for gpt linking with poeg

 .../bindings/pwm/renesas,rzg2l-gpt.yaml       | 401 ++++++++++++++++++
 drivers/pwm/pwm-rzg2l-gpt.c                   |  76 ++++
 2 files changed, 477 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/renesas,rzg2l-gpt.yaml

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-09 14:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-15 20:58 [PATCH v3 0/3] Add support for linking gpt with poeg Biju Das
2022-12-15 20:58 ` [DO NOT APPLY PATCH v3 1/3] dt-bindings: pwm: Add RZ/G2L GPT binding Biju Das
2022-12-20 17:47   ` Rob Herring
2023-01-09 14:53     ` Biju Das
2022-12-15 20:58 ` [PATCH v3 2/3] dt-bindings: pwm: rzg2l-gpt: Document renesas,poegs property Biju Das
2022-12-20 17:48   ` Rob Herring

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).