From nobody Sun Apr 5 21:30:29 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 EF97223D28C; Tue, 24 Feb 2026 01:45:49 +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=1771897550; cv=none; b=u4fFn0eCKMkJVxNi2WcJEBV2zrsvnMUM6UT8ndQGJwg9FUJPWz3m6m4YRzHzFWYYotuOBkZAT8ULT85HpvdRp/+ZpK4tng6IX8HXMfWOsB4D7FUa8WP7pQm5onN1WZXSGOEthIIjiSlXkg0jcqvXlwLUkiAGbQACrjKacONOQ0s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771897550; c=relaxed/simple; bh=x3MSxPPiAQzrpW8S8tocji0xTxlKoglgHtkqvwONCMI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VwNW3vrGJGI3BYsVKNDuYab6fWSGx9dhnuZ1aFpfEu9MsHf44ByRMgW7pgGQC5H1/dRdLzBtdVUwgnMwFg8LIgeDQY0OzsZdgVn0xI9XKRWKtd4Qj5gZ5sLuOSMWce5SQL3ps4nGCbzEEb/4K1KBLo9IaUB60EwYFRKRcNrbI2c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LbD/GgsL; 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="LbD/GgsL" Received: by smtp.kernel.org (Postfix) with ESMTPS id 960DBC19423; Tue, 24 Feb 2026 01:45:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771897549; bh=x3MSxPPiAQzrpW8S8tocji0xTxlKoglgHtkqvwONCMI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=LbD/GgsLey4B0YHVfAtUzZ8CaZjmUCYpFaU6r7Xwy9Ny1QQHhnUzQdZby2tmzUFTW wEJF+RBsD6r02dsWBqbmqqPhx1h/4FHtJ3GZhGz0/37Ylrq8rrCylXQSuPI5wCHDfA JmtvG1cEl1oC+r2SsX6T+lydhbEmGuIqzAN6gYGh8vdZT/jEIZ/aat9Fz/V9jQPddq MyqFtE1MsS1cx8jK6Eh4gmC3QjCoOQCdzotGhucbKEeaDqUwZxYHh0bcl0XDk81RVA s7X6s7ajay+lhjhf/psEo2LlK36Mr5s9tsF1uk9aSJDw5yHKy+rRQlAGVuWTmm9ke2 Ml3fd4aofscmA== 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 850F3EEC2B7; Tue, 24 Feb 2026 01:45:49 +0000 (UTC) From: Amit Sunil Dhamne via B4 Relay Date: Tue, 24 Feb 2026 01:45:31 +0000 Subject: [PATCH v8 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: <20260224-max77759-charger-v8-1-eb86bd570e9c@google.com> References: <20260224-max77759-charger-v8-0-eb86bd570e9c@google.com> In-Reply-To: <20260224-max77759-charger-v8-0-eb86bd570e9c@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=1771897548; l=1953; i=amitsd@google.com; s=20241031; h=from:subject:message-id; bh=wKn6cXtOjQRJU9Be07/BXhWg1aULQ813q+DzUXVKIVU=; b=rRGl4pacliEVITMjItHJPU9Ij3Y7g7tvRHzFqoB11ipQezFgQYJ09nT4Ex6/nJjaRmtA9kGGP IkpZOr32ZRgDED4hULy+g41ZhoF6rCUQI1GaFr3SEt1EiOHACzCMlMb 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