From patchwork Fri Sep 6 10:35:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 173211 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp528271ilq; Fri, 6 Sep 2019 03:36:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/d/+qG/++DJUkhVTBNg3iffNEaYSrxEOxgZLsG/1309azrSErfQVI7tYQBknXkO8fMDZt X-Received: by 2002:a62:834c:: with SMTP id h73mr10029825pfe.183.1567766180451; Fri, 06 Sep 2019 03:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567766180; cv=none; d=google.com; s=arc-20160816; b=enfbCHxpqq4JZZ4h383CUqo77XOZ6uWwu1mQC1EggCcM/O3G/mCU6jWPlYzp2xiQi7 ZxC6g1gB+DYk/ihqkM+RssN8JTpyHIgVT4F3s/7i6t2HeTr1jkwHwifd+7IDyikrepp+ SUJ3DWtYBzm/T4BjNKhEiY/mpk8XeTzduXV5FgiunMNTmMI6k6eGd+fnRNyfIBfxdWo9 jahQZQy3idzV9v9rDHn+wkdH38QzUxNrAHquqYurqwDZsaBWwsAXllq/1hJ2mY9H5pyc FEVV6dLr1kRcZjCaFhcrOeitKznLomuCh/JUWGX23axLt+yLDeKN0T3ObberEnGdYx6G dt9g== 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=NKu33tCBfYWn/j0hyZDumUtOVco0J0GnTjsYln1Fv+Y=; b=m3NVfYusCK0h4tGchKEZS3ocnDvsLBE4Va/0E7v+0ebEKPcATyNvXlrrjAgNIcMpyP XSg6Q+paXBi5WgICF0IZoch3naZPzXh/u3hbLTBC4z91hFBCBPOU2xDrP/GXgkoDFU6x cJEcdTfFtsBwcGPOC3edrfKhal8zUFnFz8AbWNgRCctNQ/cgbayL1fxVBGAPmOpyq73M sFmHcb375xn4YcwPLSIlucP9+gQIT5J3AA6nDmCH3o4SSNJF7Lnzlm/HOaUICFjKzMKu 5D/KHyurer058CmhgK42mKYV2WEk77bgg3nURYtmWcKiXnjFDbFUWjj6s5WqSyx6JVx6 gREg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=A02WkVUu; 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 g12si4278154pgu.319.2019.09.06.03.36.20; Fri, 06 Sep 2019 03:36:20 -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=A02WkVUu; 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 S1726918AbfIFKgT (ORCPT + 8 others); Fri, 6 Sep 2019 06:36:19 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:38762 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725846AbfIFKgT (ORCPT ); Fri, 6 Sep 2019 06:36:19 -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 x86Aa4JA112792; Fri, 6 Sep 2019 05:36:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1567766164; bh=NKu33tCBfYWn/j0hyZDumUtOVco0J0GnTjsYln1Fv+Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=A02WkVUupyPbaiJr1QyQemypxZ8pXyzutM05BOr3B2hQnmz8sdtZCXVlYZfcICYTt HwujqOspTnPdvT/6UeMPjxPf9Zq918TEbqzpGVbOaT4KgWowKjgOEsqsJwDDsk4qN3 tU5FZhQLCa59rbMWtm/0BoqgYYHSx8Jqcxiovv2Y= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x86Aa48j050155 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 6 Sep 2019 05:36:04 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 6 Sep 2019 05:36:02 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE111.ent.ti.com (157.170.170.22) 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, 6 Sep 2019 05:36:02 -0500 Received: from sokoban.bb.dnainternet.fi (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x86AZxp9060862; Fri, 6 Sep 2019 05:36:00 -0500 From: Tero Kristo To: , , , , , CC: , Subject: [PATCHv4 01/10] dt-bindings: omap: add new binding for PRM instances Date: Fri, 6 Sep 2019 13:35:58 +0300 Message-ID: <20190906103558.17694-1-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190830121816.30034-2-t-kristo@ti.com> References: <20190830121816.30034-2-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 --- v4: - renamed nodes as power-controller - added documentation about hierarchy .../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 Reviewed-by: Rob Herring Reviewed-by: Tony Lindgren 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,35 @@ +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. A PRM instance node must be a child of a PRM node [1]. + +[1] Documentation/devicetree/bindings/arm/omap/prcm.txt + +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 { + prm_dsp2: power-controller@1b00 { + compatible = "ti,dra7-prm-inst"; + reg = <0x1b00 0x40>; + #reset-cells = <1>; + clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>; + }; +};