Re: [PATCH 17/17] ABI: sysfs-bus-platform: add modalias description

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

 



On Tue, Sep 28, 2021 at 3:02 AM Mauro Carvalho Chehab
<mchehab+huawei@xxxxxxxxxx> wrote:
>
> Define the modalias parameter for platform devices, including
> the ones exposed via devicetree.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>

Acked-by: Barry Song <song.bao.hua@xxxxxxxxxxxxx>

> ---
>
> See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@xxxxxxxxxx/
>
>  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 <song.bao.hua@xxxxxxxxxxxxx>
>  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
>



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux