diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-27 15:59:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-28 12:48:16 +0200 |
commit | 654e4d5d3d5b778a6d33fcab4028a3c89714c04e (patch) | |
tree | 37b70a1d15668733f8ebe7eade5cbfb2e7e80092 /Documentation/ABI | |
parent | e080f24795d03605dfec063820d92b3d848006da (diff) | |
download | linux-654e4d5d3d5b778a6d33fcab4028a3c89714c04e.tar.bz2 |
ABI: sysfs-bus-platform: add modalias description
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>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-platform | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-platform b/Documentation/ABI/testing/sysfs-bus-platform index ff30728595ef..c4dfe7355c2d 100644 --- a/Documentation/ABI/testing/sysfs-bus-platform +++ b/Documentation/ABI/testing/sysfs-bus-platform @@ -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` |