From patchwork Tue Mar 7 10:22:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 9608559 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E81D602B4 for ; Tue, 7 Mar 2017 10:24:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14F3A284D9 for ; Tue, 7 Mar 2017 10:24:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0994A284E7; Tue, 7 Mar 2017 10:24:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 05453284D9 for ; Tue, 7 Mar 2017 10:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=I0/isRo3SaoaP+fXdoCbXCs2oPK9G4AlNAhgxZJ0ly4=; b=afbh1aUBcdmTOX 4mxE0dP6u7arslShveF75KoOI4OiOmJkN3ACwUNu+MRt2R0ftl8m+HloWkCv9E12n7V5O84i3EL5g IkdtVUV8FPYU7+g4m2dMexGeAiWYQvG1oVpV9mPrcmRhi5izKvU13hG3k7Od3FPW5LegRHIVS6fyU bJPY5Dv0lz0KDlkp///ur4TdH+Z+FL3GzuXFYDtKJ+M6bZQPJXwD1kscR6qlR66KMxij69AapqZdM PdBOr/Xsf0fJ1KvBKlo5TvjJ8DyTEuF2Lxmpg45SuXpV9RY/lyffuePq4V+sAhHgTRgbEQotiRMM6 ldgdgxiS61J8wSS+IwRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1clCIG-0004Eh-Hk; Tue, 07 Mar 2017 10:24:36 +0000 Received: from lelnx194.ext.ti.com ([198.47.27.80]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clCHH-0003gX-Dy for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2017 10:23:38 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v27AMqna010981; Tue, 7 Mar 2017 04:22:52 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1488882172; bh=sGkLQf/MKiKedJtxQj1H1sVjj4LTBcWNYWad4XTRgiY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QumlV+fKSw1AHiXfyG43yvID60IQFNr1weA2JDD+GtjScQaY3yACN1oFIkATNhscd s0dr8IlIC/suKsxm0lSAQYiSmYXEcZ3ChZ57RT94q2LtBDScPr+P1BfmmdhFLpibcL LhdUn5lD/OxB1wUS0Jh7MgztU15AqJ5maWutIs/8= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v27AMqSr013980; Tue, 7 Mar 2017 04:22:52 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Tue, 7 Mar 2017 04:22:51 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v27AMpmB013417; Tue, 7 Mar 2017 04:22:51 -0600 Received: from localhost (uda0274052.am.dhcp.ti.com [128.247.83.19]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v27AMo321030; Tue, 7 Mar 2017 04:22:51 -0600 (CST) From: Dave Gerlach To: Ulf Hansson , "Rafael J. Wysocki" , Kevin Hilman , Santosh Shilimkar , Rob Herring Subject: [PATCH v4 1/5] PM / Domains: Add generic data pointer to genpd data struct Date: Tue, 7 Mar 2017 04:22:30 -0600 Message-ID: <1488882154-21485-2-git-send-email-d-gerlach@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1488882154-21485-1-git-send-email-d-gerlach@ti.com> References: <1488882154-21485-1-git-send-email-d-gerlach@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170307_022335_594519_0DF45FD0 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , devicetree@vger.kernel.org, Dave Gerlach , Keerthy , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Tero Kristo , Russell King , Sudeep Holla , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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