Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp314951pxa; Fri, 14 Aug 2020 05:13:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1xy+yiPEqtTgxgFjK6Ru5HzcrF+oZTgtU9cg+X0FgZtrOULR6Umhq5hw9DCZPXTt9TOR4 X-Received: by 2002:a17:906:228a:: with SMTP id p10mr2060145eja.23.1597407231383; Fri, 14 Aug 2020 05:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597407231; cv=none; d=google.com; s=arc-20160816; b=tsLQ3+tRSKrSD242fI25+8kP7KiEn2BinkZ3YSthcDAzZpekHxRxOxnDAP3paegW9B X4NYluR4uQq1Dql82ks2B2WDIPiLJz3sRZoksbaanc8aHQgFvY93d2D9M7dqo73Lt5ai q76k/dy7BQYjnSOF9PF+lVv+5Y8WJy5vF6eba0kDUV5OfUG7jcHkQ4SffWWTHp2+u8yx gEzRHYE5DK7Ozp5sijQgRDqBoiDW4xB3eqhKQD5FU6yt8FhYUcMNr5ucb17+IfA/olx5 i8LVZbF7h3/1uygkv8EV/m9NpTWr+Nrl36evrpzdNupIlsr54TV+fhhJXartUu86Fite Glxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=O2cu0x2ieVTVm2DIUQwi7gR04D9w4GJXNnVAGnO+0+4=; b=CyE8wgHSzhsQDokafm60YqP/QGqP6w08SsLmoEKIL2sSSUJC8vkB4aeBQKXbfzA3sm 2pvICpdl4l4/kZTlsTymwLofBvQd0QmrXpZ3wMpfCkFOFCJO6tvBPOz6QQaIlnrpLRxY qlk03rdxs8JkblSLTyWRC53DsqdrZOHBA/udPGYik4zYonX2IM3yDcfsrFiM8JA8k1YQ rxsaZNFrDAd9fs4nYuwnAy32WWSKEtHWWcU1D0uQSmNelp5UzWNlv3iaqaQV+/47ORpx wnzbaJgQKA3xn7VUvcgyxy03d5yFDqvulZ536wAXXjygoiF/0ifQvfnDNoQZQ4dyGrj5 /0Vw== 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 yl26si5297806ejb.625.2020.08.14.05.13.29; Fri, 14 Aug 2020 05:13:51 -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; 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 S1728351AbgHNMLE (ORCPT + 99 others); Fri, 14 Aug 2020 08:11:04 -0400 Received: from inva020.nxp.com ([92.121.34.13]:38344 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728132AbgHNMJ6 (ORCPT ); Fri, 14 Aug 2020 08:09:58 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 9BC271A04C3; Fri, 14 Aug 2020 14:09:56 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8C7C01A0446; Fri, 14 Aug 2020 14:09:56 +0200 (CEST) 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 DB6522030E; Fri, 14 Aug 2020 14:09:55 +0200 (CEST) From: Abel Vesa To: Mike Turquette , Stephen Boyd , Rob Herring , Shawn Guo , Sascha Hauer , Fabio Estevam , Philipp Zabel , Anson Huang , Jacky Bai , Peng Fan , Dong Aisheng , Fugang Duan , devicetree@vger.kernel.org Cc: NXP Linux Team , linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , linux-clk@vger.kernel.org, Abel Vesa Subject: [PATCH v2 10/17] Documentation: bindings: clk: Add bindings for i.MX BLK_CTRL Date: Fri, 14 Aug 2020 15:09:19 +0300 Message-Id: <1597406966-13740-11-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1597406966-13740-1-git-send-email-abel.vesa@nxp.com> References: <1597406966-13740-1-git-send-email-abel.vesa@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the i.MX BLK_CTRL with its devicetree properties. Signed-off-by: Abel Vesa --- .../bindings/clock/fsl,imx-blk-ctrl.yaml | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml diff --git a/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml new file mode 100644 index 00000000..b47590c --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/fsl,imx-blk-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX BLK_CTRL + +maintainers: + - Abel Vesa + +description: + i.MX BLK_CTRL 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-ctrl + - fsl,imx8mp-hdmi-blk-ctrl + - fsl,imx8mp-media-blk-ctrl + - 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_ctrl: clock-controller@30e20000 { + compatible = "fsl,imx8mp-audio-blk-ctrl", "syscon"; + reg = <0x30e20000 0x10000>; + power-domains = <&audiomix_pd>; + + #clock-cells = <1>; + #reset-cells = <1>; + }; -- 2.7.4