Message ID | 20221102184501.109148-2-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp77379wru; Wed, 2 Nov 2022 11:48:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM59qfNW2K4cKsGySX7sUAdwuAG/s53zjdZ514wkRQPYnOtneB1ajq/f7cN26rz08mWDEGuh X-Received: by 2002:a17:907:3d88:b0:7ae:943:1cc2 with SMTP id he8-20020a1709073d8800b007ae09431cc2mr3432135ejc.675.1667414903336; Wed, 02 Nov 2022 11:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667414903; cv=none; d=google.com; s=arc-20160816; b=qI/QgBTsusPPHgJZ0AGd+XORjUnGDM6F5ekZNfuCQxWwv5zO73UYtEIy0W2d14u89y MZK1vZWcKFJlLWZ87oMd6hTni2Lh8zcwo1lW2QfUQpp0rYwBKIn3/3e0F4H2Ouc7YShE pFYc2Xv6fkNnCVzpQDhPuXT65z6AgkpFsaIj2wk3Qj6zEMYtJ9lbb9wzhOZxajxVjBZF /sQAPegr1rBYZ0kA5nuK2Z8Dhl2aLcSEFpjoReMocCYd07vUb/Bwjp1EZI/o/BzsNzpW 9YduE+hPHUitlG/eCrj1YsBZ4FciTfXqHdsjRodn1ekSh2TSHp3Yp79UG9Lzbaia5Zqg nDDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sw13xCxrWW7/c5Fz/JcFaLDrTASeOurUe6I0AYCZbD4=; b=0hgGhuLO3ZjKrTv1OEQaznuMG8maswgpYov76dl7M4igRZqxuuqb7NK7qgPvLqQ7gh ibqiwYwWHio46g8z1WyTvqKZKo8NvgeY2CHpSn6vDUrIBz8VTs3CFqPyn19MpPD/G58W in2zML4EEyJWfm4uMlWf29wkBdepnKC8UcSfNAw/XBSM19OB+PuKP4EWB1SzIIrB0CIo Z/rRuLMxV7FBoNRv6P5i6sZq4aHrbQf8lS+MZO7kQxds0x5KVDJVZDfp0ys1c/if89hR 9ivCjJO4jBLKETd9PF1isu7lEffpwTZCdVeXMdSTmtK7qxbGD4BC0NjItt2rQ0Xev23b WEYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=udIT0nxu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2-20020aa7c582000000b0046157981475si13764112edq.474.2022.11.02.11.47.36; Wed, 02 Nov 2022 11:48:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=udIT0nxu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231555AbiKBSpO (ORCPT <rfc822;yves.mi.zy@gmail.com> + 99 others); Wed, 2 Nov 2022 14:45:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231560AbiKBSpJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Nov 2022 14:45:09 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C56E2F64B for <linux-kernel@vger.kernel.org>; Wed, 2 Nov 2022 11:45:08 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id ml12so13129976qvb.0 for <linux-kernel@vger.kernel.org>; Wed, 02 Nov 2022 11:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sw13xCxrWW7/c5Fz/JcFaLDrTASeOurUe6I0AYCZbD4=; b=udIT0nxuenxnrydYnnneSbq1kxmcFyNXi2DVAJTm3kehndEks41kjDCpG0lzbYIf78 PgCCATBleZBo7Vmex+/nXIzct+osTedJjN/dNlgPOt8N8ZoYVlvmtRs0jU09kjnYRlIt B5BJuNKg9fpJsLQWfJqifZIjK23+wXtJDqPhrtj2FfIWf2iyeddQNcpi6ZJRMXVD0lCc 8nP0Uc2etqzmXqbOPjSBuKvTwx9cpD6NkjY9NwEtvXriCZ1wxd0iYIkwfqnOJ3NDqcUO PkND7tSuTILfNdQ/i2KkV1f7It+RrVobFs3lvrm8j+xfNnmfaS4MPvkDRa4WFBLqcBf/ RZew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sw13xCxrWW7/c5Fz/JcFaLDrTASeOurUe6I0AYCZbD4=; b=dvN+oz/G2tOxAPmAJr/aZ8s6aX3ku9OL+2ed8SaekAcVoWNVjG5YSMVquurEu1UhRq IEckZ8H1Qv1p+Rb9KKBkYsnxVhd3gEnjoEloYnvQNr5/hAcwvf8GUaDSq4YRBhWHjLi4 O+sGuAwsZuZ+naIWr2EO6yfNSCn/9o67vqp+GQDYq8C8G08WSZzqyxtTSoVOjmjB+LbG AJFrXBssD2yiMka0lk+Qfzw5wf10sdxJ2OoM3X8CA0+UIZXfg4B7QuwNixgj88RpuM1k 6XZEFnFUcbmuD1p//8VBhA53RuIcp9OX0sdpiM9li7GWH+JP70Y9Jy0DgbWj7+CnyZmn 7hYQ== X-Gm-Message-State: ACrzQf09SYdvV/3Lk3dy2UWay+nQCJZmg1bDtHokVSEJ8xYS1c89Nyad WK2Q4nTjWNlgl4So6utJGF//qg== X-Received: by 2002:a05:6214:300e:b0:4bb:704a:ec5d with SMTP id ke14-20020a056214300e00b004bb704aec5dmr22066032qvb.42.1667414707185; Wed, 02 Nov 2022 11:45:07 -0700 (PDT) Received: from krzk-bin.. ([2601:586:5000:570:28d9:4790:bc16:cc93]) by smtp.gmail.com with ESMTPSA id w16-20020a05620a425000b006e54251993esm9090413qko.97.2022.11.02.11.45.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 11:45:06 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Lee Jones <lee@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Heiko Stuebner <heiko@sntech.de>, Sebastian Reichel <sre@kernel.org>, Hans de Goede <hdegoede@redhat.com>, Marek Szyprowski <m.szyprowski@samsung.com>, Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>, Purism Kernel Team <kernel@puri.sm>, Orson Zhai <orsonzhai@gmail.com>, Baolin Wang <baolin.wang@linux.alibaba.com>, Chunyan Zhang <zhang.lyra@gmail.com>, Dmitry Osipenko <digetx@gmail.com>, Chris Zhong <zyw@rock-chips.com>, Zhang Qing <zhangqing@rock-chips.com>, =?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>, "Andrew F. Davis" <afd@ti.com>, Artur Rojek <contact@artur-rojek.eu>, Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>, Markus Laine <markus.laine@fi.rohmeurope.com>, Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH v2 2/3] dt-bindings: power: supply: bq25890: allow power-supply fields Date: Wed, 2 Nov 2022 14:45:00 -0400 Message-Id: <20221102184501.109148-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221102184501.109148-1-krzysztof.kozlowski@linaro.org> References: <20221102184501.109148-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748411249894544605?= X-GMAIL-MSGID: =?utf-8?q?1748411249894544605?= |
Series |
[v2,1/3] dt-bindings: power: supply: define monitored-battery in common place
|
|
Commit Message
Krzysztof Kozlowski
Nov. 2, 2022, 6:45 p.m. UTC
The BQ25890 schema references common power-supply.yaml, so allow all its
properties to fix warnings like:
arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dtb: charger@6a: 'monitored-battery', 'power-supplies', ... do not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Changes since v1:
1. New patch
---
Documentation/devicetree/bindings/power/supply/bq25890.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, 02 Nov 2022 14:45:00 -0400, Krzysztof Kozlowski wrote: > The BQ25890 schema references common power-supply.yaml, so allow all its > properties to fix warnings like: > > arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dtb: charger@6a: 'monitored-battery', 'power-supplies', ... do not match any of the regexes: 'pinctrl-[0-9]+' > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Changes since v1: > 1. New patch > --- > Documentation/devicetree/bindings/power/supply/bq25890.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Rob Herring <robh@kernel.org>
Hi, On Fri, Nov 04, 2022 at 04:54:46PM -0500, Rob Herring wrote: > > On Wed, 02 Nov 2022 14:45:00 -0400, Krzysztof Kozlowski wrote: > > The BQ25890 schema references common power-supply.yaml, so allow all its > > properties to fix warnings like: > > > > arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dtb: charger@6a: 'monitored-battery', 'power-supplies', ... do not match any of the regexes: 'pinctrl-[0-9]+' > > > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > > > --- > > > > Changes since v1: > > 1. New patch > > --- > > Documentation/devicetree/bindings/power/supply/bq25890.yaml | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Reviewed-by: Rob Herring <robh@kernel.org> Thanks, queued. -- Sebastian
diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.yaml b/Documentation/devicetree/bindings/power/supply/bq25890.yaml index b7e8eeb940b9..ee51b6335e72 100644 --- a/Documentation/devicetree/bindings/power/supply/bq25890.yaml +++ b/Documentation/devicetree/bindings/power/supply/bq25890.yaml @@ -97,7 +97,7 @@ required: - ti,boost-voltage - ti,boost-max-current -additionalProperties: false +unevaluatedProperties: false examples: - |