Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1100910imu; Tue, 20 Nov 2018 11:42:12 -0800 (PST) X-Google-Smtp-Source: AFSGD/WJiDBFkg4JMQNBM9Q+iQLjPalPm6R0yD57Zyvig1p0eSR5/32MG0Kz7DszRyDqParZKzFj X-Received: by 2002:a63:bc02:: with SMTP id q2mr3143842pge.116.1542742932082; Tue, 20 Nov 2018 11:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542742932; cv=none; d=google.com; s=arc-20160816; b=dL+d1g6W18pos7UesZx3cb/TQcEZDvOiZVvmTEE3BIgVKtC1RtEZiJb3vTEIKwpvfE 1gNN8UuXIiVeegw6P58MMUKxdh9yohkKQK02chd2Dci/fVsvgHPrvLUGD1gn5XU/OCUB CldTNJWj+x2ZGLWhovG25R/+EM87BTWk8d+bl/jHjSf8qFECoi0GFF7aEreJesoQ/kKt 4LzvdFkTug63o5slOE1JrmZM4p3MoCwF0I+EQsFTUbrEDlRLTsZ1xxQ4r3YgGPMiRJml jqWBGMv1ES3NiKRjnzTxcaMPoFKEr2EPb1/CAX+0tJrW6idFKcJOaXeMddOLsMc3kEGk 18fg== 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=HFQ28BfNA5t/2U+Q5ks3IZjUTV4XJ/WQ+oIrgOwMgRY=; b=h7TKm+OAYVgmg9s3Lj1/rK4OuzcAwFqWUFuPPECP8p4QJVqJ2+fVS1PUUQPR7q70EU weVLSa6dc3cTGcLfyvqwaO3fqfa2C0+jwasv1YqO3WaqB4kBGp1eOfSp2P38jDYEoyN8 VQG16QIjWIOSBSh4V1A2mNKuDWrGhnloe2fgPZJ2UQ8vDW0hVLMXQpkdIZXTLBE4ukwI J/iAtlTq5NqLXbVnbR6zNMDRkrjUiImpP8p808VSZ3rg+g2prwp/pUr2cuEPtQbAjVTM EHiBDA5kawwxZgEvMEmI20Q6n417WAdQ8XFzSxIU6NhJxLsyawafger+h/KM4K2tNMEC mqCw== 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 v25si41202888pgk.341.2018.11.20.11.41.57; Tue, 20 Nov 2018 11:42:12 -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 S1730543AbeKUDu1 (ORCPT + 99 others); Tue, 20 Nov 2018 22:50:27 -0500 Received: from anholt.net ([50.246.234.109]:50728 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730478AbeKUDuZ (ORCPT ); Tue, 20 Nov 2018 22:50:25 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id B148710A15EC; Tue, 20 Nov 2018 09:20:11 -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 PE7nu4Ye7OkQ; Tue, 20 Nov 2018 09:20:10 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 7313B10A173B; Tue, 20 Nov 2018 09:20:02 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 2AB032FE1FED; Tue, 20 Nov 2018 09:20:00 -0800 (PST) From: Eric Anholt To: Florian Fainelli , 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 7/8] ARM: bcm283x: Extend the WDT DT node out to cover the whole PM block. Date: Tue, 20 Nov 2018 09:19:59 -0800 Message-Id: <20181120172000.15102-8-eric@anholt.net> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181120172000.15102-1-eric@anholt.net> References: <20181120172000.15102-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.19.1