Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379993

Re: [PATCH 5/7] soc/tegra: pmc: Register sub-devices of PMC

From Stephen Warren <swarren@wwwdotorg.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/7] soc/tegra: pmc: Register sub-devices of PMC
Date 2016-04-15 18:40 +0200
Message-ID <roeWK-60m-9@gated-at.bofh.it> (permalink)
References <rn8gF-10N-7@gated-at.bofh.it> <rn8gG-10N-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 5/7] soc/tegra: pmc: Register sub-devices of PMC Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-12 17:20 +0200
  Re: [PATCH 5/7] soc/tegra: pmc: Register sub-devices of PMC Stephen Warren <swarren@wwwdotorg.org> - 2016-04-15 18:40 +0200

csiph-web