Message ID | 20231128-j7200-pinctrl-s2r-v1-0-704e7dc24460@bootlin.com |
---|---|
Headers | show |
Series | pinctrl: pinctrl-single: fix suspend/resume on j7200 | expand |
On Tue, Nov 28, 2023 at 4:35 PM Thomas Richard <thomas.richard@bootlin.com> wrote: > Thomas Richard (3): > dt-bindings: pinctrl: pinctrl-single: add ti,j7200-padconf compatible > pinctrl: pinctrl-single: add ti,j7200-padconf compatible Patch 1 & 2 applied to the pin control tree, thanks! > arm64: dts: ti: k3-j7200: use ti,j7200-padconf compatible Please funnel this through the SoC tree. Yours, Linus Walleij
Hi Thomas Richard, On Tue, 28 Nov 2023 16:34:58 +0100, Thomas Richard wrote: > 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. > > [...] I have applied the following to branch ti-k3-dts-next on [1]. Thank you! [3/3] arm64: dts: ti: k3-j7200: use ti,j7200-padconf compatible commit: 4eb42afed5d488c4707be5362e8e0f0771f5218e All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git -- Vignesh
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,