[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGsJ_4xYJUCP_MSj5-bmjs6fUTbYqOM2eVVSvZcW_XJcf25w=Q@mail.gmail.com>
Date: Tue, 28 Sep 2021 10:00:03 +1300
From: Barry Song <21cnbao@...il.com>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jonathan Corbet <corbet@....net>,
Barry Song <song.bao.hua@...ilicon.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Marc Zyngier <maz@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 17/17] ABI: sysfs-bus-platform: add modalias description
On Tue, Sep 28, 2021 at 3:02 AM Mauro Carvalho Chehab
<mchehab+huawei@...nel.org> wrote:
>
> Define the modalias parameter for platform devices, including
> the ones exposed via devicetree.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Acked-by: Barry Song <song.bao.hua@...ilicon.com>
> ---
>
> See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@kernel.org/
>
> 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@...ilicon.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`
> --
> 2.31.1
>
Powered by blists - more mailing lists