Skip to content

Commit

Permalink
ABI: sysfs-bus-platform: add modalias description
Browse files Browse the repository at this point in the history
Define the modalias parameter for platform devices, including
the ones exposed via devicetree.

Acked-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/9cdebbad008886b1d09f5f3ac5d88bee19f08d97.1632750608.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
mchehab authored and gregkh committed Sep 28, 2021
1 parent e080f24 commit 654e4d5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Documentation/ABI/testing/sysfs-bus-platform
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,15 @@ Date: August 2021
Contact: Barry Song <song.bao.hua@hisilicon.com>
Description:
This attribute will show "msi" if <N> is a valid msi irq

What: /sys/bus/platform/devices/.../modalias
Description:
Same as MODALIAS in the uevent at device creation.

A platform device that it is exposed via devicetree uses:

- of:N`of node name`T`type`

Other platform devices use, instead:

- platform:`driver name`

0 comments on commit 654e4d5

Please sign in to comment.