lkml.org 
[lkml]   [2016]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 5/7] soc/tegra: pmc: Register sub-devices of PMC
From
Date
On 04/12/2016 08:56 AM, Laxman Dewangan wrote:
> Register sub devices of the PMC to support multiple functionalities
> of PMC.
> The sub devices are the subnode of PMC DT node with containing the
> compatible string of sub devices as follows:
>
> pmc@0,7000e400 {
> pmc-pad-control {
> compatible = "nvidia,tegra210-io-pad";
> ::
> };
> };
>
> In this pmc-pad-control is the sub device of PMC and the device
> compatibility is nvidia,tegra210-io-pad.

Since I don't think anyone has mentioned this point on the public lists,
I'll echo the earlier internal discussion on this patch. I think the PMC
driver should handle this all entirely internally. The PMC HW module
doesn't have well-defined sub-modules, and hence we shouldn't represent
sub-modules in DT. DT should represent HW structure, not Linux SW structure.

\
 
 \ /
  Last update: 2016-04-15 19:01    [W:0.347 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site