[PATCH 0/3] pinctrl: pinctrl-single: fix suspend/resume on j7200

Thomas Richard
2023-11-28T15:35:54Z

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>