linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC] should we remove soc subnode in all berlin SoC's dts if SOC_BUS is selected
@ 2014-09-26 11:39 Jisheng Zhang
  2014-09-26 12:32 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Jisheng Zhang @ 2014-09-26 11:39 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

We want to export machine name, soc family, chip revision and chipid to
userspace via. the SOC BUS interface, i.e call soc_device_register()

It works perfectly, but there's one side effect: every device nodes will have
an additional level. For example:

/sys/devices/soc.0/xxx.sdhci will be changed to

/sys/devices/soc0/soc.0/xxx.sdhci

This seems a bit ugly. I have one solution: remove "soc" subnodes in all berlin's
dts, then we will have 

/sys/devices/soc0/xxx.sdhci

Is there any better solution? 

Thanks in advance,
Jisheng

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-27  3:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-26 11:39 [RFC] should we remove soc subnode in all berlin SoC's dts if SOC_BUS is selected Jisheng Zhang
2014-09-26 12:32 ` Arnd Bergmann
2014-09-27  3:19   ` Jisheng Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).