Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9722935ybi; Wed, 24 Jul 2019 08:52:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGtEfszVlt8lYuwIxcwolDo5U7YYj4iLvIn+gJX3XRo1ag1eQR6ZWOivADIIWp36aDD34b X-Received: by 2002:a17:90a:ba94:: with SMTP id t20mr38892165pjr.116.1563983572037; Wed, 24 Jul 2019 08:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563983572; cv=none; d=google.com; s=arc-20160816; b=wJVIbd3w/tzdhigsPhlsPdkxeUIMrs1pA1XwENE/HoDvn7PodSgjYp5Ce68WFCA+9x kCOKF2qM6zXAfloHZBXmhcfzO4M6a5t9WQeYkGkSLX/3xm4/8YxaD4fsCdD7O6u41ZhX mxwGEVy6F6GmszHHtDb51qPTSCdxfFjaQ1TWIsEmsrladdmJ0FozyblGxpwI75cS2d6C fEj0puVMlDvs/BjCD37AQgY4Vj0Lz2lB5eeRn7W4OvNRFFR5QHGdV46QFPICwkxp3tZ2 Bz7xtip3Y7TvQyT3aDUaArr23O9Hf1wxAcLl9qTiIiaGogY7WamRPDeqheoWGKSEc7Up n+iw== 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:references :in-reply-to:message-id:date:subject:cc:to:from; bh=NCZW9szFHcj44LxIoqCx4/L3cjvjy01kKnE2s6u+uUc=; b=qc+2zhiYhMen7h3t2Qjn2L2vnT4gph8naybAUHbZjTrMHb7p6GHrTEp2VKFnh2mCE8 zLjhKnDC2yYyQN8fpK5mQdEQtFob3DljGTgvDp1/Hqh/DaQh2e6/6RzQ5Xfe10HmZbEw Zutaxkf2lpFTmHRw4GMB/FZt47L+tzXLASV09jGu3GhnFSr50dwtaNi/QExC+3P2eqtE T6bgkNSW28MmvV0WfQeKAXHDriPW7UTCj02UInugADhOv1Q2FWkr7M7y0Lr8FHRoLApN FydurprjJt5w+fbJXe7R6Juf8w540T0yXo3EIXcOo05MiSrbkXgXKbDs0IsOCG+YQglh 6d4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id y14si20568099pfr.82.2019.07.24.08.52.36; Wed, 24 Jul 2019 08:52:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726942AbfGXMi4 (ORCPT + 99 others); Wed, 24 Jul 2019 08:38:56 -0400 Received: from inva021.nxp.com ([92.121.34.21]:51328 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725826AbfGXMiz (ORCPT ); Wed, 24 Jul 2019 08:38:55 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 8FB2C20026B; Wed, 24 Jul 2019 14:38:52 +0200 (CEST) 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 7FECC200265; Wed, 24 Jul 2019 14:38:52 +0200 (CEST) Received: from fsr-ub1864-112.ea.freescale.net (fsr-ub1864-112.ea.freescale.net [10.171.82.98]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 40BB2205D8; Wed, 24 Jul 2019 14:38:51 +0200 (CEST) From: Leonard Crestez To: MyungJoo Ham , Kyungmin Park , Will Deacon , Stephen Boyd Cc: Michael Turquette , Jacky Bai , Anson Huang , Abel Vesa , Dong Aisheng , Viresh Kumar , Georgi Djakov , Alexandre Bailon , Chanwoo Choi , Mark Rutland , Frank Li , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFCv3 1/3] dt-bindings: devfreq: Add initial bindings for i.MX Date: Wed, 24 Jul 2019 15:38:44 +0300 Message-Id: <93df6e7d81a404a43af684e2f96bdb6561ed87fe.1563971855.git.leonard.crestez@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: 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 Add initial dt bindings for the interconnects inside i.MX chips. Multiple external IPs are involved but SOC integration means the software controllable interfaces are very similar. This is initially only for imx8mm but add an "fsl,imx-bus" fallback similar to exynos-bus. Signed-off-by: Leonard Crestez --- .../devicetree/bindings/devfreq/imx.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/devfreq/imx.yaml diff --git a/Documentation/devicetree/bindings/devfreq/imx.yaml b/Documentation/devicetree/bindings/devfreq/imx.yaml new file mode 100644 index 000000000000..87f90cddfd29 --- /dev/null +++ b/Documentation/devicetree/bindings/devfreq/imx.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/devfreq/imx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic i.MX bus frequency device + +maintainers: + - Leonard Crestez + +description: | + The i.MX SoC family has multiple buses for which clock frequency (and sometimes + voltage) can be adjusted. + + Some of those buses expose register areas mentioned in the memory maps as GPV + ("Global Programmers View") but not all. Access to this area might be denied for + normal world. + + The buses are based on externally licensed IPs such as ARM NIC-301 and Arteris + FlexNOC but DT bindings are specific to the integration of these bus + interconnect IPs into imx SOCs. + +properties: + reg: + maxItems: 1 + description: GPV area + + compatible: + contains: + enum: + - fsl,imx8m-noc + - fsl,imx8m-nic + - fsl,imx8m-ddrc + + clocks: + maxItems: 1 + +required: + - compatible + - clocks + +examples: + - | + #include + ddrc: dram-controller@3d400000 { + compatible = "fsl,imx8mm-ddrc"; + reg = <0x3d400000 0x400000>; + clocks = <&clk IMX8MM_CLK_DRAM>; + operating-points-v2 = <&ddrc_opp_table>; + }; + + - | + noc: noc@32700000 { + compatible = "fsl,imx8mm-noc"; + reg = <0x32700000 0x100000>; + clocks = <&clk IMX8MM_CLK_NOC>; + operating-points-v2 = <&noc_opp_table>; + }; -- 2.17.1