Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4184459imu; Fri, 30 Nov 2018 12:28:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/WTrYhbbqqp6pkIGYgEkZSPR+vCrqdH+N0DVsM2zuRKnXKQwBppgwg1r5ac8Hzk4nBFLhX4 X-Received: by 2002:a62:9657:: with SMTP id c84mr7179117pfe.77.1543609724714; Fri, 30 Nov 2018 12:28:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543609724; cv=none; d=google.com; s=arc-20160816; b=V9RDzN7mLmFoEE8rtG7iUzWGHQ4pcTWTu6J2kSZLbOhZRXIq8P3RFEEmXHeN4hhVFM 2WUTk8nRevPP4YdR0OerGRFaARIlr6tRa9iyKYE7YJ0fX96gwjFgqIx64AwOUGFI3us0 2Z4JgrDIcVM3SDel4H+FvmRA08cC51n/19K04Ky6lyasbSrUMPfzyB4k8dBuAMF46a9I y7wpjMfAaYFw3Z3uwiFMaXcwjRjRXG0h5iJTlLi6AEik0ix8PCiKM2FpreBB9gUdgSP3 tKVh+gnuYKQNqtQvx+kZMqWVKgmYec+u3A0KZzfS0RN0s28Oeuc5e67aX8Zyu1Q4xBtX piFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=MDf1076i6bzTZuAWocn+wHW9UOD44opUiiqgfRBAhFY=; b=LN8KS1wetEX6gqeMQyeWUbqhpcOFxQOcpZRBheii4E7VPIl2+cyeH7OHfUDx6JIjYl tekn9r/FNMM6PiP7/LvugOTdMW9UelbskoWUTsvXRwQFHJTDTqWWEr4OQDTrvJbLJfYg mu1MnD53AWRh+mcezySR2DeBZcAWOg2ZNYpI55sqaNoUmGexX3Sa3GQ/NgZs+fSumTX0 S3jMdGoaiKGsK52A2kwyNMh0igwDMUZZbEHY1s2ORS5V5c1eMZRPjXxk8LmOAgApXk7f TI0c9kUDxWomtA9Use3JpffXD6bUI1Sd17UaiCjfBZPGPQQhJMGh9Two8jUAbs+IzimO Tg4Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si6087598plp.215.2018.11.30.12.28.30; Fri, 30 Nov 2018 12:28:44 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726920AbeLAHiX (ORCPT + 99 others); Sat, 1 Dec 2018 02:38:23 -0500 Received: from anholt.net ([50.246.234.109]:41042 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726660AbeLAHiV (ORCPT ); Sat, 1 Dec 2018 02:38:21 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 4AA3610A1521; Fri, 30 Nov 2018 12:27:53 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aZRpao2y7NAo; Fri, 30 Nov 2018 12:27:51 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 7722010A150B; Fri, 30 Nov 2018 12:27:44 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 68AF12FE2D5B; Fri, 30 Nov 2018 12:27:43 -0800 (PST) From: Eric Anholt To: Florian Fainelli , devicetree@vger.kernel.org, Rob Herring , Mark Rutland , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Wahren , bcm-kernel-feedback-list@broadcom.com, Eric Anholt Subject: [PATCH v3 1/5] dt-bindings: soc: Add a new binding for the BCM2835 PM node. Date: Fri, 30 Nov 2018 12:27:39 -0800 Message-Id: <20181130202743.20585-2-eric@anholt.net> X-Mailer: git-send-email 2.20.0.rc1 In-Reply-To: <20181130202743.20585-1-eric@anholt.net> References: <20181130202743.20585-1-eric@anholt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This binding supersedes the bcm2835-pm-wdt binding which only covered enough to provide a watchdog, but the HW block is actually mostly about power domains. Signed-off-by: Eric Anholt --- .../bindings/soc/bcm/brcm,bcm2835-pm.txt | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.txt diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.txt b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.txt new file mode 100644 index 000000000000..7818d33a158f --- /dev/null +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.txt @@ -0,0 +1,42 @@ +BCM2835 PM (Power domains, watchdog) + +The PM block controls power domains and some reset lines, and includes +a watchdog timer. This binding supersedes the brcm,bcm2835-pm-wdt +binding which covered some of PM's register range and functionality. + +Required properties: + +- compatible: Should be "brcm,bcm2835-pm" +- reg: Specifies base physical address and size of the two + register ranges ("PM" and "ASYNC_BRIDGE" in that + order) +- clocks: a) v3d: The V3D clock from CPRMAN + b) peri_image: The PERI_IMAGE clock from CPRMAN + c) h264: The H264 clock from CPRMAN + d) isp: The ISP clock from CPRMAN +- #reset-cells: Should be 1. This property follows the reset controller + bindings[1]. +- #power-domain-cells: Should be 1. This property follows the power domain + bindings[2]. + +Optional properties: + +- timeout-sec: Contains the watchdog timeout in seconds + +[1] Documentation/devicetree/bindings/reset/reset.txt +[2] Documentation/devicetree/bindings/power/power_domain.txt + +Example: + +pm { + compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; + #power-domain-cells = <1>; + #reset-cells = <1>; + reg = <0x7e100000 0x114>, + <0x7e00a000 0x24>; + clocks = <&clocks BCM2835_CLOCK_V3D>, + <&clocks BCM2835_CLOCK_PERI_IMAGE>, + <&clocks BCM2835_CLOCK_H264>, + <&clocks BCM2835_CLOCK_ISP>; + clock-names = "v3d", "peri_image", "h264", "isp"; +}; -- 2.20.0.rc1