Received: by 10.192.165.156 with SMTP id m28csp337817imm; Thu, 12 Apr 2018 23:29:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+EnAmWfNstcxrgG99OSCnWZgrdZ+XiBYxNl6UKZKEj3yJq1TrG40b9QTbfNyHBSoRwy6WY X-Received: by 10.167.132.132 with SMTP id u4mr10403585pfn.17.1523600944654; Thu, 12 Apr 2018 23:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523600944; cv=none; d=google.com; s=arc-20160816; b=uiXAw/QJVmB3Q54CDAqNltGs5JibFuaVhWdm/BD31yH9FemAXQXzVckX1B2e2O4hAM ltDLEiZJjGi+mt++vlrlweBb9DP4c2lBb9U2n74DQveVfpe3QFn7zPIfQjVbfxQanSf9 3QT2GcMj6EMA+ykRWHq9g/6rj7f+URFJOs+UGjXMB/6X9GEce8g7j2StZHjqvEAOcOVD KXw/o1Hi9LH86HEnhtBLmKwtz192J2cYcvmGHgP6fYY0+o5A7DBqc4OTx5fNQG97i4tW FDiPbR2ZM8zvlK3dzr1VxXgBrnElw0u87hYVCvzb0+o/KYeyEBtZUytsiTX3d0Sr744h +voQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=tviuVb6yXAPCUj2ArGU42wTdJIwcyP+22i8lELHba3k=; b=iSCfre7CRRZXNhRy0i+HaDucZGJSJyf+FyHOR+u0Hkotk1xWrQjpIcObkCaJpu5AcC tGVMzaUE1yE54x8kDJESiw4fQl5XcMUtpSZmh+lEbYaHa3ba7Q8YDD4N9o8Kp/DE9b06 GdLgkQvz0hKbind16dhtXS3L8S9FITS1HBxG0Dudllw9tvKQCOH5OSAo3WIUnV3XumWa VovYGK2dcJ55Nlxjd936DWq/edtXav1az2o+u6O4j4MKWSmF2AvxQXr2rJ7qS9+XNr6P 6coBIOeTX+ZNIo4cGXTH7DrRVbmPOI2HBGs6IQ8HeFQioeg+s9wx5iJ5pTjbVNMnlREZ 7zRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wCJ4q8Jf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3-v6si5014078pld.513.2018.04.12.23.28.40; Thu, 12 Apr 2018 23:29:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wCJ4q8Jf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752512AbeDMGQ3 (ORCPT + 99 others); Fri, 13 Apr 2018 02:16:29 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:30553 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750960AbeDMGQ1 (ORCPT ); Fri, 13 Apr 2018 02:16:27 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3D6G9WD027313; Fri, 13 Apr 2018 01:16:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523600169; bh=u0a8JojtaqHwWROh+hvEEq4kI/g0arYTJn00cjPLPDI=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=wCJ4q8JfRekpD5GEpEjvSD9y9Zmba9pd8Bm2vkCJ1fKZ8NRZgbyq/WFHhWmxpaVL0 4ldArGDaLUnCeIkZVL1OWy5MguYw/UL21KpMFpV4E2vyHc/mwHtOOre1i9zdnEAhB4 mPJWtsmsk1ClrvppQ+U/jSkYF9p/+J1p+tuI6lsU= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3D6G93i024666; Fri, 13 Apr 2018 01:16:09 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 13 Apr 2018 01:16:08 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 13 Apr 2018 01:16:08 -0500 Received: from [172.24.191.45] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3D6G5cZ004614; Fri, 13 Apr 2018 01:16:05 -0500 Subject: Re: [PATCH 08/14] ARM: OMAP2: Add functions to save and restore pinctrl context. To: Tony Lindgren CC: , , , , , , , , , , Russ Dill References: <1523505239-16229-1-git-send-email-j-keerthy@ti.com> <1523505239-16229-9-git-send-email-j-keerthy@ti.com> <20180412141639.GV5700@atomide.com> From: Keerthy Message-ID: <26b80d50-efe1-196a-85b0-4ab22f9bda1c@ti.com> Date: Fri, 13 Apr 2018 11:46:04 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180412141639.GV5700@atomide.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 12 April 2018 07:46 PM, Tony Lindgren wrote: > Hi, > > * Keerthy [180412 03:56]: >> From: Russ Dill >> >> This adds a pair of context save/restore functions to save/restore the >> state of a set of pinctrl registers. This simplifies some of the AM33XX >> PM code as some of the pinctrl registers are lost when the per power >> domain loses power. The pincrtl code can perform the necessary >> save/restore. > > So where's the patch adding callers to this code? This series was to get all the additional save/restores needed for the rtc+ddr mode. Caller patch is in the main patch that implements that mode that i will be posting once the ground is set. Based on enable_off_mode being set this function was called only for rtc+ddr mode. > > If this cannot be done from regular driver suspend/resume calls, > this probably should be done from cpu_pm notifiers CPU_PM_ENTER and > CPU_PM_EXIT. We should also do the same for GPIO BTW. I will look into that. Thanks for suggestion. > > BTW, the subject line is wrong here, it should be "pinctrl" :) Oops yes that should be pinctrl. > > Regards, > > Tony >