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 From patchwork Fri Feb 16 07:55:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 201985 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp360309dyb; Thu, 15 Feb 2024 23:56:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWztxvKY83GNbX1D4/zO5zDhMHvazt2E+fwLGlm0y0aFwnkaE9LnOJ51xMlFT/1E6iA8QwAuMSZWyTX2YohfznTTaf+FA== X-Google-Smtp-Source: AGHT+IHqCqkEleJZkmubd3sdOy+sJwePsDP8+dsWsvok0wR/qf0tWRVRKlpVbNOVpzHCquMNIdj6 X-Received: by 2002:a17:906:d0c9:b0:a3d:e668:c75 with SMTP id bq9-20020a170906d0c900b00a3de6680c75mr423436ejb.10.1708070207902; Thu, 15 Feb 2024 23:56:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708070207; cv=pass; d=google.com; s=arc-20160816; b=eUw1NiVt3QX+uFlIV/r9ssE/2DW+RHiFDwGNTH9Y7pF9x3HYeN82edPUcTd9onHdsH YMUf+NfeJ8ur5Huwrw0WHh/Vn1r+2jwwy5pp4IDxOYZzvoNnZYGVlmumrckUBDEPyzOW OJUOlNmBVMLD32HKNRHrpbAty9mG33su180zNM5uN4jsJRLQBItYER+Ipr8dX499469m ECRCPopIhMClL8klXITjK8maxUC5xNdaWOJhzv8mxg71D96Z5M//3Xj3eA2nQgP+M56B HHoeVMzeLrTVlbluLQf9AuLEyKjJiHqNOg1LpygHRoBvpXxC5/Abbh/vvm73lAXF+v9f fxYQ== 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=4woXQ1xn8Jnb6pq3jxwkjqjmVUPaNj/HjXqJl0aJYaQ=; fh=E1iUvLvgARC8oyfztH7oW+Q/UqO5n1Pi/zIrOfG6mNs=; b=Y4aMX4Kbh4r9cBl5XDVd/U2dGr6ZEe1L+A2P7OWP27SrX2z0QQo+CtjM4SOrKc751y FM4tTF5upR0nzZGvgp+RnLrcWMMA9jmXjJwuuxCiAcoKssH2xXSh5R2nqGiX1OsdWU3l R8yJXVCJatjKI7DSJb/R4sC/jMGfQqhw7jSEGTtqObSImwHjvLhMi+DLLJSMHVrQiRx5 LH9shetFrVw62sNCwiFr2a3J63aX+yRoVwjJRXcwyZXccyGTMe0icGzXTiawgKPlxIZE TIc7G3Rbu/IWYHsLY+BYrLbTMmqfLk9LbzLPzvjUuTZJB6SCu2ixN3+oQTfecJUkz+Wg NtoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pz82xz6F; 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-68195-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68195-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 x27-20020a170906711b00b00a3dadc238aesi942595ejj.191.2024.02.15.23.56.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 23:56:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68195-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=Pz82xz6F; 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-68195-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68195-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 42AD31F214FC for ; Fri, 16 Feb 2024 07:56:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AEE41AAD3; Fri, 16 Feb 2024 07:56:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Pz82xz6F" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 BB15E1758E for ; Fri, 16 Feb 2024 07:55:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708070157; cv=none; b=fWW/1MP7zE/fbccX6HWLsSzkEkg3TPxIsdGABHABDbLnWSJ4FnPeo7xmSsjJvpmww3TdVONFP56sKTRRTwheNbwUE96xCRL1eDpiNZzMJg6wOeGDVrxCc7tH4JE75e6iDfq8DkbgB38oXxs3Lnn0l5avMfPZo91DOhD3JSf4s0o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708070157; c=relaxed/simple; bh=ZVzrVy1/dsPXa4PwcU5c5D0CsNAw12gX/R30zzhgXlM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H9hqoXT/oHi2k3BOs4iEGQp6kV4YOqStvob+lwQPeeRHuRPhr4vhHZbiwVhw7gQ71zY5Ln1mO1DWTidSkbSuFArDJj9IPkrINdH5Zz1UBFf75ins7qyJBhVq8eB4b34PeulZ+LImS0aQQAFo6PWpyIgMAlZHbDpBYq+Qj5K4cGY= 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=Pz82xz6F; arc=none smtp.client-ip=209.85.208.42 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-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-55f50cf2021so2331667a12.1 for ; Thu, 15 Feb 2024 23:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708070153; x=1708674953; 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=4woXQ1xn8Jnb6pq3jxwkjqjmVUPaNj/HjXqJl0aJYaQ=; b=Pz82xz6Fy/Y5PzrJYFRkE7HQfEf0n7K2NiwL9Gp+ko9HTzmqxUDyiG5mz/btoGn4kS kl7tiuRGLjHXQDOTWCSsCZkdPhZGtN8j61lJURpKHjiv5q9WL0BBYsxa8oPGdEQkEIMS O2K0CZnPfmB8jPqsOEt1DbvQ/mf482gwdjjgwVJnlMG0yaL413oCiDLHhcX+eaOogF/i RMTRZg506cgTAh+No1C1KBT8BzziPFgJHyiLxPCOoDv3NxPSh2sKKzWmvwCLIWPDwWH8 D8yEagpQc0lEFY67pjRO7BX6xrz/4CmL6hZCjB5oLcboxLOUzHsscL7nQGY8Wx0rirKV Z/9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708070153; x=1708674953; 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=4woXQ1xn8Jnb6pq3jxwkjqjmVUPaNj/HjXqJl0aJYaQ=; b=M+7U7bbSupPYy/3vcYyo/9nEo+ds4lDDKFQ1idt1ZWeCacob0DYbzrrU5kQvZcLA3V 83foDSyyprVN2bkzWc6eA5IU7tSRDUOWsmpfaC81XRYa+dDPkvBdi39tmemseSnLoZVh 6N9/SEMLQhsEoV7PQ6MAkgSrCkgYlWSERXCtxIdQyXsGKAxJb/+3T5dvHLHShpwNGZ5b lyAeRl0IL4+fkwUcpx+6DV64mCQ1SfITwx6b9R1wIPgKDVyfCbNbz60jqVLRzQLiTjwX 7rAEp6qj3l38by0eZ6XBmuzWOv28x5fdEy12ruQH+ssg507OAJfx2acoRGPublrBuBS0 1KLg== X-Forwarded-Encrypted: i=1; AJvYcCUygDP5hNT4NWS/ecqnQxd77d/pegKx40jLUjbNysK+qKCMafMkZwe1K1o4wNtbbZQkjmgLzR6dZDhDefsOgCO4O2c3yDs1wqFp8/2x X-Gm-Message-State: AOJu0Yz1bynMYfLbZoL6YZ3QOOF74Lh+VrqE2eOYa95ozTAStOQO/Mue FdjX0TarbxVnd+v7ieh+4Ju+x/c+LWg5p4A6E+Og/tlMN/+9mytMdvdzR61yfWI= X-Received: by 2002:a17:906:e28f:b0:a3d:8a86:a8fd with SMTP id gg15-20020a170906e28f00b00a3d8a86a8fdmr328626ejb.30.1708070153082; Thu, 15 Feb 2024 23:55:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 23:55:52 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 16 Feb 2024 08:55:47 +0100 Subject: [PATCH 2/2] dt-bindings: hwmon: ti,ina2xx: use common hwmon schema 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-2-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=982; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=ZVzrVy1/dsPXa4PwcU5c5D0CsNAw12gX/R30zzhgXlM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBlzxUE4J4/L7ZafIL3OBHnnbATlGtubCb7t6a0z CXacpF2haaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZc8VBAAKCRDBN2bmhouD 18+zD/sHILZlIo2qTx/705U2YYDxyQVUEUdiSlYq1isRtDYIkEnPxDlSpWLvWA3lNhXrAOOCEUX Cw96TmyKiVq0Dui8aUwB5CFiYD3MBJjsO1h3w7kyb6ViswrguzxQKGFGgmgk/82OYCnoepwT3Cw /gbeQTuyHpllntn1nz1MDIUptm6KNvbv1oFNyyM75ECAKyLSo34t1lTmrLWY7bv1ReibVvF+d1h MMwZqku8OI0RCYvQmFqHR1bFSDx9Nrp502uRSrl80uFygayzg/e5qD6z2AqQqEgiiuxKbaj+5cD m/VFbTwZaaWwrPuA4seTAJVx9VeJM/E6sA/WLCSzijLrLY0W4kuV3Jof8iAd4v9CyEfopzeasFJ vBhJfSTCszXejzRquRM89XgB+kWTaRiQIB3Eqmv8E3J3wc0Ng+P1WOcRGQHHqmcJltA7/M38oq6 TLP+m+joukkIxDuQk4uRgqLYN6hAGzH9eZ2VPtGdnPR2tACqPApj/0kF6ed3WC1JHWPHmOHwnM3 Nc5dC2nD1kYLu7GYCqf7YXJQBS/kxEdThVt3n/pkAJcGwnt74FNB0YuD0heogg2eAiidawfEE2k ZSsRubA2fN3natXHMU9NKiOGsZulVpx3ulxQYXkKGzjmR6412jx49hna4B5Z3yQ1kvlAlzbvNPs 8gAg+ved86Oh1Wg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791041426008257729 X-GMAIL-MSGID: 1791041426008257729 Reference common hwmon schema which brings the "label" property. Signed-off-by: Krzysztof Kozlowski Acked-by: Guenter Roeck Acked-by: Rob Herring --- Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml index a099bb71415e..df86c2c92037 100644 --- a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml +++ b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml @@ -36,9 +36,6 @@ properties: "#io-channel-cells": const: 1 - label: - description: A descriptive name for this device. - shunt-resistor: description: Shunt resistor value in micro-Ohm. @@ -73,7 +70,10 @@ required: - compatible - reg -additionalProperties: false +allOf: + - $ref: hwmon-common.yaml# + +unevaluatedProperties: false examples: - |