From patchwork Sun May 14 12:31:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakob Hauser X-Patchwork-Id: 682274 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 633ADC7EE2E for ; Sun, 14 May 2023 12:32:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235354AbjENMb6 (ORCPT ); Sun, 14 May 2023 08:31:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234152AbjENMb4 (ORCPT ); Sun, 14 May 2023 08:31:56 -0400 Received: from sonic313-20.consmr.mail.ir2.yahoo.com (sonic313-20.consmr.mail.ir2.yahoo.com [77.238.179.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D2E4171D for ; Sun, 14 May 2023 05:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1684067513; bh=tWxmac8mwRjMj71krRu9An5Rypa20FdRhR7NzHl2dAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=lJxf1+0atQl4LVIuxw9nXF3FrCjXZ0MtejnjuOnEXidz1JEmBVTZwuWMiv09WPJn/VlPnzGrAlDVmNvw7z3xj6DxRlzoI3oYu3MGj/Zencw/09ichl/DHc776Aw8JbYenS+MhVW+/ThNHKmBBvL+BqhlHJacKUjkEEeKGOG0DZxKAR3InWFD3KEpubg8SMZUi8lHypnm4ZSV8FlsvzM+cpsRWBnbGipHf7S+mHYJ3imjHMIwTFFFFIufFNYKHwzInr2iSUH/w18EkqZGYjRKKi6RcWFrSFGLwsaaD6Pbz6pIwIOBcApsHzYwL3cgT7Hrr/28xj8M8OQd88YdtkUFUQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1684067513; bh=0w5YwCWwvMTy0fAoDNbwYRkRoLZyR/ErTg6FIbrv0Vd=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZR8VK7BELOHd/DY555mbdg7NjnrlJaArqGyAF2sxqvdpoBqRVjfdClPNuVYe7CnDlemilkceq81rCuGanTCBr8z09E9d6R87a4pxmoWSTkFHIhlVpu/vCCl5OHLlojDJHt+5Ts/qJuT1CYVECBNpIgIGzmQ+EiWCSbj0hG7tPbk7X3KQNH2BraUEbycVDojhwa9RQGrWMK61cub8R+EtThMkRvym/cDETvHmO+1Fkh2fx5DK2siPenUgol8rV4v7AvCpGPGbBU2BBR8FN7szBBMSXmLwQg2pHMO3q4P+671diE4MVfXsyji61U+L2YELVM510sdjeq/D9X8nO8+BBg== X-YMail-OSG: BPORoeIVM1lVP1GRrleAMcn.pZ7jDQg_r6w.nOOTz9.iii1xRp7OD1GmulUvb70 VFPrIAqqCHNzUnFFKB0dJxCxMCjzndrQcOeNr1BG_MKeul8wNwPxEfbPv6ffhev0EcT_nkrt5yVd YW72O2stX.S.Bv65ugxuRmvU74pHLt.1vRuEs9viy5TGdiAkuFonXqtfebZyUeC9BsUVetevcMLf 5b6AvxJ0J45L2qY4dMyZkvc9JxBjhSXBUXtDHs7YxBnmxC562RTeAhlRa_VswyCI6Aggm_QEj4SZ EFMJjuL3u9cUWfjkzIQ9V_eP31iiS8J4xul6hRZRt.3pgNhibEmle.pah6RxbmcSPtSh_8lwGc90 mPmZ8ZkBdeoUfATcre1.xpIwxraXdEFHk3SGZb1EEb7BUFv_5OXp8hB9sVvLNofkOeb_KJ68Rr3O 2B4mi9p8LZJU.WVYDmtTed2l6OJReuWk_._PgakIh4fXNZenEBbvxUYkBI0T55HHj738V58VJzV0 yFBEcAirYObO..zZok9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ogBauoHIiMwQH2Fg5V3jzroObm.OpEFlAqTpGfU2fGv4ly70yRmrc 8e29bnxnKtg7OLZej2TvT8m9dAAaKkZb9nQV6qTPSRK8Ef4HDGRuX4nZ2RvsMjdWB4Fho5c4YAie kGPpy4bshWiPchyH5l.EiSkXB_lqYAQkthnsS1Z_73UwnDk79vb1iHm2m4czTjus7xvxoDBHD7ov Yfb4ZdQqTh1fyNDQaUaemYn5N8amiJ3wrWslUKQyaDfJQYHCFQPX9NgjpMfmbPWdpp1GtLWY6oJZ gIq3A_kwpt22L7Cozi0YI6fUp6dnyrMv8H91H9.QWuPnysJkBcIOzniEmdysl5BxVop8lqJj0pEY scpVf6AKvq9M0IXRsOAyG2hxQ_gibbunOIV6SlVtRkaSHUPwWbUP2hylNgpsIOUt3IcjWwaD.P2W RhYPRqZ3aVbI25T4ARyHwsU5sL877qZS5B7V7zYQxXGQh3ekCaII3ka3X2f4ABjtcitgjCbxKl3s VslCaCJjbu8owPIPLtmaDtcMU7HrI6eIUWmmJXxPDjDJq5Gp9qoH4Sb5evyYbD7zqttks0_UaLZs ppiDpqtRwvL9laptE6EPpkC8Bqa5fw8BBEtp8_RDROLw_wBV1E_kJDYz9BtIkEAlsM56ugxaHF1V bz98E_0Znbqn9fTmnIsZ5pZ5pOjq5DLWpbZHUIIvoS.KlKgWFpfniX8VgGbPfN8YvlFbTguKBg_4 S.OUm1pSTacumlNNVIuKuXk.p X-Sonic-MF: X-Sonic-ID: e60d1f4a-a32a-4d5e-b71d-9e99e9ba4dff Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Sun, 14 May 2023 12:31:53 +0000 Received: by hermes--production-ir2-7867f454fc-kqstn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 32d47a946aad3f7d203db987b930ba8f; Sun, 14 May 2023 12:31:50 +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, Lee Jones , Jakob Hauser Subject: [PATCH v5 01/10] mfd: rt5033: Drop rt5033-battery sub-device Date: Sun, 14 May 2023 14:31:21 +0200 Message-Id: <20230514123130.41172-2-jahau@rocketmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230514123130.41172-1-jahau@rocketmail.com> References: <20230514123130.41172-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",