Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1532802ybz; Thu, 23 Apr 2020 00:10:19 -0700 (PDT) X-Google-Smtp-Source: APiQypLzaqCZXGUd+STrZroKbV3K8QAIfCrC+OGPPLSFGbALiBE7OIjKovyONl5VXjdwmeOawpQY X-Received: by 2002:a17:906:4542:: with SMTP id s2mr1620858ejq.34.1587625819072; Thu, 23 Apr 2020 00:10:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587625819; cv=pass; d=google.com; s=arc-20160816; b=frfIBHcLcqLEx0HlL9SvwYSmgIRfADXGYePVEeT3P3et2U0z6Mc4V8SCK3wgzWzK0C 9VIQIijmWvRRNcySznfgygB7P7aiAX73DRDj8or7obIDhqLDMN7vOEGSE0kFZKvuJQE1 zDFeET43h6zZFV9w96F/ZuDAZJGT4+zM/VN7mcZki/jeAAYn31qbFi7z6ntOuWXtcJqa U6PADlyVs/s9RtIfexq4WhH8lNCpvDGVwQdvvk83hpDvwsTgu+kuTNhV6PVSkniIElPR Myn9j+4fhG4MG8NQ1Y+I+3UMa7UxNYSY3gOqlP0Rn/lPYelSoa8GSjDqC1cAdoebV7vE 4A0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Ur8Au3O0xO7Md6JZwcMzv0kfcjxps9aYPr10QkeweZg=; b=UchBqFIF1w/l9f7mOPUNFu2MvJhZdL4WS6xFVizAQeb9nGEre1/5yKY8JW7YtSHYix wnzflHRVtDLnxwTGhULXab2/NZSmtsQGZn6tXaLmSq6KL9krmKqoxnP5MSQJMZ2Fpm7q UBU24I+fzv9bsI5QfewFoXFIA78kY8tkkXvgQ/Wms56RyNUa2W4AP2U40SH1f/8kJlrs W2IssMlGWKcMon611N6POqy75N2S0uqGOmJnI44guy7hIXgS2ggcB6jH+xsjJ/lnfzns TBEVeh+8vTxWCZ74oCQy8vSKcz8Ai7LoeuvEJY7MzcAP9131D5oX7T+ykdbK/U/01CPL RIEg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="gBtctP/D"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di15si650795edb.423.2020.04.23.00.09.55; Thu, 23 Apr 2020 00:10:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="gBtctP/D"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726838AbgDWHIZ (ORCPT + 99 others); Thu, 23 Apr 2020 03:08:25 -0400 Received: from mail-eopbgr60062.outbound.protection.outlook.com ([40.107.6.62]:37685 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725854AbgDWHIZ (ORCPT ); Thu, 23 Apr 2020 03:08:25 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IjCgockGVONWTR1/HSbHOjTA9NbGSxrSC0dwe6mOy9PBnA1ejqiVC2WQEQWz6eAu2myorM3mxStiIHnuFCZTOu9+lY3vdaO27yGg5tTVVTzRGwGIZVrEk80cWKVW5n5fM4ZRTwFBx+IHB7tSky7CZ0DOWigqdB0kdp1iS4szEzMBVNLx1LRMMyz1DZrDEGtbCUIChnzeX0bzk9K+W/CFXBvoPtKd2u6Z2yADHhyr7akUCUPav7h2wSXAbhzjOW8ymAHZRVfKmPBTgUaJxY9X+2gQn0TWhjIs+bJDSFO4dG41pBUT1qhWkheL9MFPVEuGW3r7BMeWUYH7RNsvHO2PJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ur8Au3O0xO7Md6JZwcMzv0kfcjxps9aYPr10QkeweZg=; b=jo6MG9V94ht0pi9wJlj+2fLQ6xUi2rlxzGknRmeI7QSfVY3YT5A+978bthf3q28Tkm6hkqB85PJlBzBUoclrajg7a9mgDsKR6r/HZHFhc6vBFcDXK4QgkbBA0PGHqtDxV9TpNeiuvztvqzq8agMvpOkWRibjnZgpRGW7Up5s7LyScBIpvIo69nRQLI15ibEbPRcIJXr1CpaXQq5q8d/ZRNVzeIUd+0aMsqjWAMLXOKfRNCY4bmjz5zHj736wjXa6sC8VcLYX6r8KK62jKnLaOjUWbE/5Dl9FML4pl4uHHjhMQpP5w5m7yl65JvyxyYA1oLYbni8vw1REs17GoKD2Bw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ur8Au3O0xO7Md6JZwcMzv0kfcjxps9aYPr10QkeweZg=; b=gBtctP/Dw3RhZ7DBKXRcDuFgGRCHVEXrDBqf488fWv2xEfCgV3+u/h0d4okeSs7FkxwzWEMkjgFJdR4UnwTTbYDznJFoxYE/hBOgxn6EKynmc3HAwTAt0GS1ZJ03StzhLYt/T2p5vlxs5bQMZBAXIbYM1hE77vFWIjTXeCP3ROY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0402MB2855.eurprd04.prod.outlook.com (2603:10a6:4:98::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Thu, 23 Apr 2020 07:08:21 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d17b:d767:19c3:b871]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d17b:d767:19c3:b871%6]) with mapi id 15.20.2937.012; Thu, 23 Apr 2020 07:08:21 +0000 From: peng.fan@nxp.com To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux@rempel-privat.de, leonard.crestez@nxp.com, daniel.baluta@nxp.com, aisheng.dong@nxp.com, qiangqing.zhang@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, Peng Fan Subject: [PATCH 1/4] firmware: imx: scu-pd: fix cm40 power domain Date: Thu, 23 Apr 2020 14:59:31 +0800 Message-Id: <1587625174-32668-2-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1587625174-32668-1-git-send-email-peng.fan@nxp.com> References: <1587625174-32668-1-git-send-email-peng.fan@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR04CA0149.apcprd04.prod.outlook.com (2603:1096:3:16::33) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR04CA0149.apcprd04.prod.outlook.com (2603:1096:3:16::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2937.13 via Frontend Transport; Thu, 23 Apr 2020 07:08:16 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.66] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 71d9c54d-9967-4146-50d4-08d7e7551b02 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2855:|DB6PR0402MB2855: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-Forefront-PRVS: 03827AF76E X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB6PR0402MB2760.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(39860400002)(366004)(136003)(376002)(346002)(26005)(66946007)(4326008)(6512007)(9686003)(66476007)(4744005)(6486002)(66556008)(69590400007)(6666004)(5660300002)(86362001)(8676002)(81156014)(6506007)(52116002)(16526019)(8936002)(2616005)(316002)(2906002)(478600001)(186003)(956004)(36756003);DIR:OUT;SFP:1101; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kdJIvjKUk7r7WM6lRRx+NL5CVTHr+8ElrocAA2CrDHECFhFLUBtZqduHSKyk6UTAJpySL+mXng611jNeano9myrknuC0H0ft3ZaS3Bq1a9EJEFmLUH1+ctp/NHo56yvNlpxVdrZas/pgW1TJsgcDVcfYdBIBD3sssHRL1ZIH9WSSqye7lv1O9yTMj5+4zPNsPmell9b/zQ3qyedHdZF/eWZmj63eyg+8fbHVwpQEBPvQrK0Tm0S9vDgI8iwxMxWnNESVbmn8jef1uKFWp8XqpB/4E8oyxV4mLlCy/doZQNUxv/bugWgt2GlCnvwf2FF+t0Vp9vvTD2/qNAVAQkYG07DLJNeh54AYmDcKO7HnRt+yLB05JA7wCS3trI92uEjRFsUMr1rODTcTT0P6VsdI6GusOd0kd8Xz6qW6f0Yw/ODTEx2iwbcABygxU0MI6k/YvZc5lwrRO+xe8bRLaPF3AdkEcYqHGIiLNp4HdktL4u17QPxB0BzY3FkpCOZxcdyr X-MS-Exchange-AntiSpam-MessageData: KChe8/LwsqOcGv+2+CYapbG0xu9zIsQh3G3IYZ+uZR5+RFVJfoCxTvYumzCj4VeO2GfScmrUqKZrETylRZcBZkj6lFnhaBkrXyk7+SxaPrFKqjB5NbPNej1pqryJ/A0NWNpYVtVU8iWO0A2h6UMdhA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71d9c54d-9967-4146-50d4-08d7e7551b02 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2020 07:08:21.1385 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kCro14OwojSUdZ8ikP4TgrD/IwfPwtNiwHai0HGGmzgh0wo9cQqpbLxp/0Djy2QHRiHKIEDHAMPFe3cLLXiq+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2855 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan The postfix needs to be false. Alought compiler use 0 for postfix now, and take start_from as 0, it is better we add explicit false to postfix. Fixes: 705dcca91d0a("firmware: imx: scu-pd: add power domain for I2C and INTMUX in CM40 SS") Signed-off-by: Peng Fan --- drivers/firmware/imx/scu-pd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index fb5523aa16ee..d1b313fa7b96 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -167,8 +167,8 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { { "dc0-pll", IMX_SC_R_DC_0_PLL_0, 2, true, 0 }, /* CM40 SS */ - { "cm40_i2c", IMX_SC_R_M4_0_I2C, 1, 0 }, - { "cm40_intmux", IMX_SC_R_M4_0_INTMUX, 1, 0 }, + { "cm40_i2c", IMX_SC_R_M4_0_I2C, 1, false, 0 }, + { "cm40_intmux", IMX_SC_R_M4_0_INTMUX, 1, false, 0 }, }; static const struct imx_sc_pd_soc imx8qxp_scu_pd = { -- 2.16.4