From patchwork Fri Apr 30 05:27:44 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: 429755 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp91359jao; Thu, 29 Apr 2021 21:55:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzd5kGCUB7E9zm6s2V+PfRA7FYjViaZqVO4pMy1AE3d3LoQSjTGkaCjHoQzrAFVLk3gQf8S X-Received: by 2002:a17:902:7b8e:b029:ec:f35a:918e with SMTP id w14-20020a1709027b8eb02900ecf35a918emr3541121pll.77.1619758557919; Thu, 29 Apr 2021 21:55:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1619758557; cv=pass; d=google.com; s=arc-20160816; b=V8GpjOcs88q03lfRFpdYkJrFa+OoAH+K44Y7Lend6CYAh8txEXvFc5oYWtWqQly2Vq ETIz+mMo/6J3xTcslQMLeYjZCNd+jMX1qt74XxZSkp2urZGsMYf8vlTxopF+1kAjlShT 8yQdpwpmO7AisXbfScWp7cBbItTRVJcITpySB5cIZL7zBdvT5FpQwW9U3yrX2Ek0lTIl fR2Uy1nsnSqdLh3lte5oak6tx1oNjQo2cZ/R8TuCXIK/mtNKnwTLRlyibTIGbgOBGtvk GRlDHKGExHI4g2LM3jcCfgctocMlpf3c9jLsz6dsh+Np848xM6jpLg6L0JthIf/xh38+ Jz7w== 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=YR+u5uF7d7coX0epUL25kqfnOaANKttOKhr++MoUumA=; b=VKDBeqgfTaLwa20BGptHkew4fbVrEpZ25mkQYFtliLbGpKZ5uozCugmgPrF7zvDeZx LcGC6i835Veyj93IVORY9y38y3miYXzE6DvfQkKdeCcm0Wn/07Qv2lmfeRft3ioJNPY/ 9mdaDytysHuiljMFFTvClwGgVHc1eVJf0pfCjYUlJk9cdS9qtZZQomjK+Z9JKxgYij4l qX+2h8VXJ58j1UOxDAiIoFlXE9y+MX/nBzwzFZuJg9r7nFU4jS0wAWMlSRPDMiHCaPpM ij28yWVxGKJSd2geHfcs2HKfqxKih10xr2VAm0H7W6BFebcj8WX4xO+mu/P41AI0/oJ3 JYvA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=bBMeL2TC; 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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 i10si919173pjx.40.2021.04.29.21.55.57; Thu, 29 Apr 2021 21:55:57 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=bBMeL2TC; 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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S230203AbhD3E4k (ORCPT + 6 others); Fri, 30 Apr 2021 00:56:40 -0400 Received: from mail-eopbgr10045.outbound.protection.outlook.com ([40.107.1.45]:19013 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230167AbhD3E4k (ORCPT ); Fri, 30 Apr 2021 00:56:40 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n8oivMZ+Ohml8V4Po3EroeO+tMSYobowyfp4jDA2C8J3jImZbIoPKKRb+vv20BVV7LCZLBxxn0sMMGoWRkDhX00rg/y4YvoChgmq51Bm9xCeSWGkmsobXfyqvP80eq9oto3SpUUQJ+B5we9aKyJu8AZfMDZW1aYqHMTDMQad3sD7tNY9iRLMiV0h+mPgkj2Ibdn11G6uOhhTDPB2Ajdp4w63LCRtyM62rsPs/G8ROFKOMALA76gfKZ41iSqXc9+47K2AM8IrHcsbS8RdaV/TDL+UM8etlLpfBn6Syb1iUcg3jWPEkaphO7qra3D+jKPMSZYDmsefiqd4sm3L9lNNsw== 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=YR+u5uF7d7coX0epUL25kqfnOaANKttOKhr++MoUumA=; b=Xzqs/IOtd4J8MLoaFVZdPMg8jJhBpziCl7174mCSmQbDSh8TtPhf8/EZKquWODrmOHjNjip9pynH3WQh5hKWRmACnPFqQS7utP5muAuZAqBqvqQ89RK9l8kMm6YugETOO1qFQCBFZUwaK+ejk2PKF04FUIUPlnWFG1dBClm3YC8bB0mmb7W8pxYUJeRZBNwMKdiL122n+FCt+cC0V3OUr0X6/YvYcQ4GgDllZzPDZ8pskv0H/mgBnhwlukqUf0r/adHc/iu0k3Q3W4Uu4zSu8SpKzakr1CUp/PDel8jemUC0tpVDeCQr6/3zjzeozW7VgLFuTEH502l0LoFHS7JtHQ== 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=YR+u5uF7d7coX0epUL25kqfnOaANKttOKhr++MoUumA=; b=bBMeL2TCleG2ftTk0K70wuw9/5T64gS5W/jx3agd8lz7OOUILgFYWme4vXwaSLoXMf+4ZT/7qUqW5F19LfPSxwzdFicNzZz6Hjrpo4U1b8lVNreZICrepN5DhwMph2jNNzMOWR5OlbAqm6lLRZwL7tR9jZjwCCj4ejzLn/YmOuk= 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 DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Fri, 30 Apr 2021 04:55:49 +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; Fri, 30 Apr 2021 04:55:49 +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 V2 2/4] Documentation: bindings: clk: Add bindings for i.MX BLK_CTL Date: Fri, 30 Apr 2021 13:27:44 +0800 Message-Id: <20210430052746.10815-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210430052746.10815-1-peng.fan@oss.nxp.com> References: <20210430052746.10815-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HKAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:203:d0::16) 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 HKAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:203:d0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25 via Frontend Transport; Fri, 30 Apr 2021 04:55:44 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 16dd7b17-0232-4ac4-8fa1-08d90b94396c X-MS-TrafficTypeDiagnostic: DB3PR0402MB3916: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2887; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q45s5D7yydEKIJlD2bTKicNAtDKfqe5wgkHtUsRijis8s73wDXMIVpxNX5MFawNF028rfaxHrdHNEmefpr+eUK6J3sHxv36XSbuhnrdLs2sSKHtcSJnjYBHo+NbBAHOQGjwTJc27NYJWj+G8slfl88uu7JC3e/izXW9xT5HM+1CaRL7WTiwAiK9prwISm3GJbTLXY3hXlf3CDdg9Rg8yYpBcXtZuwU4FkKuHCbNFkELMTg6jO7ed3rDWhj29ujifB8sE89FoyYJxvWYTJKmZU1SYNRvB787gGqBiLXodnMyaJLiyQ02awrWzxNRL5Sv19/lr+O13NU0XVgIYlV8ER4hL5nDSm1HAnnvBGxxU6uqFxrXRJKWY2kD1UIGABdHbinlvrTX2zxeVXzFc0dZVsAxqtV+O1Q7bwMdg9NBIxiEIYfiBo9H7irNIC4KCjUVu8381MY7uiXTYzRYxRxWaJNqaw17ZUEPdYpfwikQaJcIVmKed2z6If4rxIXg48brXXnxPeAHy8tmHZph6OhkSwto1LVk1H/5Ubsb3GHl9gha7nZsS8xbJNaLdiiZOVitwUbs2AgDCdYGNUp9A+iuXMdv8rbAyYIPzDgFbCcMQfp9Wtd7DL1BebRVQ6B05dMCHcM+JJMcpVxN8AUbQfWsuhoTg+GnVNtb3JY1eTL+8c3qrfXiTXbziskZjvpmEK94k/XB4+ZoXprenMAfl6w+il4H+cppPE2sdteoyuSqmNcE= 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)(136003)(39850400004)(346002)(376002)(366004)(396003)(316002)(8936002)(5660300002)(83380400001)(66476007)(66946007)(7416002)(66556008)(4326008)(6512007)(6486002)(16526019)(956004)(186003)(86362001)(2616005)(966005)(6506007)(1076003)(2906002)(38100700002)(38350700002)(8676002)(478600001)(52116002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: kp8AFAbHDtYbDyT6ZFPamV/jatY5gQXiX0jGvLhgkh+qtKtMuZEIA+5cbI9gKPAtXfFtZCXP2MdnjLJnc5R9Bqty0rY6kJfABSg+IZLWpggFoa4kmGC8CuwC+VVmgbwdvPXqRQoJBn3Zxk51HDyIvN64OlE7+lIYSYVu2oFaZzuXO+5eZ5Nt0elCm5+tJlOTS85PiHoWt4CHO/j20+SP43pPYM5Og+L3OyqxeM2qPF7R4cdcvWYh6SIt3Z3E5jjXatTrj9ZVjqzWxNDcLaEb+kp3kgt0FoxSh5f2A44jvlV2r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ossTenant-Network-Message-Id: 16dd7b17-0232-4ac4-8fa1-08d90b94396c X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2021 04:55:49.8176 (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: ATCj9rYc/4zdbCu4ym8EERAuR/K01XzNr5EaIeSpgObbzKlnowclrT/GktS9vmH2mJpGYpS23e89j7DJYVmJQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3916 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Document the i.MX BLK_CTL with its devicetree properties. Signed-off-by: Peng Fan --- .../bindings/soc/imx/fsl,imx-blk-ctl.yaml | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml -- 2.30.0 diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml new file mode 100644 index 000000000000..a491b63de50c --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml @@ -0,0 +1,73 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,imx-blk-ctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX BLK_CTL + +maintainers: + - Peng Fan + +description: + i.MX BLK_CTL is a conglomerate of different GPRs that are + dedicated to a specific subsystem. It usually contains + clocks and resets amongst other things. Here we take the clocks + and resets as virtual PDs, the reason we could not take it as + clock provider is there is A/B lock issue between power domain + and clock. + +properties: + compatible: + items: + - enum: + - fsl,imx8mm-dispmix-blk-ctl + - fsl,imx8mm-vpumix-blk-ctl + - const: syscon + + reg: + maxItems: 1 + + "#power-domain-cells": + const: 1 + + power-domains: + minItems: 1 + maxItems: 32 + + power-domain-names: + minItems: 1 + maxItems: 32 + + '#reset-cells': + const: 1 + + clocks: + minItems: 1 + maxItems: 32 + + clock-names: + minItems: 1 + maxItems: 32 + +required: + - compatible + - reg + - power-domains + +additionalProperties: false + +examples: + - | + #include + + dispmix_blk_ctl: blk-ctl@32e28000 { + compatible = "fsl,imx8mm-dispmix-blk-ctl", "syscon"; + reg = <0x32e28000 0x100>; + #power-domain-cells = <1>; + power-domains = <&pgc_dispmix>, <&pgc_mipi>; + power-domain-names = "dispmix", "mipi"; + clocks = <&clk IMX8MM_CLK_DISP_ROOT>, <&clk IMX8MM_CLK_DISP_AXI_ROOT>, + <&clk IMX8MM_CLK_DISP_APB_ROOT>; + clock-names = "disp", "axi", "apb"; + };