From nobody Wed Feb 11 06:32:25 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 ADB3DAD4B; Fri, 31 Oct 2025 07:18:30 +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=1761895115; cv=none; b=ZPCeSdbjnbnioXRWrtqe9ce5n7pxK8RfXZQoQ41n8JLKMSGdQhM4Pmw6aDayMYI8dv8t2e4TQv9FoDR1AHSLM1v3HeBRBi0F+KHX6GoSHjvyPaLs5+ntEf51wYbXKbUktVodtM8ZY3o/mcWNN7pt6qg34/1KjCZ4YAxY7mFDwyQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761895115; c=relaxed/simple; bh=9trR5UxdHWDqSG6vyDQcemhL3UOInGnpau/LcAXDx44=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qMNHgUhCexNmYjC2MK0PtrQTERKfh6Hsc6gtzipzQxCHmbqcWh9owFRDumvv/ggCH0UhXGTfxXCr8EGPqexCz/k7yTmaGH0sbk1gQvkNnXRrg+ia/XEgYxvnQilB+5DQje5oXEqmn7xTVGIRvtzch6P6pfMZ0OL9HXRFTaghnf4= 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=GnYAxBhs; 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="GnYAxBhs" 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=1761895103; bh=dkZBtvIeapL8oPDdpjQQ5aagXVeprBU+s6xz6iCqmRw=; l=2741; h=From:To:Subject:Date:Message-ID:MIME-Version; b=GnYAxBhskc2ByZ61yV8yBBtVwxIHJnGLVTlK1Gazz0HhlALgsfMFINt1NZth+aqQ4 vpSkfy/lKYEgizqU9EiJmWRCWOGyOgDaA51zld6cyXGfCwNF4vZ3fZGpsspCV+hHmy pXhwTftzGESAb0ABZkapkrmsoVeg+4s3MQvvsmLtgWo7blQKdF6Nw7YcHS/J0n0to3 gAVbMSRoXpcVl3tDa/HIDxgaf7TynMBilK0ZIL8zbZHxHAmsNnnZHvzQUkh8DmKBsg Ci3Nfwuz6BWw8nsy0Lty6+8EtYD1Ks3nDJHc8QoYBhUiBYGT8XKq+7IT21noPIrdq1 GYWQ5ocwWL5Nw== Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(3436932:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Fri, 31 Oct 2025 15:18:09 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) 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; Fri, 31 Oct 2025 15:18:08 +0800 Received: from git-send.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1748.26 via Frontend Transport; Fri, 31 Oct 2025 15:18:08 +0800 From: To: Sebastian Reichel , Krzysztof Kozlowski CC: ob Herring , Conor Dooley , "ChiYuan Huang" , , , , "Krzysztof Kozlowski" Subject: [PATCH v4 1/3] dt-bindings: power: supply: Add Richtek RT9756 smart cap divider charger Date: Fri, 31 Oct 2025 15:19:33 +0800 Message-ID: <43f38b450706d49305eb63f4c4ae45c5fce4a06f.1761894605.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