[PATCH 4/4] Move top level platform devices in sysfs to /sys/devices/soc/X

Arnd Bergmann arnd at arndb.de
Wed Aug 24 11:25:42 EDT 2011


On Wednesday 10 August 2011, Lee Jones wrote:
> At the request of Arnd Bergmann this patch moves all SoC
> platform devices found in sysfs from /sys/devices/platform to
> /sys/devices/soc/<SoCNum>/. It is believed as the devices are
> SoC specific and a /sys/devices/soc node has recently become
> available, that this would be a more appropriate place to
> display the data.
> 
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
> ---
>  arch/arm/mach-ux500/board-mop500.c   |   19 +++++++++++++++----
>  arch/arm/mach-ux500/board-u5500.c    |    6 ++++++
>  arch/arm/mach-ux500/cpu-db5500.c     |    6 ++++++
>  arch/arm/mach-ux500/cpu-db8500.c     |   12 +++++++++++-
>  arch/arm/mach-ux500/devices-common.c |   19 +++++++++++++++----
>  arch/arm/mach-ux500/usb.c            |    4 ++++
>  6 files changed, 57 insertions(+), 9 deletions(-)
> 

Ok. What does the device tree in /sys/devices look like after this?

Does it match the flattened device tree description that you will have?

	Arnd



More information about the linux-arm-kernel mailing list