linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pinctrl: pinctrl-single: fix suspend/resume on j7200
@ 2023-11-28 15:34 Thomas Richard
  2023-11-28 15:34 ` [PATCH 1/3] dt-bindings: pinctrl: pinctrl-single: add ti,j7200-padconf compatible Thomas Richard
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Thomas Richard @ 2023-11-28 15:34 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Tony Lindgren, Haojian Zhuang, Nishanth Menon,
	Vignesh Raghavendra, Tero Kristo
  Cc: linux-gpio, devicetree, linux-kernel, linux-arm-kernel,
	linux-omap, thomas.petazzoni, gregory.clement, theo.lebrun,
	u-kumar1, Thomas Richard

On j7200, during suspend to ram the SoC is powered-off. So the pinctrl
contexts are lost.
The flag PCS_CONTEXT_LOSS_OFF shall be set to restore the pinctrl
contexts.

A new compatible (ti,j7200-padconf) was created to enable this flag only
for j7200.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
Thomas Richard (3):
      dt-bindings: pinctrl: pinctrl-single: add ti,j7200-padconf compatible
      pinctrl: pinctrl-single: add ti,j7200-padconf compatible
      arm64: dts: ti: k3-j7200: use ti,j7200-padconf compatible

 .../devicetree/bindings/pinctrl/pinctrl-single.yaml          |  1 +
 arch/arm64/boot/dts/ti/k3-j7200-main.dtsi                    |  8 ++++----
 arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi              | 12 ++++++------
 drivers/pinctrl/pinctrl-single.c                             |  5 +++++
 4 files changed, 16 insertions(+), 10 deletions(-)
---
base-commit: 2a20795e4274c0d94c14fcb8309f72699e404d99
change-id: 20231128-j7200-pinctrl-s2r-95cb9c159a9e

Best regards,
-- 
Thomas Richard <thomas.richard@bootlin.com>


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

end of thread, other threads:[~2024-02-06  4:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28 15:34 [PATCH 0/3] pinctrl: pinctrl-single: fix suspend/resume on j7200 Thomas Richard
2023-11-28 15:34 ` [PATCH 1/3] dt-bindings: pinctrl: pinctrl-single: add ti,j7200-padconf compatible Thomas Richard
2023-11-28 16:37   ` Conor Dooley
2023-11-29 10:15   ` Tony Lindgren
2023-11-28 15:35 ` [PATCH 2/3] " Thomas Richard
2023-11-29 10:16   ` Tony Lindgren
2023-11-28 15:35 ` [PATCH 3/3] arm64: dts: ti: k3-j7200: use " Thomas Richard
2023-11-29 10:19   ` Tony Lindgren
2023-11-29 10:32     ` Thomas Richard
2023-11-29 10:37       ` Tony Lindgren
2023-12-04  9:53   ` Linus Walleij
2023-12-04  9:53 ` [PATCH 0/3] pinctrl: pinctrl-single: fix suspend/resume on j7200 Linus Walleij
2024-02-06  4:43 ` (subset)[PATCH " Vignesh Raghavendra

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