Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2241745pxj; Sun, 9 May 2021 20:31:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcC4V1VQSvzt/DEkdbuFchrnjowT+OM1lnSQ85subR5kKqJekauwWZRiPwrbhYNYdhiPKS X-Received: by 2002:a92:c846:: with SMTP id b6mr15459254ilq.68.1620617482293; Sun, 09 May 2021 20:31:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1620617482; cv=pass; d=google.com; s=arc-20160816; b=Ihtamr0fc2mWTlnEYx5qlNFNpd7FsO+6gfCATUX2ZF7/2pr33A4s0jm4DYGoDM1Naj UyAzqteKAhSd9p+8YbnLCpE5YywT6iKmxrv1YK4Yif6RxAu/WM5CY/DHHBv1Ha1aUIMH fMaQuOJpqbtG+cIcK/XwTlrmNu45McxzOBBbROpjGk38C7dlpmG2iVLz5n4zfOoBlHyV aVdmyi0+GeNhXdmeKlF9nGalk3H3jM3Wms21bJVUfwiZZ/4rLzPs0qrvmKCLi8kVeZ31 n3Qh5DlxTp9kMLpEOGIE8FswGkMbuKTUPOYkiXoTpKJ+omNzCkccjKPYWRH/tJcPAPFX SF1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+AImgcs7ms0qAmSvPDKY1UQmEuy3v9Gj65WikmMKaK8=; b=cgnjSgFFYliXy7mgzNFlUIprynP4Q0U9rvqjLS4xcu+724RI8yAJ3MZ4VxRCG6C7GF StIuZZ+Sge+1eSzlHM5jn2MbwEbhf/dE8uGuErkt+OOBchRKFYwJEDpmXN1Ps8Zbk9cD wIeLC4GCWEnMNkRY3xfmEAB6WELTIFKn8bwoMahAbeY72G1t4Pk2jn02E8+4PHWILb56 6bNboTap3bUYDcHao0NRwHcYguXrkMCaTnCOihSCelv0X7t3Zy6q3dGw7bJ1HLYgrOzn JGjkQC6BHzkcJ180LtVVkZObfSmLM8VeJmmVh0Yn6/BIrI+AM2ldNjsjPTQh1kP61scV hjgQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ab0UHqKS; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.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=fail (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 q19si15856944jaj.123.2021.05.09.20.31.10; Sun, 09 May 2021 20:31:22 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ab0UHqKS; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbhEJDay (ORCPT + 99 others); Sun, 9 May 2021 23:30:54 -0400 Received: from mail-eopbgr140054.outbound.protection.outlook.com ([40.107.14.54]:35489 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230370AbhEJDav (ORCPT ); Sun, 9 May 2021 23:30:51 -0400 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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: =?us-ascii?Q?QFs3psgAAghdAKnK9qKd4lrOzo7heaBcLNcwF0rN22fHcYUPc9lchSXBgGYO?= =?us-ascii?Q?mW1grfFcTrc8rPd9sQT8UfTUaT5ImrMH4SFmiAbSNvNoEOeVRRXtUWioqGj7?= =?us-ascii?Q?9svxdip0hUsv3EOWtmnP6vnhnI5czUE5kw7V/TiCaBAuIZKZ0vfS6+q0KPm+?= =?us-ascii?Q?mCBhnxjsOCj/Da0+gChuAAmwB9pttg+wlgy2D3GgaA3DGp5B7RFOyvxMxdaw?= =?us-ascii?Q?2buUwcqNu3A46ukoqxNdmfZ6N2pe3Z3Q0vvkRDsCyaoVVuSgYvbgAnJ8QvKr?= =?us-ascii?Q?1KhkH6uiENeGtvfuU/LWvLYUdzmgyGOdKkq8Uvyyy5mrXEuZfw+SCTeUxCCR?= =?us-ascii?Q?zIdUJLvpRyO6S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= =?us-ascii?Q?/AYh3PEMUq2mObr7C0aN7aFk4v2w74Msfg4ZOraQE5XjFC71oq/QPsafeVJo?= =?us-ascii?Q?bvAvoBPJqJ+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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- .../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 -- 2.30.0