Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp240636imu; Wed, 12 Dec 2018 15:55:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/UvM2guOn1QT+h59r2pDN6+JwVsC3lXWXhcFWdLKmkf/LG3OHwtRKX8hhr39AHBq3AgaLoU X-Received: by 2002:a17:902:e20b:: with SMTP id ce11mr20916485plb.251.1544658953226; Wed, 12 Dec 2018 15:55:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544658953; cv=none; d=google.com; s=arc-20160816; b=S3UF4HuAKldXoHwbPL5hmAXL5QE8iDT84i1VYOGl9eVqkpXi3DMyiNJdm82S/WmgA7 WV4NYhs7Fxk8x3UOZvP5Y3taQ8hGdFCObzXC84IWcaxwAgyPzOrnFRZy912MoLTMNQQb Kcatq4AhVOxiG2D+awfIZ6gxX4t/+0ZsYulQKtEmCepkoeycFSdagGUfDbGwLLdIxmE6 A/Dgj//vmxlCoUjPXL1U87/oxd95LWC/x3znwcbjb4GPmyrA79JeTObaJgugW5gmLDQ3 5HpsxJbmVttmt+fyjXGQHBLfyKv9GGVJAV0Xy0xn0XxfV+Nd7bqw+HsEDbBZOhSGUCvS 0EPg== 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=JixZlkuslvQkaKlsWdt6rj64Ayhy73DX7xxzISodEQ8=; b=nK4dgP9VFVCwFwUrrjNd3Ri/5qvPdb5KkrZ1xPykdDAEaoqtfPX3Pcp+VnRKlqO9WZ oUUQ1DCxmefbJV25ucnonnRdjvvBvZvwZJuYGglR5FmjEeB/ko5Qyai14xREKmwc19Wo IxEZGHVr7/veXPE1CX6nNk9gYs2McqGxKZW2nJNEUIfgRy6peEyZ6QgQRQNWl8MuHFJX mlJKIKiyysCT60tEG6YynFwWGOt3/bMut2WedU8pwNaLAiN4ULTjcAod+KYRVq8irk9g iW47DODPqrYgUCp1CBb5SwdzzcrU3s8ku0SEwj5uL6UxiVCOUX7ZbO2RHjmBSib4vRML 33yA== 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 n8si171989plk.9.2018.12.12.15.55.15; Wed, 12 Dec 2018 15:55:53 -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 S1728404AbeLLXvz (ORCPT + 99 others); Wed, 12 Dec 2018 18:51:55 -0500 Received: from anholt.net ([50.246.234.109]:59072 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726980AbeLLXvy (ORCPT ); Wed, 12 Dec 2018 18:51:54 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 5274110A1DB2; Wed, 12 Dec 2018 15:51: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 L90MOFdNcoqB; Wed, 12 Dec 2018 15:51:51 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 4811110A1D6F; Wed, 12 Dec 2018 15:51:51 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 3F86C2FE36F0; Wed, 12 Dec 2018 15:51:50 -0800 (PST) From: Eric Anholt To: Florian Fainelli , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, Guenter Roeck , Wim Van Sebroeck , Lee Jones , Stefan Wahren , Mark Rutland , Rob Herring Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Eric Anholt Subject: [PATCH v4 4/5] ARM: bcm283x: Extend the WDT DT node out to cover the whole PM block. (v4) Date: Wed, 12 Dec 2018 15:51:49 -0800 Message-Id: <20181212235150.6491-5-eric@anholt.net> X-Mailer: git-send-email 2.20.0.rc1 In-Reply-To: <20181212235150.6491-1-eric@anholt.net> References: <20181212235150.6491-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 --- v4: Add the system-power-controller node. arch/arm/boot/dts/bcm283x.dtsi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 31b29646b14c..20ed8b1da11b 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -121,8 +121,17 @@ }; 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"; + system-power-controller; }; clocks: cprman@7e101000 { -- 2.20.0.rc1