From patchwork Sun Oct 1 13:17:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakob Hauser X-Patchwork-Id: 728460 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77952E748F7 for ; Sun, 1 Oct 2023 13:18:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235014AbjJANSH (ORCPT ); Sun, 1 Oct 2023 09:18:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235004AbjJANSF (ORCPT ); Sun, 1 Oct 2023 09:18:05 -0400 Received: from sonic311-30.consmr.mail.ir2.yahoo.com (sonic311-30.consmr.mail.ir2.yahoo.com [77.238.176.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58ED9C4 for ; Sun, 1 Oct 2023 06:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1696166280; bh=kNrx2gSsDcIRy0/jUMhx14yk2GcQW+d/YuI+hbflL44=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=ivdMzMmksKqkVBOPJtaf2qg27MbF194EN65foLJjObHSsbIHT+TZSPPr7Rj6b19vuLInCO2chf/YlX7m+uORURCqeXnmAk3pmvmftjMs8N/S/xPV5WSR43UI5Fjn+0sRPf5B1n1/8K+l/hCjcxLqCu2rr+QMQydUPp9lcHn0tEfmO70winp+OuEDaFFRIV1/Pslf1ouGzqYqQ4wCO4krhQP0EfiMRHy41izmuukKhFLWuUJWngUotIw4JmbVlmKyMuGhjoSkr9pbw8Hv3eqyJBdeuf6P+EzXnOWm7TdlJ9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aMw87AKbDUOupSlj_MuOVn_LkCDGODwb.s1eeVT3H3tQXm5dZ4TUKYS9 7XWBscKiqRk.kDLOt8dEL0UxAwn_hBXnWKj1YAOySBTUSfShq5UlBvnIi3P3YYnCoWbSqAmcIWFM DtZB1m6ypvkqskLcLI.PY9MZZqFuXjpPVGlk6V72PIckznn.gAtLi65dxA91jzyxwETBSqgL73D1 3RuRXZUVPfw5v16Icnorwh21Gw2P3EDVtEEPjhwfd__9ESyK2720z_YsCo_WnlZ1IGVS4B3d4prh z4M0rRjy2hMrHefT4k6XrUzVlei5okfAwlUbD_vEIpsGVZIUNcBzepg7.qnE.gNHX2p2GqVHAglI hJelwMF033Pc8bR1Pz5Nv8oRo6g9Rc1XVtLIkgMpPD9nm0cBPcRbFv.X1Hz8Bn2IcpQat.cc6C8f iXX2.QCPU8CcXH.XfGVPMixNOAtW1L8Ni2EC6O8MM7GoUn75JyvkZ7bW60kqRr84HjJqQ6kkPNBS cjv4eT1Xrzc85YwrvyYZpzvWOPOomzwJBsDsZOAviKlpfn7OgmMlkdnjwBPv.WZNDaF1hqKGOTqC B9AHCWZ2B4XoUU.Y9AqC.DVHgc1h868QDiD5On7O57iaRG7jEXuiBYR_6PEFiCFpgNwa.mJBcxsh KUS2TvhNClFLvdKtFHTe3er_YhPSxpl5qT3XiGjM2oLSmdhFYL0RQjKHxAvlGfjYFuPT0zUV9ADw JRed16H2P3st7c0EUJac1D93few-- X-Sonic-MF: X-Sonic-ID: 97622b99-d75f-47de-a1fd-ae88f0c6aa69 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Sun, 1 Oct 2023 13:18:00 +0000 Received: by hermes--production-ir2-55db9d9d5-gk4f2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f1c2828dd5bee1de58f8566f5b57afb9; Sun, 01 Oct 2023 13:17:56 +0000 (UTC) From: Jakob Hauser To: Sebastian Reichel Cc: Lee Jones , Stephen Rothwell , Yang Yingliang , Christophe Jaillet , Stephan Gerhold , Raymond Hackley , Henrik Grimler , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Jakob Hauser Subject: [PATCH v2 0/3] Remaining patches for RT5033 charger Date: Sun, 1 Oct 2023 15:17:41 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 References: Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This series adds the missing patch "Add cable detection and USB OTG supply" to the RT5033 charger driver. The patch didn't make it with the initial series [1]. In the meantime, two fixes patches [2][3] were squashed into that patch. Additionally there are two clean-up patches, which are patches No. 2 & 3 in this series. On squashing the fixes patches into the main patch: I didn't add a Co-developed-by tag of Stephen because the one fix on the includes seemed to me below the threshold for that tag. Changes in v2: - Patch 1: Squashed fixes patches into patch 1. - Patch 1: Added Co-developed-by tag of Yang Yingliang and a short description about that in the commit message. - Patch 1: Removed Acked-by tag of Sebastian as the patch has changed. v1: https://lore.kernel.org/linux-pm/cover.1695844349.git.jahau@rocketmail.com/T/#t [1] https://lore.kernel.org/linux-pm/cover.1684182964.git.jahau@rocketmail.com/T/#t [2] https://lore.kernel.org/linux-next/20230821125741.3a2474d7@canb.auug.org.au [3] https://lore.kernel.org/linux-pm/20230822030207.644738-1-yangyingliang@huawei.com/T/#u Jakob Hauser (3): power: supply: rt5033_charger: Add cable detection and USB OTG supply power: supply: rt5033_charger: Simplify initialization of rt5033_charger_data power: supply: rt5033_charger: Replace "&pdev->dev" by "charger->dev" in probe drivers/power/supply/rt5033_charger.c | 320 ++++++++++++++++++++++++-- 1 file changed, 299 insertions(+), 21 deletions(-)