From patchwork Mon May 15 20:57:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakob Hauser X-Patchwork-Id: 682258 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 4C65AC7EE26 for ; Mon, 15 May 2023 20:57:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245415AbjEOU5g (ORCPT ); Mon, 15 May 2023 16:57:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245418AbjEOU5f (ORCPT ); Mon, 15 May 2023 16:57:35 -0400 Received: from sonic307-54.consmr.mail.ir2.yahoo.com (sonic307-54.consmr.mail.ir2.yahoo.com [87.248.110.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 345CC30DF for ; Mon, 15 May 2023 13:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1684184251; bh=tWxmac8mwRjMj71krRu9An5Rypa20FdRhR7NzHl2dAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=D2o2sxLxc4ScX2s3oImclchspwHQftupJ/r+dkpSHg+6P4BAYrIRdXLc+qyxRMOFSo3JOoEj8A5zIWjP77KcrPqwmORWY4BmRVjsso6l5zRBBmy/lpxTVSTo/Kzt1f2UkNoZ+zIeXggcqjPag6cxXr6ZicSL7Era4l7sl2sXUVYmiOt11HBGGJAJqOMISLf0JUt+xjLg1Rj84asSb3SN9tfYE7faTgqW+sGQ5N97XMbkxA2zYYsNYnTAmhVMf9buwpQmD3g1jnhpnwS4Q3oKO9U5NYruHM2Gg68wC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JpcgxuraCKJ bMbK0mZWQ8YWlPO.T46O9OYVOtytqHFUF7EqgERyxgvOBBcXVccxJc8ITisrXE8T4HalXGiO7OFj V1NujcBddrgwo.EqLXM9wTxmTAF7OQP608j2bZO6_In8voxNsGj1LkNFOiwRn3bOVTyb.x_LZgpY F72jcQ.w24FfByFPNwzh6OCEQRbcHcVpF0fFM3h5apkm.CFeH7ktr.renh9qzBL5SYyDp2e6S8rh hNCNHGdH5lYZP7CZPOBsBLJhYX2VWZp9QpaYA7yN5V3SeuPHc8EYuJtrIJ2YXVHblgXMuJDqse9r aUJqJcv6.vWPkDHQOMS47Ol9nm48qfHihy4V10TBgIRskBfqructj_8Dwdpt1mWtPiOZqGCyYyF. U4YMYKStJCmnu_0kaqkKGyRIFcQaiNXEf95_OrgLFlGmOwA1F0XTF5P4YHOJUfyBlceBy0iwDfJs pwkkbdO6znAaYsso1KhhHrA.c74HzcsraTCBULwQu9pFykj_W5bHHe4eKrMmQNyNVppqaTW7ShxQ WapkKqBqsrhaT7OmFP82lWcbhrkd6nX4EkNKaqtbSRBQwzQDedDIO5OQoNrXOWu1Rfa7dM54eY1y aPygE3MaSIdYsmjwvM9fjIn.AAmmMRUn9jH2Pac03ofYNxDLxLX7E8mMQ5UJA5DiKYTqgMPyARm4 Kr1tFRBvqUefcstQHAjF_hHVUFJv1WxF6gIvkadq7nEkXHNi_AzOEaMKz6u9uyMtNomQwQA34iT5 _BRFVX1ckSbxXcI5.IBf_ X-Sonic-MF: X-Sonic-ID: c0a1adc7-e037-489e-96b8-54ac5eade888 Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Mon, 15 May 2023 20:57:31 +0000 Received: by hermes--production-ir2-7867f454fc-mmctx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9295bf04d78301a0059f933a0cc30ae0; Mon, 15 May 2023 20:57:30 +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 , 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, Lee Jones , Jakob Hauser Subject: [PATCH v6 01/10 RESEND] mfd: rt5033: Drop rt5033-battery sub-device Date: Mon, 15 May 2023 22:57:10 +0200 Message-Id: <6a8a19bc67b5be3732882e8131ad2ffcb546ac03.1684182964.git.jahau@rocketmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: 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",