Message ID | 20231128-j7200-pinctrl-s2r-v1-0-704e7dc24460@bootlin.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp4013346vqx; Tue, 28 Nov 2023 07:36:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEd5StvZ5qohUJwziMXG98dhQyu9Zw39FG+7Qwx+ZxsjYguH5l/n2inZzj5bL4rNuBcP289 X-Received: by 2002:a17:903:1212:b0:1cc:70dd:62c3 with SMTP id l18-20020a170903121200b001cc70dd62c3mr15896821plh.30.1701185764184; Tue, 28 Nov 2023 07:36:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701185764; cv=none; d=google.com; s=arc-20160816; b=fC9COOqRVY7BLU6t3q3FFPOK4MCMq0+QufbY2Tp7wRJ25P0t7iSz3A9zZLGfBygBfr QvcRbNTquPX04Tw7kY0nVztZiNTJuGoUNJTN6zLbP8hVfcHLlHEynsq+cd4hcSeoeqqf J7H/MScS1U/gVxP3SRshkSTnWTECDfQ9ihzsawrHMxP4GU/qWa48FTWLfYMdSRX7X2e0 I74ftjhl6/Br6J9MkHGPsaIuf4Lop9lgFSKRjIexbLBQWA/QkreHHzsSbGDTUYQDhCrr VtNMw00EnuKhKzdCaNzLzNCpfWHETG+cGnKE3g3qWW7CuNUwLrBTDGLFezO3AyG8AL7m lg+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=wheDqiE2a9OZr8JN6HhD16I1O5hsDNL5yX5S9DFZ7RQ=; fh=cXrlZBdcqAHS2orkb5trZUtVebMdNRB/nFuDqPO93AM=; b=nJx+GijTeXsczNXrJAckYDwSh5KC4oHeOuq32W46/ecyyU2PWxaBS/M7lxIVKfxwuG 8fgTua12A2Z7vCHseyhCeSj55PRr0zFkuloU/STXjOmVX3Rj9kaLh9Mu+m9nkVzpg/C0 Og/Sh4RDyVLfZpenrGuE/L+mdj+sr+4toBuGqkX/z9NEJiYI1tBUm58uolLbOWDSnLny SS+Znj51USg3bk0AwzoW9NLaMX8zfeUs4wn1aVQC2kNZWfRCSQ8qA6QyiMzEjeDtjaXF xLHaQGUnGc8wxGZBRsWpOXjZiZ0xW4v7RBcQWFUV1dTMKul8RrBed/uIZHWgl5q+zpiB ovrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jW5PFFRF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n18-20020a170903111200b001ce675c396fsi13102697plh.138.2023.11.28.07.36.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:36:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jW5PFFRF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8B3F38084623; Tue, 28 Nov 2023 07:35:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346835AbjK1Pfp (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 28 Nov 2023 10:35:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346879AbjK1Pfo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Nov 2023 10:35:44 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C989A92; Tue, 28 Nov 2023 07:35:48 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 28365FF803; Tue, 28 Nov 2023 15:35:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1701185746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wheDqiE2a9OZr8JN6HhD16I1O5hsDNL5yX5S9DFZ7RQ=; b=jW5PFFRFM3QHLzqGw2eP/vuhSY/2H2WnsX80le7uM3aFzdaPasOGKMZgaXRnRpg6HxF9KS dPnktG+RUba8i95BML29r6+xhH9dY/rgmO7IINtPJsklbQgDHXKmN7VoQQEuA8j/fe+Qun k18ByByEdOzlQSvn9h/HWKFQgYQdr3GZu/bAX/Ma/UHmffHAvdqOx3Ng5N00Lrgd1npuem ZJoWIKv12Ep8Iqqb7Ob8Q8pUrvTKaoWWm0rm0344ox0KT3OnkjwNdY0kC4b7XVpbrgAH39 PUPjFOugk3XfkPz6GGUD7xSoe7vm4eUO+zKHdkbDnb7L41h/dv6TlJbu06YBbA== From: Thomas Richard <thomas.richard@bootlin.com> Subject: [PATCH 0/3] pinctrl: pinctrl-single: fix suspend/resume on j7200 Date: Tue, 28 Nov 2023 16:34:58 +0100 Message-Id: <20231128-j7200-pinctrl-s2r-v1-0-704e7dc24460@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKIIZmUC/x3N0QrCMAyF4VcZuTbQRobWVxEv2iy6iNSRiAhj7 77Wy+/Az1nBxVQcLsMKJl91fdeGeBiA51wfgjo1AwU6xkhnfJ4oBFy08sde6GSYRi6J45hyEmh dyS5YLFeee9nZ58Xkrr//1fW2bTsVmSuPegAAAA== To: Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Tony Lindgren <tony@atomide.com>, Haojian Zhuang <haojian.zhuang@linaro.org>, Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org> Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, theo.lebrun@bootlin.com, u-kumar1@ti.com, Thomas Richard <thomas.richard@bootlin.com> X-Mailer: b4 0.12.0 X-GND-Sasl: thomas.richard@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 28 Nov 2023 07:35:54 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783822563890018675 X-GMAIL-MSGID: 1783822563890018675 |
Series |
pinctrl: pinctrl-single: fix suspend/resume on j7200
|
|
Message
Thomas Richard
Nov. 28, 2023, 3:34 p.m. UTC
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,
Comments
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