devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* device name in sysfs
@ 2014-03-10  2:15 Chao Xie
  0 siblings, 0 replies; only message in thread
From: Chao Xie @ 2014-03-10  2:15 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA

hi
If we use device tree, and depending on dts file to help to create the
devices, the name of the device will be like "ssp.d4282a00". For the
bus, for example, sound, it directory name in sysfs will change from
"sound" to "sound.8" which "8" is the global number.
It brings some difficulties for user.
For example, the device driver may define some interfaces in sysfs,
and user can get or set some information.
We may have the user settings same for mutilple SOCes, for example,
for android, we may define a common interface to control the device,
and this device may be integrated by multiple SOCes.
Without SOCes, ther interfaces and even the application even the
source code of the application are same. Now with device tree, the
interfaces may changes and we can not share one application for all
SOCes.
Does anyone have idea to handle this problem? Thanks.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-10  2:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10  2:15 device name in sysfs Chao Xie

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).