From nobody Mon Feb 9 09:28:49 2026 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) (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 40CA22D9EDD; Wed, 29 Oct 2025 01:13:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.130.44.152 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761700409; cv=none; b=DW50wD85ZOyRd4qbze2KvtFWbfRgKRKHEgPZcfw5W3pe+VRAuwtHdYoG+ND/JjnCBTC1ISMEK3fwd/i7hbifLtqRtSxPaIYu6rQYRF+Qrd6dNMm8PahT5kJ0SExLgD7ubwAT+0uw7h8y3LmQgKPKDnnvehI434Kmi6dSgC4HrJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761700409; c=relaxed/simple; bh=9trR5UxdHWDqSG6vyDQcemhL3UOInGnpau/LcAXDx44=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RWNSuwteDmNq9d5NR/fFfNwfOVyG5mleUkmO5buidC7TmwCvBTqElqaPH9MLELYMPL0N0jek/Q53+J+h0aswKoQaPpIx1eUZxwGrcvSy3MV+hcvCU7fGJ4hCGsLnppc1AKroBwRNpyWDesO4O8djswvSuUO21q6FzdgSbyzPbDw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=richtek.com; spf=pass smtp.mailfrom=richtek.com; dkim=pass (2048-bit key) header.d=richtek.com header.i=@richtek.com header.b=vimorGJQ; arc=none smtp.client-ip=220.130.44.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=richtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=richtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=richtek.com header.i=@richtek.com header.b="vimorGJQ" X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=richtek.com; s=richtek; t=1761700404; bh=dkZBtvIeapL8oPDdpjQQ5aagXVeprBU+s6xz6iCqmRw=; l=2741; h=From:To:Subject:Date:Message-ID:MIME-Version; b=vimorGJQ/cU4hgIlB7SB5SDwbYP17taa6kuzLZKkskMwbWKpQ5xlhX2z/6WaniiHq h6irvctXmO+oQBND/3C6PK0vjLdNqet98MjHejN1AIRCbATuc21Fu1YRk3yebaehUG JDY8BFdkYk3LdfGXGrpz20kFOlhPsM64B0NLD0UgarfID9wmZ2vcEhCkzCgwuamDnj ve+zBVvs9d3kT3BN9DBy3xByh9m4xPnYJ/XCMs5cxogWFe+m6sKbZbUo7i43LOT3hm mDIInIJnd5cr0eKQOHG/rBNPMNbNhwS4BksctdbHz7bxxjEEUSity0hbG7L2+6SEgQ 4OKQjGLUfD9WA== Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(3436907:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Wed, 29 Oct 2025 09:13:18 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.26; Wed, 29 Oct 2025 09:13:18 +0800 Received: from git-send.richtek.com (192.168.10.154) by ex3.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1748.26 via Frontend Transport; Wed, 29 Oct 2025 09:13:18 +0800 From: To: Sebastian Reichel , Krzysztof Kozlowski CC: Rob Herring , Conor Dooley , "ChiYuan Huang" , , , , "Krzysztof Kozlowski" Subject: [PATCH v3 1/3] dt-bindings: power: supply: Add Richtek RT9756 smart cap divider charger Date: Wed, 29 Oct 2025 09:14:43 +0800 Message-ID: <7be50795dc39cec3ab170fdcae568554b22597f5.1761699952.git.cy_huang@richtek.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: ChiYuan Huang Add the document for Richtek RT9756 smart cap divider charger. Signed-off-by: ChiYuan Huang Reviewed-by: Krzysztof Kozlowski --- V2 - Add reference to 'power-supply.yaml' - Remove 'wakeup-source' from required property list - Use 'unevaluatedProperties' to replace 'additionalProperties' --- .../bindings/power/supply/richtek,rt9756.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/richtek,= rt9756.yaml diff --git a/Documentation/devicetree/bindings/power/supply/richtek,rt9756.= yaml b/Documentation/devicetree/bindings/power/supply/richtek,rt9756.yaml new file mode 100644 index 000000000000..a88bf6cd1927 --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/richtek,rt9756.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/richtek,rt9756.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RT9756 Smart Cap Divider Charger + +maintainers: + - ChiYuan Huang + +description: | + The RT9756/RT9757 is a high efficiency and high charge current charger. + + The efficiency is up to 98.2% when VBAT =3D 4V, IBAT =3D 2A in DIV2 mode= and 99.1% + when VBAT=3D4V, IBAT=3D1A in bypass mode. The maximum charger current is= up to 8A + in DIV2 mode and 5A in bypass mode. The device integrates smart cap divi= der + topology, direct charging mode, external over-voltage protection control= , an + input reverse blocking NFET and 2-way regulation, a dual phase charge pu= mp + core, 8-Channel high speed ADCs and USB BC 1.2 detection. + + RT9770 is almost the same with RT9756/57, only BC 1.2 detection function= is + removed to shrink the die size. + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + oneOf: + - enum: + - richtek,rt9756 + - richtek,rt9770 + - items: + - enum: + - richtek,rt9757 + - const: richtek,rt9756 + + reg: + maxItems: 1 + + wakeup-source: true + + interrupts: + maxItems: 1 + + shunt-resistor-micro-ohms: + description: Battery current sense resistor mounted. + default: 2000 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + charger@6f { + compatible =3D "richtek,rt9756"; + reg =3D <0x6f>; + wakeup-source; + interrupts-extended =3D <&gpio_intc 32 IRQ_TYPE_EDGE_FALLING>; + shunt-resistor-micro-ohms =3D <5000>; + }; + }; --=20 2.34.1