From patchwork Thu Apr 29 07:30:42 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: 12230547 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.0 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 71279C433ED for ; Thu, 29 Apr 2021 07:04:27 +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 C3F146141E for ; Thu, 29 Apr 2021 07:04:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C3F146141E 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=fRBEcjXkLjPXenF5Ah5KDTeXzEy8MzGJUYqlUdhoJpM=; b=e6lnzm7pXxOgBRNHECQ2D/6fN eWar5rhtNbJlvnql+CRvNEspi5Wo5n4zzH9RfTQ/Xdj4jycrW0adtvIDwyNJFUTMi/8bU60jFFa/K Nj39axdMNiUDzXTcvBjnsZTvV4nnDf18JCBBW6aNOTIJZt9u8+7M+NlHisrMPcypWTNHV+edazc49 ztmVDPrUlgeEvTIVghWrrgAXoJp1vI5+5zfJYo38OJFVqNTQRwNMySEKRZC0PdbSjFowF5wYv5/8z vyktdA2euXctMbFyCyRAbPjwu6jG6hIMJ8dL7J6oyyKi2+vRzDYQ2gOTeyM9LhKeIcQcu2WhkJgq9 MmUfAQjvg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lc0gp-00588M-8f; Thu, 29 Apr 2021 07:02:23 +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 1lc0eU-0057WW-Tx for linux-arm-kernel@desiato.infradead.org; Thu, 29 Apr 2021 06:59:59 +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=M55MHAAB3wU+mM8bEEjiU+t4iN966Q9glBMqxKp9qoo=; b=1RqMezFYNYFnWgUZxzJO+hNFvg DivdfD6jSfMlI59Z6+O5f3p1qPRvQ3BOD7lOjcVMwmx7Ifa3VZ9I1B9fytC2f3Negap7D+aieu4CZ 2l9st8luyxCDXuCU1k1paF5iwI3JtGmvCUGIPwzhd7ol9ntpxOE83QYVUtXzZGL3vpG99+JW+psQb D0n6tv6BjhVTt749Yv/l0hP8Vlxzi7h1M481BIuwvTLsEPZUUMsPHzrwRQayKcFAPkutGekJSfO1P 6Asi5zmWP/cRu5bITYdaNE4A7RBGHJMCSYlHsneICkePgNrJ0NTWgH2CSxknEyzZnfMdzWfQ3Y4xJ qfT0YpyA==; Received: from mail-db8eur05on2057.outbound.protection.outlook.com ([40.107.20.57] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lc0eS-000QLJ-FK for linux-arm-kernel@lists.infradead.org; Thu, 29 Apr 2021 06:59:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ex/Kl5E3uv4akU1oEvDo0Nd7l5TmdaCFjTrraphlt5AIh8ybc+qVbYhq/SJybgh+nCcsaVLM8X5ijSfj4vfB+iRxK/k43Yw+1lvnabomQXso9nodczn0ZX6djdUGTKtpVl2W1B/I5l+PuveV+73i7lDK2zwCm5y37641DuBnPTs0aybq/RrBSkl5v2BuyjpzK5bGFkhAN3FAxxnIDtGFErphu5wuyzi8BpIoFsQPJKZTmKfZMzpR4QK+oS7cUzWm01gcb6cprrzytjafXdXqfPn6z024dvC+QVrc8mXz60RXBmqGtX5pZ1NFiMNfEwsv89SOpHZsHEEol5sf5XWygA== 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=M55MHAAB3wU+mM8bEEjiU+t4iN966Q9glBMqxKp9qoo=; b=hQ64rJSYdAhCoB2ppQWEtq+799N35ZOWtgKppbOi3H5SvtlvV6qFaxVwvIIPWGRSXn5OO0dt1JF/YoFWkNdRomCZPZe0fTESF18qYst1KYzWGUeuwavdPa9zMdl0RZT3RskVmTrzg4nI2QCNR9qskDL4uhoxSRWd41nTg/u7QIbVnlMfteCPFZ3rE5g32PS3uoF6SBMDToclqW+V6pe3cmqswDRCQIbE+9W01bWWDqd883PimR/Cf6V9p7sehL4DTxZ/GWVt1VGogxZ4g7PkSggyIoNQadiAqgp9twDVX5xJki3r5UjVAAcHq3pw4ZQKgLCAmdD4EhPxEYN011G5aA== 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=M55MHAAB3wU+mM8bEEjiU+t4iN966Q9glBMqxKp9qoo=; b=llEKFm225RQpT5vImJaWezBOXyajort/0QivrliMWcNNDdvm/4Ja9ehbqW2yttNfOkStfSmsZPdYmNebdZjw4ga/4KyJauvKPEeProQb5rXD8RMm848g6RlqpFIn45JGH/xYfEKJr0W4y67UUizngk6Rt3JvxWmIimGXnIQJH9g= 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 DB7PR04MB5468.eurprd04.prod.outlook.com (2603:10a6:10:86::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.25; Thu, 29 Apr 2021 06:59:51 +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.4065.023; Thu, 29 Apr 2021 06:59:51 +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 Subject: [PATCH 08/16] dt-bindings: imx: gpcv2: add support for optional resets Date: Thu, 29 Apr 2021 15:30:42 +0800 Message-Id: <20210429073050.21039-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210429073050.21039-1-peng.fan@oss.nxp.com> References: <20210429073050.21039-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0208.apcprd02.prod.outlook.com (2603:1096:201:20::20) 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 HK2PR02CA0208.apcprd02.prod.outlook.com (2603:1096:201:20::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.29 via Frontend Transport; Thu, 29 Apr 2021 06:59:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1cbafc42-051b-4696-1506-08d90adc6224 X-MS-TrafficTypeDiagnostic: DB7PR04MB5468: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KsqGZPYwlqAtmLZLvr5afcP+82H+IhvoLSnhbAMTlbZ0mNCD21zIcnLcJ1jXDy9QoXV3jddR86tdCt3Qsd4iOJVms3xavlBlbYcgmsNjvlWy8vP4UaogHrfcIJn6fvwWZE/k0uMecULmrit3r0vUcj0hgBQM+yDNNC586cm+nXyvKjoPaCiag+hYZXBf5syfqIQyXhte2siZ6BRj0AKewAjBtsJyFOB3kedBGTfcfc/5zzPgmfV/MvP0jPPFTLvsiUqbjDMV/BEPVME/jfaWoDvoj8Obm4PjxuweCAGDBQEy9HEj6KRR5NVP46F1ZXKy/W2jTGNElCTswq9Q57HWrDoltF7AMU5wWDImIT1Lgo2/x8BWAXEjf6l+ix+jSOMriQ2uptVCueSfaaa4Oq3BJLJx/hirZaa3kc5R90wxfbJSLRvkg5m9x07kYkv6t6aCR4CkhW+lHpl0ck5KY7GOwQeQvqkFRs/aRtc+djKq1SBtAuMrri/gZzFGBTuiqKjs8YWMVu2aKAXhEJoxn1ufJYIBwX4RGlQBJq1FQpsu2ttcHWCxPawNJGQ1GNdUUdkNs8T0UG1LrCdK/1dCA5cX/41vY2z6Fy3ukOQXT5Bi9qGJxRAEpOk848kd1hwuVfLcFqPk+jtOrTYW0LsfgkAZHZ5QZxCGzW5zRjVw4T7J7T8= 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)(366004)(396003)(376002)(39860400002)(346002)(136003)(2906002)(8936002)(4326008)(52116002)(38100700002)(38350700002)(6666004)(956004)(6512007)(8676002)(66946007)(66476007)(16526019)(2616005)(1076003)(6506007)(186003)(6486002)(66556008)(7416002)(478600001)(4744005)(5660300002)(26005)(316002)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 4lhtFgqRnmgfsCIfOZmaf0tteJna5mNoZ2nKpvDKUQhbSvnn6yfAz7z1ey+mURbnx2bfPaeFLbCWHXEz67wXRsdcfz9fwXsQCdATpF4PTTSM2MISmwuoTxSKHlxTIdFh7ZH00JXNsIWqUjDcDLiT+3HmfXq6fh0AMCpqoFnpuXc+XNiDP/yquxUaPC3pF5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3O5R4u8/vSBP2kh6JenIh+spYWH4xp/92ZRisjrC/u6viSrgQRWaWENl9TzYNuDrBJTwnQV+4D7MgOVDon4 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1cbafc42-051b-4696-1506-08d90adc6224 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 06:59:50.9178 (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: 1FKkaiIr3xqVXG2RNk8sRiCCQX3DQDX+XRORycsePpyeC64uo2AnSg1ZCrw/w5ZdMjCIuAiuDwz047Lvd5ccow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5468 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210428_235956_536474_B6408A44 X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. 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. Signed-off-by: Lucas Stach --- Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml index a96e6dbf1858..4330c73a2c30 100644 --- a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml +++ b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml @@ -66,6 +66,13 @@ properties: power-supply: true + resets: + description: | + A number of phandles to resets that need to be asserted during + power-up sequencing of the domain. + minItems: 1 + maxItems: 4 + required: - '#power-domain-cells' - reg