Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp426324pxb; Tue, 3 Nov 2020 03:22:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJztzphS6DZFPIyDNEZHre7VYDi5IrogGHgZaf5doV85U2cdHx1qib5K0JQObL7AHB4XpxyP X-Received: by 2002:a17:906:6702:: with SMTP id a2mr19074731ejp.309.1604402532240; Tue, 03 Nov 2020 03:22:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604402532; cv=none; d=google.com; s=arc-20160816; b=lltDUztPfiWJfqk1FUO6UhbrkqkPp5ai4kAFZW+5mRP5YcAOvqUVZOPC0rIhPl9D1R sx3YTNiLBC8oEWVH7tRYyx6mNcueKomMRkT35xDRst3XMqjtwIyqq34XIJ4d7D8DfglO 6Mvrq4lYmOK9zFHtA+vGD5I/ewcv8n8idP1OtIYvKRTGFGSP/U9zgkqBeoADITmyFxaZ UoGSd1UQc0QurZ16KvW3u3AW3sk834TAwHyWHSQ6KukugNpG/p/StOXQYGGxSUVUBCMF mFRHYj9A+BG6ronm6YMqLI/qYMzkkqMdVHNYsn80gy0cSGbDMhpdZ1doAiS/6A9y3Cox eitw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=WWCmar92VqAW3AanbZIi2Tv7+9fZiTRsbtC3936WvyY=; b=WFjh/zjBKmxyktDre//I0CJlkXNtcI3ZTeFd+fvfBLHZlli2XQ0zlH/oa/r9w4qS5K mqJ8LQ26SoHjoaxwIpD11QDS2tS+hiZeKtBiTNsplIJf4RLlvG+hW9Xv0choKu9NwXp6 ggs36BEv3+dd/Mo/Jc0SyfbEcyxHLHfXC5f+blsyjJO38dp3e92b5niyACHtEphvADVM +9x8riS9bNjFp6XsD4lzk5aVPWdVzCM1VbS2PrXJneMQ7R76kzvJykY6Dv9+4y7voYFh 8ZVDGPwMSW/BPOPHcI2NuhmI059lVwzyUNGIjn1lnz/FR5a9FLfX0Kvw1LlG/BJOANTu EnUA== ARC-Authentication-Results: i=1; mx.google.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 bt15si13021746ejb.170.2020.11.03.03.21.49; Tue, 03 Nov 2020 03:22:12 -0800 (PST) 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; 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 S1728780AbgKCLT7 (ORCPT + 99 others); Tue, 3 Nov 2020 06:19:59 -0500 Received: from inva021.nxp.com ([92.121.34.21]:41062 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728476AbgKCLTU (ORCPT ); Tue, 3 Nov 2020 06:19:20 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 18AD1200869; Tue, 3 Nov 2020 12:19:18 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 0B9BD2008F0; Tue, 3 Nov 2020 12:19:18 +0100 (CET) Received: from fsr-ub1664-175.ea.freescale.net (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 515FD2033F; Tue, 3 Nov 2020 12:19:17 +0100 (CET) From: Abel Vesa To: Mike Turquette , Stephen Boyd , Adam Ford , Marek Vasut , Lucas Stach , Rob Herring , Shawn Guo , Sascha Hauer , Fabio Estevam , Anson Huang , Jacky Bai , Peng Fan , Dong Aisheng Cc: NXP Linux Team , linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Abel Vesa Subject: [PATCH v5 09/14] Documentation: bindings: clk: Add bindings for i.MX BLK_CTL Date: Tue, 3 Nov 2020 13:18:21 +0200 Message-Id: <1604402306-5348-10-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1604402306-5348-1-git-send-email-abel.vesa@nxp.com> References: <1604402306-5348-1-git-send-email-abel.vesa@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the i.MX BLK_CTL with its devicetree properties. Signed-off-by: Abel Vesa Reviewed-by: Dong Aisheng Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/fsl,imx-blk-ctl.yaml | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml diff --git a/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml new file mode 100644 index 00000000..5e9eb40 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/fsl,imx-blk-ctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX BLK_CTL + +maintainers: + - Abel Vesa + +description: + i.MX BLK_CTL is a conglomerate of different GPRs that are + dedicated to a specific subsystem. Because it usually contains + clocks amongst other things, it needs access to the i.MX clocks + API. All the other functionalities it provides can work just fine + from the clock subsystem tree. + +properties: + compatible: + items: + - enum: + - fsl,imx8mp-audio-blk-ctl + - fsl,imx8mp-hdmi-blk-ctl + - fsl,imx8mp-media-blk-ctl + - const: syscon + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - power-domains + - '#clock-cells' + - '#reset-cells' + +additionalProperties: false + +examples: + - | + #include + + audio_blk_ctl: clock-controller@30e20000 { + compatible = "fsl,imx8mp-audio-blk-ctl", "syscon"; + reg = <0x30e20000 0x10000>; + power-domains = <&audiomix_pd>; + + #clock-cells = <1>; + #reset-cells = <1>; + }; -- 2.7.4