Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3821648pxk; Tue, 8 Sep 2020 03:31:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGTkZd2I/KcUByr/v+3Ot+ZK4dBcn/Vk1DMCBQy049pPs4swjec9WpWXnNRJc4I+x2H8yT X-Received: by 2002:a17:906:60d5:: with SMTP id f21mr24934516ejk.94.1599561073279; Tue, 08 Sep 2020 03:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599561073; cv=none; d=google.com; s=arc-20160816; b=azSdF1TuOH0504YbdmiqvbkN1Va06hnKoZCI0WOJYrjeuGQSXT1clUDZLEmjR0i8xM wUUrsQ7gdfB67dE9Eno7wEC8yVpuIwvKVhUgVbWEz8FhJnKLHc2/vZ8DMYZqDVNn7Bf9 Lb6PXzGCBsA03G7ziA5jEmVu64TwjG9xmvOvQneHKyNG6PhgWDJTX3KcnUyoKYKz49qh IgAEHooySc9Q/8KY8xrymRvce/XcXypyWmEAXeV0WC1ivNN8TfKw/dHe1fxlY00YdkB8 pHTnGQa4y+XvBGVi+vNOLNrZ6+Q/J2WCV/G7jXvBNKYHMJr/EFdAa0p6GrOO4ke6cYM7 Uouw== 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=IX42EgCCxosLvLpaCF1rJFuI8MLhKOoiineSw+tBHg4=; b=fQeoPJI2WHFQMV/VVXXvivE+DsR1dKIICbq+u82KaVMv9V3bXq0nDkqk5EMKTcK4CU ZXEJNCZmTHaX0ANEw0wmcR+XDVi6vDXRSgEDO65iDkPnoUHbyi7JykJkEsQBvq5/jnRN jVxUSxREyerFlSAuAK9G01rRv8XE17+RVCcI/XqjXTpOjo8lkZroqtbNmItx0F77b67Y FF2/A05+5ts27tvOcjCh2iGcDt88+T8lSY1KGINxc+C/jYWFPhcxQ+ZpEytEU+wiryfd S0x6WqDYj2CZrIhRwp6UWmVTRB5wFJol5JaKW5+gB6xP1WPSefVa3sQIy3yZc1oAzIC+ b1rA== 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 n17si9266557edq.422.2020.09.08.03.30.50; Tue, 08 Sep 2020 03:31:13 -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 S1729251AbgIHK3T (ORCPT + 99 others); Tue, 8 Sep 2020 06:29:19 -0400 Received: from inva020.nxp.com ([92.121.34.13]:45004 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729534AbgIHK0i (ORCPT ); Tue, 8 Sep 2020 06:26:38 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8370E1A0351; Tue, 8 Sep 2020 12:26:12 +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 745CB1A1074; Tue, 8 Sep 2020 12:26:12 +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 C0E0C20327; Tue, 8 Sep 2020 12:26:11 +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 v3 09/14] Documentation: bindings: clk: Add bindings for i.MX BLK_CTL Date: Tue, 8 Sep 2020 13:24:46 +0300 Message-Id: <1599560691-3763-10-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1599560691-3763-1-git-send-email-abel.vesa@nxp.com> References: <1599560691-3763-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_CTL with its devicetree properties. Signed-off-by: Abel Vesa Reviewed-by: Dong Aisheng --- .../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