Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4184373imu; Fri, 30 Nov 2018 12:28:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xfb2+2YJ8WjTS8KqDevIdH9EhDeWGIQEpPUMcNeo/SxGUOQR53unNpS16pyypZtrpph/ia X-Received: by 2002:a63:5252:: with SMTP id s18mr4932945pgl.326.1543609720043; Fri, 30 Nov 2018 12:28:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543609720; cv=none; d=google.com; s=arc-20160816; b=PDACLPVmO2KZXDdNkfP5oIddHbWKa4VNz2C+fY4VRxRGJ71SY7FgKty7iquy6D00Rf 8HT9cG6viWkQturCDVCw1D4WKQhGeYgUZXFaVg5s97GrA0sFnCqiimQMNswJvsE7Ii6X FGuRhYP9b7jEsXTpMLw14OsljtML31N4638JQb9RUNfXGvxbY1oj6EfZAuGUYl10LVsJ WhVxlLw3tKou4nlUIKDfOrZLIaNfoeBJNjQGoStbO1onlwp9rMEGNWYVY40a1e9okQb7 N+eEUBua7pG6c8Y/4TIfwh6Y5EQa14U0OdEhU+oM3RKcCfS3+WaUJIQBsDF0fNCj48Db 9ADg== 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=gnFqyZJDwOC3YUshy4WpDq1X3iX0a8LO0spnWIeoVPA=; b=g0A+GAUjONqCQbyK0QqB3ZFEC088uH+yPV7TJvAwOsEqKNbc4ceuEDDDgW2UHJpnQz YZ5ysrScN9opDUPWNapJ8CaiMlOg6pkoNnwBF0uci0GMYHa5VmKF88K2haTl14ndfnoH w57KuuS2yGi0amWYw00l65Mz8b7a7e3XmQ5NAbZ+a4GGtQ5bd1H52XebsrqOKqvZ0/i+ N94HHhWmc6iR4zgCtEkF/+tNVqL/4G5eYNOyDzfpJiQ2QdIITi0LOTXIHtRaYA2N3r2C nTzs2cPV0b30cxyWnkbk8zt8oD488/ZV+an3Tgfom7Xh5pSIYCgTJNX4p1bYV6M07e0O q8Hw== 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 k69si5602619pga.176.2018.11.30.12.28.25; Fri, 30 Nov 2018 12:28:40 -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 S1726571AbeLAHiP (ORCPT + 99 others); Sat, 1 Dec 2018 02:38:15 -0500 Received: from anholt.net ([50.246.234.109]:40962 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725749AbeLAHiO (ORCPT ); Sat, 1 Dec 2018 02:38:14 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 4CFF610A1572; Fri, 30 Nov 2018 12:27:46 -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 IFY1lGhTmUb7; Fri, 30 Nov 2018 12:27:44 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 5F40710A11BF; Fri, 30 Nov 2018 12:27:44 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 76D1F2FE2D6A; 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 4/5] ARM: bcm283x: Extend the WDT DT node out to cover the whole PM block. Date: Fri, 30 Nov 2018 12:27:42 -0800 Message-Id: <20181130202743.20585-5-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 It was covering part of the PM block's range, up to the WDT regs. To support the rest of the PM block's functionality, we need the full register range plus the AXI Async Bridge regs for PM sequencing. This doesn't convert any of the consumers over to the new binding yet, since we will need to be careful in coordinating our usage of firmware services that might power domains on and off versus the bcm2835-pm driver's access of those same domains. Signed-off-by: Eric Anholt --- arch/arm/boot/dts/bcm283x.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 31b29646b14c..bd5be68b4561 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -121,8 +121,16 @@ }; watchdog@7e100000 { - compatible = "brcm,bcm2835-pm-wdt"; - reg = <0x7e100000 0x28>; + 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"; }; clocks: cprman@7e101000 { -- 2.20.0.rc1