Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752892AbdCHLl0 (ORCPT ); Wed, 8 Mar 2017 06:41:26 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:33634 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752110AbdCHLkN (ORCPT ); Wed, 8 Mar 2017 06:40:13 -0500 MIME-Version: 1.0 In-Reply-To: References: <1488295191-24038-1-git-send-email-pdeschrijver@nvidia.com> <4cf40c25-2ce9-737c-9ccb-06bc2cdb61d7@nvidia.com> <20170306083835.GF26640@tbergstrom-lnx.Nvidia.com> <6d4dd315-cab6-189d-f383-fb7523fc31bd@nvidia.com> <20170306142850.GJ26640@tbergstrom-lnx.Nvidia.com> From: Geert Uytterhoeven Date: Wed, 8 Mar 2017 12:38:44 +0100 X-Google-Sender-Auth: B_qvKaXcF3Y-uxwpivpaBJbz9Ik Message-ID: Subject: Re: [PATCH] clk: tegra: mark TEGRA210_CLK_DBGAPB as always on To: Jon Hunter Cc: Peter De Schrijver , Prashant Gaikwad , Michael Turquette , Stephen Boyd , Stephen Warren , Thierry Reding , Alexandre Courbot , linux-clk , linux-tegra@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1232 Lines: 31 Hi Jon, On Wed, Mar 8, 2017 at 11:13 AM, Jon Hunter wrote: >> I had a similar issue with SH-Mobile AG5, where the power domain containing >> the JTAG interface is powered down. > > This reminds me, does your patch assume that the DFD power domain is > enabled? I am guessing that it needs to be for JTAG to work. Yes. The pm-rmobile driver looks for "arm,coresight-etm3x" devices, and marks the corresponding PM Domain as always-on, as long as the Coresight code doesn't handle runtime PM. For R-Mobile A1 and APE6 I already have added such device nodes, as any access to a debug register hangs when the debug power domain is powered down. For SH-Mobile AG5, I hadn't, as the debug power domain needs to be powered for JTAG functionality only. For the latter, perhaps we also need a command line parameter to change a device status from "disabled" to "enabled"? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds