From patchwork Fri Aug 30 12:18:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 172685 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp543287ily; Fri, 30 Aug 2019 05:18:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVexFXVg6RcZTv+W+ydW0dDkLDgmVleZGMArOpNf1wSBEiT/dEZqcCerrh2ajwNJhfhxek X-Received: by 2002:a17:902:b70b:: with SMTP id d11mr8032744pls.238.1567167517394; Fri, 30 Aug 2019 05:18:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567167517; cv=none; d=google.com; s=arc-20160816; b=oTESrn0b3jCbFeCpF0pwZRXsVW23kLJuuKDOzZQw+q3Ny1V7ATD5xRcLLe4Awhh7bm T1xNmLk4hDsX6GmUfp0G1OmlxggBaSaaoSEH/CCunxI+uLPFxejvCVtspMaMs180vKFK XEZjZJ7rmHq8x+SE8WZ41f/qqPFiZ7W24IWh18nUuRNr364f4GK3aI+cNLtTKNklXiFs 9VSg+NIvQOoq+oCTS68CJP7iBQoWR3mAyqNg/KGK34sH5tpLLbB7sFvUm7CXIOmDyg7h TYFzxLNU6WqmXSew+pd73gmf682gTq1eF0wWuHLNQ0ISOXoxh/+6qxG5WStKcDEmyOBZ OHSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=4/vn3nShvBSwpELcXgs5bhAcnH64+34+9f0PSBWUDWs=; b=ecjYP8xy0b7B/M+EMXbTs7bbVAvRNbEX2kPV3gaH7LNQVVYJc0LTjI73cZW5IV1Z6V DzpYwYtLjLwUK/3wOaduUP2X7+3Wx6/rCdY1lJyDpbIK7g2UBFAjVOfklA5VpDzEBaE0 3gTKXfgQyeiJVHVPkdCX4l9pMqG/inTExdGFOjMmH2igjiGjm81+L37ohaww8RV/hEFY cGp2aZ4LxP8ukSXGJFLH9WnMOFlgQXDU9BL6Fic8RHGOeZffMh9kt/k7mFSIc3wj+OXs GxZ7KEN0JLr0gHWIf3Zo/Li7hv5rkJ6LlvJxY2jDGPI5a3+s2NCKETMTuVIeby1XWCpz 0llA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vKCpcIAy; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r193si1886576pfr.27.2019.08.30.05.18.36; Fri, 30 Aug 2019 05:18:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vKCpcIAy; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728107AbfH3MSg (ORCPT + 8 others); Fri, 30 Aug 2019 08:18:36 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:39224 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727836AbfH3MSg (ORCPT ); Fri, 30 Aug 2019 08:18:36 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7UCITBk119927; Fri, 30 Aug 2019 07:18:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1567167509; bh=4/vn3nShvBSwpELcXgs5bhAcnH64+34+9f0PSBWUDWs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vKCpcIAyEkJESMs644fWa33gtNE9MfFDoF9MN72X2e80u9A+0N6TBt/Nz2jy0fS8h FEEYYXwF90TVyG/UruM97wB+se4jErIjGkcjKTcT+WTwjU74rlr4OTlE5O2SYjn+eB HOKyn4Go4TODtyRrtNnL2Oy9bH2ZlCZcMd6hQq3k= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7UCITeG016147 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 30 Aug 2019 07:18:29 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 30 Aug 2019 07:18:29 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 30 Aug 2019 07:18:29 -0500 Received: from sokoban.bb.dnainternet.fi (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7UCIP6H083824; Fri, 30 Aug 2019 07:18:27 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCHv3 01/10] dt-bindings: omap: add new binding for PRM instances Date: Fri, 30 Aug 2019 15:18:07 +0300 Message-ID: <20190830121816.30034-2-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190830121816.30034-1-t-kristo@ti.com> References: <20190830121816.30034-1-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add new binding for OMAP PRM (Power and Reset Manager) instances. Each of these will act as a power domain controller and potentially as a reset provider. Signed-off-by: Tero Kristo --- .../devicetree/bindings/arm/omap/prm-inst.txt | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/omap/prm-inst.txt -- 2.17.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/Documentation/devicetree/bindings/arm/omap/prm-inst.txt b/Documentation/devicetree/bindings/arm/omap/prm-inst.txt new file mode 100644 index 000000000000..7c7527c37734 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/omap/prm-inst.txt @@ -0,0 +1,31 @@ +OMAP PRM instance bindings + +Power and Reset Manager is an IP block on OMAP family of devices which +handle the power domains and their current state, and provide reset +handling for the domains and/or separate IP blocks under the power domain +hierarchy. + +Required properties: +- compatible: Must be one of: + "ti,am3-prm-inst" + "ti,am4-prm-inst" + "ti,omap4-prm-inst" + "ti,omap5-prm-inst" + "ti,dra7-prm-inst" +- reg: Contains PRM instance register address range + (base address and length) + +Optional properties: +- #reset-cells: Should be 1 if the PRM instance in question supports resets. +- clocks: Associated clocks for the reset signals if any. Certain reset + signals can't be toggled properly without functional clock + being active for them. + +Example: + +prm_dsp2: prm@1b00 { + compatible = "ti,dra7-prm-inst"; + reg = <0x1b00 0x40>; + #reset-cells = <1>; + clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>; +};