Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755457AbbBJMan (ORCPT ); Tue, 10 Feb 2015 07:30:43 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36837 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752310AbbBJMal (ORCPT ); Tue, 10 Feb 2015 07:30:41 -0500 X-AuditID: cbfec7f5-b7fc86d0000066b7-50-54d9f95cb587 Message-id: <1423571438.6241.4.camel@AMDC1943> Subject: Re: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs From: Krzysztof Kozlowski To: Sergei Shtylyov Cc: Javier Martinez Canillas , Kukjin Kim , Andrzej Hajda , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Marek Szyprowski Date: Tue, 10 Feb 2015 13:30:38 +0100 In-reply-to: <54D9F7B1.3030106@cogentembedded.com> References: <1423244258-24314-1-git-send-email-javier.martinez@collabora.co.uk> <54D51170.10903@cogentembedded.com> <54D52905.6040100@collabora.co.uk> <54D9F1A4.1000908@cogentembedded.com> <1423570670.6241.2.camel@AMDC1943> <54D9F7B1.3030106@cogentembedded.com> Content-type: text/plain; charset=UTF-8 X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-version: 1.0 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGLMWRmVeSWpSXmKPExsVy+t/xq7oxP2+GGLRdULa4te4cq8XR3wUW /Y9fM1tsenyN1eLyrjlsFjPO72OyWHvkLrvFmVW32B04PB5M/c/k8ff5dRaPTas62Tw2L6n3 6NuyitHj8ya5ALYoLpuU1JzMstQifbsErox/K/rYC97xVGz50MXSwPico4uRk0NCwERi/Y9b LBC2mMSFe+vZuhi5OIQEljJKrN54iwnC+cwosf7yOqAMBwevgJ7Eub2hIA3CAgES/z82sIPY bALGEpuXL2EDsUUELCTuNi5iAellFpjHJLFuwTomkASLgKrEo+n3wRo4BYwkDhz9xgix4BKT xKzlp5hBEswC6hKT5i1iBlkmIaAs0djvBhLmFRCU+DH5HgtEibzE5jVvmScwCsxC0jELSdks JGULGJlXMYqmliYXFCel5xrpFSfmFpfmpesl5+duYoSE/dcdjEuPWR1iFOBgVOLhvXDlRogQ a2JZcWXuIUYJDmYlEV6GTzdDhHhTEiurUovy44tKc1KLDzEycXBKNTCuk/6/d57cYbHJZ9gz 7omcKp/0/NDh2SKZdYmr9+7b0WAoV2D19YdExMQX5tOmPY6+dmb1kT4OqVW9z80MmPO9FYyO c28xOK99JOtjvPT8CxJG5okGButT4iXP/Fm2wvHGvq+uqg7XihZyxveEdIU+mcn+9HPxRvvd UlrRabLTH0/r4ZrAKhylxFKckWioxVxUnAgAePfttVkCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1849 Lines: 47 On wto, 2015-02-10 at 15:21 +0300, Sergei Shtylyov wrote: > On 2/10/2015 3:17 PM, Krzysztof Kozlowski wrote: > > >>> Additionally (on Arndale Octa): > > >>> $ cat /sys/kernel/debug/pm_genpd/pm_genpd_summary > >>> domain status slaves > >>> /device runtime status > >>> ---------------------------------------------------------------------- > >>> power-domain on > >>> /devices/platform/amba/3880000.adma suspended > >>> power-domain off > >>> power-domain off > >>> power-domain off > >>> power-domain off > >>> power-domain off > > >>> This really is not helpful. From the power domain debugfs code it is > >>> complicated to extract of_node of power domain. > > >> You shouldn't need it. > > >>> It is easier to print > >>> the name of power domain. But wait... all names are the same! :) So > >>> why do we have the name in the first place? > > >> I'm not sure why the full platform device names aren't printed -- they > >> should all be different. > > > This debugfs code iterates over list of generic_pm_domains (gpd_list). I > > cannot find function for translating from genpd to its platform device > > so only genpd->name can be printed. > > Then why power domains aren't just named with the platform device names? Right, the mach-exynos/pm_domains.c set the name equal to OF node name. I'll send a patch extending the name. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/