From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH v4 1/5] PM / Domains: Add generic data pointer to genpd data struct Date: Fri, 10 Mar 2017 13:19:11 -0800 Message-ID: References: <1488882154-21485-1-git-send-email-d-gerlach@ti.com> <1488882154-21485-2-git-send-email-d-gerlach@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1488882154-21485-2-git-send-email-d-gerlach@ti.com> (Dave Gerlach's message of "Tue, 7 Mar 2017 04:22:30 -0600") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Dave Gerlach Cc: Nishanth Menon , devicetree@vger.kernel.org, Ulf Hansson , linux-pm@vger.kernel.org, Keerthy , Sudeep Holla , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Tero Kristo , Russell King , Rob Herring , Santosh Shilimkar , linux-arm-kernel@lists.infradead.org List-Id: linux-pm@vger.kernel.org Dave Gerlach writes: > Add a void *data pointer to struct generic_pm_domain_data. Because this > exists for each device associated with a genpd it will allow us to > assign per-device data if needed on a platform for control of that > specific device. > > Acked-by: Ulf Hansson > Signed-off-by: Dave Gerlach Acked-by: Kevin Hilman > --- > include/linux/pm_domain.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h > index 5339ed5bd6f9..b213d22daefd 100644 > --- a/include/linux/pm_domain.h > +++ b/include/linux/pm_domain.h > @@ -117,6 +117,7 @@ struct generic_pm_domain_data { > struct pm_domain_data base; > struct gpd_timing_data td; > struct notifier_block nb; > + void *data; > }; > > #ifdef CONFIG_PM_GENERIC_DOMAINS From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Fri, 10 Mar 2017 13:19:11 -0800 Subject: [PATCH v4 1/5] PM / Domains: Add generic data pointer to genpd data struct In-Reply-To: <1488882154-21485-2-git-send-email-d-gerlach@ti.com> (Dave Gerlach's message of "Tue, 7 Mar 2017 04:22:30 -0600") References: <1488882154-21485-1-git-send-email-d-gerlach@ti.com> <1488882154-21485-2-git-send-email-d-gerlach@ti.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Dave Gerlach writes: > Add a void *data pointer to struct generic_pm_domain_data. Because this > exists for each device associated with a genpd it will allow us to > assign per-device data if needed on a platform for control of that > specific device. > > Acked-by: Ulf Hansson > Signed-off-by: Dave Gerlach Acked-by: Kevin Hilman > --- > include/linux/pm_domain.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h > index 5339ed5bd6f9..b213d22daefd 100644 > --- a/include/linux/pm_domain.h > +++ b/include/linux/pm_domain.h > @@ -117,6 +117,7 @@ struct generic_pm_domain_data { > struct pm_domain_data base; > struct gpd_timing_data td; > struct notifier_block nb; > + void *data; > }; > > #ifdef CONFIG_PM_GENERIC_DOMAINS From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934299AbdCJV1F (ORCPT ); Fri, 10 Mar 2017 16:27:05 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:36448 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933823AbdCJV03 (ORCPT ); Fri, 10 Mar 2017 16:26:29 -0500 From: Kevin Hilman To: Dave Gerlach Cc: Ulf Hansson , "Rafael J. Wysocki" , Santosh Shilimkar , Rob Herring , , , , , Nishanth Menon , Keerthy , Russell King , Tero Kristo , Sudeep Holla Subject: Re: [PATCH v4 1/5] PM / Domains: Add generic data pointer to genpd data struct Organization: BayLibre References: <1488882154-21485-1-git-send-email-d-gerlach@ti.com> <1488882154-21485-2-git-send-email-d-gerlach@ti.com> Date: Fri, 10 Mar 2017 13:19:11 -0800 In-Reply-To: <1488882154-21485-2-git-send-email-d-gerlach@ti.com> (Dave Gerlach's message of "Tue, 7 Mar 2017 04:22:30 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dave Gerlach writes: > Add a void *data pointer to struct generic_pm_domain_data. Because this > exists for each device associated with a genpd it will allow us to > assign per-device data if needed on a platform for control of that > specific device. > > Acked-by: Ulf Hansson > Signed-off-by: Dave Gerlach Acked-by: Kevin Hilman > --- > include/linux/pm_domain.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h > index 5339ed5bd6f9..b213d22daefd 100644 > --- a/include/linux/pm_domain.h > +++ b/include/linux/pm_domain.h > @@ -117,6 +117,7 @@ struct generic_pm_domain_data { > struct pm_domain_data base; > struct gpd_timing_data td; > struct notifier_block nb; > + void *data; > }; > > #ifdef CONFIG_PM_GENERIC_DOMAINS