Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3983322pxb; Mon, 27 Sep 2021 07:03:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2n+vKICe33vRTUQL5fXsQQ3E46LZm3pUyTBrsObtPEmvcA1t3YJc+gqN+FtgrowSvJo5V X-Received: by 2002:a17:902:7613:b0:13d:b35f:b4d7 with SMTP id k19-20020a170902761300b0013db35fb4d7mr23266058pll.8.1632751391540; Mon, 27 Sep 2021 07:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751391; cv=none; d=google.com; s=arc-20160816; b=FGKwBjYRvaA5tIFrF004AEb1F5QoNF54UASsxSX+w3tNa9kZ7bor2xd2PI7fyLLuzJ so16+vTM7gVHMesOZFS59FLzoMapUmwprf+i7Gox5QgGIEdlzL98gzVRUKAjmC87v1Pn EdhYvOnckvOisdleeziOdhJOhprMkQj1w+QmFoUlarSpZKahjcIX4KT7M4rw/l3HtM1I 63oZa55q472WGfbI0bype+CqIsHo8THaCBd9fmMs1LUxFYRlqL24fYWELlC+AD4ROHl5 EDbFQiGrRYew5Nhhf3rTHi7PxiqhJpooscxp9F9gyl7xZK/VRPNl9LuucfXmZB1+9eaE +NNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EDXrZYMeTwIUKQcpJU1YCcmxp3Ca/JIT6brIC61TMfA=; b=pwaPr/ypd67Zi1LlZOd1pIplzB9v9FHZAlLXLhPJDA/f+nYMUW3M31a/Zrpb72id4/ 2ewF4Ps+c2ucGxqj7YW9CJv+NniDPYgCgZDpvOulfRjmEb2eYSWjoECTW/PoJXu7YY6v /Y1xRi2lPy6GuSJzmfDsBS4R8evyD4erLjcgFgqIoBYvM+H1L3czOKS8ZXUBgEGJ6Abi epcHsZX2qe2ghtjpFTd18C/1KSEQmTJJcPpMNwzVXHBewTKkbByhtBoErrYnI5FV/g4Z IrL1rFUW1PHFOiCuMh0DSQYxMuWOl/6KrbOTe8pG6uc4ZhtaPIVJMIOgOC/Fm59M4MeK jcGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Afc7CKAp; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d9si21602031pld.392.2021.09.27.07.02.56; Mon, 27 Sep 2021 07:03:11 -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=@kernel.org header.s=k20201202 header.b=Afc7CKAp; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234977AbhI0OCf (ORCPT + 99 others); Mon, 27 Sep 2021 10:02:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:47982 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234716AbhI0OBf (ORCPT ); Mon, 27 Sep 2021 10:01:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BCC9F61266; Mon, 27 Sep 2021 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632751197; bh=pRwgBygJCF0uygrQacxkXypNnIIkSYPVhWcJIvDJP+w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Afc7CKApuP93zxKkhdmMXgr1HeevKwd2lvd9mZA8UvYuYTgDl5vqqYZ9+kJHJnxB6 nnuYUnvYX3lgCnZo3uddqmyuLzr3UNTeYdGQ+1wGOdoEScLOdjg2l8VpJ+d1OHzO/x RNMDwSb7y7+Zgb82dwv5XQtS5zREtXdRuxhOI1IpWxRX3MD479UtLdsKcXwKpR4Wrq 6S2RRAy97VbTzBhB1M4Ofg4bUEEWZW3TtmQB+DUEDtWhfl9kH/KNUdZKzHXtZhMXz5 I5ZIOK/2CZz4Q+ojwEbnUjlvoHljoXJoKDRPbL96AINszlO1gLZEkDBcn+S/Qvb/rN d3ESzHa7H7XEA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mUrAi-000Auc-2l; Mon, 27 Sep 2021 15:59:56 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Barry Song , Bjorn Helgaas , Marc Zyngier , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: [PATCH 17/17] ABI: sysfs-bus-platform: add modalias description Date: Mon, 27 Sep 2021 15:59:50 +0200 Message-Id: <9cdebbad008886b1d09f5f3ac5d88bee19f08d97.1632750608.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define the modalias parameter for platform devices, including the ones exposed via devicetree. Signed-off-by: Mauro Carvalho Chehab --- 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