From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53])
	(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 2CD1948C403
	for <linux-pm@vger.kernel.org>; Tue,  3 Mar 2026 15:33:02 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1772551983; cv=none; b=Je0aB3zTjGvTYpBqXa1hZWioLr2Mufykt7EsXVkt0YYGk7hHIBqyI2r4HTCLL/CYi4p2t3EFDgkPr+6sawWFyDu856bQQrIXcCPNXCbGhq3NUByk/4eatW5ZkMo10cdO5YDePLCcrNTGN1aKgv+3/4QnkvOx9Py8btz6nuurEMA=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1772551983; c=relaxed/simple;
	bh=gbAU4zrwrEG67lPkWkojKT2Pi1hPLMXLErFJjWvmqxE=;
	h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:
	 In-Reply-To:To:Cc; b=r0+1lutZXJ80Jclpl1jUh7vxucnObcnFnZqRDIqQ0tDZGWLpsdWcPmdqKdmhfATS3NMZPI9qEXz9Hza++fK53Zkl73jYN+eqZUT452lEpj5atavRkBwq7oYTYf1WKJ/3As0NjyJ9aZlExl29Sw9DKYl1RrJgYh+FYrXvS/u/Ric=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net; spf=pass smtp.mailfrom=flipper.net; dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b=oqkLLGo2; arc=none smtp.client-ip=209.85.221.53
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flipper.net
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b="oqkLLGo2"
Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-439b7a87fb5so1426701f8f.3
        for <linux-pm@vger.kernel.org>; Tue, 03 Mar 2026 07:33:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=flipper.net; s=google; t=1772551981; x=1773156781; 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=0oaDOn0WoQIww/ZnO38d/qe82lVLUA14KTAKUsdavPQ=;
        b=oqkLLGo2zzmpXiRfHiNgvtcXzOijpZarRBOT9Z+G5/LhJ0ylVoSbRcXZEpcI6hE7Do
         +MZnhzf1rmKdat6ZKVdoICSOiy/6V2wfLvxaFlF6KdAZAs0y80Sq3DKMScYsWwek9KEY
         SpGRl1SaT2VSpS3qZX6r1snTAVBw7mpPdpgS7kF1Ywr8AEybLfqC8g/+c6GHBRQeix/y
         zDmb/oA4yxXvpbkCj8eLbzngnvsc4COZanNiHMT7wjqcFymFulu2LRhI0Pueph2y3Vy6
         7MwZDoQnWVy2HGGxus6f6HtRfxU5yUgJMQiEpm1DJQ0oToVhdxuQmbrjOfFRQwg7Y3Jc
         uBnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1772551981; x=1773156781;
        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
         :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to
         :cc:subject:date:message-id:reply-to;
        bh=0oaDOn0WoQIww/ZnO38d/qe82lVLUA14KTAKUsdavPQ=;
        b=LaXcMs1npExHUt4Txea3sCbKTSH9QqsNObYswSWsV3tvMC3z9xXSTV/KHsO0xv6yAR
         A/TD3cd9/4cGZ5L9VkRT5A+MIsKxhwm/Uktfwp3BzF8GdYYkWnBEKMO6z29C8R1ZHXfy
         RTSPXbZefxT7e+4IlGrG7vXdTKmh2irdTcaSGloWuWao99qzl64zzB8Qxcsqc8Ky5c7z
         YUb5GhBlvMe6TFrr7fZRh42ma6SzXZ9WiFsbxeXQJH0iPD+SVKfNxPdkjilbdvD1YwNg
         wL8Kll6JHJldRVOdm+omFtPyaRnHz6uB8l2PSdyOVIsoSyxt3eLTtFToEzwbj20vgeLx
         sRqg==
X-Forwarded-Encrypted: i=1; AJvYcCUIyWDPZbS1Mv/11PdsYLfFXrMhgGMYdwHu4/zXlIwo4fhYD5pjN4h8ciCMcNiEdGFknw8rLHzcug==@vger.kernel.org
X-Gm-Message-State: AOJu0Yy6NfnLDR5YPjmwmwvwA8pLAEfc5lqfnnN//WIG8+1GB8MjAU/C
	DrD/4uDfPWh4SzxmculqtrNg1IfzHWrmCHurD6UDtvjMuljYDZXmbD3sfWfuThAMXls=
X-Gm-Gg: ATEYQzwHZoL17q+nu+KT2SnxsFuQHOGZDok/rgp3aTf5ETdXC6ecBmmjonT1IRyLVxj
	C/mNSWz7ZbgDOf7NY3ZLTTjWTftYIgIHa30h/UlI875kO4CO0F757zSi8F5BbSVGVMQjLcZCXM5
	nKhY+F9tAbytUoPwakTFj2HmRRiJuEevosBXXRzqHsjquLE3crGJocry0la4zC9IjN4C63uUCna
	4eMLy50SgSCGGjkWNDU/RCOyY/hHFrOCeEezjGPGQROKWowz8SnwNFbngFJpqGclzEKR77xh+eU
	T73/MEicOAUSaeNVkbd+V3GuT2u0E4o5hKxwYiedd0wdoGmZC2LU+HzDIDEtKl+RC0V9u6pslxW
	anDFwKPz3+JwpR8VD6xUBUarVMSZ9xHvrs2O+VkkKKFJ2TXBRADl84MYNeDOP5+AOg2+/6znOKt
	pRNzh6uhUynpWKJTUHq0xDAWw7vw54K2W2iVV8A1evAxXfX03af9nzdVmZjtP50XEiOGnD+wQmI
	ys=
X-Received: by 2002:a05:6000:22c1:b0:439:c018:60f2 with SMTP id ffacd0b85a97d-439c0186351mr5563064f8f.12.1772551979971;
        Tue, 03 Mar 2026 07:32:59 -0800 (PST)
Received: from alchark-surface.localdomain (bba-94-59-44-101.alshamil.net.ae. [94.59.44.101])
        by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439b55d15besm19799447f8f.30.2026.03.03.07.32.57
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Tue, 03 Mar 2026 07:32:59 -0800 (PST)
From: Alexey Charkov <alchark@flipper.net>
Date: Tue, 03 Mar 2026 19:32:46 +0400
Subject: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include
 BQ25792
Precedence: bulk
X-Mailing-List: linux-pm@vger.kernel.org
List-Id: <linux-pm.vger.kernel.org>
List-Subscribe: <mailto:linux-pm+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-pm+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>
References: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net>
In-Reply-To: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net>
To: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>, 
 Krzysztof Kozlowski <krzk+dt@kernel.org>, 
 Conor Dooley <conor+dt@kernel.org>, Chris Morgan <macromorgan@hotmail.com>, 
 Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, 
 Sebastian Reichel <sre@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, 
 Sebastian Reichel <sebastian.reichel@collabora.com>, 
 linux-pm@vger.kernel.org, Alexey Charkov <alchark@flipper.net>
X-Mailer: b4 0.14.3
X-Developer-Signature: v=1; a=openpgp-sha256; l=4128; i=alchark@flipper.net;
 h=from:subject:message-id; bh=gbAU4zrwrEG67lPkWkojKT2Pi1hPLMXLErFJjWvmqxE=;
 b=owGbwMvMwCW2adGNfoHIK0sZT6slMWQu+6+m/jp+k5yUXuG982Z5fbkB6av9PFj4MhN5Trb1f
 FLI+mvYMZGFQYyLwVJMkWXutyW2U434Zu3y8PgKM4eVCWSItEgDAxCwMPDlJuaVGukY6ZlqG+oZ
 GuoY6xgxcHEKwFT/r2D47+DMreW4sfehk+e1Po8gri9zP5+ckFD5sabBrNhCUfbJOoZ/ikvnSz3
 ruXcxPqyINTt1YVNNR0y+7oeP6um/2+RiWx4xAwA=
X-Developer-Key: i=alchark@flipper.net; a=openpgp;
 fpr=9DF6A43D95320E9ABA4848F5B2A2D88F1059D4A5

TI BQ25792 is similar in operation to BQ25703A, but has a different
register layout and different current/voltage capabilities.

Expand the existing BQ25703A binding to include BQ25792, and move the
voltage and current limits into per-variant conditional statements.

Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
 .../devicetree/bindings/mfd/ti,bq25703a.yaml       | 79 +++++++++++++++++-----
 1 file changed, 62 insertions(+), 17 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml b/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
index ba14663c9266..99b4fba7c1d4 100644
--- a/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
@@ -4,7 +4,7 @@
 $id: http://devicetree.org/schemas/mfd/ti,bq25703a.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: BQ25703A Charger Manager/Buck/Boost Converter
+title: BQ257xx Charger Manager/Buck/Boost Converter
 
 maintainers:
   - Chris Morgan <macromorgan@hotmail.com>
@@ -14,7 +14,9 @@ allOf:
 
 properties:
   compatible:
-    const: ti,bq25703a
+    enum:
+      - ti,bq25703a
+      - ti,bq25792
 
   reg:
     const: 0x6b
@@ -23,9 +25,6 @@ properties:
     description:
       Maximum total input current allowed used for both charging and
       powering the device.
-    minimum: 50000
-    maximum: 6400000
-    default: 3250000
 
   interrupts:
     maxItems: 1
@@ -50,18 +49,10 @@ properties:
 
         properties:
           regulator-name: true
-          regulator-min-microamp:
-            minimum: 0
-            maximum: 6350000
-          regulator-max-microamp:
-            minimum: 0
-            maximum: 6350000
-          regulator-min-microvolt:
-            minimum: 4480000
-            maximum: 20800000
-          regulator-max-microvolt:
-            minimum: 4480000
-            maximum: 20800000
+          regulator-min-microamp: true
+          regulator-max-microamp: true
+          regulator-min-microvolt: true
+          regulator-max-microvolt: true
           enable-gpios:
             description:
               The BQ25703 may require both a register write and a GPIO
@@ -74,6 +65,60 @@ properties:
           - regulator-min-microvolt
           - regulator-max-microvolt
 
+  allOf:
+    - if:
+        properties:
+          compatible:
+            const: ti,bq25703a
+      then:
+        properties:
+          input-current-limit-microamp:
+            minimum: 500000
+            maximum: 6350000
+            default: 5000000
+          regulators:
+            properties:
+              vbus:
+                properties:
+                  regulator-min-microamp:
+                    minimum: 0
+                    maximum: 6350000
+                  regulator-max-microamp:
+                    minimum: 0
+                    maximum: 6350000
+                  regulator-min-microvolt:
+                    minimum: 4480000
+                    maximum: 20800000
+                  regulator-max-microvolt:
+                    minimum: 4480000
+                    maximum: 20800000
+    - if:
+        properties:
+          compatible:
+            const: ti,bq25792
+      then:
+        properties:
+          input-current-limit-microamp:
+            minimum: 1000000
+            maximum: 3300000
+            default: 3000000
+          regulators:
+            properties:
+              vbus:
+                properties:
+                  regulator-min-microamp:
+                    minimum: 0
+                    maximum: 3320000
+                  regulator-max-microamp:
+                    minimum: 0
+                    maximum: 3320000
+                  regulator-min-microvolt:
+                    minimum: 2800000
+                    maximum: 22000000
+                  regulator-max-microvolt:
+                    minimum: 2800000
+                    maximum: 22000000
+
 unevaluatedProperties: false
 
 required:

-- 
2.52.0


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D34CA3C2793;
	Tue,  3 Mar 2026 16:26:31 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1772555191; cv=none; b=Sl8HA/3ZC7I6I2gDy0KKELEM++chyDwnRGIQ7Q0yYuNnaWHXnG6OXKoo89PWHSUrZLb17d2aHrWU+VsxtPABWyOfVDaRHXln8EYzHsE9L01u2BYyS9rYzH7bemRvz/W8n3JmMujt8bRVBq3oNR1nQNN+GCLjvsNGOwJIZDaZUY8=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1772555191; c=relaxed/simple;
	bh=CNof27mBd7wDf5xVAmiF83SJwHYfTGHuU1OvIIJqavM=;
	h=Date:Content-Type:MIME-Version:From:Cc:To:In-Reply-To:References:
	 Message-Id:Subject; b=sluP1TsCE15FaUnsAkK67Q17V9Tq75N9otWpHXJtD55WgBY/2AeqkRAETXWeVv9NCHpOSWBLUIkFhpcgFU3CRaZORtaGtaNwaP4aRgrUbh027arj3AQKJnPDvaTErNQ2lwdoyOJkO4qiz/2ONKZF4Jsu3QGdj6tGvlfj4Qw9bTw=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lylUKGGk; arc=none smtp.client-ip=10.30.226.201
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lylUKGGk"
Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7122FC116C6;
	Tue,  3 Mar 2026 16:26:31 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
	s=k20201202; t=1772555191;
	bh=CNof27mBd7wDf5xVAmiF83SJwHYfTGHuU1OvIIJqavM=;
	h=Date:From:Cc:To:In-Reply-To:References:Subject:From;
	b=lylUKGGk1Z4QWPsJvE3c0aZaw7lLVxGzIFr3G6NLL5nzncLwG0jjky3MI96HllUhO
	 GAbziDezN4B5SrzxMzX2vk+WqyPgCpxXR7tCjx0JnFldU+RqctcMM5gIE12lkOJeL1
	 9jh4YfNT1U058uUj+DCw5xbX5RDmEUALuLHT+F2ATs3ZqU05ft6rqx0O5xjFpo/Jl2
	 FUflsZD9HbSHhDEmY+LRAkOHhFCIWibT1plvQ5Y2fhicm4CxIdnfx6kyQrElqY/TFz
	 83l01dHPENFtSljUdFVf9KOZUtfIhU7YDSXiTGccqEMPBYOB25aIkEA14y05PiaAt+
	 La63c7PM674OA==
Date: Tue, 03 Mar 2026 10:26:30 -0600
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Precedence: bulk
X-Mailing-List: linux-pm@vger.kernel.org
List-Id: <linux-pm.vger.kernel.org>
List-Subscribe: <mailto:linux-pm+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-pm+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
From: "Rob Herring (Arm)" <robh@kernel.org>
Cc: Lee Jones <lee@kernel.org>, Chris Morgan <macromorgan@hotmail.com>, 
 Liam Girdwood <lgirdwood@gmail.com>, 
 Sebastian Reichel <sebastian.reichel@collabora.com>, 
 Conor Dooley <conor+dt@kernel.org>, 
 Krzysztof Kozlowski <krzk+dt@kernel.org>, linux-kernel@vger.kernel.org, 
 Mark Brown <broonie@kernel.org>, Sebastian Reichel <sre@kernel.org>, 
 linux-pm@vger.kernel.org, devicetree@vger.kernel.org
To: Alexey Charkov <alchark@flipper.net>
In-Reply-To: <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>
References: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net>
 <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>
Message-Id: <177255519061.3485716.8870568133764595988.robh@kernel.org>
Subject: Re: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include
 BQ25792


On Tue, 03 Mar 2026 19:32:46 +0400, Alexey Charkov wrote:
> TI BQ25792 is similar in operation to BQ25703A, but has a different
> register layout and different current/voltage capabilities.
> 
> Expand the existing BQ25703A binding to include BQ25792, and move the
> voltage and current limits into per-variant conditional statements.
> 
> Signed-off-by: Alexey Charkov <alchark@flipper.net>
> ---
>  .../devicetree/bindings/mfd/ti,bq25703a.yaml       | 79 +++++++++++++++++-----
>  1 file changed, 62 insertions(+), 17 deletions(-)
> 

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: ignoring, error in schema: properties: allOf
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties: 'allOf' should not be valid under {'$ref': '#/definitions/json-schema-prop-names'}
	hint: A json-schema keyword was found instead of a DT property name.
	from schema $id: http://devicetree.org/meta-schemas/keywords.yaml
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maximum': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-min-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-microvolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'properties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'default': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'minimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimum': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
	from schema $id: http://devicetree.org/meta-schemas/keywords.yaml
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maximum': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-min-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-microvolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'properties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'default': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'minimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimum': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maximum': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-min-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-microvolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'properties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'default': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'minimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimum': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maximum': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-min-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-microvolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'properties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'default': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'minimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimum': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maximum': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-min-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-microvolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'properties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'default': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'minimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimum': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maximum': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-min-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-microvolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'properties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'default': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'minimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimum': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maximum': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-min-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-microvolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'properties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'default': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'minimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimum': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maximum': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-min-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-microvolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'properties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'input-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'default': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'minimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimum': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
Traceback (most recent call last):
  File "/usr/local/bin/dt-doc-validate", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/local/lib/python3.13/dist-packages/dtschema/doc_validate.py", line 66, in main
    ret |= check_doc(f)
           ~~~~~~~~~^^^
  File "/usr/local/lib/python3.13/dist-packages/dtschema/doc_validate.py", line 37, in check_doc
    dtsch.check_schema_refs()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/dist-packages/dtschema/schema.py", line 241, in check_schema_refs
    self._check_schema_refs(resolver, self)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/dtschema/schema.py", line 212, in _check_schema_refs
    self._check_schema_refs(resolver, v, parent=k, is_common=is_common,
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            has_constraint=has_constraint)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/dtschema/schema.py", line 216, in _check_schema_refs
    self._check_schema_refs(resolver, schema[i], parent=parent, is_common=is_common,
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            has_constraint=has_constraint)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/dtschema/schema.py", line 203, in _check_schema_refs
    ref_sch = resolver.lookup(schema['$ref']).contents
              ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/referencing/_core.py", line 682, in lookup
    retrieved = self._registry.get_or_retrieve(uri)
  File "/usr/local/lib/python3.13/dist-packages/referencing/_core.py", line 422, in get_or_retrieve
    registry = self.crawl()
  File "/usr/local/lib/python3.13/dist-packages/referencing/_core.py", line 500, in crawl
    id = resource.id()
  File "/usr/local/lib/python3.13/dist-packages/referencing/_core.py", line 231, in id
    id = self._specification.id_of(self.contents)
  File "/usr/local/lib/python3.13/dist-packages/referencing/jsonschema.py", line 50, in _dollar_id
    return contents.get("$id")
           ^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'get'
Documentation/devicetree/bindings/mfd/ti,bq25703a.example.dtb: /example-0/i2c/charger@6b: failed to match any schema with compatible: ['ti,bq25703a']

doc reference errors (make refcheckdocs):

See https://patchwork.kernel.org/project/devicetree/patch/20260303-bq25792-v1-1-e6e5e0033458@flipper.net

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.


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 38E8D391842;
	Wed,  4 Mar 2026 08:32:40 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1772613160; cv=none; b=dqdZrY4mnUUSJkjX2vtVnToKq2NLca5VL8+oRfl97V9kp8hECCOE7+g+ojHEhEolO9+4+/qxaFrLuoxh6YfqpvC4XBiNsFeXniq0InIP0a2gm5KcRQ2e2UseQuMNq8Y4q6pOn8r5ySQrSWKsdHeaPwZuCbQxjFMbr93NbPD1iNQ=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1772613160; c=relaxed/simple;
	bh=OAn7qPHFY7S2uR+hLeXahcKaOgemHG+Q+TXolKgw8Z0=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=E0dsFhtChD7gGJjubXbbzxniD2+wQIBuj5lt9zd45NJLwtDqxHB8WFAvhkg4USBVS+RFuKyRE+PIVjAljtt98874nq6xOQeOQE/8PDl9+noJJmI9M4ZrcpwFppC5EBtUgov/zMZT4wtCMoIuYDf8NQW2aEr9a2QDi5a+/JipFJc=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nG+5oQB9; arc=none smtp.client-ip=10.30.226.201
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nG+5oQB9"
Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8894CC19425;
	Wed,  4 Mar 2026 08:32:39 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
	s=k20201202; t=1772613160;
	bh=OAn7qPHFY7S2uR+hLeXahcKaOgemHG+Q+TXolKgw8Z0=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=nG+5oQB9JilC3wUmQu4qcom1kCybfPmTReuyQs14WuyRTOvJuIUFwY935dtIHWYi+
	 b+OoO9PYFcNaaCG92yG4BHhCMiJxDDtZToTaymeMHNmEcZU90Y61TncRxpm6LtlXem
	 B5jvefPZPra8Jb8AB0vUOYeNzdkhNZp3I0Osjn+OeG8/HySogckGWRq5jdgTq6Wn4T
	 VWcSiK+tET7U/O64+QaP+chfIXrc2vZZ+AfH9znlXpUKSldSWuiJ1XKXZkPXyZhmEK
	 qmPHq44kOwKhSK1sbhL4VErrRhhIouNNfJXHd4pUppn7avOuHVkZUU34NWnNEllAPI
	 kijiasR5nNMpw==
Date: Wed, 4 Mar 2026 09:32:37 +0100
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Alexey Charkov <alchark@flipper.net>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>, 
	Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, 
	Chris Morgan <macromorgan@hotmail.com>, Liam Girdwood <lgirdwood@gmail.com>, 
	Mark Brown <broonie@kernel.org>, Sebastian Reichel <sre@kernel.org>, devicetree@vger.kernel.org, 
	linux-kernel@vger.kernel.org, Sebastian Reichel <sebastian.reichel@collabora.com>, 
	linux-pm@vger.kernel.org
Subject: Re: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include
 BQ25792
Message-ID: <20260304-groovy-vicugna-of-energy-5efecb@quoll>
References: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net>
 <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>
Precedence: bulk
X-Mailing-List: linux-pm@vger.kernel.org
List-Id: <linux-pm.vger.kernel.org>
List-Subscribe: <mailto:linux-pm+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-pm+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>

On Tue, Mar 03, 2026 at 07:32:46PM +0400, Alexey Charkov wrote:
> TI BQ25792 is similar in operation to BQ25703A, but has a different
> register layout and different current/voltage capabilities.
> 
> Expand the existing BQ25703A binding to include BQ25792, and move the
> voltage and current limits into per-variant conditional statements.
> 
> Signed-off-by: Alexey Charkov <alchark@flipper.net>
> ---
>  .../devicetree/bindings/mfd/ti,bq25703a.yaml       | 79 +++++++++++++++++-----
>  1 file changed, 62 insertions(+), 17 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml b/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
> index ba14663c9266..99b4fba7c1d4 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
> @@ -4,7 +4,7 @@
>  $id: http://devicetree.org/schemas/mfd/ti,bq25703a.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: BQ25703A Charger Manager/Buck/Boost Converter
> +title: BQ257xx Charger Manager/Buck/Boost Converter
>  
>  maintainers:
>    - Chris Morgan <macromorgan@hotmail.com>
> @@ -14,7 +14,9 @@ allOf:
>  
>  properties:
>    compatible:
> -    const: ti,bq25703a
> +    enum:
> +      - ti,bq25703a
> +      - ti,bq25792
>  
>    reg:
>      const: 0x6b
> @@ -23,9 +25,6 @@ properties:
>      description:
>        Maximum total input current allowed used for both charging and
>        powering the device.
> -    minimum: 50000
> -    maximum: 6400000
> -    default: 3250000

Broadest constraints allways stay. See writing bindings and writing schema.

>  
>    interrupts:
>      maxItems: 1
> @@ -50,18 +49,10 @@ properties:
>  
>          properties:
>            regulator-name: true
> -          regulator-min-microamp:
> -            minimum: 0
> -            maximum: 6350000
> -          regulator-max-microamp:
> -            minimum: 0
> -            maximum: 6350000
> -          regulator-min-microvolt:
> -            minimum: 4480000
> -            maximum: 20800000
> -          regulator-max-microvolt:
> -            minimum: 4480000
> -            maximum: 20800000

Best regards,
Krzysztof


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7076639150A;
	Wed,  4 Mar 2026 08:33:18 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1772613198; cv=none; b=JSzIc1KBmnGCV5Um4Ke8oM0q2dYCE9ySqV5NYeiP9aDYv+D8c3IPZegwH9hEFEDBnxJVNXfp7hGJwlhnOJJr60RqUWguaUgfAgPHZe+/wYbAKlRb9ZFGDqbRJv/pF9WwjZGm49ou/RnknmJwGH8X0/3/I2egwLXCjZr7TkAg40c=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1772613198; c=relaxed/simple;
	bh=8DYzQRKsMra55l5GwvXKMq4BaXEbDFqKZmM5iSmxJUY=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=qjLtFOWT7mc4lYBlD+28nn1NW9AhEoKt1cZN3esq+H5xZul++BeQE5lyMB9YrtdZR+vI53RyvAVFqmYKq8kYhG9sB6zGmGrg5OyT1O+KQ/FJx+2eKGw+cpwjUXh0Vy7rwGOpd5Z7PksOtqxDu+XtINROeeTAU4Z+rHc28rTJpwQ=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GNLdJVuG; arc=none smtp.client-ip=10.30.226.201
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GNLdJVuG"
Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93EFFC19423;
	Wed,  4 Mar 2026 08:33:17 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
	s=k20201202; t=1772613198;
	bh=8DYzQRKsMra55l5GwvXKMq4BaXEbDFqKZmM5iSmxJUY=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=GNLdJVuGVzGaCRM8Uw8dbzpFxRc7ef3myQXuNB7bBQANHzESlyO5AJwrd4S8e62tg
	 e+/c4YbGrGXzMYfP9Zy3ZnLaKXHIPKfJwITZGq9ejckkHr8ubjUPxBqReIKsS4ssVt
	 bToPDg59+c08EsnmD+MWIFG4Z+mCfOMPiN/u+xGNKLLo1L/e5QgTH73rFWMh/dEGpI
	 6Mms07s3A1oBy27ufJ53ZxRCkCinSV7LeP21JbhLmd6lNES57phc0BpGWOd+ZCIfIn
	 ohD46HMkweN9IH3HMtK8IFAEozFZrIvp+Oz4EVSiDrAq4Vche3MsS07vJTfnIGqf7C
	 ZdVpCr9GL9y/A==
Date: Wed, 4 Mar 2026 09:33:15 +0100
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Alexey Charkov <alchark@flipper.net>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>, 
	Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, 
	Chris Morgan <macromorgan@hotmail.com>, Liam Girdwood <lgirdwood@gmail.com>, 
	Mark Brown <broonie@kernel.org>, Sebastian Reichel <sre@kernel.org>, devicetree@vger.kernel.org, 
	linux-kernel@vger.kernel.org, Sebastian Reichel <sebastian.reichel@collabora.com>, 
	linux-pm@vger.kernel.org
Subject: Re: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include
 BQ25792
Message-ID: <20260304-fantastic-butterfly-of-abracadabra-8fb2c4@quoll>
References: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net>
 <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>
Precedence: bulk
X-Mailing-List: linux-pm@vger.kernel.org
List-Id: <linux-pm.vger.kernel.org>
List-Subscribe: <mailto:linux-pm+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-pm+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>

On Tue, Mar 03, 2026 at 07:32:46PM +0400, Alexey Charkov wrote:
>            enable-gpios:
>              description:
>                The BQ25703 may require both a register write and a GPIO
> @@ -74,6 +65,60 @@ properties:
>            - regulator-min-microvolt
>            - regulator-max-microvolt
>  
> +  allOf:

Heh, why bothering to test your code before sending...

Best regards,
Krzysztof


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51])
	(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 CA2DC375F6B
	for <linux-pm@vger.kernel.org>; Wed,  4 Mar 2026 08:50:39 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.208.51
ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1772614241; cv=pass; b=Uj7TFLxOBAZEw0HEj6wVe38yBlkYfAlAefyzzIr0YV/DlelFuDVT+plFqEFGsnQSJzRXX9raEN7hI77l7lEagVnU3MNCYWBs8tuFI+fnbsyeF1bqfdtxVsEi+x8peW5Q7M6c//+y9Ew5qFALXl+PyXyAwLy2vzOGywNvC5IHFYI=
ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1772614241; c=relaxed/simple;
	bh=EdTX5TuFkhXSLCBtncSiU2M1P0S7h1stnKyzhL2JZZk=;
	h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
	 To:Cc:Content-Type; b=dPzDuoftAWbMR31u/yi463fxX8MMn607zUrmGNARBsOKaCSELZWOM5tTjDpfNT5LAIqZNIwgDhlJ4jnMnkQ1eqAx6RE6Q1/SP4nypOXC56gk2vdbvR+EUUBtQgY16X4i/y/9pH5ckkQwDeezAGWO3BkDPW1i+8aDQnmrMG15R4A=
ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net; spf=pass smtp.mailfrom=flipper.net; dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b=RGvVfkki; arc=pass smtp.client-ip=209.85.208.51
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flipper.net
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b="RGvVfkki"
Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-65f767a8d62so11267186a12.2
        for <linux-pm@vger.kernel.org>; Wed, 04 Mar 2026 00:50:39 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1772614238; cv=none;
        d=google.com; s=arc-20240605;
        b=O5YFaSBqghxAelQC3qKkammRPLdsHI+6v58HfhpVFv1ID91eAx9qTx2IiHTPc//N+g
         nvgBdMSgoo8AB14yznkQszsG2sYqHOCy04I6StgQc+pNkb7OOOSo1P87gzUMajNFcnZQ
         IsGdNDj49kkzlCQXIvyUHFwp58ArbGrsqMX+jm4vTLytnkZachH5px9OS2AxbRpQguk+
         Sw4FfqwpDFSOp81Ldr+CMkyUtlbhRro5foJd/uoy1kGVtI2rLJNw8fZVJLV3AlLlPuuH
         R209fZrXzci6X98DYfpVjlDU6Z7JPaDlTxVJQS2bPlsne94lP+tPMibFtwJ8ir0vMD42
         MCXA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=O1AyqKB6U6McXYmXYuZ647o1s2nu0DxWk44GRlK2N3g=;
        fh=O1x3+lwA5h+RjehQsuoYCSz6ChZHCMFqQxapGYvCqIs=;
        b=lBx4zJ+6/dBaZIGIeFiqoeBxDhGWUQiLRc459xGoTmhtomxfxlsiHJC65jkWzib7bp
         UfqhOFQ8BHV+HRpIYFdny3WjarlirD8LNpbIIu9l0hxPvy/qoxKLyDP89PaxCrv5tF7J
         k8zy+kPKJfP5mXqPeyC8n1IO8/mUN4FcM4MXyPWUtyUgqCpPfKt8PY6u8FsS8W3/Dfwg
         WKWEomfEV3YP2/I9USVonLaOX2QitWD0ci2D/GVmfBpW+KEMKog5oAmQskDLdEKwvcdA
         1UVxB3AE4ilGzCFtGgswI41IGfeVcnkEZ9EhDTImR08SwCS5xq+u0/vwcgME7HbH2CBX
         0rlA==;
        darn=vger.kernel.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=flipper.net; s=google; t=1772614238; x=1773219038; darn=vger.kernel.org;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to;
        bh=O1AyqKB6U6McXYmXYuZ647o1s2nu0DxWk44GRlK2N3g=;
        b=RGvVfkkiXTHtAX6fOTZ+TKuamVKvdyEY9NPlfagSKRJKtt7MNYsRytzvTs79hEV49l
         tdD4QPg7m5pIDboqtfHAWw6AAv0oe3N3/ZDKGJt1Hnn/vCdnFAP/Ir/Fl8p95GNk496i
         KMWU+3GFqqlXEr8eJcrJ7mV5X8v0UmGx6dDH9VlDyewICXq1N+tOUKPpdWrmaf4YEIlu
         TuywfFkIOdubdS8Xxx/CeeZkuirpZrkHd7TuAT/KyaNpfQoVgNEfj/LQ9eePvaiZkRIF
         UGl/+KxSu0+gi7piDo63K2DYvnX2Hn0Gv8S9ctor2LMNaDQdDjPjkU4YkJfCtqrAh8Ft
         MoLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1772614238; x=1773219038;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to;
        bh=O1AyqKB6U6McXYmXYuZ647o1s2nu0DxWk44GRlK2N3g=;
        b=PEcEc9WF54huA+LGKMlJ3r3C9kuwE/N5sUqgbz5gqnseU0PQsnTIEcOhqXWKOzHNLh
         VvDZwQrxcDz2+LdL0LuOhE4wTzgU8ugJAIUsPWENQG2KCRtoo8sY6pj5eVFcHpfwozv/
         vX7+eE6NccR61zHJ8lonJu38aQ90XtZ8VRzAePvi5uebzKrzsJ+oOc5PuUlf7CR0HjYX
         He5NaclNEpj6VYUD23n/Sq1wMfzU253XvJEC97Ecein13WdkOqb9tLwHd86/xi135Mlw
         KdhhFh+Aid5J/cgB5+/oSMOeTzhgHT44yKrE1tRp3ZHw2pxoUAjE2+HawmH4X42L3aVC
         O5yg==
X-Forwarded-Encrypted: i=1; AJvYcCUxqYRQOUqRA1CoNdxV41bUHQMeY1OK+nxpfapyehbzl/zKrdmnISs1E935uMdMSbWYQHdw7boyug==@vger.kernel.org
X-Gm-Message-State: AOJu0Yyvu5hkpUgQUEwfA66GgOse9RQIFIibrPUMtER4tDKmAsC5mSVD
	2TyoF43B5Ns8EaGdjyFj8W5JAQzlIip5UkiRyYCRRl9wsnZQiEo+76HPsQKILs5FIJlB9ASWfDU
	4BnSeuoWsHVZf9v/U2SHl41XJ+/y4Xs2qrUTzShtwwg==
X-Gm-Gg: ATEYQzwbFLxlMN+muJgew3HH4RrLkK3/Mz7leKIh56DT/hpQ+/DXCRwgUGJPwoSkFRu
	NOhifaFDlP9RLNejAMQWMjBtD+pJ6EYUNzUbiqowfZEbaW3h8aHdZjw1K3TUNJGRb0V7F7wQerf
	LD9A3/jlWAdLLpIZ410fhsyL1CRpdkCDrhAqK1kOvU9XkzaWoNENsMX0g+NtGg6R+VvxNbA57wJ
	thxToj3dWDnbFib3bE1c3hEj9fhgmyzUvAy96iOyYI4IluyN6GRMoLyuJIMXAZTs+OFYrgswXQD
	0royoQ==
X-Received: by 2002:a17:907:7b85:b0:b88:463e:b55f with SMTP id
 a640c23a62f3a-b93f11bbd56mr69256566b.6.1772614237849; Wed, 04 Mar 2026
 00:50:37 -0800 (PST)
Precedence: bulk
X-Mailing-List: linux-pm@vger.kernel.org
List-Id: <linux-pm.vger.kernel.org>
List-Subscribe: <mailto:linux-pm+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-pm+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
References: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net>
 <20260303-bq25792-v1-1-e6e5e0033458@flipper.net> <20260304-groovy-vicugna-of-energy-5efecb@quoll>
In-Reply-To: <20260304-groovy-vicugna-of-energy-5efecb@quoll>
From: Alexey Charkov <alchark@flipper.net>
Date: Wed, 4 Mar 2026 12:50:29 +0400
X-Gm-Features: AaiRm52DkQrujue5wgFei9bhXWlzoKAvUUxkgfM-1xZHXNkM71m37ecne7FCS9I
Message-ID: <CAKTNdwHadbJj5yYOGp4GK=LfAMFvOqCSXzVgEEkdxhm6YY6gmg@mail.gmail.com>
Subject: Re: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include BQ25792
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>, 
	Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, 
	Chris Morgan <macromorgan@hotmail.com>, Liam Girdwood <lgirdwood@gmail.com>, 
	Mark Brown <broonie@kernel.org>, Sebastian Reichel <sre@kernel.org>, devicetree@vger.kernel.org, 
	linux-kernel@vger.kernel.org, 
	Sebastian Reichel <sebastian.reichel@collabora.com>, linux-pm@vger.kernel.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 4, 2026 at 12:32=E2=80=AFPM Krzysztof Kozlowski <krzk@kernel.or=
g> wrote:
>
> On Tue, Mar 03, 2026 at 07:32:46PM +0400, Alexey Charkov wrote:
> > TI BQ25792 is similar in operation to BQ25703A, but has a different
> > register layout and different current/voltage capabilities.
> >
> > Expand the existing BQ25703A binding to include BQ25792, and move the
> > voltage and current limits into per-variant conditional statements.
> >
> > Signed-off-by: Alexey Charkov <alchark@flipper.net>
> > ---
> >  .../devicetree/bindings/mfd/ti,bq25703a.yaml       | 79 ++++++++++++++=
+++-----
> >  1 file changed, 62 insertions(+), 17 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml b/D=
ocumentation/devicetree/bindings/mfd/ti,bq25703a.yaml
> > index ba14663c9266..99b4fba7c1d4 100644
> > --- a/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
> > +++ b/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
> > @@ -4,7 +4,7 @@
> >  $id: http://devicetree.org/schemas/mfd/ti,bq25703a.yaml#
> >  $schema: http://devicetree.org/meta-schemas/core.yaml#
> >
> > -title: BQ25703A Charger Manager/Buck/Boost Converter
> > +title: BQ257xx Charger Manager/Buck/Boost Converter
> >
> >  maintainers:
> >    - Chris Morgan <macromorgan@hotmail.com>
> > @@ -14,7 +14,9 @@ allOf:
> >
> >  properties:
> >    compatible:
> > -    const: ti,bq25703a
> > +    enum:
> > +      - ti,bq25703a
> > +      - ti,bq25792
> >
> >    reg:
> >      const: 0x6b
> > @@ -23,9 +25,6 @@ properties:
> >      description:
> >        Maximum total input current allowed used for both charging and
> >        powering the device.
> > -    minimum: 50000
> > -    maximum: 6400000
> > -    default: 3250000
>
> Broadest constraints allways stay. See writing bindings and writing schem=
a.

Ack, will make the common part a superset of both variants' allowed
ranges. Thanks for pointing this out.

Best regards,
Alexey

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51])
	(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 85C3338239E
	for <linux-pm@vger.kernel.org>; Wed,  4 Mar 2026 08:53:51 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.218.51
ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1772614434; cv=pass; b=XPsuw8xPvToy4+igzPGnCOtv1mu/VkIidKXvCqNCXu/LOtxgAudR6oVEZzvrHz7aRmMhm/1EB0OgqeAXIs7dEWMO8hbJVh3+tiUCvDbXEdnWWpJAxEVALoP5bO2ikYhV2lt1wnEDeoWhkCN2GURPuuKD3eJK1nX7ep9/kp1S//4=
ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1772614434; c=relaxed/simple;
	bh=yT7NefqTAGrFVHIy1qkdkhat9hiWg28r0H1XF+xbQgI=;
	h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
	 To:Cc:Content-Type; b=V/FPyOEBgl5AaU8GKprJy56gbjdjNiePC5tDUduxo7GQ60IpnofMqrBg0L7HjTMfsIUviQ9JE4kLfQj4iKpA6XoR8RGOjiJ56QYlS4CcZhMunaF7fJww3/LXopcu4AWRRIU8YXoRantq6ky5ZAOASKlFvYlkioWWhNdz72NpWb8=
ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net; spf=pass smtp.mailfrom=flipper.net; dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b=KffHlzLf; arc=pass smtp.client-ip=209.85.218.51
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flipper.net
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b="KffHlzLf"
Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-b9361c771e9so1057392166b.3
        for <linux-pm@vger.kernel.org>; Wed, 04 Mar 2026 00:53:51 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1772614430; cv=none;
        d=google.com; s=arc-20240605;
        b=SwbrzAjX6dNg/UY6aUiIlY+NP50wDr4mTRAOBv8AzEPi0NKqggXLF2sQiCDmU9Phe2
         JQ0cOMfO/3CnUV3OGuyN0F1tNuLOAQxotEHdFoWtBwCQz1hEXhPEX6d1uytZarXwj31S
         0Z3u8kqYO/mEaeuEgTvY+Wj4OJ318oJ1NvOfJQO/EchuBRO7MBBafKJ3HK3bR0il+QiH
         txOlESIPEcIPCuwLLrN6oozXUX/AAfeR0IjAHVrBJs4axA9Tms/wnFVxYpzW6R8qwmcp
         PHG72Yn2NTCmhxxopy0EH33BC4HkBaGFe4mXddUaew8uqdJ9YD5HOwoFcHOeLNEaDWMC
         r7/w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=j29FLFU3PPvos/M6xBeZT5tWrNvRxgX7xq1kd2xix8w=;
        fh=xqKZlWSMwL0mK0I2Ri3+Zc/4YvZu3Qlf6uyn9Ll7nRQ=;
        b=lP/eZnZ1QzrkbWlgAKx1TudOEId8o5Dec+5eOfmL8vUBzlm82vSZKIxeTX3xh+/XBu
         oD1eCDwLgMZ2siZSypdlfTUD/trJWDoB/1Yhoqc6c2i1PjBu8MZxw/nTcx/bBl91HdqD
         byu/eRQwaBCad//bhuekyY+RnXr8T4Ssjt51G81P4MCLFl8DxXHKMO/oZcB4djfyfDUF
         4OqFWsPEUsqNKVCKs2MVc8IW7BPEQTFIbPoE8GtJ1qiuTSr+BOpmaOltTNB1hRPkasei
         NfcbKJPHikG0g7gqZXSm00VQ93ghBPdTogpRk1i3l5D6EweTVn7QGbuQNUttYXI40jGT
         9zpQ==;
        darn=vger.kernel.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=flipper.net; s=google; t=1772614430; x=1773219230; darn=vger.kernel.org;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to;
        bh=j29FLFU3PPvos/M6xBeZT5tWrNvRxgX7xq1kd2xix8w=;
        b=KffHlzLf6WMPHlRiYT5YVfz9vDCsLLczywDJCXSc0eel254pQpJTwzGelcGhhXmJAz
         shSvwAD34xsHDbk3WY0FQ8boh8YH8Pr8xKw54B3ndPAP58YsBWeuwiZvQ0g8GeA4C6oO
         7ixJM3OXOScAIoh5AQFPGSBN0mrCDA9hsshuyzRy6EbNaHUsLwuMuHMpCDgad+A/uDfP
         QTMQfVwHcnwAcK54JJprcwQzaLcWFkSFSB5Qq+D8VAOxzuxI7NAvVlc6TsGPbnII9tGj
         N2i1i+N0FKAiKBqgD6fo+58P7OYwi6uE3wmVmPnkBCy7ofC0dOEnEhh5wjj6XcoxyP7q
         Iy3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1772614430; x=1773219230;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to;
        bh=j29FLFU3PPvos/M6xBeZT5tWrNvRxgX7xq1kd2xix8w=;
        b=VhJ2CmDDNZa20KAiKZ4gHWrVjp5SpWyMUbuzzbr2kOTtJVI+LeJIS/f68MbogywZjO
         /ZUEY3fKCpmr2kuAIrQYK0SV2RFmFYiCHfVPsNiDBu9Ori4L/FWS0DDhjMPDfD839e4N
         NKFjMmtQxnJeMlNTDFgGhrUpjhDav98XaPVvKWP6IvL8CS48ZjW6C3//74sZOU1rWd5I
         g6iwGOv5kFjQkTJMVMtesE5l5IvbmELkii3vSe5znse48h3oLfuqlJQDN10Ohix1ClQF
         GOjQIS6bZEKb2xRpii+FJQQMVAc1y/v8XV4VieZj/iWK7lAcSkLNPn7Ls9KfKF/cyW4q
         8FBw==
X-Forwarded-Encrypted: i=1; AJvYcCVSxkCuMRPjfw0s2Qq02piE68kiBrbieWTvXIVUJ2OPHCI718TOk4IDwslhieGmmRtrH5u3vq3sow==@vger.kernel.org
X-Gm-Message-State: AOJu0YyPmwUtNisNPleCVwCL0L6xyLHB7BLfbzPcRChbpYOcP+UwRjeR
	sjjb9NUuLFN9T8woBxr4gbqdUyM/bB5cCSviJgqsIoBOQh24UNDHddV2S8cxPtqsV1CuHgaTbmg
	83eKLPCko8e5h+jVTHHV+ZilK1+zU1q0JhpI9FUjE0Q==
X-Gm-Gg: ATEYQzyBexO6djrvL9mt5cviEJUO8+MOthcGFbLeSaHT9mHLRRJVqpn7m0+vc39Uy6m
	QhdG2R876ZN7jtiMsphOxrWbukkQ2YWUtsr3cOaurGM6hsAnsaTMcdzyBu++5zmXd+GNSdzwtLf
	MeZDpSKkRkEvGQ/BCJa9sRFLtc+KiDxYJPvE5G3zN0WV+eBPHblVUP60RqDDMhThVao1K6xnAwI
	y1hj0AjA1L7gzXy9KlRbIPI+NuchIG9v4kEha8iKwI3VZ8PYzse6XHUTWgXL6sgyhDn/RMH3kEW
	e00POg==
X-Received: by 2002:a17:907:7286:b0:b87:322d:a8bd with SMTP id
 a640c23a62f3a-b93f11f02b0mr65154566b.24.1772614429853; Wed, 04 Mar 2026
 00:53:49 -0800 (PST)
Precedence: bulk
X-Mailing-List: linux-pm@vger.kernel.org
List-Id: <linux-pm.vger.kernel.org>
List-Subscribe: <mailto:linux-pm+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-pm+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
References: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net>
 <20260303-bq25792-v1-1-e6e5e0033458@flipper.net> <20260304-fantastic-butterfly-of-abracadabra-8fb2c4@quoll>
In-Reply-To: <20260304-fantastic-butterfly-of-abracadabra-8fb2c4@quoll>
From: Alexey Charkov <alchark@flipper.net>
Date: Wed, 4 Mar 2026 12:53:41 +0400
X-Gm-Features: AaiRm50ufiiK0yXNWebTLHuETT9y1G6OWqIkNChKwnDCLZsvEHEo3p_IwvxLg7M
Message-ID: <CAKTNdwGz5Hr0jwd2-_JjzbTzgsidsWs2LAG8+LRMds=7duLKrw@mail.gmail.com>
Subject: Re: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include BQ25792
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>, 
	Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, 
	Chris Morgan <macromorgan@hotmail.com>, Liam Girdwood <lgirdwood@gmail.com>, 
	Mark Brown <broonie@kernel.org>, Sebastian Reichel <sre@kernel.org>, devicetree@vger.kernel.org, 
	linux-kernel@vger.kernel.org, 
	Sebastian Reichel <sebastian.reichel@collabora.com>, linux-pm@vger.kernel.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 4, 2026 at 12:33=E2=80=AFPM Krzysztof Kozlowski <krzk@kernel.or=
g> wrote:
>
> On Tue, Mar 03, 2026 at 07:32:46PM +0400, Alexey Charkov wrote:
> >            enable-gpios:
> >              description:
> >                The BQ25703 may require both a register write and a GPIO
> > @@ -74,6 +65,60 @@ properties:
> >            - regulator-min-microvolt
> >            - regulator-max-microvolt
> >
> > +  allOf:
>
> Heh, why bothering to test your code before sending...

Yep, my bad, sorry for the noise. Testing schema separately from a
common W=3D1 build, runtime test on the hardware and checkpatch just
refuses to enter muscle memory, but I'll get there one day.

Best regards,
Alexey

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51])
	(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 07C5E3822BE
	for <linux-pm@vger.kernel.org>; Wed,  4 Mar 2026 09:34:34 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.218.51
ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1772616876; cv=pass; b=m9rtCwAbzFMZ/MrqExanIbBvklxUf3wFZDE3ZbEIQExyW5BjxDVtpZm0hmx0HmeUMRzs2CGgCOpW4BLHkHWS7SqFCjx2HA/MVE9p3GB39WxBaYpOz87XNhjwWiOQWJvsXww08MS9kkpbOA13LNWAb4ZuX6zx9E195L1MvPnXtkU=
ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1772616876; c=relaxed/simple;
	bh=3r5U46JYIUoR2bl5Gkm/sJyECPpQWiCpRw6+O/Z2HYU=;
	h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
	 To:Cc:Content-Type; b=T0ivKKVXqbdhhINmHJ79HY2CT7Jbg5XehzsZ0kEMenUvzvunrXMoC8bHLNGH7iOHL2hKSy3jRR3g/I4vuF7+YMnIvquj3C67ORrrNLERTcerSz0zgwOXECth8GA8q8kVnyIKpc6E8vTFPiUqm4cQXDjgYPBcA/g34R3OIBl0cFs=
ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net; spf=pass smtp.mailfrom=flipper.net; dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b=83aNDBSu; arc=pass smtp.client-ip=209.85.218.51
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flipper.net
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b="83aNDBSu"
Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-b8fa449e618so955940866b.0
        for <linux-pm@vger.kernel.org>; Wed, 04 Mar 2026 01:34:34 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1772616873; cv=none;
        d=google.com; s=arc-20240605;
        b=QFRdvMSKTo0T86Zs6d7LdGltlZzWRRS8Xff4i2heye2ykhYGpSaY8Dyw6ooWIgrohU
         BZoQoz1cQyGV2LjwLnXZ8AT7W0bH31Mtku4RoT27gTNUlZ0/U0MhNAchFZgQ7QUKgIc1
         9EjeuPCkX5RJfm9pNrJSovs78ToUx2pFu4Zr9gMUcjhTF15lZWdpqbud32DDKfssv0Hh
         5ot6n/cbyIb8m5e5TAs+z/dpRJAaYBQSkibMj6JvVUNcEZZu9pXOxbp8AVRIAiYUKrLW
         DJ7iqwtcNUG1zgxkaX4xmU7ve2wGNCAoQjDhoI7WcwE9uaYObSeBpGP2/PQZr5FxFUu6
         +SwA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=5AUBDCy7nbW9VUhgHwbf6uyAyDJf03F0fUhfohAeZuA=;
        fh=uyM2tVOrw+ovRRys+rcHYdK18SPOJPMCtUzLh1Ad4j4=;
        b=MPEEA87H3eGEcuB3+A6RnewxlQ4qAKTXLB1PGWI0PNRFzxZiRVsoWeV4HdHpLAekPv
         sBn/yGFyFtb1AF1fbmGpZqMspQbNUvkOs/E+TwMZ/DnI88wgmPxUgWvSSFfddMJZcccS
         gW4JvHumFoZ1wUp60GwwPNdO90xwMSYs5aSC8ky8X602tzkiBvJHtfg3TUPf4OGFpFUE
         zjnQ5QlQ0N2mZ1Q2g4BA0L4GtySoLMB5rF4FAYUno4fKcEa8vq4pTt8lAFOtfnJoD1CT
         GNaEggmbl9SYR1qjmSZ+wdzjncrU0FPT5pgF8rNyizFqE0p47Qw9c7VHQ/D5e26UUTvG
         3xbg==;
        darn=vger.kernel.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=flipper.net; s=google; t=1772616873; x=1773221673; darn=vger.kernel.org;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to;
        bh=5AUBDCy7nbW9VUhgHwbf6uyAyDJf03F0fUhfohAeZuA=;
        b=83aNDBSu9p1AiqJW29lno3L/eA106DLRr4mK6WXX8ttYt53rylLt54CU3a6Qe6G1hL
         1FGGoTe7u75IpGTEKBGiIwg6PlEHfEgO3K8nxKdjCAqoYoZpawpxPDV9/QMSL+o5RMaa
         6MgKn3Jcx11lL1yjaCk++c+6TwqyCT/RmsX4V7Ycsq7ArrhcwEGK30zCIPaLNCMKiF7A
         tvxndWPyTiIT4mOoOH9aWHDAZjf6Ga0uRdyLU99PaWA1uc5tsfZ3YzkZIXw9evGHzvYX
         KoDqE23/+SLKNJKnbttbdl71H87Lofo/4zgan0b2kJ6J23lfzId/wGlk59HGjd/DrHI+
         USuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1772616873; x=1773221673;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to;
        bh=5AUBDCy7nbW9VUhgHwbf6uyAyDJf03F0fUhfohAeZuA=;
        b=NJ3Lq6nYhh8ezkz/0jE+4C/Gp7b8e/1HuFTh6LESl6V8wM8NzyILEYX/ycb2GD2ZAN
         Kh998jDiJslFqwQwa+L4fRNdaYfcpgIH7/W3JGfAZIuk194z5zLyfpnSP8GPLxt8sPdp
         mLFLlW6TT7s5XIqfzz83m8uShn5BIzCadTkY1RSvq0Y7QvYl/Ol02rqRL5rZI+863Ipa
         MyyHwpfqI7e4UycypbsV/M9Mt2lSanhIysNnH5BgqosHXQVetdu7h14WA+uSCwt0Rc5v
         C21tHkOjz4Q6QxsJ5U4hC1qYBYcpk9BslyXKL2+QmtKbvL/I8ujWbC2psfISAavtRWoZ
         IDRg==
X-Forwarded-Encrypted: i=1; AJvYcCWZwhLhiqtzJbSLfom/9kOc49VPQRn+v3WLixXsK0WnbGubDj8I2uemElae/4cXgq5OM7P1uJQCPQ==@vger.kernel.org
X-Gm-Message-State: AOJu0YyHmF/PrDDQHW9fFhILsfDW1rLwENiJjxFNy/VHR8Q5vsGOjz9f
	0rXEq+St7OZZa1d1ousTvyD6UxZMmkHVY60oM6gVaRgdZvE+XrZlKpH8YbBYhFM+dj2ilv67l2R
	e6cSVdNYyqE3xwhS4oBjtln8TB7kHkjJrVFogVhfXxQ==
X-Gm-Gg: ATEYQzx9njT8tzV8OKZ9sH8W3ww+8qqg4oMrxZw1xePHA19NRl0JcklbX/fKTyK+bBC
	hG2L/m3m+fQZOh7p8pho9ip7AtvErXnrDXRXDDWaKxeMA6962hg9IPsQydSHesI33UFzkHYO3lh
	lZBDpDdayNV/Awo4dkNJ+Yc6LYqx+6KDtSFNSrd8z+1XHijXTpcdD7mEVyZRPiVW3wZeO/s2Jke
	3xxgyDQe9hWH4sYJSsebmIAU+0euZFV5xZ11CYBqQmA7aKyZYpt9bMrRCb/lnDD1zFybFW0N3f+
	a/0myA==
X-Received: by 2002:a17:907:980e:b0:b73:572d:3b07 with SMTP id
 a640c23a62f3a-b93f13f0948mr72180366b.28.1772616873304; Wed, 04 Mar 2026
 01:34:33 -0800 (PST)
Precedence: bulk
X-Mailing-List: linux-pm@vger.kernel.org
List-Id: <linux-pm.vger.kernel.org>
List-Subscribe: <mailto:linux-pm+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-pm+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
References: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net>
 <20260303-bq25792-v1-1-e6e5e0033458@flipper.net> <177255519061.3485716.8870568133764595988.robh@kernel.org>
In-Reply-To: <177255519061.3485716.8870568133764595988.robh@kernel.org>
From: Alexey Charkov <alchark@flipper.net>
Date: Wed, 4 Mar 2026 13:34:25 +0400
X-Gm-Features: AaiRm51Enl5LcXd6PAPQAWRhQIDDudWLZr4mU0k-EhYOjS9Inm3uW-TiPcT-vUI
Message-ID: <CAKTNdwGyrBihrL2hQgxZ7pyaYoRGTnNibLGnhKWEi-DsJn3==g@mail.gmail.com>
Subject: Re: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include BQ25792
To: "Rob Herring (Arm)" <robh@kernel.org>
Cc: Lee Jones <lee@kernel.org>, Chris Morgan <macromorgan@hotmail.com>, 
	Liam Girdwood <lgirdwood@gmail.com>, Sebastian Reichel <sebastian.reichel@collabora.com>, 
	Conor Dooley <conor+dt@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, linux-kernel@vger.kernel.org, 
	Mark Brown <broonie@kernel.org>, Sebastian Reichel <sre@kernel.org>, linux-pm@vger.kernel.org, 
	devicetree@vger.kernel.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 3, 2026 at 8:26=E2=80=AFPM Rob Herring (Arm) <robh@kernel.org> =
wrote:
>
>
> On Tue, 03 Mar 2026 19:32:46 +0400, Alexey Charkov wrote:
> > TI BQ25792 is similar in operation to BQ25703A, but has a different
> > register layout and different current/voltage capabilities.
> >
> > Expand the existing BQ25703A binding to include BQ25792, and move the
> > voltage and current limits into per-variant conditional statements.
> >
> > Signed-off-by: Alexey Charkov <alchark@flipper.net>
> > ---
> >  .../devicetree/bindings/mfd/ti,bq25703a.yaml       | 79 ++++++++++++++=
+++-----
> >  1 file changed, 62 insertions(+), 17 deletions(-)
> >
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/m=
fd/ti,bq25703a.yaml: ignoring, error in schema: properties: allOf
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/m=
fd/ti,bq25703a.yaml: properties: 'allOf' should not be valid under {'$ref':=
 '#/definitions/json-schema-prop-names'}
>         hint: A json-schema keyword was found instead of a DT property na=
me.

Thanks bot, fixed in v2 along with further comments from Krzysztof.
Will wait for any further feedback and send out.

Best regards,
Alexey

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1C7F38C435
	for <oe-kbuild@lists.linux.dev>; Tue,  3 Mar 2026 23:03:24 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1772579007; cv=none; b=OgEdTgVt0FM6b+PB1DQ3T593IVtdXF2MLii8WKBt3qZAiSXLdYfAgHPiemzlQvRH2uCiC5Z30z2UzkslrD4q3U3GcOJXEd22eLQVZRbSvpfe6NvZqDM5e3aX4AYV3ypnxVaNKY5rFCVdNnpvhO8uLTFAcdykuqYlSdujQ02q0VM=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1772579007; c=relaxed/simple;
	bh=5e3RYnQ4TzJvHiI6kywd5hQ151bctU0Jw2SgJogZfUw=;
	h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type:
	 Content-Disposition; b=NJmb148YgdhwzJVq2RXIJRJ1SPsJDKz2FVSapkcmMQkUQ72PvSPoCdbTs0x3ra24cwJ/SR/zwCpVU42Fyy+4QBzj8803EGajU18B8cTYOM4pwIVW3bsxe431RtZ6jVRTcH6ef8ZSYHj9DLgZtCyFAZ3fzobuKq+lDtZGxAG+Auo=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ne/kfZqQ; arc=none smtp.client-ip=198.175.65.18
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ne/kfZqQ"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
  d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
  t=1772579005; x=1804115005;
  h=date:from:to:cc:subject:message-id:mime-version:
   content-transfer-encoding;
  bh=5e3RYnQ4TzJvHiI6kywd5hQ151bctU0Jw2SgJogZfUw=;
  b=ne/kfZqQR4FeqIM9ToQq0qUZ4hmkqWZ9kNwiAvXx6D7Z4JjwbLDRAxHw
   8hf2quzMaXMWNt/xQ9B9qOdwt03fEpwDd6NYAoxacd4XyCiyA5QDH/p1c
   5tZ7ippTKRA3nfjuyFP0ZnRCkos+7TONsrg3WDamAuPJIQb2XfqlgAlgE
   7LEI+njzYFaNIptHOzue4zU9lBUufufVZZSt3ADNazeAc7UTMlMMT0gZL
   uNzmnfQMGp+YYffcThW9ah7ff5VEd5HbjDKVZLPA6YVknVD9Tz92KGB6x
   berkt2bYj6hfoHhUCiHrqV8tIQLt1mxN/RHBnlf5zMGL9VT5dahAOs6wh
   g==;
X-CSE-ConnectionGUID: Lj0MLVCYQuSqtoTC5t0o7g==
X-CSE-MsgGUID: abz6jHWtRhSGK1v4I1c9xg==
X-IronPort-AV: E=McAfee;i="6800,10657,11718"; a="73681531"
X-IronPort-AV: E=Sophos;i="6.21,322,1763452800"; 
   d="scan'208";a="73681531"
Received: from orviesa006.jf.intel.com ([10.64.159.146])
  by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2026 15:03:24 -0800
X-CSE-ConnectionGUID: Poh6wHA9TV+Z5juACeLX8g==
X-CSE-MsgGUID: +N3DwUTbQEWGbhTOnze61A==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="6.21,322,1763452800"; 
   d="scan'208";a="217308310"
Received: from igk-lkp-server01.igk.intel.com (HELO 9958d990ccf2) ([10.211.93.152])
  by orviesa006.jf.intel.com with ESMTP; 03 Mar 2026 15:03:22 -0800
Received: from kbuild by 9958d990ccf2 with local (Exim 4.98.2)
	(envelope-from <lkp@intel.com>)
	id 1vxYls-000000001ZN-28Ub;
	Tue, 03 Mar 2026 23:03:20 +0000
Date: Wed, 4 Mar 2026 00:03:18 +0100
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: Re: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include
 BQ25792
Message-ID: <202603032343.HMeJD6Ti-lkp@intel.com>
Precedence: bulk
X-Mailing-List: oe-kbuild@lists.linux.dev
List-Id: <oe-kbuild.lists.linux.dev>
List-Subscribe: <mailto:oe-kbuild+subscribe@lists.linux.dev>
List-Unsubscribe: <mailto:oe-kbuild+unsubscribe@lists.linux.dev>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

::::::=20
:::::: Manual check reason: "dtcheck: binding changes may go via different =
trees"
::::::=20

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>
References: <20260303-bq25792-v1-1-e6e5e0033458@flipper.net>
TO: Alexey Charkov <alchark@flipper.net>
TO: Lee Jones <lee@kernel.org>
TO: Rob Herring <robh@kernel.org>
TO: Krzysztof Kozlowski <krzk@kernel.org>
TO: Conor Dooley <conor+dt@kernel.org>
TO: Chris Morgan <macromorgan@hotmail.com>
TO: Liam Girdwood <lgirdwood@gmail.com>
TO: Mark Brown <broonie@kernel.org>
TO: Sebastian Reichel <sre@kernel.org>
CC: devicetree@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: linux-pm@vger.kernel.org
CC: Alexey Charkov <alchark@flipper.net>

Hi Alexey,

kernel test robot noticed the following build warnings:

[auto build test WARNING on d517cb8cea012f43b069617fc8179b45404f8018]

url:    https://github.com/intel-lab-lkp/linux/commits/Alexey-Charkov/dt-bi=
ndings-mfd-ti-bq25703a-Expand-to-include-BQ25792/20260303-234353
base:   d517cb8cea012f43b069617fc8179b45404f8018
patch link:    https://lore.kernel.org/r/20260303-bq25792-v1-1-e6e5e0033458=
%40flipper.net
patch subject: [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to inclu=
de BQ25792
:::::: branch date: 7 hours ago
:::::: commit date: 7 hours ago
config: microblaze-randconfig-2051-20260303 (https://download.01.org/0day-c=
i/archive/20260303/202603032343.HMeJD6Ti-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 8.5.0
dtschema: 2025.13.dev8+g0515abdd9
reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archive=
/20260303/202603032343.HMeJD6Ti-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new versio=
n of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202603032343.HMeJD6Ti-lkp@intel.com/

dtcheck warnings: (new ones prefixed by >>)
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: ignoring, error =
in schema: properties: allOf
--
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties: 'all=
Of' should not be valid under {'$ref': '#/definitions/json-schema-prop-name=
s'}
   	hint: A json-schema keyword was found instead of a DT property name.
   	from schema $id: http://devicetree.org/meta-schemas/keywords.yaml
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf=
: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then':=
 {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maxim=
um': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'=
properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000},=
 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-m=
in-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-mi=
crovolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'proper=
ties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'i=
nput-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'def=
ault': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'reg=
ulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-mi=
croamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'m=
inimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimu=
m': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
   	from schema $id: http://devicetree.org/meta-schemas/keywords.yaml
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf=
: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then':=
 {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maxim=
um': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'=
properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000},=
 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-m=
in-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-mi=
crovolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'proper=
ties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'i=
nput-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'def=
ault': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'reg=
ulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-mi=
croamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'m=
inimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimu=
m': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf=
: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then':=
 {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maxim=
um': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'=
properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000},=
 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-m=
in-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-mi=
crovolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'proper=
ties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'i=
nput-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'def=
ault': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'reg=
ulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-mi=
croamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'m=
inimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimu=
m': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf=
: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then':=
 {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maxim=
um': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'=
properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000},=
 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-m=
in-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-mi=
crovolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'proper=
ties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'i=
nput-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'def=
ault': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'reg=
ulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-mi=
croamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'m=
inimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimu=
m': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf=
: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then':=
 {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maxim=
um': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'=
properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000},=
 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-m=
in-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-mi=
crovolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'proper=
ties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'i=
nput-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'def=
ault': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'reg=
ulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-mi=
croamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'m=
inimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimu=
m': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf=
: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then':=
 {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maxim=
um': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'=
properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000},=
 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-m=
in-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-mi=
crovolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'proper=
ties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'i=
nput-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'def=
ault': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'reg=
ulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-mi=
croamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'m=
inimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimu=
m': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf=
: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then':=
 {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maxim=
um': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'=
properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000},=
 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-m=
in-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-mi=
crovolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'proper=
ties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'i=
nput-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'def=
ault': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'reg=
ulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-mi=
croamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'m=
inimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimu=
m': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
>> Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml: properties:allOf=
: [{'if': {'properties': {'compatible': {'const': 'ti,bq25703a'}}}, 'then':=
 {'properties': {'input-current-limit-microamp': {'minimum': 500000, 'maxim=
um': 6350000, 'default': 5000000}, 'regulators': {'properties': {'vbus': {'=
properties': {'regulator-min-microamp': {'minimum': 0, 'maximum': 6350000},=
 'regulator-max-microamp': {'minimum': 0, 'maximum': 6350000}, 'regulator-m=
in-microvolt': {'minimum': 4480000, 'maximum': 20800000}, 'regulator-max-mi=
crovolt': {'minimum': 4480000, 'maximum': 20800000}}}}}}}}, {'if': {'proper=
ties': {'compatible': {'const': 'ti,bq25792'}}}, 'then': {'properties': {'i=
nput-current-limit-microamp': {'minimum': 1000000, 'maximum': 3300000, 'def=
ault': 3000000}, 'regulators': {'properties': {'vbus': {'properties': {'reg=
ulator-min-microamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-max-mi=
croamp': {'minimum': 0, 'maximum': 3320000}, 'regulator-min-microvolt': {'m=
inimum': 2800000, 'maximum': 22000000}, 'regulator-max-microvolt': {'minimu=
m': 2800000, 'maximum': 22000000}}}}}}}}] is not of type 'object', 'boolean'
   Traceback (most recent call last):
     File "/usr/local/bin/dt-doc-validate", line 8, in <module>
       sys.exit(main())
                ~~~~^^
     File "/usr/local/lib/python3.13/dist-packages/dtschema/doc_validate.py=
", line 66, in main
       ret |=3D check_doc(f)
              ~~~~~~~~~^^^
     File "/usr/local/lib/python3.13/dist-packages/dtschema/doc_validate.py=
", line 37, in check_doc
       dtsch.check_schema_refs()
       ~~~~~~~~~~~~~~~~~~~~~~~^^

--=20
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

