Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4304307pxb; Mon, 27 Sep 2021 14:02:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUqU6ORnAq1RY8p4oblDyGoGOr3XaaymTP22LimTkacLvu9jcace46+D9EdjZRLK4AJd/G X-Received: by 2002:a63:8543:: with SMTP id u64mr1405960pgd.220.1632776534598; Mon, 27 Sep 2021 14:02:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632776534; cv=none; d=google.com; s=arc-20160816; b=lYD1kxvJ4Aq+waZ698+VkTXaEpr3EWmmtdVpkrMLlsIzRbc8G1++yd7FGdg7XhquKS /tqwcdj8rLMmuHU0hnOqKXkk5m6n15SDWi1q6ItYYbozysuSMnMwy4eboI26eFB9xdEq Uoe2BqNvFaEJOP9mL+x8qn9ZVuowq1pxPsBTqrQhBOdU9MCimjtJXnt8GgGIY+pcwpZB IjnGQiD8WQIbsL2ygsMSqRRqB8ByCDt7sBgenccGH7ZqcF224q3B5JVb2B+LWiIH5+2A kFxI94xTbDwYrDVOrkoXqfElUZJ4K0fuh0MzfWyIxkRTzpNhvi34CI5fZjmYC+ckvqNW ARag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+02IDEYrPYq3F1M6y7pim37RPPbUvjKhUbqQrSE7xPE=; b=jh5BtkW/YahUN0cEaTDyAPuRb185Pxu1tJNPBKh9nfT1I/tgZFBU3H2IDU22CbOwx2 uXLWwbDzYZ1oMufWp6TKfbCLvhNIn57cfjiPJgR+USHNgCj5txNjvAIoHhLh28W4ML7+ SSggeVVMjGycwUcaedpZ9+KsUwMJGmzm1befC8ddYWFMncKyna0L/A9kYi7TGaMQTEYQ +3wf57dRYyNFY1maKuH9MG+8NN48tOuLSf1OFGvAS66sqWl0eFeLzUmwI4mcQHNmH1Qg qHDXXfRv2vThn6Od/jNR9bStb0q19goczLg8dHTzlFW8gqyb/X4EXADqPANMMlRXIHT2 XBwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UL2Kc6yJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m21si1926016pgu.294.2021.09.27.14.02.01; Mon, 27 Sep 2021 14:02:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UL2Kc6yJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237143AbhI0VBz (ORCPT + 99 others); Mon, 27 Sep 2021 17:01:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230046AbhI0VBy (ORCPT ); Mon, 27 Sep 2021 17:01:54 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 403B1C061575; Mon, 27 Sep 2021 14:00:16 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id g7so15045572edv.1; Mon, 27 Sep 2021 14:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+02IDEYrPYq3F1M6y7pim37RPPbUvjKhUbqQrSE7xPE=; b=UL2Kc6yJm+n5Ftehbwc/ffXWaAzHQTACtoWpSBsw4Ccd4OQmWwbX8zk0UQruYz4P+Q A8OgAr1iMnsHVyv3Aadu1TBMuLa7Gj8CykXzsz8MVBfc1KI5yeUqVykqRBAxILSQsav/ YHfh9zNnboDWOFlXLFHAhd2nqfCKTL1toTw2WIuuTswatPp+bqSbE9PyHyUinOEy69Nl v7KLZ5PP+ZPuPvjfiAqNf3MkF5QxfPTEUqW+O5K6PHNBRJ89zekBTAXhuWExyS6JTE38 pXKE1vdlLDrO12Jsni2TIB4gduLmWBlgHUxFylR+BKLO//Qx4vsFccYGVEuusnLvSxGt e3kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+02IDEYrPYq3F1M6y7pim37RPPbUvjKhUbqQrSE7xPE=; b=SHIDYmLvwBlUkTxYYKDpNdpE+It9TsRAnMdSFVg+TjIPe6HNzAOny5cBbaF733dwmB lVs1cRLzB1ogXxCC7NoWwQcVK4Yqxct/tJ7ollwvx7ORBedQWG5xrkW/BYhkmVU4DhnZ dYg8e+/1MeZfWHsQpDVRVtubPKXLfNW+CsYmzU60JFa+XQUtTc5lSMXRwRkC2r2eTxse +anMECOajidewT9o8pNlZHWRb8oLq8dn9sRHjaEThRn5XIYzlKd+4VCxmV0tufkgEpcg e+Nc6s0W7eM1JkBMTx8/RVb5zRlikdcgqPBO8gQLB1uVTCQ27E4y/WsLAqpUDCGvPF+t mERw== X-Gm-Message-State: AOAM5327eX3ltobrrhRnqT0KZ3UiMF8yRk2bnv6E3r/GOAn0EtUWLhtQ WssgWDCUz65OrkvZctvDdw2KlUqw2UkA+YTHkE0= X-Received: by 2002:a50:dacf:: with SMTP id s15mr2757371edj.385.1632776414890; Mon, 27 Sep 2021 14:00:14 -0700 (PDT) MIME-Version: 1.0 References: <9cdebbad008886b1d09f5f3ac5d88bee19f08d97.1632750608.git.mchehab+huawei@kernel.org> In-Reply-To: <9cdebbad008886b1d09f5f3ac5d88bee19f08d97.1632750608.git.mchehab+huawei@kernel.org> From: Barry Song <21cnbao@gmail.com> Date: Tue, 28 Sep 2021 10:00:03 +1300 Message-ID: Subject: Re: [PATCH 17/17] ABI: sysfs-bus-platform: add modalias description To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Greg Kroah-Hartman , Jonathan Corbet , Barry Song , Bjorn Helgaas , Marc Zyngier , Thomas Gleixner , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 28, 2021 at 3:02 AM Mauro Carvalho Chehab wrote: > > Define the modalias parameter for platform devices, including > the ones exposed via devicetree. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Barry Song > --- > > 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 > Description: > This attribute will show "msi" if 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 >