Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp562272rdh; Tue, 22 Aug 2023 04:31:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGK+6DO2YRoXAabtzd5svt5v/LjkDfJ0MARO7lBHw1prQ7PGYZHhICp3KhBfxBdqxb1/Kg X-Received: by 2002:a17:90a:9a5:b0:26b:198a:9dcb with SMTP id 34-20020a17090a09a500b0026b198a9dcbmr6350329pjo.31.1692703911810; Tue, 22 Aug 2023 04:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692703911; cv=none; d=google.com; s=arc-20160816; b=J2B9DumCO7XNth6I34XfDYD3ZbzDuGC7KcTuwvRgmJY5JiDvxxG3/OwgNKKTHZCMQW URut+RiTVugEfGLQkXd3xzCp7Vv+4i1ZkGhrope8W8LntP8/Y6fzVL2CCpnR1lp6Vnbs QwhM4my304xxRtAF5aNAYgsbxszBfEcv3qF7GM6H6gKoO9N2uJOc/5+DQwnahy1McPbv 5Wiz6UNcpr1A07kRYm9x6s7MxqZzvjhRFr0J1DKK6SfKk+BLAf43kGVehCJTyogaHwO7 l7Yh2K243RwPXdlwiA2FhDCcvzp8aPcqyVMRD/Mw6vuNLHGVFlL+j+c2WFgflewkzHVf Y3PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zdPNxkvNO48+pU7B9Ok1lARQIgNqJHYQysMB8t8lfds=; fh=OjmoAVrOePoYXGMD4CMeY6j8Oz/mLB3X1ADqWbi0NwQ=; b=CH+aeW8fBCz1cxmJZVA/m5Ty+CfwudhYdhhoizlHrmUwO30P5K2BSnTqq44csHWEPP Sxt6c2eSTMD4ELtBPqDFUapjKDL7QlsDk7TMKsbT8/V6R7L85hX+A2BwU2mquNeWpibY zRuNwAv6FUXNB0RBEdJB1Gbzn0WXfcS4aXAZEMTWOvirbaFR9oQ5slVGWJSzp85hpe1O geZEYhc9LHVtL37BRi4Vc+GtzOc3bjdAZ//F95tkqRZnzp/125S52cIjrL7GbVTs3Jhf 3izP6EjnQJsjt3sFhTxsVMLwnRrhCBnj9NPS01HUSauKJQ8iQPdS72qgkjWgAF8nabkd /EjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NdhbNII6; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a193-20020a6390ca000000b00565f20a03f3si8543954pge.774.2023.08.22.04.31.38; Tue, 22 Aug 2023 04:31:51 -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=@kernel.org header.s=k20201202 header.b=NdhbNII6; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233160AbjHVHHt (ORCPT + 99 others); Tue, 22 Aug 2023 03:07:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjHVHHr (ORCPT ); Tue, 22 Aug 2023 03:07:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C389130; Tue, 22 Aug 2023 00:07:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A8B6E64244; Tue, 22 Aug 2023 07:07:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1D55C433C8; Tue, 22 Aug 2023 07:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692688065; bh=d7xbpsQutE/31GLl4hB/Q4ABnnr1PfLlY7OsceIn+zM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NdhbNII6nUMZKsIFq4qeXlqiEpIjGqdASMrzWamLsOrQryVdbEm/QJwtB3stP9mQJ 9oZ/5yE8XLY2e7tERRhVXaF6XibplLcBURaCEyMMw/3kDOUshPMn/zkKtYop/fk5Pg 4O+jL77Y1RKE4EQMMYEb8bw7gW08+rsLjeNW8MKbCdKBJEVL2VOy7BF2Z1A8rccAE5 H6FgYXH4s8KDs6kF9qeXoUzQFjS9tnVQE4XtKxmMBEBE264Dafp86nSy3AApTdmPOy eNKAtYvwWSFxo43maiTIMRgY+1yD9G93Ed3B81geIBtKXdnYREEStW3vgft96okARm AqjD//LPfo2Aw== Date: Tue, 22 Aug 2023 08:07:37 +0100 From: Lee Jones To: Sebastian Reichel , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Jakob Hauser Cc: Beomho Seo , Chanwoo Choi , Stephan Gerhold , Raymond Hackley , Pavel Machek , Axel Lin , ChiYuan Huang , Linus Walleij , Henrik Grimler , Christophe Jaillet , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Sebastian Reichel Subject: Re: (subset) [PATCH v6 06/10 RESEND] power: supply: rt5033_charger: Add cable detection and USB OTG supply Message-ID: <20230822070737.GP1380343@google.com> References: <223b440ab6831f2e7302d2c49b2cfd7779d5effd.1684182964.git.jahau@rocketmail.com> <169226510772.947223.494995318945916008.b4-ty@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <169226510772.947223.494995318945916008.b4-ty@kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Aug 2023, Lee Jones wrote: > On Mon, 15 May 2023 22:57:15 +0200, Jakob Hauser wrote: > > Implement cable detection by extcon and handle the driver according to the > > connector type. > > > > There are basically three types of action: "set_charging", "set_otg" and > > "set_disconnect". > > > > A forth helper function to "unset_otg" was added because this is used in both > > "set_charging" and "set_disconnect". In the first case it covers the rather > > rare event that someone changes from OTG to charging without disconnect. In > > the second case, when disconnecting, the values are set back to the ones from > > initialization to return into a defined state. > > > > [...] > > Applied, thanks! > > [06/10] power: supply: rt5033_charger: Add cable detection and USB OTG supply > commit: c1af6bcc8583b0a1083338cd26c2090d0bcb0810 Multiple fixes now follow this patch, so I am unapplying it. Sebastian, would you mind collecting it up please? -- Lee Jones [李琼斯]