From patchwork Fri Feb 16 07:55:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 201984 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp360241dyb; Thu, 15 Feb 2024 23:56:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXdkhE3hBjTwqhFYcOzf7SXuOjyXayfVYLgqhU8D5PQLpyCuLWksr59xNxAvnb+3A4cJpUmZNVQkpK8vGJFgc9nd0Ou4Q== X-Google-Smtp-Source: AGHT+IHcT+bQvnrMY86zw813mF0Flao2pdLk+tM0ZkEtQ0yc4bYMegbaVyxihuUqv6CyM7yF3u8C X-Received: by 2002:a2e:9b09:0:b0:2d2:104b:cac7 with SMTP id u9-20020a2e9b09000000b002d2104bcac7mr2266158lji.16.1708070195059; Thu, 15 Feb 2024 23:56:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708070195; cv=pass; d=google.com; s=arc-20160816; b=a2WYpc7cT/oNj+Kn+6zCeWYunvAueNYLtDIxeqOGaPMc1tCEi4eDW1qzL9H2FswQ5F VcU1O1YXzgNYspZfqLWuqAEfFu+UCMduDrE3eTw+f61Y8ZISKTihSSJa72FCMTd23NO6 2skkWE3efNpkSzwKPnP/r2Pvpp22pOahpYMDMif5aNqwm+X1K5RmnYtcPGWSIkQCcVv9 T5uq3NpOLfzPmKF/c0ZZLmLNAQyKzYP/lPPcLt1OHi/DowGo0zGwF9pric/B8ZHQonI7 5BrFLojcg0iGGJhW9zwVLjjRxtlGBzVOBeY9HKwbeiwtQAQ18C0mVQVUG1q5PoxacM+/ K5kQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=rOT0jdNXZvIhcM5Ie5HqkhIcQqrl3AOpRJW0bZ4tw64=; fh=XBqVSUlpTlzIYrxLFiqvPpzBrm2uLBTRFwN+KUO0F4w=; b=kYwr3B5VWKvldqJ+mc3K52Sy7JanStVIh7WMG4pUIyrRi1gf5FIpee+KaoRYUMczSb vXT3nFR25q+b6deqvz6c7oHcb4fO0bRDl5SYsjoUurQH2jRZMhbjdB+aq9BKAlPxpyOB uiHfuc/ITSBJBlg/F3Qhi1pVta3zjOv7HN6rfqIS5xGIJkn6FgDYBOnu0qwAXeSTe1pZ G9ucpQNb2Y3/FYC2XK5BHaZOO58zRPhbE9KA+sZYV9/+D5wuG/hqK42KMDgfWb2+0BEt KqNMBOeVlzdD789cKbNAHhjh850E4oce7+gL+YPV1HdvO+YQMnq4VBxoqdker5hXRjU9 YsNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A0NxhxKU; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68194-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68194-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l3-20020aa7c3c3000000b00563fe793cadsi128420edr.423.2024.02.15.23.56.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 23:56:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68194-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A0NxhxKU; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68194-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68194-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A4DBF1F217E5 for ; Fri, 16 Feb 2024 07:56:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A82418B1A; Fri, 16 Feb 2024 07:55:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="A0NxhxKU" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A507317745 for ; Fri, 16 Feb 2024 07:55:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708070155; cv=none; b=Uz5e5GJkvbWHYn6y5PTs4E46mLeN4avAmDPBmU3r819Sg8xfgki/N5yZfWlyMfQYsP6lsSCoXbmQH8ciB/UkU0Js+5aucJ8xRmxMQeK8Cq5K/bUFRjioH3/YSdDouhqArF7J2NHLa5qSjR8OokVSiYDwIZTse3xaeuCsQ71t3Qo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708070155; c=relaxed/simple; bh=p92qClcpEb5JX/EeaVZ/9X9wSdFmQ4Oo0VeBW6x2QZw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Os5PDhRM8jmE+9SKwEqqNpa1T1xPRHMyx/oB2+LJ62b6PuZeM/CcE01I4T0t34GEKzAbvgyMXBuqclMim33DVxzhmGJHfjsBlhAut2ng8m6VrpACAh+vUffRgYvB2sehzm4jJVLsz5JmO6rnivhbR3T3JnhBD9vaVc5MKeEyzLE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=A0NxhxKU; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a28a6cef709so67984466b.1 for ; Thu, 15 Feb 2024 23:55:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708070152; x=1708674952; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rOT0jdNXZvIhcM5Ie5HqkhIcQqrl3AOpRJW0bZ4tw64=; b=A0NxhxKUIJXOioB9zh389SIqoOo7tJmMNZdTEF7upifsMTn4JvKYMjSrmknPt0Hfwn dx2qZKMPzXHz/J5GKCAfZu2L0kRxvugTA7wcUUD+WVGuDoExP0YTDMW9D/G9IDfLTIf/ T7aXPGayKy9fNQFd2mRMoQ5jYKnKDn73q9V3lTN7vRVsjiEykPyDm+m4OZa09SFyEWqD /3Ic76isUt3kW7fYStB4SHhT7/QTpGx9z9wBuEkraCmuUzRPx8hoJuGOVvUikuS7+6Ob MpU8rnh6+5MhHV6TBupWpaxPwnPNF/pL1M7YaD7uTjFyLmnjBrACo2t41Yd/AgsVFy9H DzIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708070152; x=1708674952; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rOT0jdNXZvIhcM5Ie5HqkhIcQqrl3AOpRJW0bZ4tw64=; b=Cj+N2NE+tfren1dUlx0trZPly8l3J8MUMUvrOqeYd1/yHrqyzEGDtkvCm07kKT47+d 5aXEoHib4HuGAY9BY+eZgRw0ug+ewTqigE5HYX5U5bUAVYik5Mbo+qdb8eZBmx+lciaR P2XzAAWCKCAWM0vVNDwDApRf3C0vATsJbV7wnjwbNE2AfZV/zJTl1zcQeFsCjeDP7UbS DZbrVwuwchrhG15UyDon0c/gG59F6yZRy6Kl79HaL1GUKGLGmvjliUPMrZ/8sHYvokq6 ZVNvdGgxB1lPfTGWnlkn7kadnvXXaTa4oM6RaQAb9jlAnlVjE4vJacmcG66RGpjBT+sc x5NA== X-Forwarded-Encrypted: i=1; AJvYcCUgtYZU1meBJ1yRPKlh6PcwP6ZUAvHafrbLA9haKz1ToXmdXzF2IWtGgge2WWSRybIcmEP2+AiYZWxV9vvlsSeF38sJat5Gr61OeNJw X-Gm-Message-State: AOJu0YyoV1ami9v8qg5Tc6tTqFtg+BH2TmDrrOe1MyR4eT1fEARcv6j3 w+QvgyGCQPB+eQ6T37x9uUChrHEevIAIqsCcCAoSRPYoojkcpHrAaumYS85EJnY= X-Received: by 2002:a17:906:228a:b0:a3d:eb7b:8eed with SMTP id p10-20020a170906228a00b00a3deb7b8eedmr344882eja.34.1708070151938; Thu, 15 Feb 2024 23:55:51 -0800 (PST) Received: from [127.0.1.1] ([78.10.207.130]) by smtp.gmail.com with ESMTPSA id f23-20020a170906561700b00a3d828c54f1sm1300750ejq.135.2024.02.15.23.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 23:55:51 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 16 Feb 2024 08:55:46 +0100 Subject: [PATCH 1/2] dt-bindings: hwmon: add common properties with label Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240216-dt-bindings-hwmon-common-v1-1-3c2c24ff1260@linaro.org> References: <20240216-dt-bindings-hwmon-common-v1-0-3c2c24ff1260@linaro.org> In-Reply-To: <20240216-dt-bindings-hwmon-common-v1-0-3c2c24ff1260@linaro.org> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1015; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=p92qClcpEb5JX/EeaVZ/9X9wSdFmQ4Oo0VeBW6x2QZw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBlzxUD6KwcK+jdwBtKcEhhuA3k2bq1sDN+vKWPS 0iHA9vMDj2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZc8VAwAKCRDBN2bmhouD 19OYD/0QRb1MW5XOXDS4h5j6vJ5EIr3ySyJMAAbL3LbvZQ7ec5uZo9aMM4pqgMCco0flfVeTRAS RpmhCu0HLBRvln8Vysa/BnADSpE1DmnGY2C3MaZh4IYR+jPWK0E1myQJaC4rPSUKfWCQHmKtVIA rdK3kx5SfrAyoR5/eAWLbCdYMxjssQpT2OauZbHIRksFaXzVjaaOO/fjYqcSbIqaVeDCQ/2cPbU v009TaEe4w9G/iothr1M9KLv9EXe0+bsFd7fQJpEuakMS/GIU97VXohbA3pWnd18fcQUnKqLPKQ E24O1HA1ShkUXz9cDYYfmB7OP2Iel/qyUOYRAysCH8g4CusPaN8XTQabvqCF6hh5TppRQMiC3Ej Hinsk34iBg6wa5ZIL+/DSRbp4wGfh1PaJxNjxoEEyGlag7KuXKg9tK4IlqwjY9no7MwhA2oiY2z Ihdmz6c7ud2do5827Jo8nw9xeIPsaX/5kpLPu4bA3dyQF2Kr+QEiGk/R3BXAwkYZvUG763Pejtm 8LURenFrypB7FlifLxq5e9Kno05bnJQeu71GBqV/r9sIOqD+B/YIOuyINqaXQ8HYgwOxUyn6O8x Ne0l4le1mnxyKRMjBMWu0uM8n9lW3SydxRxP3YN8+g8KhCQ+BrWtca5L/F13PI/zxy0oCxZu9IV fyexQKfDkCUQQhw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791041412959958615 X-GMAIL-MSGID: 1791041412959958615 Linux hwmon core code parses "label" property for each device, so add a common schema for that. Signed-off-by: Krzysztof Kozlowski Acked-by: Guenter Roeck --- .../devicetree/bindings/hwmon/hwmon-common.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/hwmon-common.yaml b/Documentation/devicetree/bindings/hwmon/hwmon-common.yaml new file mode 100644 index 000000000000..d83f4180f622 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/hwmon-common.yaml @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/hwmon-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hardware Monitoring Devices Common Properties + +maintainers: + - Guenter Roeck + +properties: + label: + description: A descriptive name for this device. + +additionalProperties: true