Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp949453rbd; Fri, 23 Feb 2024 08:23:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUb4si+pkulGm4rNyt9xvM1qNu2Yh6rMzcnkFNtbiSWybJUyRE/pXHx6Eqis3pwISxOpWfRwTi/32B1rYNb/OPgnywfAaSQEEnwZ8SBwA== X-Google-Smtp-Source: AGHT+IGRqY9PD2i2xz6wM4u1q7Suc9GSwrhvwqmQ51vs7agVSV3KZ/Fl4au/5/HvLrNZsFUSvFc0 X-Received: by 2002:a17:906:194c:b0:a3f:d0d8:6eeb with SMTP id b12-20020a170906194c00b00a3fd0d86eebmr231054eje.33.1708705415413; Fri, 23 Feb 2024 08:23:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705415; cv=pass; d=google.com; s=arc-20160816; b=Z+HwXaqQeHV0IEqDZplFf5k3YcXrQJI24AKlM4FEifNUlRodTmRMo3ZCNUIPGRHjcz igzJLXcaZOhBs+7oqJsduhQYq8xJ1qrjAIXvraO1Gkh10bDkxpIv2AGSnOfeU3mv8i3c qUndnoqEtGCdq4tpx14zClP9Bb/l4ueXv3sScbrEYJtTfADWwB0IOk5JHLmbnXW5U9q4 gYQDfXAlUbPJDYN4SZUIaKqRF8D3QQRx6zjVkEV8chcf4ymoDLAj9N8gnU/C1N7Y1RTN c7nSvPBTVVqA/ZueJ/h+Nby2Mj71mjxRrLJnir0txxv+ntxjiQ6fhMnp6mbYotBgMKoe /lFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=F4SpMbkQ5H/y44duo/iwzf025e8d5Wij1aH3z8YY/W4=; fh=6ukZQ6ZjJs6juvFWIJbF0d70thoDQs1Z7OSv/8Dh7jI=; b=aq+uj/i/O7MyNVJjgY/8U1HR5+5+M2Mllz5xvKlo7f57mg48K2/kDU9b5vr7G2Gdee Wei+JlyMnIJAQI8PJMyMz2Dkz9p1iMbtwtC9ivHtrhl7Wu4Qkh1FvW3Wat818k7cAR7l CYC44InWIbBVgLFkdO2z8/KzP8q5B5jvF6L6g1RAR8o/8fDeDv/XnFZWcFeFmAAuSa2a Vv+5vwSxX0TO9jyNUwYezyGsgFxR3cwy3tg8Yymqu5Fgdz95LkLxrc/eYPzVFOTr9lkT pXo1C7zAdCA8kS8L5CrXq5D+nQ8oh+Zwqq0igVSkyOtPnJk5XWf+t/OcodZ2QE7rH5t9 wodg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CaLfWowF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gx1-20020a170906f1c100b00a3e0d50c7edsi6060610ejb.26.2024.02.23.08.23.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:23:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CaLfWowF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 260AD1F226E5 for ; Fri, 23 Feb 2024 16:23:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3083412A154; Fri, 23 Feb 2024 16:21:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CaLfWowF" 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 54E90128830; Fri, 23 Feb 2024 16:21:38 +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=1708705299; cv=none; b=PA+bTBeqd1nW5uwO1kyFjEmYj3y+c2LtX3n7GMMFbOE3uT52sbM8C5+3f8LSu5aGUoMArdG/ecDEIjpphPWgvOjDANMN53Jr76CerCDYaaTAh2799XdF9ai9ldGpMPA4a51w9HHxgz4MtglFN4cyZ/j3ZpEmaAssDmulHpuQB5A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705299; c=relaxed/simple; bh=e35n+V+KJ6GOR5w3FZqinp9ivKeGJSYSJSqC9t8Lvbk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FBBC0UmFpGpKiIp1jx9WUFL/gKkTx+JGTKRRUXZaNXoDcaS8e5ij6iEoT0IPQgnedCrszicqMJKKEdXBNhZfmQ8/kgbP14ffOFGIpn8ObaEF4l4p//k2kEJdDVDgFDrVUlud/hqoxQjtAM/6XBiISkN/9IhBkPvo1TztNynDTOM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CaLfWowF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4D52C433C7; Fri, 23 Feb 2024 16:21:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708705298; bh=e35n+V+KJ6GOR5w3FZqinp9ivKeGJSYSJSqC9t8Lvbk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CaLfWowFUAZvfg7KCh0JXisHPeSYqM338HrkS/XYrcIY13yKcumLHFAfQKBVQsnB2 YPFKTRgIgWHlu6eq5OFROubL95AnmGfyu5Hb6B78a66rf+iTP4p2CJl2XuNMvUqSrj Nvd09NUwaRyqKBhHdkIAzevtwLNlpDObHLAAR/zISzGvC4v6gJr+J2plrob+qBgxyj KU7HcZehOV1EaNm0ylEiFRYV6conFlj5EoF0EnOfvj5zrvDLud/lqulqGuv4PYU6tY ZP/sd4PBvK4WjiyKTnOIq/2y8f2wTz8NaMvPnjNHj493GVG7gJN5jLpx0bW5rjuQrG khkUHdC0yHrag== From: Conor Dooley To: linux@roeck-us.net Cc: conor@kernel.org, Conor Dooley , Jean Delvare , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Zev Weiss , Patrick Rudolph , Peter Yin , Alexander Stein , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/5] dt-bindings: hwmon/pmbus: ti,lm25066: document regulators Date: Fri, 23 Feb 2024 16:21:05 +0000 Message-ID: <20240223-tingling-mutt-dd55dd87ff5e@spud> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240223-moonrise-feminist-de59b9e1b3ba@spud> References: <20240223-moonrise-feminist-de59b9e1b3ba@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1342; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=joH1ld+xUmYlj/ECTPEZz+fzAg0PtsSN+LgfoDkIwW0=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDKk3jn7nWd7eUn3owuY+e62Kdzs6XDeGFlgv7fjd/JRl2 QMBwXvWHaUsDGIcDLJiiiyJt/tapNb/cdnh3PMWZg4rE8gQBi5OAZiIliYjw+fgLx1Pbl/g+/hp iZ55w3L3GJXmVZH3HH1qvTamVt68fo/hn8l3qZ6exAnP7pzveydiz9z4bqVtqMNqvUo+R0YjvWW 2/AA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit From: Conor Dooley All devices documented in the lm25066 binding are intended for use with a regulator, be that for purely monitoring purposes (lm25056) or, for the other devices, as the controller of that regulator. The binding does not currently allow regulator child nodes, so add one. Each of these devices interacts with only a single regulator and documentation refers to it as "Vout", hence the choice of child node name. Acked-by: Zev Weiss Signed-off-by: Conor Dooley --- .../devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml index da8292bc32f5..4373e9c86e54 100644 --- a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml +++ b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml @@ -34,6 +34,18 @@ properties: Shunt (sense) resistor value in micro-Ohms default: 1000 + regulators: + type: object + + properties: + vout: + $ref: /schemas/regulator/regulator.yaml# + type: object + + unevaluatedProperties: false + + additionalProperties: false + required: - compatible - reg -- 2.43.0