Message ID | 1688371229-1089-1-git-send-email-cy_huang@richtek.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp365293vqx; Mon, 3 Jul 2023 01:23:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4vP3T+9ePtoGHM6da/M2jTcfhNKXY8mZhxiV2Ux2OQCVsZhkZQovPVwHz1xFJjgbPpAwOv X-Received: by 2002:a05:6830:487a:b0:6b8:804c:9163 with SMTP id dx26-20020a056830487a00b006b8804c9163mr6366878otb.0.1688372594768; Mon, 03 Jul 2023 01:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688372594; cv=none; d=google.com; s=arc-20160816; b=0T2DR4exfDOMPDo3LcGLXU6XbBXmPgrP8YOmUh7dfVhe9zCCWB1OWKqBdlh9CiC+a8 eeto4UV/bm9aCzlOlIvPbxnMDwPr8EjsQaTL1PFI+JLXwUEqLkSOOrX2YILvJXo4K5MX Y2XqtMNJVrMf9PSwQJTCS5sZFbR9L1mDwIJ9Wz6+PIwHL24XmbhauApK6nTdJAwO9rYY AO7FiGnRtS5B0eZM7HaJiJ8y4/reHnMRnWXtNIUqNqr+qhOsnrmy4UXQZx/1vjx5RUwY vy/Nqu8awKYZiDqY/mJ4cI3U8XTe9IdxiktzG397wzIT9BM6Nbg9HRKGeFGOpCuEE+lH BAdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=BnNP8nbLbshDAam4xkfJMotI/mErwLyvPPvdogd0nzU=; fh=SV43oIMou6dSD499BvlWhNfGCVbQ6M1veycSQgez/OI=; b=tasgwGWY/FIhkuKsmZW7b/4x7XvGmyA1I7LwEH5P6Xmyp5BedNJSuPC9VGElNYGMOf m9OX+GECYLYlPA9/zCl7jyS0hjn64eg36L8m8Wwt9ijWAUyPAEmw4LyMJpL+hQLX/pTq ogn02De2i/GKkIqHhyWmvVTcvSMzlR4E/FLkmIsklDAhvW2MQUliKJSRrUAVS0N928E6 asACclyIIJQs2KXvae7UsIWRYeF+Jr9iKjaE8xOqRvFO+QAwaTjWkICT5DP2TjUJ0qzk kNZVQgyId1Qq3kakDCQ7sS/YihKXxuKhYyNjD43Sxe0Vc2lhlti3tspNRg/x8gVuWj6n PmKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f28-20020a63101c000000b0053f23ffad1csi18008418pgl.544.2023.07.03.01.23.00; Mon, 03 Jul 2023 01:23:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230246AbjGCIBU (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Mon, 3 Jul 2023 04:01:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230316AbjGCIBD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 3 Jul 2023 04:01:03 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2A20AE47; Mon, 3 Jul 2023 01:00:51 -0700 (PDT) X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTP Server V6.0(3453539:0:AUTH_RELAY) (envelope-from <cy_huang@richtek.com>); Mon, 03 Jul 2023 16:00:35 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Mon, 3 Jul 2023 16:00:34 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Mon, 3 Jul 2023 16:00:34 +0800 From: <cy_huang@richtek.com> To: Sebastian Reichel <sre@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> CC: Rob Herring <robh+dt@kernel.org>, ChiYuan Huang <cy_huang@richtek.com>, Allen Chiang <allen_chiang@richtek.com>, "open list:POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS" <linux-pm@vger.kernel.org>, open list <linux-kernel@vger.kernel.org>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org> Subject: [PATCH RESEND v4 0/3] Add Richtek RT9759 smart cap divider charger support Date: Mon, 3 Jul 2023 16:00:26 +0800 Message-ID: <1688371229-1089-1-git-send-email-cy_huang@richtek.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770386982298009170?= X-GMAIL-MSGID: =?utf-8?q?1770386982298009170?= |
Series |
Add Richtek RT9759 smart cap divider charger support
|
|
Message
ChiYuan Huang
July 3, 2023, 8 a.m. UTC
From: ChiYuan Huang <cy_huang@richtek.com>
This patch set is to add Richtek RT9759 smart cap divider charger.
The RT9759 is a high efficiency and high charge current charger.
The efficiency is up to 97.8% when VBAT=4.2V, IBAT=2.5A, and the maximum
charge current is up to 8A. The device integrates smart cap divider topology
with a dual-phase charge pump core and 9 channel high speed ADCs to monitor
the charging process.
Since v4:
- Since it's 2023 now, change date from 2022 to 2023 for source code and ABI.
Since v3:
- Fix 0002 patch title typo (from 'rt9471' to 'rt9759')
- Remove unused R_VAC_OVP range.
- Refer to ABI document, use 'status' to control battery charging, not 'online'
- Refer to ABI document, use 'online' to indicate bus state
Since v2:
- Add Reviewed-by tag for dt-binding patch
- Change ABI document date from Oct 2022 to Nov 2022 and KernelVersion
from 6.1 to 6.2
ChiYuan Huang (3):
dt-bindings: power: supply: Add Richtek RT9759 smart cap divider
charger
power: supply: Add Richtek RT9759 smart cap divider charger
Documentation: power: rt9759: Document exported sysfs entries
.../ABI/testing/sysfs-class-power-rt9759 | 37 ++
.../bindings/power/supply/richtek,rt9759.yaml | 61 ++
drivers/power/supply/Kconfig | 15 +
drivers/power/supply/Makefile | 1 +
drivers/power/supply/rt9759.c | 613 ++++++++++++++++++
5 files changed, 727 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-class-power-rt9759
create mode 100644 Documentation/devicetree/bindings/power/supply/richtek,rt9759.yaml
create mode 100644 drivers/power/supply/rt9759.c
base-commit: a901a3568fd26ca9c4a82d8bc5ed5b3ed844d451
Comments
On Mon, Jul 03, 2023 at 04:00:26PM +0800, cy_huang@richtek.com wrote: > From: ChiYuan Huang <cy_huang@richtek.com> > > This patch set is to add Richtek RT9759 smart cap divider charger. > > The RT9759 is a high efficiency and high charge current charger. > The efficiency is up to 97.8% when VBAT=4.2V, IBAT=2.5A, and the maximum > charge current is up to 8A. The device integrates smart cap divider topology > with a dual-phase charge pump core and 9 channel high speed ADCs to monitor > the charging process. > Hi, Did I miss to mail loop any reviewer or cc mailing list? I trace the mail record. This patch series is already pending above one half year. Do I need to still resend the patch series or restart a new one from v1? > Since v4: > - Since it's 2023 now, change date from 2022 to 2023 for source code and ABI. > > Since v3: > - Fix 0002 patch title typo (from 'rt9471' to 'rt9759') > - Remove unused R_VAC_OVP range. > - Refer to ABI document, use 'status' to control battery charging, not 'online' > - Refer to ABI document, use 'online' to indicate bus state > > Since v2: > - Add Reviewed-by tag for dt-binding patch > - Change ABI document date from Oct 2022 to Nov 2022 and KernelVersion > from 6.1 to 6.2 > > ChiYuan Huang (3): > dt-bindings: power: supply: Add Richtek RT9759 smart cap divider > charger > power: supply: Add Richtek RT9759 smart cap divider charger > Documentation: power: rt9759: Document exported sysfs entries > > .../ABI/testing/sysfs-class-power-rt9759 | 37 ++ > .../bindings/power/supply/richtek,rt9759.yaml | 61 ++ > drivers/power/supply/Kconfig | 15 + > drivers/power/supply/Makefile | 1 + > drivers/power/supply/rt9759.c | 613 ++++++++++++++++++ > 5 files changed, 727 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-class-power-rt9759 > create mode 100644 Documentation/devicetree/bindings/power/supply/richtek,rt9759.yaml > create mode 100644 drivers/power/supply/rt9759.c > > > base-commit: a901a3568fd26ca9c4a82d8bc5ed5b3ed844d451 > -- > 2.40.1 >