From patchwork Sat Feb 24 10:14:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 205808 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1077144dyb; Sat, 24 Feb 2024 02:16:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWQE9ZbgwggxNeVVFAhEvDbmlsH42O4CTF6OdR5Mmmb7AFs56+PKJnMyFtwE3PHXymw9S/yHr2dAC3ce2yhj4ljFVQBcQ== X-Google-Smtp-Source: AGHT+IF7/hK7j6A6KJRqYaze9jgLGMKyBlV1XqNvEeNZzeSFELB9Fs/syDNKK5o6Sposfo4eX8tT X-Received: by 2002:a05:6808:e82:b0:3c1:827a:7444 with SMTP id k2-20020a0568080e8200b003c1827a7444mr2272530oil.18.1708769794539; Sat, 24 Feb 2024 02:16:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708769794; cv=pass; d=google.com; s=arc-20160816; b=zh7x2QhcsR+K3vQeIFtpCiDMpGD9O21dMsbVOMAlkkC0zkCrJlzeXNt9YAxvU+6VBd WKTuBFvLXiX7uVVuw3+y8XeW0xw6bqUCCZxf/lUgWm3BUtMjFWFsdH9TkERL4NZOytuM MGT+fyGX1GWsSjsPDTaAlY5Ni+aP8FcK48Sdjpi8gDL//XO6vBgddcp6enHzmeObKMwM iB7vKGjlEQcd1bKG8XnviIuWXXftbHBcsOP2Qt2n0k+mOMZp/ov2hmbxpV9IwCa444q4 OoX3EvkRgxcV7C1uWE+Wwkkv+bOUNiqup8LZnQCZ/I7ZULygsqTrqjIknQT6osnMhHGN FqrA== 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=CzTFvA5VYY95036xye7AAeQU1pMkC2skTCxswO20aS0=; fh=1V/GUv00M/E2WY9ZFv+jKxmmo+6kmlsI/qAP0it2RXc=; b=R6haDgY+wU6o6GP6+gUaCAoPr8BOY1FLmYB2VHXFhkY2sNDxIvV//BNOSy2Cr/mlUj MbsKI9tQ4lWauhgUQKf5s4JMDcZIZQRIf2CGf4mqb4HItJEL1peQMa1YJh2BMAoBwaxS wOv4kgTxfzhK0Z5bhH0W8BXetWfF6J7j3Z7Qbl1IRsifSlfRRP2upTlckXHegAg2oJtl X79nssEVidUc84TnclYeBVp1QNxg4sfnHup6Dk6D/mikkK8oZyf+tORAdUTFeD3yvjmn V/JDwdaxhWhCwTI40nHae1prQwgzy5iuGGBGd4EIG8ovp4c92Mip62JAn1xaHQgPZnP7 /EiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YKCVCh5g; 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-79556-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79556-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e6-20020ac86706000000b0042e58bb098csi756063qtp.732.2024.02.24.02.16.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 02:16:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79556-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YKCVCh5g; 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-79556-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79556-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 544801C21616 for ; Sat, 24 Feb 2024 10:16:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 717B6219E0; Sat, 24 Feb 2024 10:15:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YKCVCh5g" 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 E90AB2CCA0 for ; Sat, 24 Feb 2024 10:15:18 +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=1708769720; cv=none; b=hIUdwkt8CmzqYEDfkmJXRlcMJWsNg4TLdJ96pc+s5UqF11YjwAqnmChpZAU76igiaE17Es0xjb2gexiye5Muk6y3tukEaa9kZVFx4y+xLdn8QeWThGjveP56tEyhwJtUEDHc+swwGcZbWNCZ37QM+Z+PKh1HCkkkd1Rko0EW+ho= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708769720; c=relaxed/simple; bh=aD83uepM0Darh5WwNGaHTFt9aEgQZZROelPmA55Mti4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MnujJ8KleGghkUG0MMODdFp6gcrnJasXr5K94UKicNHXTCpbQv9y8uIZcgtJb7+x8ey1K/omDqnAnqUvrMDbpuQEYDIOuKmSwJyRmi3wcVErPp99X/LliEMitgM2zYDCrqYdn1FxRPYWFBzZ1aHrODI0oyge4iGdLRKf3fEhi+I= 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=YKCVCh5g; 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-55a035669d5so2652597a12.2 for ; Sat, 24 Feb 2024 02:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708769717; x=1709374517; 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=CzTFvA5VYY95036xye7AAeQU1pMkC2skTCxswO20aS0=; b=YKCVCh5g+jnQgg4V83zhy0Yz44sawZswlbpY+59U5BYVngnSKD+fm0FgvcZuNYHJUC 1Z2tPWPUcOvd7qWF4hDt8ALOInrV0EJdIl1FXDHkGH5+ybWiwjF3Sbs3H+Gw7k2ppfLy jMzvYA6dhoj08DZvu5BbyhDUeRNTVlmLh7r1XEsXOnqyNOwBItD6HcmxJAXJeA+LhLnv WIXLsm8PUghWYsAFP7+x3S4cF0iCruLs3KwrQgtVpVTuUig8b06NmHyAWvvGKtN1682S GTkf8yTz0TAIlFET6dXubSyZJNbb4QbN77Aq9dN8LJtX+NKy4IXInTxRL8NV73F/ZNPE g8hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708769717; x=1709374517; 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=CzTFvA5VYY95036xye7AAeQU1pMkC2skTCxswO20aS0=; b=WIYFinRBVKA2MrmUNO1lY62qqFS7LsGrAzZVFQY6cX+Ae++xn4/FTjWF4+EDPaHA4m DTu3OR95mYS4pgrhbspNfLHhEDZVuCjUmEN5o6k4oLwcFdyPEEdG0phq4pX0sZxZ0he4 8naFUpfKTYqYDjY/O57QwBTUjkAmNS88RqS/GdB9OaPUCANCTTi7hQHsFsbuZfQaZ62U 00pk6jXtlFgzZSp4hMJAvUARiWZMy7zBEW8yJ6BGMYEpGBlLX3Yt/vWROH8Dsxyj3nRx 4srxhOFFxP0/t6cJZxJ8dJrupJgN8MxBwqHaVE730oyGvzI/OXVERXwdNMaihxUDm2IA GzVg== X-Forwarded-Encrypted: i=1; AJvYcCXX79VDNCf7IL7WnJ/ApJxrNBNcAfumTTWs2pCASo0C1H2DHfNIhJaMT/51CNUgtKX/PC8TxA3/Zi6CXwE+TD1BfOkTMEDkGEC9oH2N X-Gm-Message-State: AOJu0YxTawUK6cbbep5jRpGJ/ZmTFujrUL43jStEu4WY9KaASpQEsGVL 8rwOncg19BPztFvSPqB5vEpX7XYyz05xmikHwi0K0QBOk9cR3IXMwT/BbQPw9fc= X-Received: by 2002:a17:906:d04c:b0:a3f:adcf:7f58 with SMTP id bo12-20020a170906d04c00b00a3fadcf7f58mr1271974ejb.21.1708769717451; Sat, 24 Feb 2024 02:15:17 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 02:15:16 -0800 (PST) From: Krzysztof Kozlowski Date: Sat, 24 Feb 2024 11:14:53 +0100 Subject: [PATCH v2 4/5] dt-bindings: hwmon: lltc,ltc4286: 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-4-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=1004; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=aD83uepM0Darh5WwNGaHTFt9aEgQZZROelPmA55Mti4=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBl2cGnMHl7JvVmjVNpXVQbkA024o3WcnyxoDo7s lo6+7T2DHWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZdnBpwAKCRDBN2bmhouD 1yUsEACZkgw116288idb0nBcbCgrzlAo9PqGWcTHRDqQXYPsHYf1Zs6n8t4+hwvHpRSbLVx+pWM TLYFoM326csLHXmawzl/9D6vfjdnxZhay5QGzCIjjkEHbeXrjXRcBz63G8zVtnuLWglGRBCAuO4 zc+lRb0FwyDjLCfQZH4YpQreQ0E7NLIoH4zisTLElxB9FHDivEXkuYUQ81BWSwgtB143vh4wDOS sYsdbp4s9ssjMmzbmjCSMLk1iUPiPIncPA/EpC+zE/f6ByqNtOL7+q39uNLLx1lxH8RxIuUZBu5 KPfHCAUbF7P+xNV8Tvs61bby1K9Zzm8empLCghDi0rmRjMEwjkMMPoGhU9JxlatXIj9Gzuu8Svm LJUWxLsfho/UGG/S9aplhBzI60W+G4BvufTiNR69KyP9nQU9bI0V7m1G1H3yYUxi/HUW1c+nYHt QxmOcFZcfNc72tl0Q1yvD6LslDUrfocLfRoGoWn7KMct0p+ORasiyF9ZX81rgZWQ9N2kKOaalx2 x9JwHyE+vbp0JXiKfV6LdFbs158sVjqbc0MzvUstiQcAIdmuvipPt6lZt2cbFkfi9yUZWlVSGj5 uRE0yvg7XO7BGTeW6uqZfK/F2Hc/yDyQxepnZAcRvPWj+YGbjKWOoJtTHrXs0m01rsBDRRSDHsN jYdbr9gI/tNlGQg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791774995926692597 X-GMAIL-MSGID: 1791774995926692597 Reference common hwmon schema which allows to drop the "shunt-resistor-micro-ohms" property. Signed-off-by: Krzysztof Kozlowski --- Changes in v2: - New patches --- Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml b/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml index 98ca163d3486..853df9fef6c8 100644 --- a/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml +++ b/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml @@ -25,15 +25,14 @@ properties: The default is 102.4 volts. type: boolean - shunt-resistor-micro-ohms: - description: - Resistor value micro-ohms. - required: - compatible - reg -additionalProperties: false +allOf: + - $ref: hwmon-common.yaml# + +unevaluatedProperties: false examples: - |