From nobody Fri Apr 3 09:28:53 2026 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 9F81B329E53; Wed, 18 Feb 2026 21:59:23 +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=1771451963; cv=none; b=LknT24CMSLjdZRp2xPiP9lqFR0DarSvlJWae2VqUomu+z4FDKZS86AatvHbQgbe+eN32S0VJZ0bgBjtDT3Ik3It5Od16RsUgy+V0MPpHS+Lo0XE8UvXVlLvdWl6Ldu6QCrGvpsiAb0XJs+Qbd/g8fNSxlmLgiKbQDz8vqQnUqXc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771451963; c=relaxed/simple; bh=x3MSxPPiAQzrpW8S8tocji0xTxlKoglgHtkqvwONCMI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Tq220/l342i5wDMHtADADoTsjrzQsvLxkhgrcaouGfTpg3uFnMnjgSN9qfI8C0V9OkGvUEQtgf46WB9ynf2cnSx164MG5FsjaAo8/3D41jY00P4p/rVKfd5q95egnVV+aBCWmkU5Rdo499RcAM+mkOqLzEcw9deBUibduKFDgnk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=npqdvTDc; 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="npqdvTDc" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4E05BC19422; Wed, 18 Feb 2026 21:59:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771451963; bh=x3MSxPPiAQzrpW8S8tocji0xTxlKoglgHtkqvwONCMI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=npqdvTDcw6cBD2B9//DZQWv2UhdSZlFgQ9Bi3BC933todqgYuQZGhJ6FSEDYZgvvq cupPRNCKPuSV6Hf6aaaNuC14TjX4a9UEfJN2iD5A1hZGlk/SG2jibDPHPfFWSuZ7LA o4WKGLcGN1oW2l5WrXOvWSkWEJeryWoshtyctHplSak14heDBFRr3bNWVlRRfpxfRg 0Z4oHkWWrDvpIvPz7s30GsnTfiLtfOYjFD75NHA35ta1Wz9nKPakdKZDoV7g6q8kIO gahLe+QXwASfNNErXddqWy3LzzaRob60+Mp5uYK2eYKFK24hKt/St+vbyJnGBskEJt At613eeJLmqzA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C668E9A02C; Wed, 18 Feb 2026 21:59:23 +0000 (UTC) From: Amit Sunil Dhamne via B4 Relay Date: Wed, 18 Feb 2026 21:59:09 +0000 Subject: [PATCH v7 1/6] dt-bindings: mfd: maxim,max77759: reference power-supply schema and add regulator property Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260218-max77759-charger-v7-1-e8d907ce69c5@google.com> References: <20260218-max77759-charger-v7-0-e8d907ce69c5@google.com> In-Reply-To: <20260218-max77759-charger-v7-0-e8d907ce69c5@google.com> To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?utf-8?q?Andr=C3=A9_Draszik?= , Lee Jones , Greg Kroah-Hartman , Badhri Jagan Sridharan , Heikki Krogerus , Peter Griffin , Tudor Ambarus , Alim Akhtar , Mark Brown , Matti Vaittinen , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, RD Babiera , Kyle Tso , Amit Sunil Dhamne , Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1771451962; l=1953; i=amitsd@google.com; s=20241031; h=from:subject:message-id; bh=wKn6cXtOjQRJU9Be07/BXhWg1aULQ813q+DzUXVKIVU=; b=wRiYAbfCf6ad9jYKZQr64vawzgO8UAIiMNDlzdxBPl+bSya+FEswJW9ZGsyQ6NsWLM0O6/UNn QwranywGfRbCraKcYat3HwB5ObJRSpIjc8tLJbDG32KHuu/J0aRb/yi X-Developer-Key: i=amitsd@google.com; a=ed25519; pk=wD+XZSST4dmnNZf62/lqJpLm7fiyT8iv462zmQ3H6bI= X-Endpoint-Received: by B4 Relay for amitsd@google.com/20241031 with auth_id=262 X-Original-From: Amit Sunil Dhamne Reply-To: amitsd@google.com From: Amit Sunil Dhamne Extend the max77759 binding to reference power-supply schema, so that PMIC node can reference its supplier. Also, add regulator property to control CHGIN (OTG) voltage. Signed-off-by: Amit Sunil Dhamne Reviewed-by: Krzysztof Kozlowski Reviewed-by: Andr=C3=A9 Draszik --- .../devicetree/bindings/mfd/maxim,max77759.yaml | 16 ++++++++++++= +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/maxim,max77759.yaml b/Do= cumentation/devicetree/bindings/mfd/maxim,max77759.yaml index 525de9ab3c2b7b431e48497330640857540625b1..42e4a84d52043c09bd073dec391= a3bd76dbd359b 100644 --- a/Documentation/devicetree/bindings/mfd/maxim,max77759.yaml +++ b/Documentation/devicetree/bindings/mfd/maxim,max77759.yaml @@ -16,6 +16,9 @@ description: | The MAX77759 includes Battery Charger, Fuel Gauge, temperature sensors, = USB Type-C Port Controller (TCPC), NVMEM, and a GPIO expander. =20 +allOf: + - $ref: /schemas/power/supply/power-supply.yaml# + properties: compatible: const: maxim,max77759 @@ -37,12 +40,18 @@ properties: nvmem-0: $ref: /schemas/nvmem/maxim,max77759-nvmem.yaml =20 + chgin-otg-regulator: + type: object + description: Provides Boost for sourcing VBUS. + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + required: - compatible - interrupts - reg =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | @@ -59,6 +68,11 @@ examples: =20 interrupt-controller; #interrupt-cells =3D <2>; + power-supplies =3D <&maxtcpci>; + + chgin-otg-regulator { + regulator-name =3D "chgin-otg"; + }; =20 gpio { compatible =3D "maxim,max77759-gpio"; --=20 2.53.0.371.g1d285c8824-goog