From patchwork Tue Apr 4 02:47:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 9660779 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 236DA602B7 for ; Tue, 4 Apr 2017 02:49:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B88428304 for ; Tue, 4 Apr 2017 02:49:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1022628335; Tue, 4 Apr 2017 02:49:41 +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 9C9B628304 for ; Tue, 4 Apr 2017 02:49:40 +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=Yh6e6lGp1KneMz8Z3TGEgQyiBimVo+zBeqQM0/JxlJE=; b=gG+vrkx+AVBGsl QNsYE4VLE0jVYRRdf9q/C9s0AUnz+s87FTmKVRP53mbvqvUfWpbfCkWABA3fZP9/wcIPWkOeF2q1q AXJ/nQNf/IJHVlkDcFseAT1ODJtzprWc9zYcqu4E+TKkmSgnckzz53OXLVUQvGWbdzWyeeKY8HyJa 1MYIsSaDRvJJWC+HSaz4CInRZzZMrlRK4k7i/sVfPULRwnGr3yHjbjZneJIqhTstlEw0XNY1YoApZ +GjFPY/G9Y1h7hTf+bxqYt+VmxA/m4y6JMUNvGYh85m2o8Awcoy0trkq1IIKUYuuKHnkZVoudNokf d7N8N6pfaJvF+6fDhgKQ==; 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 1cvEXM-00066A-7E; Tue, 04 Apr 2017 02:49:40 +0000 Received: from fllnx209.ext.ti.com ([198.47.19.16]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cvEXH-0005x3-O1 for linux-arm-kernel@lists.infradead.org; Tue, 04 Apr 2017 02:49:37 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v342lsur019451; Mon, 3 Apr 2017 21:47:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1491274074; bh=k3SQ9MytTRvnFtuQpeRXu5aWbF8kcpva4aNuVWX2hJU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Vz2SaXQIAFVzIpCW8hBfTxHa9yvbxf5PWxUfmXihqwlCMm5ZFdy9HsGopBln82sZT xhGokMFNL50f9Jo5P0zD8sGEMdlvVo1m1SKnvTLOQ5IttOIaSxvyzwaa4NBOmzAp5N dlTUk8dWpKmuJ3JYVJSyvMwZGpVyRTuLJk83EAYM= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v342lnfT007602; Mon, 3 Apr 2017 21:47:49 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Mon, 3 Apr 2017 21:47:48 -0500 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 v342lmPQ007419; Mon, 3 Apr 2017 21:47:48 -0500 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 v342lm316135; Mon, 3 Apr 2017 21:47:48 -0500 (CDT) From: Dave Gerlach To: Ulf Hansson , "Rafael J . Wysocki" , Kevin Hilman , Santosh Shilimkar , Rob Herring , Arnd Bergmann Subject: [PATCH v5 1/5] PM / Domains: Add generic data pointer to genpd data struct Date: Mon, 3 Apr 2017 21:47:28 -0500 Message-ID: <20170404024732.32699-2-d-gerlach@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170404024732.32699-1-d-gerlach@ti.com> References: <20170404024732.32699-1-d-gerlach@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170403_194935_985872_70F29229 X-CRM114-Status: UNSURE ( 9.25 ) 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 , Olof Johansson , 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 Acked-by: Kevin Hilman Signed-off-by: Dave Gerlach --- 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