Define the modalias parameter for platform devices, including
the ones exposed via devicetree.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
See [PATCH 00/17] at: https://lore.kernel.org/all/[email protected]/
Documentation/ABI/testing/sysfs-bus-platform | 12 ++++++++++++
1 file changed, 12 insertions(+)
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 <[email protected]>
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`
--
2.31.1
On Tue, Sep 28, 2021 at 3:02 AM Mauro Carvalho Chehab
<[email protected]> wrote:
>
> Define the modalias parameter for platform devices, including
> the ones exposed via devicetree.
>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Barry Song <[email protected]>
> ---
>
> See [PATCH 00/17] at: https://lore.kernel.org/all/[email protected]/
>
> Documentation/ABI/testing/sysfs-bus-platform | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> 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 <[email protected]>
> 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`
> --
> 2.31.1
>