From patchwork Sat May 6 15:54:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakob Hauser X-Patchwork-Id: 680172 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 20DD4C7EE24 for ; Sat, 6 May 2023 15:55:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233057AbjEFPzG (ORCPT ); Sat, 6 May 2023 11:55:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231986AbjEFPzF (ORCPT ); Sat, 6 May 2023 11:55:05 -0400 Received: from sonic310-11.consmr.mail.ir2.yahoo.com (sonic310-11.consmr.mail.ir2.yahoo.com [77.238.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F32B6132B6 for ; Sat, 6 May 2023 08:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1683388501; bh=tWxmac8mwRjMj71krRu9An5Rypa20FdRhR7NzHl2dAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=VfYr0cM+yaLPyGdTSGsZMqnJsHDtFbdEIIo0YpCZ8FFvXEro2Z7hgsihmrbv/CTc9xGch2uo0nTavOZ3cuokBqaSpMhoofVTUZhiuRGRHcZ27PHurKzxhbljpI6nzMfX+y1o1MGjVI9OXQDCgPAuVzhULH8FHvmC0wUZ1ocb8Vx/+dyvolZQBtAjiRUw1lOq7enW7QPAa1KBhDOSo8Ft3gdhm55mxb/9m2HapoFYRTU8LkPBDT6zTO6/+wgG+aXI68NfOhxfJAc4fVoel4u86ACSquYY9RIl2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jehF3 909_EsPOmqciYo1h7Ec17biFPJaY0LS3xYwjGnqeZotkAmof5eFbabdjZXNohUPXGI6hxdc1_9Ed vyN4s2fDYrRUrfgMdMnou3p8ycvpat7WOjqv_6OMlxCzyG0XAz6SSXzdEFIxSoYnxtpS1Np_oswl jw_e_lNs5wmRhs.tjJcsZP9BHydHfLyN5zBdZi75bKsidJ.r11N68I_QZvyhpb1WhPEdiXV7n4r9 7sl1P7TJOdp6LsPRbj2HzPUHe9aM78QcYz.KeWYPQKIu7w5OaX254fdFBvjZDP1QxTIk6czITxhY 2RrJi6zOsRkvwyE4BQxF3T2T4aJXs5G0b8xGRaztBaSApCyxhFFN77n8BIFBK8bhVV8fClR86Bed eg0ql9fDT.4CIPzzUvtKem9Vb0S1b2Y72Ln_ghzbsUuFD2OhE2s6kwMfbsoJR1ma_oCYwrVvsVou 1ejpbCwD_I1sB.Ynan.C3fGgI5EmaFs.B.MMdEaTyGC0K3s_LGKympafP2pDyNO.V7K3glB5zeNp rnsAyiVKlnwsl6kPW8qKAlZTFUuKUnGYIWnp1Z9DZjpTbxSI3caVvmfbZkeKeomh7jDTQ1QpyvNB f0Do_O9Yfe8DvLYcuQHlsBqAXTjdX0FSG5c4v9u7LHk9ofAWHLtmEfRH2jBkCw6pBVrODGWpWLZo vm4hz4egTCfQI0eMkrhhTi5O4QYco5ULxPqMsbFAH0CyH7wIOyecaJxnYbCuD8RIKsHUyBTrPVN4 7C2Ps9stbMXH4BG8qSiHMZqPj X-Sonic-MF: X-Sonic-ID: ab311099-0d73-4560-b71a-6aa2d6f391b0 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ir2.yahoo.com with HTTP; Sat, 6 May 2023 15:55:01 +0000 Received: by hermes--production-ir2-74cd8fc864-s5qrx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2f796affa0781b2e3002453351a4dea5; Sat, 06 May 2023 15:55:00 +0000 (UTC) From: Jakob Hauser To: Sebastian Reichel , Lee Jones , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski Cc: Beomho Seo , Chanwoo Choi , Stephan Gerhold , Raymond Hackley , Pavel Machek , Axel Lin , ChiYuan Huang , Linus Walleij , Henrik Grimler , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v4 1/8] mfd: rt5033: Drop rt5033-battery sub-device Date: Sat, 6 May 2023 17:54:28 +0200 Message-Id: <20230506155435.3005-2-jahau@rocketmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230506155435.3005-1-jahau@rocketmail.com> References: <20230506155435.3005-1-jahau@rocketmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Stephan Gerhold The fuel gauge in the RT5033 PMIC (rt5033-battery) has its own I2C bus and interrupt lines. Therefore, it is not part of the MFD device and needs to be specified separately in the device tree. Cc: Beomho Seo Cc: Chanwoo Choi Fixes: 0b271258544b ("mfd: rt5033: Add Richtek RT5033 driver core.") Signed-off-by: Stephan Gerhold Acked-by: Lee Jones Signed-off-by: Jakob Hauser Reviewed-by: Linus Walleij --- drivers/mfd/rt5033.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mfd/rt5033.c b/drivers/mfd/rt5033.c index a5e520fe50a1..8029d444b794 100644 --- a/drivers/mfd/rt5033.c +++ b/drivers/mfd/rt5033.c @@ -40,9 +40,6 @@ static const struct mfd_cell rt5033_devs[] = { { .name = "rt5033-charger", .of_compatible = "richtek,rt5033-charger", - }, { - .name = "rt5033-battery", - .of_compatible = "richtek,rt5033-battery", }, { .name = "rt5033-led", .of_compatible = "richtek,rt5033-led",