device name in sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux