Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755859AbbBJNBH (ORCPT ); Tue, 10 Feb 2015 08:01:07 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:36778 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755040AbbBJNBF (ORCPT ); Tue, 10 Feb 2015 08:01:05 -0500 X-AuditID: cbfec7f5-b7fc86d0000066b7-9c-54da007bb6a6 Message-id: <54DA0107.2020909@samsung.com> Date: Tue, 10 Feb 2015 14:00:55 +0100 From: Sylwester Nawrocki User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-version: 1.0 To: Javier Martinez Canillas , Krzysztof Kozlowski Cc: Sergei Shtylyov , Kukjin Kim , Andrzej Hajda , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Marek Szyprowski Subject: Re: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs 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> <1423571438.6241.4.camel@AMDC1943> <54D9FD94.9000102@collabora.co.uk> In-reply-to: <54D9FD94.9000102@collabora.co.uk> Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t/xK7rVDLdCDCbs17a4te4cq8XR3wUW r18YWvQ/fs1ssenxNVaLy7vmsFnMOL+PyWLtkbvsFmdW3WJ34PR4MPU/k8ff59dZPDat6mTz 2Lyk3qNvyypGj8+b5ALYorhsUlJzMstSi/TtErgyjry4yljwkbPi+4WLjA2MH9m7GDk5JARM JBq3vGeCsMUkLtxbz9bFyMUhJLCUUeLht+lQzidGiS8dD8GqeAW0JO5d3wzUzcHBIqAqsfOk N0iYTcBQovdoHyOILSoQIXHy7h52iHJBiR+T77GA2CIC+RJTe7ewgMxkFpjBJPHk6y2wBmGB AIn/HxvYIZbNYpZo//aMFSTBKaAvMW3xZ1aQZcwC6hJTpuSChJkF5CU2r3nLPIFRYBaSHbMQ qmYhqVrAyLyKUTS1NLmgOCk910ivODG3uDQvXS85P3cTIyT4v+5gXHrM6hCjAAejEg/vhSs3 QoRYE8uKK3MPMUpwMCuJ8DJ8uhkixJuSWFmVWpQfX1Sak1p8iJGJg1OqgZFzu/a0OemXTUT2 HdrN5Rfeek3/kCnHHI668rriE2euSe90cuufNmO2XCG/5a/vv1s6n2WxNM/0X39CdhZrardd wYaiwpeTL4pNun9RX/zEtZo1a/7wTV90v3ry6b2zv80TbhTuV93ZaLPxvbfSo7kae3i/Seav fFItXP7L6rH406vN215zGZ9TYinOSDTUYi4qTgQAujYD91wCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1483 Lines: 32 On 10/02/15 13:46, Javier Martinez Canillas wrote: >>>> 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. >> > > IIRC the OF core uses the device node unit address and node name to create > the platform device names so you will have something like 10044000.power-domain. > > Same if using the node full_name since it will /power-domain@10044000. In both > cases the DTS should have to be checked to know which power domain really is > unless someone knows by heart the power domains addresses. > > But if using generic names for the power domains as suggested by ePAPR is so > important then we should change all the other Exynos DTS files which don't do. Perhaps we could assign OF aliases to the power domain device nodes in DT and then in the power domains driver map those aliases to more descriptive names when creating the power domains? -- Regards, Sylwester -- 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/