Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp349291rdb; Thu, 24 Aug 2023 07:57:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECKIk8Sw6siq/DrIj0Us4uEv/ojvClf4boo2t9l/uJ0P/lPy1XYNn/diyvY16sqZCiXHRi X-Received: by 2002:a05:6402:1d4c:b0:51f:ef58:da87 with SMTP id dz12-20020a0564021d4c00b0051fef58da87mr20886843edb.2.1692889060664; Thu, 24 Aug 2023 07:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692889060; cv=none; d=google.com; s=arc-20160816; b=DSkuD45ljDk1t8g3ICJ881ZT+Sg15XoPsKTXFbPV3ayGMIqbX9ojLSq1nTxhxLTiYm lNzAFwXgyt4Pz4YTlgzRjgZ3usVpWu+R/YjFRHRIESgTOImTZaT9JqJD6TOKvttPALpI AUnSHyFb6jXHMAPUMZhSbtuT6ophRiQleKFn4i39k4EEUKMc0yvQP4XYMlGB1+6y3Ysc tIapUIGvj7d4wcRUN5AEgg4x/A6boj6VFGLnmPJP8aoskwB6vhZpSbmoZBwNLMX8iQ1g 9r2XaYc7bAFPhOKyw/cg2gJM0StZwI1GmqpzUwG+CQrkF/XeE3Wx1kybWkADtMxEYbXH Duxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from; bh=LlANg3x1qvtghWaN7SYQ1LGz2ljBjHDM82HDzmcaW8g=; fh=AdkrZQUwtQPUQ+xuacZ41AllCYddoYgTIVzm3nkJypA=; b=YRgyDrnBeSN9JTTnuY/esMIxB3WURdGm8AIsIpUCYelxFuTIeXRIq+IwDsKQ3kP9+l yNfsLJfwFVmTtOHZKs4OkJ86g0wA82U2PWa15Kb932ti8TADowiLfumAzLIw3vfgMTa6 C6C/UBSXohs0E4qJOt1bmxLvC4G2DMdHnv4nkUnWSUaCEcdRGpTlLxQPdPOXml4BiRcb Shp7S2yc21Po4kLjfNYPDOx7PMbxeTtJhzS9Ggqw3i4AflCP+fbDqrUrPnmtEvYdBNpE WGyUpRfOthhcWG/JMssUHzgfXgsTkGm1akoZu74VpPXwKXIeT3gdW93hWvo80aYSSXjz 5vSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w26-20020a056402129a00b00529fa041d40si9096332edv.353.2023.08.24.07.57.15; Thu, 24 Aug 2023 07:57:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241313AbjHXMQa (ORCPT + 99 others); Thu, 24 Aug 2023 08:16:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241310AbjHXMQE (ORCPT ); Thu, 24 Aug 2023 08:16:04 -0400 Received: from luna.linkmauve.fr (82-65-109-163.subs.proxad.net [82.65.109.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D699170F; Thu, 24 Aug 2023 05:16:02 -0700 (PDT) Received: by luna.linkmauve.fr (Postfix, from userid 1000) id 0E4388CC509; Thu, 24 Aug 2023 13:27:56 +0200 (CEST) From: Emmanuel Gil Peyrot Cc: Alexandre Courbot , azkali , CTCaer , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] power: supply: bq24190: Support bq24193 Date: Thu, 24 Aug 2023 13:27:34 +0200 Message-ID: <20230824112741.201353-2-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230824112741.201353-1-linkmauve@linkmauve.fr> References: <20230824112741.201353-1-linkmauve@linkmauve.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,PDS_RDNS_DYNAMIC_FP, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandre Courbot This charger is working with the driver as-is, so enable it to be probed. It is used in the Nintendo Switch for instance. Signed-off-by: Alexandre Courbot --- Documentation/devicetree/bindings/power/supply/bq24190.yaml | 1 + drivers/power/supply/bq24190_charger.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/bq24190.yaml b/Documentation/devicetree/bindings/power/supply/bq24190.yaml index d3ebc9de8c0b..92a28d3c3070 100644 --- a/Documentation/devicetree/bindings/power/supply/bq24190.yaml +++ b/Documentation/devicetree/bindings/power/supply/bq24190.yaml @@ -18,6 +18,7 @@ properties: enum: - ti,bq24190 - ti,bq24192 + - ti,bq24193 - ti,bq24192i - ti,bq24196 diff --git a/drivers/power/supply/bq24190_charger.c b/drivers/power/supply/bq24190_charger.c index ef8235848f56..a56122b39687 100644 --- a/drivers/power/supply/bq24190_charger.c +++ b/drivers/power/supply/bq24190_charger.c @@ -2018,6 +2018,7 @@ static const struct dev_pm_ops bq24190_pm_ops = { static const struct i2c_device_id bq24190_i2c_ids[] = { { "bq24190" }, { "bq24192" }, + { "bq24193" }, { "bq24192i" }, { "bq24196" }, { }, @@ -2027,6 +2028,7 @@ MODULE_DEVICE_TABLE(i2c, bq24190_i2c_ids); static const struct of_device_id bq24190_of_match[] = { { .compatible = "ti,bq24190", }, { .compatible = "ti,bq24192", }, + { .compatible = "ti,bq24193", }, { .compatible = "ti,bq24192i", }, { .compatible = "ti,bq24196", }, { }, -- 2.42.0