Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3935562rdh; Tue, 28 Nov 2023 07:36:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGgOXbDygs6ovYOX+hOGoefcDbPQDLhUxIlE4oYCo2K3nRpdWq+skhOExM1jPxDbh293uXU X-Received: by 2002:a05:6a21:6d8a:b0:18b:6192:f91a with SMTP id wl10-20020a056a216d8a00b0018b6192f91amr18120465pzb.9.1701185812866; Tue, 28 Nov 2023 07:36:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701185812; cv=none; d=google.com; s=arc-20160816; b=eYiQSAJ4nRNkxCNqM6354skoUCS+6jcvq3yYF5VeEQtWrOM5rLn2Hc76nz2J+Tsoof 5oOPOVDSX+TAhyXXNa0LGWFDOC2f1OTUEihn/q0IIYX78JaKGMccKunkMtP/dVGpsylp aaxrkfCcejzi6Z66GLoa9mZC0ousiWiDVHlbSOuGkOLyDUYw+eccGG6VNa4wBZWb60nN vIeRLPkzB8ZX3UrQl/WUWRjyBFrwILwy4dYcPVu9a5D72BWmmIYNGBh95OhraNT0+1uL 7rfdoPpjrPNWQ/VEEkgskaNjHBqNgRGpHtsWiZcY378kyRgyaizboCj/9XkuzlY43rRS CzlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=ocmY2rTbsBcnpJcCLqop9OYoHfDfDmIGmzhdSEl8zaY=; fh=cXrlZBdcqAHS2orkb5trZUtVebMdNRB/nFuDqPO93AM=; b=0aSpzrsUU9kpa4JKpGcdxxVfOiQhO8HpLG/DXukLjc8qxuSn0+foNERViCPYUyVuSK VyPD8mRjyJWV24R1OHcfUMjoHK7S9FUHNPWeQQ9OkY33ydfQpG/gsbYHMhtubh4JQ4p5 baAjLmNYEss+3IGDjqdtYom6BhAxoBCMSy6sO3LLReg0FLBiMYALvENZ+k8d7kRKZ1DB ElnZOkgbTmvS25pEN/uHv6+i9y+DltvGE7TYrzY33CBjEUmvMVIxx7IihgHwmFVrU6xa zOoIMgdnFw7QWHsqdUVQPCvm+ogHSvV0gf3crCWEYgQzGJC8RDgc6IZ4doZ921ZN3wax vMkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PN9gFLyC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id n9-20020aa79849000000b006cd8e773028si4447444pfq.283.2023.11.28.07.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:36:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PN9gFLyC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id ABD7E807C751; Tue, 28 Nov 2023 07:36:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346874AbjK1Pfx (ORCPT + 99 others); Tue, 28 Nov 2023 10:35:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346888AbjK1Pfo (ORCPT ); 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 F2E5FD4F; Tue, 28 Nov 2023 07:35:49 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id D9EA4FF80D; Tue, 28 Nov 2023 15:35:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1701185748; 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: in-reply-to:in-reply-to:references:references; bh=ocmY2rTbsBcnpJcCLqop9OYoHfDfDmIGmzhdSEl8zaY=; b=PN9gFLyCfcdftiOVVVcveMQGH2DcAO1mDq2SuICwIszsZkmF/92H3KUx1YfWmvqCESl+cA QSnrmNhlMVaDdCoAlRS4g4alcL+SN3jxI9iOihI73+r/qVK3Mq3ZBarG5tzJPe02It6Wko 6pipFyH1uU4VlSJpRwUP8EZWL6Ag883qsSyNVfG93UQyWKXWobuhoXZZjOUSUoAjOPWqmC u4qq5rqx6Vdtj3zfXhI14ET2rwmCTHxyr4gqOwO0hq1CJx7pdLCbywZwzLkUPWq0FQUfo6 cz04O527KEihxGSxlzu5cHYETNB9Hv3F9pl8/7ct5RfKXGk3bSKVfRuSH+ghGQ== From: Thomas Richard Date: Tue, 28 Nov 2023 16:35:00 +0100 Subject: [PATCH 2/3] pinctrl: pinctrl-single: add ti,j7200-padconf compatible MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231128-j7200-pinctrl-s2r-v1-2-704e7dc24460@bootlin.com> References: <20231128-j7200-pinctrl-s2r-v1-0-704e7dc24460@bootlin.com> In-Reply-To: <20231128-j7200-pinctrl-s2r-v1-0-704e7dc24460@bootlin.com> To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tony Lindgren , Haojian Zhuang , Nishanth Menon , Vignesh Raghavendra , Tero Kristo 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 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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 28 Nov 2023 07:36:18 -0800 (PST) On j7200, during suspend to ram pinctrl contexts are lost. To save and restore contexts during suspend/resume, the flag PCS_CONTEXT_LOSS_OFF shall be set. Signed-off-by: Thomas Richard --- drivers/pinctrl/pinctrl-single.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index 8267be769635..19cc0db771a5 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -1955,6 +1955,10 @@ static const struct pcs_soc_data pinctrl_single_am654 = { .irq_status_mask = (1 << 30), /* WKUP_EVT */ }; +static const struct pcs_soc_data pinctrl_single_j7200 = { + .flags = PCS_CONTEXT_LOSS_OFF, +}; + static const struct pcs_soc_data pinctrl_single = { }; @@ -1969,6 +1973,7 @@ static const struct of_device_id pcs_of_match[] = { { .compatible = "ti,omap3-padconf", .data = &pinctrl_single_omap_wkup }, { .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup }, { .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup }, + { .compatible = "ti,j7200-padconf", .data = &pinctrl_single_j7200 }, { .compatible = "pinctrl-single", .data = &pinctrl_single }, { .compatible = "pinconf-single", .data = &pinconf_single }, { }, -- 2.39.2