From patchwork Mon May 10 04:00:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12246767 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=-17.4 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,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 46BD6C433B4 for ; Mon, 10 May 2021 03:35:05 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 CB3B7613CF for ; Mon, 10 May 2021 03:35:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB3B7613CF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yOFcbrwDkyozUlfPKP3j58+knW9CVl70aucDV2GMlNc=; b=lXdo6q0+g/eqxKmzuGmTyf+AV bbFH639sOlOKaT7h0I07PSFqphDJmfcUcPdQyotbQqR1qyG0FJmaRcWOJ9GmPdeIRn/3tTZwbXO+e Lg2X3IsC20lY5wMcw3ZJkrTeD/hAtvyOQHrRD107+OWR/25V2f8PrE8pqd6sXVH2NqDAF8hR7G4zK 0OtW1jYGGhhQVju8TtdgfNKyBbBCZ/kWLIRSJQXkDg/MU7vrpIyD/a3FOFT3iLa7pX6ysaI8nWpJz l0NWF1dyysVauiwEfOeaozc3WtDDc6wiU5/11KtLrjhzObV+qM2YmPfab8PsCixFPpCA/yScBbIly Sls90DU2w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lfwe5-00Cypq-GK; Mon, 10 May 2021 03:31:54 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lfwcB-00Cy6z-BR for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 03:29:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=+AImgcs7ms0qAmSvPDKY1UQmEuy3v9Gj65WikmMKaK8=; b=NAd0XyXQUDRRQU4FtVK/D9UfRr en444O2w/q8I3zSV7DailZUHQbR3/uDsW9LvosVwTmDQ1eDUVvi+AAYOEMU9DOKYX8g4gYPW15DDB pLHFp5g/kt87RXmq9hOSmA4OlNhQcbq8d9KHzSdFrQWMhbKb4YBjurwa65nE8V5Q0h1xSqnRF2MQp rZlMTI8YjgWGQ126bWVALkzvRJisJ+voUzGfY+fXpuLwLdQlsrZqTFRB0OuVSmvDdRkYGEf9gUCWY l/x1jg/xc9a94iXqvsahCzEQ7jzr119PGLAsPVCi6VUuime7O96iDHp2BQvA1YnuD7GsahE7t4R3x T5eqp/jg==; Received: from mail-eopbgr140054.outbound.protection.outlook.com ([40.107.14.54] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lfwc8-008Emr-RU for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 03:29:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l2QHMSd5zPTnMyFN/14SoADfP3p4JE6v1SA/P1G7uyCXuzUvlqd36e4jAyKvKCL+cWtR6GJ+cl11o8kikzbQACSkX2z2akgZV3hILmG+ajMd+lJ6glixLWxw9liav71FrfoCv5l6/B+DhutsFUCQNh5RJNCLUhHmR9v2IlndRy50iwOX7ChHi/qgGLYUBeYmOOg9IYb9l4UQK41NtsLobTQ6jFYj18mFwTntDQNIhbwwrUBCbogIPmXuP5bM+Jj+LmN/obiAOjaMNlwEcaffAQjXKnHC02ADTPSYD/RurVa9DeeJHO8OqstfRbHmfPMNs8oLL2drDvnAClta3kmbVQ== 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=+AImgcs7ms0qAmSvPDKY1UQmEuy3v9Gj65WikmMKaK8=; b=drY3gfDkXN/2HehhZNPmhjGXlUxQdHAcLHaqar18AsDFPZV+/ZPvp9bWOe46iJJcY0Zw04r1vn+dFi9CjoL0yAt8Ah5Caq/JVLZiO22/k1qk8UJehkxAMvcFAlskknly2Z5cBXbmzyIaNnTXJcna1RYi1IdOEiWM0hQQX8H4t4qg+ovyNc63SRZmTdn7L2B8P8JL1y6ZPPvEaof+dSF/tiGr2CHVsohqI7bvjeDO/jUSAaMOwf1h4irS2n/nPbPbmE7mh7qlIIESBjlE6GfseQx4GuhBTcfDhuN0+o8zcgT9arjA7ohwTU75wmTvuuhvbCQ1j5G9q5RpJ4s4Hpm5uQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+AImgcs7ms0qAmSvPDKY1UQmEuy3v9Gj65WikmMKaK8=; b=ab0UHqKSzFFc8gBA0aPNSDlAehG6UQgbuoAvg79phmGpo5ZwwLX+d0R2XH7UguLFgKpDn6plxhyirf2tRKLewCD5hgaHwifA1Oux4kCCB3/rLu2QS0ZqylSg2xx4iX1JW2JgnhDSNQdjXhZ6ITJzK+HugRM8VLKkhg20UEtiIl4= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4091.eurprd04.prod.outlook.com (2603:10a6:5:1e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Mon, 10 May 2021 03:29:45 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::45b9:c993:87ec:9a64]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::45b9:c993:87ec:9a64%8]) with mapi id 15.20.4108.031; Mon, 10 May 2021 03:29:45 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, p.zabel@pengutronix.de, l.stach@pengutronix.de, krzk@kernel.org, agx@sigxcpu.org, marex@denx.de, andrew.smirnov@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ping.bai@nxp.com, frieder.schrempf@kontron.de, aford173@gmail.com, abel.vesa@nxp.com, Peng Fan Subject: [PATCH V3 08/13] dt-bindings: imx: gpcv2: add support for optional resets Date: Mon, 10 May 2021 12:00:40 +0800 Message-Id: <20210510040045.13225-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210510040045.13225-1-peng.fan@oss.nxp.com> References: <20210510040045.13225-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR04CA0184.apcprd04.prod.outlook.com (2603:1096:4:14::22) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR04CA0184.apcprd04.prod.outlook.com (2603:1096:4:14::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 03:29:39 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c84699a5-442c-40a8-2637-08d91363db5f X-MS-TrafficTypeDiagnostic: DB7PR04MB4091: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xZsMmZYCTSBnCorcQR9ntGHwAtHcmNCQ1G/dA6hmQ8e0Ev2PzxwhYVfZDd2Jogys5+KyX0yVysV5P3t2s8H6EgemTqhZysXEAV8fM6/6dJZ63SzxJhb1iHQOtfNGLMtW/yVTqfk3Y1rJDmeyVz21mZ/J4bQOHxy2oMz7qHj45gFXw/wSUriKUdXJZKchOf10DEdf1/dd2PnzrE4UCEucu2bSK7uKS5nv/yv92sj2xX8lbgitdFh1Ua0A6VBiPu2xMZgsbAMa1tzvrWzBohlM8T/d1p4+NzxRLCohlqAu1oS/ly0uBRP+uo/CXT1dPk4KYB3bfOHVrF3EJnxjjB4RjegDeuq8IwY0S5281iPhS95gSM61+5mJNJfqFz3q0SWAlVHzU0/8h9zFE6sYkZ62TRRD5m+ofUAWtxsbhM12rGmKciFsuu5gQwEV4Fw4qBVTcVD3/JHq+MN+0Jd1L/5u+5FzyC/e6ahH4XKU0Qh98db8zuuIKqkrmRyJs4lwJRvkJ6XdAzx3M8ae091Vs0dAfgPfs72dn4eX13NMdZ18Fu7M4lRxY6DSaLD9j1MPn8dSz8O8cDJvTTsYtO7Gxw9j7jbFwLnXYlq2IyB8ukOe8LMkbpQLYAFiLH2m+UtBswz7+CC/K2/r0or70tlW5l5hjGBMfz9KLmYGNcC/ZMDU3qc= 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; SFS:(4636009)(376002)(346002)(366004)(136003)(39860400002)(396003)(316002)(86362001)(478600001)(4326008)(1076003)(2616005)(956004)(5660300002)(16526019)(6666004)(7416002)(66476007)(38100700002)(83380400001)(6506007)(52116002)(26005)(2906002)(38350700002)(6512007)(6486002)(66556008)(8936002)(186003)(8676002)(66946007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: QFs3psgAAghdAKnK9qKd4lrOzo7heaBcLNcwF0rN22fHcYUPc9lchSXBgGYOmW1grfFcTrc8rPd9sQT8UfTUaT5ImrMH4SFmiAbSNvNoEOeVRRXtUWioqGj79svxdip0hUsv3EOWtmnP6vnhnI5czUE5kw7V/TiCaBAuIZKZ0vfS6+q0KPm+mCBhnxj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d25/AYh3PEMUq2mObr7C0aN7aFk4v2w74Msfg4ZOraQE5XjFC71oq/QPsafeVJobvAvoBPJqJ+2I4V6y/C3PwnQ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c84699a5-442c-40a8-2637-08d91363db5f X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 03:29:45.5280 (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: GkR71VQVeP2tqQPPRqj4r73nY25v0ynwqr9f6rQ6ifIe2YYF3oYMdDrxb8I2YQ0q0mjXABMOpEPN19+OlBr96A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4091 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210509_202948_913500_A930118B X-CRM114-Status: GOOD ( 11.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Lucas Stach For some domains the resets of the devices in the domain are not automatically triggered. Add an optional resets property to allow the GPC driver to trigger those resets explicitly. The resets belong to devices located inside the power domain, which need to be held in reset across the power-up sequence. So we have no means to specify what each reset is in a generic power-domain binding. Same situation as with the clocks in this binding actually. Tested-by: Frieder Schrempf Signed-off-by: Lucas Stach Signed-off-by: Peng Fan Reviewed-by: Rob Herring --- .../devicetree/bindings/power/fsl,imx-gpcv2.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml index a96e6dbf1858..eb248f24dce6 100644 --- a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml +++ b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml @@ -66,6 +66,16 @@ properties: power-supply: true + resets: + description: | + A number of phandles to resets that need to be asserted during + power-up sequencing of the domain. The resets belong to devices + located inside the power domain, which need to be held in reset + across the power-up sequence. So no means to specify what each + reset is in a generic power-domain binding. + minItems: 1 + maxItems: 4 + required: - '#power-domain-cells' - reg