From patchwork Wed Nov 18 07:31:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 11914009 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F1EAC56202 for ; Wed, 18 Nov 2020 07:39:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BCFD52463F for ; Wed, 18 Nov 2020 07:39:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FU2NR0xS"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="G4xBJI9s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BCFD52463F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=tEuVdL+Za7VQljfaWb8bcaqEn4RMfVkugSui0oe5yFk=; b=FU2NR0xSCtAmC8UNnpBqZgGiV eVh3EJmGmjq4w2SpuDx8cs6AjszpEljx/XjvgtRwt2XOJPVFrYSqHVbG7ZypHJP1KnWRdJQ4VylC2 3bFGRqpPRdtnR6tAZPOr5Lw9OAOPdyxZMGQn4cs0Bl6Z1VuTDm4JZ8+pfrLt15+R29WiUcig/EhJD Uz1QZbHU5vwFwKuhOP0g5AmyyJz00AylwDJEI8uDdKDx1jszw+HoSEOsFbcsI4P05ezBISA8ajrWS rnSmOYACps6hmK1WJ9biY+ivxFceV1td+uZgZEERLalpgoK9yAXReIENAS6Vjyzh9NDv0YUkcgUpb PoY1VRRbA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfI3A-0008E8-Cs; Wed, 18 Nov 2020 07:38:44 +0000 Received: from mail-vi1eur05on2073.outbound.protection.outlook.com ([40.107.21.73] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfI33-0008Cd-Oy for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2020 07:38:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jkxb/ccMxbSuhpT3XNTNdJyRLP6yoipxwmqWkq//KbQ6nyDt1NhH2m0oi8t69VcQ0YN5IYWsAwAgub5Gut1CTpfP5nbDeb8WsaVJOp+6DCjYTv3/2ywZfVGoYVB6Qn/qX4v1CFiAD04n8lfhA8El7DdJkW0a2hMTxrTIc91RYsAypKMK3jbugpIp5CNGNdwUnOJp4HeiBzlV3jKulgJJDSeHKsyREfc1hzICnTFNAjGZFOLe5jtMFVkj1FhqUWLiJuna4FyPO+uCY0T7W2d+Jc20xtkmDClGBIxO+Z+r4GKBhO3v++e8xzA2mFbspFekY2c+pbn5SXV8WGjGR+PDoA== 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=4QqR9Mkl57A4Q25o56W4f3HpnC2DDuAEI8kz4Q82l2c=; b=ZNc2kQYOFCJ1/iWkXuX4Qd1E97yEAzDtrzb2kV2us4bM/NpugdBrFjoWPgq3YFX5ffgA2NlGWCox5ih4GJF3r1ZG7o7vaIw7yip4wpTQzowVvMFKJPIFPuhdCbtAi1ziiWMaxh/GSsd1GuGMXiE+7YENrSi+d4AqPiKYsUdAcuHaRRay+kFVXPbh1OZAHCB3mrJxgSkCu/ZqGIMNs5rc9Ed/3j/06RCYMKoei5MGXHJ6OP/Bjkizl/+Wzfrd3RYD+WdtDrZa+vaGRwRT2/iZzJfgx9fHHPrO2RQF57iYmEgLnBVSNSqI6lXCSUj+Gud6PuIIeyX+vXSfon2n3GnX2g== 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=4QqR9Mkl57A4Q25o56W4f3HpnC2DDuAEI8kz4Q82l2c=; b=G4xBJI9sjUjxSqMz2EwA/8SceLv4N0HfTH4gqctCvbgXVULLdtO1Asi6M9bxqjfIT0W3M0JqyxR1qpmJr44jeoYtvm7wY9x6tTFQHljQjEkTffedMijLaCsDMpf3W+g8Fhl6p4ZwOJIqHL4vP7n62BfNRIjVz2wRKpSrhPIe6rY= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) by VI1PR0402MB3421.eurprd04.prod.outlook.com (2603:10a6:803:5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.24; Wed, 18 Nov 2020 07:38:34 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685%7]) with mapi id 15.20.3589.021; Wed, 18 Nov 2020 07:38:34 +0000 From: Liu Ying To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] firmware: imx: scu-pd: Add some power domains support for i.MX8qxp MIPI1 subsystem Date: Wed, 18 Nov 2020 15:31:23 +0800 Message-Id: <1605684683-7631-4-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1605684683-7631-1-git-send-email-victor.liu@nxp.com> References: <1605684683-7631-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096::24) To VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3611.4 via Frontend Transport; Wed, 18 Nov 2020 07:38:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3fd79c3f-eccf-4536-bae3-08d88b94f40f X-MS-TrafficTypeDiagnostic: VI1PR0402MB3421: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1850; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q5A55QJjLicokXk8ctFzvhf4RNkWtQYc/oldx7bu2PxkRtc32MF0xpoB3l3wAHmwNBJsXBxwT6oiOQZyL8aVvOlm8Se32T5Qmh2t+YVgWS7nwOvcVGYkJuHvhh8OcU/DF21CA1jx4Kt9BTmq8pfLm3RcvFA4pz9mAnfIegLXu4wF4LBGOLHLm2fE1NdBedHeHTq0oLHxnR3YPbjYJ1jVpcNJLh7lQQBkeaUdSTA9v9lYkcOBryAu3QcRPGDStmpKSd/PwjggSO4Qn3Y/bd6XhkpTxL3FnQZzRp1pY15BjKTE4zAyM8+mJAIo1PROj793yv4ElTo3NdLe2lyTrPstBIywUmQeAgGh+nszFHf2IqLrLlkP1yKwtvbb8lXG6dfR X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3983.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(366004)(376002)(346002)(39860400002)(4326008)(26005)(6666004)(36756003)(6486002)(66476007)(6916009)(5660300002)(316002)(16526019)(86362001)(52116002)(66556008)(69590400008)(6506007)(956004)(66946007)(2616005)(186003)(8936002)(478600001)(2906002)(8676002)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Y6F/J0x/dFkktxB60JfbDJoROuKLuiigj/c+gv3iVuOnse21MFPzZ+xsKiEguUgqNiSHszgFV4JPVliN0KOgpcuT1Di9lj/MCvUu/XMrEH8MNMVfcLJ4YOfgfhKrRQpmK5l6ksZFH/9tZAvcnqaaJ1USOFlqyvoWjr0flL+UgcA84DeP8HGgntihw0msNjP1e/FlChwmU6QBy/XfyXREjrG8HWdSFRTrAXEy29o+hSX+iOJDC6PJa/WcwkGe4nJA8JOTHQakd/wxLm583Bqghpq6hNFQ2b3V+3f5zBB1h815xTxiKvFUD1d9l2+eoi3MEE20he7EFW97C5n4xXVMK2egLCXnkpEd61GpT/jSzJlw6LzxlcLqpVyuSTmLmCPiPEdi/R+M0u9h70j0fM2oqL6o67jQrSYMH6crXPqkxRP3zw7K0c5KMSHWdYbIiMunBm4JP7Q6MPGxJ6wjsqsJOEZgviXXG9qfIOZ5xkCF67h6PMpfA05sxHodzoi5XvhGRwSJhz9GCRikJ5qhOttWNjkQ6hUMheeHQL3trWE8YjjJlbMhj6a4N4Z2eCVdyLLT/scHJ7vHfwmAC21YjZRuQOsow+codwLlhoCJp3Sto8eiAji45K4yZmz8tGfKfxFCudUszg2Mxxv1/Yrxs0n9rA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3fd79c3f-eccf-4536-bae3-08d88b94f40f X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2020 07:38:34.2615 (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: PAf6mZ3n5R4iN8xISIy4E+suaUscPrYmS6308DiNgajG5PcxvlQ9qZLHmBlRTcS9uLj0DQMrkOQnwNVH2MjMMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3421 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201118_023837_857621_3B3032BE X-CRM114-Status: GOOD ( 14.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: festevam@gmail.com, s.hauer@pengutronix.de, shawnguo@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch adds the main power domain, pwm0 power domain and i2c0/1 power domains support for i.MX8qxp MIPI1 subsystem. Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Signed-off-by: Liu Ying --- drivers/firmware/imx/scu-pd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index 5f9c421..08533ee 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -160,6 +160,10 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { { "mipi0-pwm0", IMX_SC_R_MIPI_0_PWM_0, 1, false, 0 }, { "mipi0-i2c", IMX_SC_R_MIPI_0_I2C_0, 2, true, 0 }, + { "mipi1", IMX_SC_R_MIPI_1, 1, false, 0 }, + { "mipi1-pwm0", IMX_SC_R_MIPI_1_PWM_0, 1, false, 0 }, + { "mipi1-i2c", IMX_SC_R_MIPI_1_I2C_0, 2, true, 0 }, + /* LVDS SS */ { "lvds0", IMX_SC_R_LVDS_0, 1, false, 0 }, { "lvds1", IMX_SC_R_LVDS_1, 1, false, 0 },