From patchwork Thu Jan 28 15:21:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 8151511 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6DABCBEEE5 for ; Thu, 28 Jan 2016 15:21:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB8D3201F4 for ; Thu, 28 Jan 2016 15:21:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 09CB82013D for ; Thu, 28 Jan 2016 15:21:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966685AbcA1PVw (ORCPT ); Thu, 28 Jan 2016 10:21:52 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:33141 "EHLO albert.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965255AbcA1PVw (ORCPT ); Thu, 28 Jan 2016 10:21:52 -0500 Received: from ayla.of.borg ([84.195.106.123]) by albert.telenet-ops.be with bizsmtp id BTMr1s00M2fm56U06TMrmp; Thu, 28 Jan 2016 16:21:51 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1aOoON-0006sd-HK; Thu, 28 Jan 2016 16:21:51 +0100 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1aOoOO-0003TQ-27; Thu, 28 Jan 2016 16:21:52 +0100 From: Geert Uytterhoeven To: linux-renesas-soc@vger.kernel.org Cc: Geert Uytterhoeven Subject: [PATCH] [DEBUG] ARM: dts: sh73a0: Add minimal device node for Coresight-ETM Date: Thu, 28 Jan 2016 16:21:49 +0100 Message-Id: <1453994509-13318-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When using a JTAG debugger on an sh73a0-based system, the debugger looses connection with the hardware during kernel boot-up, as unused PM Domains are powered down by the genpd core. To keep on debugging, add a minimal device node for the Coresight-ETM hardware block, and hook it up to the D4 PM Domain, so the R-Mobile System Controller driver will keep the domain powered. Signed-off-by: Geert Uytterhoeven --- Not intended for upstream merge, as the D4 PM Domain is not needed for normal use. --- arch/arm/boot/dts/sh73a0.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi index 866ee5de09454d14..a6e47611cc807547 100644 --- a/arch/arm/boot/dts/sh73a0.dtsi +++ b/arch/arm/boot/dts/sh73a0.dtsi @@ -40,6 +40,11 @@ }; }; + ptm { + compatible = "arm,coresight-etm3x"; + power-domains = <&pd_d4>; + }; + timer@f0000600 { compatible = "arm,cortex-a9-twd-timer"; reg = <0xf0000600 0x20>;