All of lore.kernel.org
 help / color / mirror / Atom feed
From: jszhang@marvell.com (Jisheng Zhang)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] should we remove soc subnode in all berlin SoC's dts if SOC_BUS is selected
Date: Fri, 26 Sep 2014 19:39:45 +0800	[thread overview]
Message-ID: <20140926193945.3bb94276@xhacker> (raw)

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

             reply	other threads:[~2014-09-26 11:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 11:39 Jisheng Zhang [this message]
2014-09-26 12:32 ` [RFC] should we remove soc subnode in all berlin SoC's dts if SOC_BUS is selected Arnd Bergmann
2014-09-27  3:19   ` Jisheng Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140926193945.3bb94276@xhacker \
    --to=jszhang@marvell.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.