From patchwork Sat Feb 24 10:14:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 205806 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1077003dyb; Sat, 24 Feb 2024 02:16:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVMgnezNe5H6v4vYi0w3LZheDf9TLgO86Rhu1R/RtgMcXiDDmM2s6iWdddL4Id5DAhUV89hbq6tmvAigQdSuaPMBvT27A== X-Google-Smtp-Source: AGHT+IFEukAKEsA7/Zt9q2PiFII3itox2AylH+KGcnj936oFB8qcp1ijSdmnp28bypqGxr+YdYUs X-Received: by 2002:a05:6a21:1394:b0:1a0:ee92:b6df with SMTP id oa20-20020a056a21139400b001a0ee92b6dfmr392180pzb.9.1708769764590; Sat, 24 Feb 2024 02:16:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708769764; cv=pass; d=google.com; s=arc-20160816; b=TgqWQ00GDljh3DyZ5/ZmN5OGIzI7Ia3qegUZzaj5weRMLZm1wkZLkupdWiYeEEc9gG M39arT2srUIsrfUjRtLsDtnRToQktlEki4B3y6zu0wkiy/DQx/Z+7hTCmzFXxhkjsdhF htkUG1TSBEhIjO/rDa4mHrvI1MkfSx2fxqIOS7oMxwEJ0hAqCjemQILiFQMvTbWzwMJ/ rblLPeN6/rzyTOGlnYPDS6OQUEkhGdc/GnFyQ9PRhgJFmclt2IFfaI7FvRqlmh8icnCz PHYybsg7Zca6wGNeX9LXg54BQd3HqsGYv4gYLeyPldpatX0m1/IW05z5G3Ij/WwGGwjM uDDw== 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=mREQhNxJ9n5S//Gh3G5cSj1rmAQc6jGJZXGvN6gjkRg=; fh=oOvwQ/PlWzV1McBfYjHBMy8/cmKj7wK1wbUdaCQ2zRo=; b=zmUWGhLwwXarpH5zHrvir+xuYzvDLznySnhiJuEuPaHXSYiWn76ztTUrNNKRTKE6hc L0luEEJZJjEAR/frFEnWj2jhkmxx/hlwdrCsyopCywmhKgmvSeJbQLFT7G4DNWDdT8pW jUahL/hoL4l7j5IKLlN2BtBgYUWjTtQhsjGY3+fTqeFd3163AAZHscp/mCPlccKSs5Bl lyfCo7otqh1uolRPMoSZt0WKKQgyhGip1EmkoF6RjVHuKszKwk2UtEv52BKmm2S+1Fo/ QrBUOKKghkCE5Y0i8V3VGLW5eCOSEH1tG57kyXN8y2+2fCrZJOakOO/NJxZrEmQKPEJl jhrQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=prIpvrHg; 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-79554-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79554-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lk13-20020a17090b33cd00b00299489ae52bsi2553133pjb.12.2024.02.24.02.16.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 02:16:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79554-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=prIpvrHg; 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-79554-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79554-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5B103281E3C for ; Sat, 24 Feb 2024 10:16:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B728729437; Sat, 24 Feb 2024 10:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="prIpvrHg" Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (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 1A63D241E0 for ; Sat, 24 Feb 2024 10:15:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708769715; cv=none; b=TC3d2fBWCL5A/D341TrZWwQoR/1ucyVaR7iMF2ZlCFbXyp93IocoyRV2+klI0vWuWgJjyiDWFaI+b/IqnnVZW4eBfACnJrVVBW5aDRjH6GtKcSMHS2Q7eAK7Lb/t6EPTRVEqGUcVyQ4Ga15Cdfk+giWRH8bV2bbExDYMRBxe+QE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708769715; c=relaxed/simple; bh=nPQPdZdHWxEYvyb9kVY8THmiKsCdd6pfv64gWqI0Ddo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MalFV3NvVU75U3fhpKztkYv6en1rPN+EEKqgRdGdBH6vgQFiZIvURlg8UgYitba738tlSDQc7mTvRGG+RwxjRXvagwZquXom5tUZBNQ5gjyB2CCye0QqiJqiUN8+Ey4sZTM/X4S20cd+wLI8oR1MZyU7rhgxAg8OUcfQikOJxgY= 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=prIpvrHg; arc=none smtp.client-ip=209.85.218.50 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-f50.google.com with SMTP id a640c23a62f3a-a43037e40dcso7268266b.3 for ; Sat, 24 Feb 2024 02:15:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708769712; x=1709374512; 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=mREQhNxJ9n5S//Gh3G5cSj1rmAQc6jGJZXGvN6gjkRg=; b=prIpvrHghOPPve39TmalmxRn/3lJ7EM+1hcLaXK/Rns9rtYVIcPwcIx/rOrtJMy48A 4wzDRirL6ChYjgqZ4xEK9+qdCxcfH1WSVLw0VAoCGjKBXSCL+mJ/AbuXbD/LoXkJn5xa 1OtuHE4IaDyDTmsfwOlr9+6QxCs2feGSpcV0722ZQcrhxEN7z4UFB4OiZAoHFIPCPXeW GGMpieLXa2BZRu6UJO/AcF9EoMAqttBFNZ+0f5o1V80baGDm15/X8CCeg426t/k5dbTX /YC5k+QJbZ3M4Ot0AYi1PvSJz6gS7f8DAOc9k9Q3n7VajcIqSsE5PS7VmYyqNZvzw9+D LQHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708769712; x=1709374512; 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=mREQhNxJ9n5S//Gh3G5cSj1rmAQc6jGJZXGvN6gjkRg=; b=n8BxMQujEOU33TXDmCIRu5spRQdyurCYcCjMLPyAt6dKfAllWkCRlcETEm4xH6OUmU A98KJ8sKPY/dxtCYUo4N45SpKxfjM3dRoyyVIltCu+QV8ypGlbAOxHj2+5I6Zhsdbz+X 3HbFZHxROqqu71538/R6m2VPvSXRYBWk4mnvQ02PRO37XIBoByafoVUJ6M9e564rl11n IkaXfn9TVIwXIwOkeZ0g2Q8qKN/qB78+3JLtfSQPnv9ZCo2nXu/bPLuvH+nyzgrsZKcW ClnOgc9ddgH+/BWHiqyh8rDEPSUiy4ZjErelu9MaUVqd+o9Vf/VyuhFcfHa3mGtoF1mc XcSQ== X-Forwarded-Encrypted: i=1; AJvYcCXAZkh6jHlzt9TGYxCSQuYeA3fNMRj8IYhxQ2DFLEhONDk1JBuvmn44jYCpmO5L0b+0sVpqLOin9W9tY6nBwqT4yWZVSqUqbduBlRPY X-Gm-Message-State: AOJu0Yyz46FlC4x1pzgtRpGNDMVQ5P906PeL3f7KABqcPrteyc7JVsuS GiviHerqm1YD2GGhOz1Mna3yN2u/FlfPgCcJQLNXlcqaWRz3cIp0RGXwkBWgIic= X-Received: by 2002:a17:906:36cd:b0:a3e:f79e:ce56 with SMTP id b13-20020a17090636cd00b00a3ef79ece56mr1239936ejc.45.1708769712523; Sat, 24 Feb 2024 02:15:12 -0800 (PST) Received: from [127.0.1.1] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id p10-20020a170906140a00b00a3fb4d11809sm446545ejc.204.2024.02.24.02.15.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 02:15:11 -0800 (PST) From: Krzysztof Kozlowski Date: Sat, 24 Feb 2024 11:14:51 +0100 Subject: [PATCH v2 2/5] 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: <20240224-dt-bindings-hwmon-common-v2-2-b446eecf5480@linaro.org> References: <20240224-dt-bindings-hwmon-common-v2-0-b446eecf5480@linaro.org> In-Reply-To: <20240224-dt-bindings-hwmon-common-v2-0-b446eecf5480@linaro.org> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Delphine CC Chiu , Michael Hennerich , Robert Marko , Luka Perkov , Zev Weiss , Eric Tremblay Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-i2c@vger.kernel.org, Michael Hennerich , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1077; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=nPQPdZdHWxEYvyb9kVY8THmiKsCdd6pfv64gWqI0Ddo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBl2cGl8NOeF+9dZUBWDwTidWtC1yRuSeA3fnNSy e2Jh611ReeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZdnBpQAKCRDBN2bmhouD 14aAD/9kk8lq9D1J8Tc1aqIqvQjknqi/C4lVAcN5JYC3LItTfjbXUVJ18LqJuGtNziJm3ToIh3d 33neu5DvxlS2CDeOH/zu6cUTxPXBy0HZbojnfNmQsooD6eokCgIpKERDPRuFfDXTeyoCjh61/FK ZMJFW9S4zj28QhXq2ILZvnhmbmgZXiV+yHbwOU2nwwGw/66n1xd9gtdN80hQpHb90yCxpD5f9Bp Z6lfZzeqA2+bec9tfF9jd4leJxze0SB7Db5F4mxq7k29m078egSWfHoIkalBfLwuH+bvffvwWpl t29oA+2R7QE9eD/0rHNLrejFJ8jYqFnIXsCKwWSErDwyiLhVLQesad3cJcRsRyROwyuOQpG+IhR GGJNHL/2ZZleLIaV7fJVyvXQw1+215JaBQ/ZwYRjF/aUGpqPmjA6Ue03/frs4nAzxr12/bMyiNh aQeu/pEJG/SzksBkvW3FFP0j4GNEEmGV3jPPs2PhjWLlC27mXrrNCLXZTLh5Kxj3qLdftE8s+9L MBcpkpt2g9hX+5p04IxXA2BohfacwQ4xBLe4VnIZFZgXb/158NOfhZeo+9jANq+Pz6xuFJ0K4SA +7lumA3JpWTJ4tY7sSxC/L79FBhvPxev4QZxmXwbbkMu2Noxj3VadO/nGKZAcCOs/hPBvxNBFFR Os+S9u+Z7PkVbWg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791774964822686014 X-GMAIL-MSGID: 1791774964822686014 Reference common hwmon schema which allows to drop the "label" property. Acked-by: Rob Herring Acked-by: Guenter Roeck Signed-off-by: Krzysztof Kozlowski --- 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: - |