Message ID | 20231023-pm8916-dtsi-bms-lbc-v2-1-343e3dbf423e@trvn.ru |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1105929vqx; Sun, 22 Oct 2023 23:21:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5lUipFyblh5xp0a1SxjmJXWXkw6a8m/idkAMFOzNpVnxUsa72vR5ULWAK8pyaubaRaa2V X-Received: by 2002:a05:6a21:35c8:b0:17a:e03f:5665 with SMTP id ba8-20020a056a2135c800b0017ae03f5665mr4970680pzc.31.1698042107821; Sun, 22 Oct 2023 23:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698042107; cv=none; d=google.com; s=arc-20160816; b=IMm/WCKrrn3zIXhLflY/prlieQVt3VHVAKdTM4LuFjsVjJU9WXM4Qo0LvofgBGPACD +mrnL8hdjhIh3RVsBGSvcbAlxNzQlF++BfveLt6r2PK2+HFGkYA8NZreNYniyy+PhXM5 o3tJoP+KR4I6lYMyLDolNR6YWg8N7pT+yJGnJAxwESUCT+F9cSRN6F/bKRZbB/82OHmx USwkVMmg0yXyOgALVUQkbbnx6mKugiBerzLLxlV5V4+kJRRgdj53bRK5jPbZitQHaZrk OzuQvx98bI9mYAvvrKRsgZw9Y72Hx7Qf3ohWhrD40ZJVGf2Mk6cuI6Qn/ejLs9958z30 YvEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=kIA95I2ewKTLuAAZPHe/l3g4GXWBWg5Jjaw2wiqkmHM=; fh=WJZ0ZrB0e7K7PtDZrv0aOFDugF3kN5vtBdwtzw6+lXE=; b=Y9KVxGXubdlW0TQMu4YEeW64BoW6fURG9WOhdAGJkZ6ITj6/Xrnu8E8tK2hF+S7fiP /JgKn4l7huZmyhy+MgbywaK+vGLgvnPrdTG6kQdmPYeYXuZcaPiKcQCsH0lHDi5F+XA8 iQ37CSQEKFM6XpU8UzysFSWoFkI2HkvmaDq5rOBOrN8JBrFTuTGRdWCIk0mQypAXuYbe XfDewkzyAh4UDh0bSkQCJXpqjr20uE2p+KyOH81k/Rmywk6a+Q3AHbynQdBeZxVeFDoh ee7XTtcBZTa+3dTQCAou2M6LXa1AXTKMM9GWPbusPoIiBR/8+MV3HfJPt/ooTwlnTzCa +eGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=N8kfWVYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id d31-20020a631d5f000000b005b834096959si5860357pgm.851.2023.10.22.23.21.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 23:21:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=N8kfWVYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id EBFCF8061152; Sun, 22 Oct 2023 23:21:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233490AbjJWGV1 (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Mon, 23 Oct 2023 02:21:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233352AbjJWGVY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 23 Oct 2023 02:21:24 -0400 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 846D5D70; Sun, 22 Oct 2023 23:21:22 -0700 (PDT) Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id 48ADC4C0C8; Mon, 23 Oct 2023 11:21:09 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1698042069; bh=luFC7my9PJ6B7z1i59mt1ERZ1dlWg9/dkHvKsguCUSo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=N8kfWVYwZjQOXm4rGD8cA8cbc2f5ID92oAlwrty5fvsgH/SYZ2bV8IhnfPnUF4kyV gwhH4PmlMmvTeF+h7AvT1FOFuc3JD3JT3oj54F5esz6JxKA6yBeWClW7ZNzM14XTEm ffyHKlnWmhC6IGnuCyH/O6MOfytOevcjGIWijnqwzRpnexkVqp8ZoK2g/PLVK7g0NU 4b/xJ/svcGoLxDerDhCh8D67v9hiTk1RGVWuOvRPsKp22ZX3VRcRr1IV4KMLu7wae0 A6v6UQDmc0ttVIulu83e/YSsLYBaiJtEvk1ny+JYBpQxedb1GgaY8CZu3p93NcXmmK jvaVczMxnZmiw== From: Nikita Travkin <nikita@trvn.ru> Date: Mon, 23 Oct 2023 11:20:32 +0500 Subject: [PATCH v2 1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231023-pm8916-dtsi-bms-lbc-v2-1-343e3dbf423e@trvn.ru> References: <20231023-pm8916-dtsi-bms-lbc-v2-0-343e3dbf423e@trvn.ru> In-Reply-To: <20231023-pm8916-dtsi-bms-lbc-v2-0-343e3dbf423e@trvn.ru> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>, Stephen Boyd <sboyd@kernel.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin <nikita@trvn.ru> X-Developer-Signature: v=1; a=openpgp-sha256; l=1246; i=nikita@trvn.ru; h=from:subject:message-id; bh=luFC7my9PJ6B7z1i59mt1ERZ1dlWg9/dkHvKsguCUSo=; b=owEBbQKS/ZANAwAIAUMc7O4oGb91AcsmYgBlNhDRw3kL1xMo/oFuqFrVGmBx/J1tcSHs8Vlrm O5FI2hw13SJAjMEAAEIAB0WIQTAhK9UUj+qg34uxUdDHOzuKBm/dQUCZTYQ0QAKCRBDHOzuKBm/ dTIRD/4m9cd91tQKb8ywplt7DOVB8WuPPqMB5SXFanHKRg6mQE9rcU4MiKF4Di68RkOqwvoU6eU pclYoN4+IEaZg4UW5UHumh1fl5CvCj6OvV9jwVl2XWoZ/FsizPpAmNWDMgylmAdzcRiNlGeQn5y rzndH7eloPc+NxP7dYAHiQ2pGS1cP8+xUnd5hgAH94vcOrxlYheYPXw6qzxPqEuhTIhnRdUSLAl f0sQg9oCVG4ZxZraplqeb/tZRKylaYh8YK5X+0f1wOvBKcMkuFB0L3tf/RbxZzTua6FNJO3eH4x OT9u+wavVvqWnXmUzpyO9n7FZpW9CJpwLI99Kpb8FqOcuX9cevuG2y8h2dq4ABqBQ/YbCQ+8KR8 zM53rpNlpQAW90jXDDZWSBJleQXbPxuaWn1riEeabZbA6g83PML+vQxXhaAE47ZUWOqWT2XUE19 UdSOKvcS1qzIOtRDii42YmLut4xb8PcFUOljer0ukxDOxqsN0J/OqFWD4eOicGtiAQpm9liNru5 uvfLxvcm+gybq2RtYzDIpCZoBJV2ljmUeUyfZjULZx1vlpVVkUWF2O2b9cnzeOOsayrgse0bhT9 GDwCKwiUMJimYwr87vxwDooyPEblCcRw73MmX4N92YJ5mvHNUjtnL3PeaxKjNR43cgCOcOUWB6k 7HJeSAfOVd+dn+A== X-Developer-Key: i=nikita@trvn.ru; a=openpgp; fpr=C084AF54523FAA837E2EC547431CECEE2819BF75 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sun, 22 Oct 2023 23:21:43 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780526201275557598 X-GMAIL-MSGID: 1780526201275557598 |
Series |
pm8916: Add BMS and charger
|
|
Commit Message
Nikita Travkin
Oct. 23, 2023, 6:20 a.m. UTC
PM8916 (and probably some other similar pmics) have hardware blocks for
battery monitoring and charging. Add patterns for respecive nodes so the
devicetree for those blocks can be validated properly.
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: > PM8916 (and probably some other similar pmics) have hardware blocks for > battery monitoring and charging. Add patterns for respecive nodes so the > devicetree for those blocks can be validated properly. > > Signed-off-by: Nikita Travkin <nikita@trvn.ru> > --- > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml: Error in referenced schema matching $id: http://devicetree.org/schemas/power/supply/qcom,pm8916-bms-vm.yaml doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231023-pm8916-dtsi-bms-lbc-v2-1-343e3dbf423e@trvn.ru The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
Rob Herring писал(а) 23.10.2023 22:40: > On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: >> PM8916 (and probably some other similar pmics) have hardware blocks for >> battery monitoring and charging. Add patterns for respecive nodes so the >> devicetree for those blocks can be validated properly. >> >> Signed-off-by: Nikita Travkin <nikita@trvn.ru> >> --- >> Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 ++++++ >> 1 file changed, 6 insertions(+) >> > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml: > Error in referenced schema matching $id: http://devicetree.org/schemas/power/supply/qcom,pm8916-bms-vm.yaml > > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231023-pm8916-dtsi-bms-lbc-v2-1-343e3dbf423e@trvn.ru > > The base for the series is generally the latest rc1. A different dependency > should be noted in *this* patch. > Somehow I missed the memo and thought it tracks -next... This patch depends on 7f590e3831 and 5cee843d56 in linux-next.git They were applied in [1]. I'm wondering if the bot just bails out when the "depend" is present or there is some more sophisticated logic to suggest the base to it? Sorry for the inconvenience Nikita [1] https://lore.kernel.org/r/20230915-pm8916-bms-lbc-v3-0-f30881e951a0@trvn.ru/
On Tue, 24 Oct 2023, Nikita Travkin wrote: > Rob Herring писал(а) 23.10.2023 22:40: > > On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: > >> PM8916 (and probably some other similar pmics) have hardware blocks for > >> battery monitoring and charging. Add patterns for respecive nodes so the > >> devicetree for those blocks can be validated properly. > >> > >> Signed-off-by: Nikita Travkin <nikita@trvn.ru> > >> --- > >> Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 ++++++ > >> 1 file changed, 6 insertions(+) > >> > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > yamllint warnings/errors: > > > > dtschema/dtc warnings/errors: > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml: > > Error in referenced schema matching $id: http://devicetree.org/schemas/power/supply/qcom,pm8916-bms-vm.yaml > > > > doc reference errors (make refcheckdocs): > > > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231023-pm8916-dtsi-bms-lbc-v2-1-343e3dbf423e@trvn.ru > > > > The base for the series is generally the latest rc1. A different dependency > > should be noted in *this* patch. > > > > Somehow I missed the memo and thought it tracks -next... > > This patch depends on 7f590e3831 and 5cee843d56 in linux-next.git > They were applied in [1]. > > I'm wondering if the bot just bails out when the "depend" is present > or there is some more sophisticated logic to suggest the base to it? So is this good to go, or not?
Lee Jones писал(а) 25.10.2023 17:21: > On Tue, 24 Oct 2023, Nikita Travkin wrote: > >> Rob Herring писал(а) 23.10.2023 22:40: >> > On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: >> >> PM8916 (and probably some other similar pmics) have hardware blocks for >> >> battery monitoring and charging. Add patterns for respecive nodes so the >> >> devicetree for those blocks can be validated properly. >> >> >> >> Signed-off-by: Nikita Travkin <nikita@trvn.ru> >> >> --- >> >> Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 ++++++ >> >> 1 file changed, 6 insertions(+) >> >> >> > >> > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' >> > on your patch (DT_CHECKER_FLAGS is new in v5.13): >> > >> > yamllint warnings/errors: >> > >> > dtschema/dtc warnings/errors: >> > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml: >> > Error in referenced schema matching $id: http://devicetree.org/schemas/power/supply/qcom,pm8916-bms-vm.yaml >> > >> > doc reference errors (make refcheckdocs): >> > >> > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231023-pm8916-dtsi-bms-lbc-v2-1-343e3dbf423e@trvn.ru >> > >> > The base for the series is generally the latest rc1. A different dependency >> > should be noted in *this* patch. >> > >> >> Somehow I missed the memo and thought it tracks -next... >> >> This patch depends on 7f590e3831 and 5cee843d56 in linux-next.git >> They were applied in [1]. >> >> I'm wondering if the bot just bails out when the "depend" is present >> or there is some more sophisticated logic to suggest the base to it? > > So is this good to go, or not? IMO this patch should be good, it passes the check on today's linux-next on my end. The only concern might be that if someone runs dt_binding_check on for-mfd-next, it would skip that file with an error since there is no dependency yet. If this is critical to you, I was going to respin this after the -rc1, but if you can pick the schema now, I can respin the remainder earlier. Nikita
On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: > PM8916 (and probably some other similar pmics) have hardware blocks for > battery monitoring and charging. Add patterns for respecive nodes so the > devicetree for those blocks can be validated properly. > > Applied, thanks! [1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc commit: e9aec86e211ee493081e8934b8c821d660b417ee -- Lee Jones [李琼斯]
On 25/10/2023 14:57, Nikita Travkin wrote: > Lee Jones писал(а) 25.10.2023 17:21: >> On Tue, 24 Oct 2023, Nikita Travkin wrote: >> >>> Rob Herring писал(а) 23.10.2023 22:40: >>>> On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: >>>>> PM8916 (and probably some other similar pmics) have hardware blocks for >>>>> battery monitoring and charging. Add patterns for respecive nodes so the >>>>> devicetree for those blocks can be validated properly. >>>>> >>>>> Signed-off-by: Nikita Travkin <nikita@trvn.ru> >>>>> --- >>>>> Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 ++++++ >>>>> 1 file changed, 6 insertions(+) >>>>> >>>> >>>> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' >>>> on your patch (DT_CHECKER_FLAGS is new in v5.13): >>>> >>>> yamllint warnings/errors: >>>> >>>> dtschema/dtc warnings/errors: >>>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml: >>>> Error in referenced schema matching $id: http://devicetree.org/schemas/power/supply/qcom,pm8916-bms-vm.yaml >>>> >>>> doc reference errors (make refcheckdocs): >>>> >>>> See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231023-pm8916-dtsi-bms-lbc-v2-1-343e3dbf423e@trvn.ru >>>> >>>> The base for the series is generally the latest rc1. A different dependency >>>> should be noted in *this* patch. >>>> >>> >>> Somehow I missed the memo and thought it tracks -next... >>> >>> This patch depends on 7f590e3831 and 5cee843d56 in linux-next.git >>> They were applied in [1]. >>> >>> I'm wondering if the bot just bails out when the "depend" is present >>> or there is some more sophisticated logic to suggest the base to it? >> >> So is this good to go, or not? > > IMO this patch should be good, it passes the check on today's linux-next > on my end. It's not the next which matters, but maintainers tree. > > The only concern might be that if someone runs dt_binding_check on > for-mfd-next, it would skip that file with an error since there is no > dependency yet. Eee, so this has dependency on some other tree? Then no, it is not good to go. Best regards, Krzysztof
On 25/10/2023 17:44, Lee Jones wrote: > On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: >> PM8916 (and probably some other similar pmics) have hardware blocks for >> battery monitoring and charging. Add patterns for respecive nodes so the >> devicetree for those blocks can be validated properly. >> >> > > Applied, thanks! > > [1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc > commit: e9aec86e211ee493081e8934b8c821d660b417ee Hi Lee, It seems this patch depends on something not in your tree. This should have been clearly explained in cover letter or this patch changelog, but wasn't. Please drop the patch. Best regards, Krzysztof
On Fri, 27 Oct 2023, Krzysztof Kozlowski wrote: > On 25/10/2023 17:44, Lee Jones wrote: > > On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: > >> PM8916 (and probably some other similar pmics) have hardware blocks for > >> battery monitoring and charging. Add patterns for respecive nodes so the > >> devicetree for those blocks can be validated properly. > >> > >> > > > > Applied, thanks! > > > > [1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc > > commit: e9aec86e211ee493081e8934b8c821d660b417ee > > Hi Lee, > > It seems this patch depends on something not in your tree. This should > have been clearly explained in cover letter or this patch changelog, but > wasn't. > > Please drop the patch. Done.
Lee Jones писал(а) 31.10.2023 12:54: > On Fri, 27 Oct 2023, Krzysztof Kozlowski wrote: > >> On 25/10/2023 17:44, Lee Jones wrote: >> > On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: >> >> PM8916 (and probably some other similar pmics) have hardware blocks for >> >> battery monitoring and charging. Add patterns for respecive nodes so the >> >> devicetree for those blocks can be validated properly. >> >> >> >> >> > >> > Applied, thanks! >> > >> > [1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc >> > commit: e9aec86e211ee493081e8934b8c821d660b417ee >> >> Hi Lee, >> >> It seems this patch depends on something not in your tree. This should >> have been clearly explained in cover letter or this patch changelog, but >> wasn't. >> >> Please drop the patch. > > Done. Hi, v6.7-rc1 now includes the dependencies for this bindings change, could you pick it up again? Or maybe I should respin the series with it included back? Sorry for making this inconvenient for you... Nikita
On 14/11/2023 06:24, Nikita Travkin wrote: > Lee Jones писал(а) 31.10.2023 12:54: >> On Fri, 27 Oct 2023, Krzysztof Kozlowski wrote: >> >>> On 25/10/2023 17:44, Lee Jones wrote: >>>> On Mon, 23 Oct 2023 11:20:32 +0500, Nikita Travkin wrote: >>>>> PM8916 (and probably some other similar pmics) have hardware blocks for >>>>> battery monitoring and charging. Add patterns for respecive nodes so the >>>>> devicetree for those blocks can be validated properly. >>>>> >>>>> >>>> >>>> Applied, thanks! >>>> >>>> [1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc >>>> commit: e9aec86e211ee493081e8934b8c821d660b417ee >>> >>> Hi Lee, >>> >>> It seems this patch depends on something not in your tree. This should >>> have been clearly explained in cover letter or this patch changelog, but >>> wasn't. >>> >>> Please drop the patch. >> >> Done. > > Hi, v6.7-rc1 now includes the dependencies for this bindings change, > could you pick it up again? Or maybe I should respin the series > with it included back? > > Sorry for making this inconvenient for you... The best is usually if you resend it, with short update under --- changelog (or cover letter) explaining why. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index 9fa568603930..49103e07032a 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -134,9 +134,15 @@ patternProperties: type: object $ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml# + "^battery@[0-9a-f]+$": + type: object + oneOf: + - $ref: /schemas/power/supply/qcom,pm8916-bms-vm.yaml# + "^charger@[0-9a-f]+$": type: object oneOf: + - $ref: /schemas/power/supply/qcom,pm8916-lbc.yaml# - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml# - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml# - $ref: /schemas/power/supply/qcom,pmi8998-charger.yaml#