From patchwork Tue Jan 23 15:12:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10179915 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 8D3A8601D5 for ; Tue, 23 Jan 2018 10:39:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C50C2842D for ; Tue, 23 Jan 2018 10:39:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F9C2286F2; Tue, 23 Jan 2018 10:39:36 +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.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_FUTURE_03_06, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=no 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 BAE9D2842D for ; Tue, 23 Jan 2018 10:39:35 +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: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:In-Reply-To:References: List-Owner; bh=7r1eLqEKUwxXiI6E2WC8jgSWIdR6XdHrpICR4X2WZnw=; b=nAsEzudcwMqQys m9R789ujTyjYASZZ3AjvZP8XNWT3y6LXUwZVWKOaaDsieX4QKQGUf/Lw8wSuGEsMRXrE8EHGjLEGd RtDwVxBntACkdANpmALuyV5sRvnU9JbvVg/QAH6O8/In9mbByomjfJOKEp9Tvvg2Ta8TuCkDYgcIh KNJF3qgn6yxwCksUya61cFUr4ogh/QUL1K/2zqPTvzuEaId+zwP+MElHef9mVjrEvIP0xhD5yI7/1 2SMjT9JKRhMJwxwt1vUITMAiyKb1chWPplyntmqnZASi47sfi7HTvy0VxCh9iy0S98GLTvMeq6T6d B3w6fuvV/yj6yJkIr27w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1edvzI-0004sU-P0; Tue, 23 Jan 2018 10:39:32 +0000 Received: from mail-by2nam01on0607.outbound.protection.outlook.com ([2a01:111:f400:fe42::607] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1edvzF-0004db-TT for linux-arm-kernel@lists.infradead.org; Tue, 23 Jan 2018 10:39:31 +0000 Received: from CY4PR03CA0011.namprd03.prod.outlook.com (2603:10b6:903:33::21) by DM2PR03MB480.namprd03.prod.outlook.com (2a01:111:e400:2420::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Tue, 23 Jan 2018 10:24:59 +0000 Received: from BN1BFFO11FD033.protection.gbl (2a01:111:f400:7c10::1:119) by CY4PR03CA0011.outlook.office365.com (2603:10b6:903:33::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.428.17 via Frontend Transport; Tue, 23 Jan 2018 10:24:59 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD033.mail.protection.outlook.com (10.58.144.96) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Tue, 23 Jan 2018 10:24:56 +0000 Received: from anson-OptiPlex-790.ap.freescale.net (anson-OptiPlex-790.ap.freescale.net [10.192.242.177]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0N7Ytge015944; Tue, 23 Jan 2018 00:34:56 -0700 From: Anson Huang To: , , , , , , Subject: [PATCH] ARM: dts: imx6sx: add pu power domain support Date: Tue, 23 Jan 2018 23:12:23 +0800 Message-ID: <1516720343-21933-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131611766993751653; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(346002)(376002)(39380400002)(396003)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(316002)(2906002)(16586007)(54906003)(110136005)(6666003)(2201001)(86362001)(97736004)(8676002)(36756003)(48376002)(51416003)(50466002)(47776003)(85426001)(107886003)(68736007)(104016004)(81166006)(8936002)(81156014)(336011)(4326008)(72206003)(498600001)(53936002)(106466001)(50226002)(305945005)(5660300001)(77096007)(356003)(105606002)(26005)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR03MB480; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD033; 1:HPmp4bqwpvd3X3ouj3wvpXnN+9KKAjMfu5lHaFcqLS16S5EQD3FcV38OaKuI6FVbi0x9RNToIlcN6E4fs15EgGHiXTvWhDIQtodbQl6fYLeIh8jMlLTLeeeNrNQzCHGM MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4639925b-dfa8-4119-8e65-08d5624b8e63 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:DM2PR03MB480; X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB480; 3:q1FcVDw3u1u44TbM43717qtc3t6DxEhBr6ge8bPX6jq5bMBDypgi/H4y6ACa0yxpBsr4kQbqJb8iEDfgUAGqFUcLwuNVrkTsuiFAcxH4xpMKbP5cIs1d0+Le5Awn+khKZyyo1HlPW+b5m+dzt8EWaP99iczkp+gTRmGGBdQC8+AwtGdyZArGzfCYRRzm4n9inf7M97F5TXms+vj3ePPeH8ifGFj2rKWrWnjYqo4/88K78eYzHUWJeKfBikNnNtF83SaTHaSBTNHa1n1k70ri5jMlmx1DoJe9kw6CAdTJKz02mKD5eI8g79r3uv7UxMGzeZZSOAvuq0bJ5D6Z7znh/ow2mQqgw+zq5NqukKWfViQ=; 25:wV+kWIdmeUysP85PlVbYQsS9WgDyFiP3cP+sx3/k5a/00hXc4U0NEm3ft8OHSY1gnm9Xb9dQWxjQM5Z1flwfH2yRg7Tr6DWJVZ7D4ziaLat6D8c/L9i7eVRe1XvIbzqtJKus+rE2GTXDiUI9lmV3ek+9ND1IfRwtKFBDKwWBq3xc+KTY7JgsIqAJeGsxj0Gl+DpFgSuufko1h1iOGMv1bCJ0Bxm1ScXhoHLysV8uj0BlUlOoAN6CxilHMIHU4x81qEI6VLK/9cYkNRNM+O/ugZOluNZk/AuIosptnMsAUh0sXtRaSKJLt4/AQvjIMhz7Xl9AyQ1rZVtFXAHNnziFIw== X-MS-TrafficTypeDiagnostic: DM2PR03MB480: X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB480; 31:VgJHI8zAwbaANgeve9tq5WIsXKEaeVaimqznlePzGQvreFNP3cwMypCmkh2Ch6YJt6RDyFvNqHULrpuGZCcI4q1E1YMaQn3LdqKHt98W8wwRM+/IOYzJX4lVwU+TjdappIc1o69/ypah3GjDUGcSX+adnWjL94Gz8p0JqIdLMQA0esEyTRulehyjuN2gOMM2+JCFYzJxDdng8vw0RI9nUVaLysxY4/tNLIusdacI8IE=; 4:g+ERpirupZ2mB8HoJMD4bpnCZ6ccQfxlwQ1AYhEeC+snAv5SBX+uKw4TGAQJzRYWxjInEb0kLjBLUL2WFk8+wDf5sAAqWuBGSHeZzSsVulljG+vtzNVWGSIfFt1SwhK/UYS22GrM7NM21EjJgLvljlOwp2g81s+XmlacJHbbvRUQwUHTVDE1ozRAfRLyHZPrALOQEmopKsBQ5on+m+6ekRa2jD60MiHKzQdDrgGaSeYAQRhAIG79cNCWOKT0crZlm7NBYfPZErYUTvMajPsz+gIHFTBNP/a+PIzrQ0KK+SoeKVItRWdkSTjogmlAIUFOpiP/Ik3qK3eV0xS0Jy4h9Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(20161123563025)(20161123561025)(20161123556025)(201708071742011); SRVR:DM2PR03MB480; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM2PR03MB480; X-Forefront-PRVS: 05610E64EE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR03MB480; 23:nEtOpWo5e7UUETe407zqF1/YqyteVz/0JD4QcXKsWK?= =?us-ascii?Q?A1XrjRDutzeiDA67L6ADDnwRISiLcO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J3Pio8T0SCxV4ZoXBptUI7KN5zvPDfnXbbrSZAYZQ2ULlxpY0r SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2018 10:24:56.2395 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4639925b-dfa8-4119-8e65-08d5624b8e63 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR03MB480 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: devicetree@vger.kernel.org, Linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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 PU power domain support, GPU is the only module inside PU power domain, and PU power is supplied by LDO_SOC. Signed-off-by: Anson Huang Acked-by: Dong Aisheng Acked-by: Dong Aisheng --- arch/arm/boot/dts/imx6sx.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index fd78793..42ef4c6 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -188,6 +188,7 @@ <&clks IMX6SX_CLK_GPU>, <&clks IMX6SX_CLK_GPU>; clock-names = "bus", "core", "shader"; + power-domains = <&pd_pu>; }; dma_apbh: dma-apbh@1804000 { @@ -767,6 +768,13 @@ #address-cells = <1>; #size-cells = <0>; + pd_pu: power-domain@1 { + reg = <1>; + #power-domain-cells = <0>; + power-supply = <®_soc>; + clocks = <&clks IMX6SX_CLK_GPU>; + }; + pd_pci: power-domain@3 { reg = <3>; #power-domain-cells = <0>;