From patchwork Mon Oct 1 20:56:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 10623057 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CE69E15A7 for ; Tue, 2 Oct 2018 06:52:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A683F28734 for ; Tue, 2 Oct 2018 06:52:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A64E28737; Tue, 2 Oct 2018 06:52:20 +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=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 54BE828734 for ; Tue, 2 Oct 2018 06:52:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AAFD66E099; Tue, 2 Oct 2018 06:51:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40053.outbound.protection.outlook.com [40.107.4.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id 864F76E058 for ; Mon, 1 Oct 2018 20:56:41 +0000 (UTC) Received: from localhost.localdomain (95.76.156.53) by VI1PR04MB4303.eurprd04.prod.outlook.com (2603:10a6:803:3f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.25; Mon, 1 Oct 2018 20:56:36 +0000 From: Leonard Crestez To: Lucas Stach , Lorenzo Pieralisi , Shawn Guo Subject: [PATCH 1/3] soc: imx: gpc: Increase GPC_CLK_MAX to 7 Date: Mon, 1 Oct 2018 23:56:16 +0300 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [95.76.156.53] X-ClientProxiedBy: HE1P190CA0058.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:52::47) To VI1PR04MB4303.eurprd04.prod.outlook.com (2603:10a6:803:3f::30) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bcbc27ae-d593-4f8e-7dc8-08d627e06128 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4303; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4303; 3:Bx0UFvcVKfpdKOhPfVXFKOeKs3Z1C84lyDX/gUmzMfswIVpdKIRo5s+nuQ0a9RjxZWvACHb23DHXNpZqPCl1YQK24Y9cqAA873VkjqVRYkJmXdW/FF8B4oqKA6l9vdwlE/hcyxyozwA2X0Drs4y7DXLqG80Y9JsRb0Jk4kG207mOwsC9rhkz0jqOyxZhJTRMkTEgrEK6R9m7fljztYu+MiAjRKSS4kz0kSekm2iWaE6ei4e1jlu5mADVmtHXI8eH; 25:klEWq5lGIGGdmehO/mnSa9vSdNJVT92fgrHEbG1IGQgZNtBLsnW4dmdbWviraYGrzwj3Czi6ctsN3ZaCvAIARdMiHbfZHHnhcLxWyEn4JPI0hx81+YTi74vSEDkgaenlpcvZKpx0kR/Efj3Jkhnd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tuPf0T65m5sus0woGz5vunmK15mOopWRFHwzTKSqQpkpPG4/fHeNt5NWYgz5poaTw4Wd+gyi9wJG91wUOTYXESuBqXiGAS2BzQwYCsn2HKb3/dWeYjI9MNiNbEXKfOPn+Uu6pUoeZzRIt7WYDCcO5rgK70uXyW6CI7Sd/eiVSbkElqmNTkLQ01Q2SSFTqod/zsXNhPEHYBD7iWr2Gv7DR1+aakrbyzHuS7ooOXQ4+//LKcsya/FIaUnhiz60Fi6F4rpQtVBf7Ju06IyDy5+VUloc3vrRnXicSdlo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(269456686620040)(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(201708071742011)(7699051); SRVR:VI1PR04MB4303; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4303; X-Forefront-PRVS: 0812095267 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(39860400002)(136003)(366004)(376002)(346002)(396003)(199004)(189003)(5660300001)(6506007)(386003)(316002)(3846002)(16586007)(6512007)(36756003)(6116002)(53936002)(54906003)(110136005)(575784001)(86362001)(52116002)(51416003)(76176011)(6486002)(44832011)(11346002)(476003)(118296001)(2616005)(6666003)(956004)(2906002)(50226002)(68736007)(8936002)(81156014)(446003)(81166006)(8676002)(486006)(97736004)(105586002)(106356001)(478600001)(25786009)(48376002)(4326008)(16526019)(186003)(69590400006)(26005)(7416002)(305945005)(14444005)(7736002)(47776003)(50466002)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4303; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB4303; 23:R6c19x1CMBMWF47ryzTJk4PQ3l3aB/PmvXsh/h+da?= DduZQbPSwMhax99JERg7kUcbA4PD4RcvXH635WrqX61LJEQnv3Q4lOWYtmXO2ab7PrnVfvPth9F2gKlfkdr4qRk4Lk+fb7Se0tgFVKm8l99hkdcX6L4kPAd8H9LuWVwm+BR+6SxlGNrZJmo1jq8ZUpUAWFhnzqLQt/l92BTeayYkEh6WJ/aCwUqdnTrA4HsUhNpD+ii3XwuLhVFVMMndqOtfBcrJwRz2JgJW3PVxb1FDbKttihtWWZN+38c/HTHI2thkGD8KD015cfylcZUAb3e0sZnBVwVrLFpThy/apeAA+guHDTEAfjt8cUuIPZoFJHH0pdWsYL/l8pIV9w7m1mr3XUQL9O2DFjhWH2Ol7zLbSJABIBcp37sBK8WnCciC/rZzttDw/jC2Tf8+cIl3z235gB0+CRHMs3z7TsNpSc0xX5g14j8joUp1aFIHoNCb2V8cjk+VhQzLjkuLdhResjN0iw8LmfB2qdjP3yoWzXZTyXV5irXWDAxU9oCOo78KQIF3M/W4YTSd9q9uTHqGac80aTFgMNLCDALWJtoOlS4ollgtMB4GWLN6Xwg32L7Nv0fgnvZkNQnsIhIYsVonp7hHqxP4216A4d28cGGFDwA8jr9Fa5AFBUgRQr8ge3Ui6raRbzn9n/lg+CMzoUmVWfK00zUvJYEenrFE/oSQu7woafroBQhMZtdgU+x0FVH20LmpO+cccXTAmjPsIcM1pNqEDHsJPr19slGhYq/vRFam+WtNLj12sGmIpcuKyfkRW3snIoYh4MxMirC271dV2vuAFQLUSKKjCTeqsOI+8Ec+ORWjqJ5XHExkQlVhgKILlHbqBOZ1lGRDl9uV0OSCDPhDVRxRT0eLm93caefuzOpPLBpK+awRfq3EfwXgHpbxhyp7j+m6BUFI4xCl+c/fISlz22YIsCK/V3Va9/PSLzYZXMPi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hQXZ/YaJSqHoNv/+j+XxtLiqR6JchZLqr05vYoz3BV6u8/cQ0tTerVDe9JOCyqDP7GiPwWht3tOyfs3ZXVQKbphEsFrrz7jVqjhBS0ebgJlCfLnhWbcmnrJzKGKv96Uv2co/hdZZP+/R81Fbc0yocgKBaXJdkEu/TI/uljPPtOz9ooWVL9o/2RQ==; 5:kscfWbXT8nNonZ87sN0P+y7NZJEbod1oCy0mvodnQNxAa+jVJGv9/0rotgAbM5BFN+IrYSSGmwNuLllBFh1RJTUl6cms2LGR9h5FSgk7K1ZcykEHmS7cMabc1oyE6gvPifc8S38+owkhFoy0MI6c5n2P/r/WtVsxpH8EfFMB1ik=; 7:vWoXbvIvCmMeMQdoTdOCpSyLwLLv7JvrFsgWn8njiYVdCiHMmDcRIj11fA8fQ2IpNC/Ukyh+Zp2XU1S+zzxN7bD5yJySgMXMb+iXe7Sg3Qng+MJ6+mOdumalYW7zfFskfDH4xFqobzkIXO4RmVU5kgdgJjJtA6kE2fysS3XwpWHIEoLwbqNo6h0ZKw8S55etxbRRJGN6N4gJS96YMjkEZe2v8znpFAnEVFrEW2wNgAJ6iaKd3+G/i48CvSTgB/qQ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2018 20:56:36.0236 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bcbc27ae-d593-4f8e-7dc8-08d627e06128 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4303 X-Mailman-Approved-At: Tue, 02 Oct 2018 06:51:51 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Ulf Hansson , linux-pm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The DISPLAY power domain on imx6sx has 7 clocks. Signed-off-by: Leonard Crestez --- drivers/soc/imx/gpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c index c1d0ffdac6dd..51cbfe63ec12 100644 --- a/drivers/soc/imx/gpc.c +++ b/drivers/soc/imx/gpc.c @@ -39,11 +39,11 @@ #define GPC_PGC_DISP_SR 0x24c #define GPU_VPU_PUP_REQ BIT(1) #define GPU_VPU_PDN_REQ BIT(0) -#define GPC_CLK_MAX 6 +#define GPC_CLK_MAX 7 #define PGC_DOMAIN_FLAG_NO_PD BIT(0) struct imx_pm_domain { struct generic_pm_domain base;