Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3397330rwl; Mon, 27 Mar 2023 13:28:33 -0700 (PDT) X-Google-Smtp-Source: AK7set8nDXs/md8P3S0P5HlhanrQXCaFOcuoQiL9m9jjmHeIcTIs3gP268HugZAb9O9nuplqJu1G X-Received: by 2002:a05:6a20:b191:b0:c2:b6cf:96db with SMTP id ee17-20020a056a20b19100b000c2b6cf96dbmr10285810pzb.39.1679948912873; Mon, 27 Mar 2023 13:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679948912; cv=none; d=google.com; s=arc-20160816; b=0Ed+63JRkP5aAaRQLS4hmyE1tqaCRQKogRLkukQzKZsoXMdwSDDbPcTje4E6zJQ/IY BYojVue57s4Qc9ZjzuPrJwDziHYBbqSn7N6ZQZEHoNV3z19IFZIt8R7+45tcvCGcrXA2 JzJNp1iMZSsbJ5jVP+kf8cXbGlYmZaSnaBQlRQvm8yAIoNb+SvWGNVlUg7G/M/CjMUfl dd1JI0B0pzA1IfcwmStqq2QEqnP941waDgfS0IHG24cx+mv2pqi2bDKmCQrjgzHNhnXn 5NABcm1hKt736mRnijsbYtuQwy3WbI/nVOljPv+Rt4zLRiNscmrRyZ8lnNf2pzN9slEd 6xZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Lp3cV9klCyxkQCSTcYxlGIMNTmYQI8olxZQ70AOBqjc=; b=fJcXBhOBdB59BDxfgCmrZ+Wuvy8cDF/B9x0rFkCVe4/sAJ0t7oPLF322NTd4B+wcmQ lOim5DfKIpT/mbsvTstw8LTkQzLubkGUZsY3zPWEXh3zvUGn1YT64GOPYuCtmLS4LHTa dQFpOwbpz3nX3JT1jKnJTxp+LhUAU7R5AeK2JbFNJp2SI9Ko2PwskioyYFX9hUuEAxf7 FOjrbWTrgblPuelfqLQAiiOdoLjsIPPyLbS5PaBAUui248Fbm0xjiaUvMQVoXn2JcD54 mktfmpV4C8X0XiYUJEdYP0Zo6aXB9UJJcZsJ6XbQZQ+Jgcpy4wAq37he4lmPUIYfgAx+ NCBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rocketmail.com header.s=s2048 header.b=klmY2vn1; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rocketmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p4-20020a056a0026c400b006222f47503dsi27109983pfw.39.2023.03.27.13.28.20; Mon, 27 Mar 2023 13:28:32 -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; dkim=pass header.i=@rocketmail.com header.s=s2048 header.b=klmY2vn1; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rocketmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229950AbjC0UWP (ORCPT + 99 others); Mon, 27 Mar 2023 16:22:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229985AbjC0UWN (ORCPT ); Mon, 27 Mar 2023 16:22:13 -0400 Received: from sonic301-22.consmr.mail.ir2.yahoo.com (sonic301-22.consmr.mail.ir2.yahoo.com [77.238.176.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F44530C6 for ; Mon, 27 Mar 2023 13:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1679948529; bh=Lp3cV9klCyxkQCSTcYxlGIMNTmYQI8olxZQ70AOBqjc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=klmY2vn1YJDUubToOgpROOgJBC9u89PZl/6BHQPycsE6by+jTDoK+D8kcvIlTNog1nbZ18kzKRPc69lOsvS0U9HB8edo/cc1jtPgYXOsH8F67Hkk1TcBzvi+SHvpvr5xT8YjIodc9yhYMNBnuqDVvkdiJ/tzCmJDoMxvPJ/JuW1SHlGAY1yLHAbKSJzLhMQFPX7AFUgDyM2al3yhB/+pyfaIq+wjvxdn7Sa49zOned7eLMXNGzzMJTufOd7PodnkjQX+sA3wfXUoTxv4VANDrCP22E38yhJ+rdATDVTOy0nM2XOu81gKv8zWUjoZ+fFQz6WD0z1F1cddZ/Hu2G0gwg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679948529; bh=7iYfH2GeDA2V4GIET8TRq2RsO4Gj/qBB0VuP9mOUqy2=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=av3n9rD8lArDa0LbOxUQnoYOfwrBaelb7hLy5WwOSw99otQ1ptrqt+zUbYXB1ePCfMoKiPL3XejGW3vscSzlP3mp3iMloQ643lWT2vV7vKJ8SamlX7NHaC5/esQwJZr8bxQitlEHFZLOVvdt6BqjT/fIVOACQPPl6+VI5qcdLr1HUhyC0tMa4bi51qcf9mXNHsPXzbrLL1vcQ5Mg4QKX7zfZ1PkSCn07vmJ/oF+5ZXInRUk0L6BpSuyLZnW16v48CoIq7zU4D7xl0QXaAJe1mThMkpP/hGlpD/EbCznqL7e7CwvVY75436aMNEqLtRMFYci4wQxmZ9hVF8YDtXalnA== X-YMail-OSG: q7PDkaMVM1lKhsa4YX2IsXwZ_kJtGxbWJlLHOVtF5Mtm2HAcLguIeZu3rpvoxLf kG6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70W5TzFmT0Ia3.hEP5hahVEyR67SFzH.FDD5dth5nirrcgn2JkXn52j7rApG23kgtgUZGIAHz qTcyPu92UJ8cHTHTQBQzHaeMRhZHvjgdsVeStxoUPTA121EZ.r4QlOvlduIfyaY998euw3jAg4eu 8a5Ilfyp.za7Spm1mQl5nuRk- X-Sonic-MF: X-Sonic-ID: a979ba60-6072-4ba4-ac6e-5e8a429e1c47 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ir2.yahoo.com with HTTP; Mon, 27 Mar 2023 20:22:09 +0000 Received: by hermes--production-ir2-5b7d458747-pvwxd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 348cf5bb173447de6266ad670e12dd95; Mon, 27 Mar 2023 20:22:06 +0000 (UTC) Message-ID: <4ebbbd58-e9d2-6d7d-63d3-d128840238cb@rocketmail.com> Date: Mon, 27 Mar 2023 22:22:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 00/10] Add RT5033 charger device driver To: Pavel Machek Cc: Sebastian Reichel , Lee Jones , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Beomho Seo , Chanwoo Choi , Stephan Gerhold , Raymond Hackley , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht References: <20230325160819.GA1820@bug> Content-Language: en-US From: Jakob Hauser In-Reply-To: <20230325160819.GA1820@bug> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel, On 25.03.23 17:08, Pavel Machek wrote: > Hi! ... >> - The third option of the rt5033 chip is enabling charging termination. This >> also enables a re-charge cycle. When the charging current sinks below the >> end-of-charge current, the chip stops charging. The sysfs state changes to >> "not charging". When the voltage gets 0.1 V below the end-of-charge constant >> voltage, re-charging starts. Then again, when charging current sinks below >> the end-of-charge current, the chip stops charging. And so on, going up and >> down in re-charge cycles. In case the power consumption is high (e.g. tuning >> on the display of the mobile device), the current goes into an equilibrium. >> The downside of this charging termination option: When reaching the end-of- >> charge current, the capacity might not have reached 100 % yet. The capacity >> to reach probably depends on power consumption and battery wear. On my mobile >> device, capacity reaches 98 %, drops to 96 % until re-charging kicks in, >> climbs to 98 %, drops to 96 %, and so on. Not reaching 100 % is a bit >> confusing to the user, too. > > Is the system powered from the battery in the not-charging case? Yes, at RT5033 in the "not charging" state the system draws the power from the battery. ... Kind regards, Jakob