From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13D0CC433F5 for ; Thu, 23 Sep 2021 17:23:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC62B61216 for ; Thu, 23 Sep 2021 17:23:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242538AbhIWRYw (ORCPT ); Thu, 23 Sep 2021 13:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242415AbhIWRYw (ORCPT ); Thu, 23 Sep 2021 13:24:52 -0400 Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEC7BC061757 for ; Thu, 23 Sep 2021 10:23:20 -0700 (PDT) Received: by mail-oo1-xc2a.google.com with SMTP id m14-20020a4ad50e000000b002912a944a47so2354301oos.12 for ; Thu, 23 Sep 2021 10:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=4psaqAqkYBsHRJZIhz8Kb0YzLqDuMmJCURun1+ui80c=; b=rxWR5F/BNcX1AMMGW6CfMfwuPwVeziorWJSn1rXPDf614kbk1wRlLqPEo02VJO54lL B7BtY7sSJiw6McPc6ugF/+nqiooHzgI9N4RNHcR2w5BBigSYWw4NGrH8XiRd58qBuDOH 1jNGmlLjPNTpxwUuPH8Jj6L81wRKiFWITqZfMcH2L4cKM3FD6QeSq7J0o00CCzWed9DM Wj/rC0Sk7Fky5vowF1QGzdNGrKqmrNyi1Kkc0uWkYh8X+BAThNCF0fySjskWgfWvF3Pw rGeVp5DRlUpn1YExuJpXSNOXkCtOAbHP5OCK9zj2GFO7SHsTZpBJQKTGBo84rusobP1t fsVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4psaqAqkYBsHRJZIhz8Kb0YzLqDuMmJCURun1+ui80c=; b=1P6n98lsq12jxOqw3wxq4qBhAorD/KzgX7jdunnY/yetnzHLOT7UAQpaQb5kFEpewm hmYqhd1idqf5IDQtUGQz4haEHSHEdVhhx54mz8pyn57YF08u1VJY6LYpEdGzJaClIHyt duCURbew0nIptcac3uCq3FvYBgqd9ZGXyVPoPLWQllztm71cVFRBCk0+UWw/noJ+cJ1L ht/qIyFVte/Jt4E3t7W4mayVYmd0j6BqwJ1AWDcPWXi8imNu4SN2l8GE2qn+ajsxFa+N F8IGV4bjuRGdPIpjRs0/e9PqqAyB4IfS4e/tOtvszTLoMMFdkJ83pVwgsgfMkZPd2Jzg O50Q== X-Gm-Message-State: AOAM530PwFHpLHfib3gBcBmbsy+hkHtBunP0yycG0iBYnxKaZW7SfHPZ 5/5+EZeX84OjO2y81qM63If709d86yvo1w== X-Google-Smtp-Source: ABdhPJxgLEGgR52wqQW/bWd22UfJUy7hTkj4NwRbgYrtrinHMTAItyhkVol5Ujk0AZ//YeqfMUwm5g== X-Received: by 2002:a4a:ea84:: with SMTP id r4mr4787465ooh.92.1632417799967; Thu, 23 Sep 2021 10:23:19 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id j23sm1467347oih.30.2021.09.23.10.23.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 10:23:19 -0700 (PDT) Date: Thu, 23 Sep 2021 12:23:17 -0500 From: Bjorn Andersson To: Rajendra Nayak Cc: agross@kernel.org, linus.walleij@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] pinctrl: qcom: sc7280: Add PM suspend callbacks Message-ID: References: <1632389487-11283-1-git-send-email-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1632389487-11283-1-git-send-email-rnayak@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Thu 23 Sep 04:31 CDT 2021, Rajendra Nayak wrote: > Use PM suspend callbacks from msm core, without this the hog_sleep > pins don't change state in suspend. > > Signed-off-by: Rajendra Nayak Reviewed-by: Bjorn Andersson > --- > v2: removed some stale diffstat > > drivers/pinctrl/qcom/pinctrl-sc7280.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pinctrl/qcom/pinctrl-sc7280.c b/drivers/pinctrl/qcom/pinctrl-sc7280.c > index 607d459..1cbf2cc 100644 > --- a/drivers/pinctrl/qcom/pinctrl-sc7280.c > +++ b/drivers/pinctrl/qcom/pinctrl-sc7280.c > @@ -1498,6 +1498,7 @@ static const struct of_device_id sc7280_pinctrl_of_match[] = { > static struct platform_driver sc7280_pinctrl_driver = { > .driver = { > .name = "sc7280-pinctrl", > + .pm = &msm_pinctrl_dev_pm_ops, > .of_match_table = sc7280_pinctrl_of_match, > }, > .probe = sc7280_pinctrl_probe, > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation >