From patchwork Tue Feb 14 09:08:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 56785 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2856010wrn; Tue, 14 Feb 2023 01:10:51 -0800 (PST) X-Google-Smtp-Source: AK7set8c1YsXRpUCVuTAPyGSX5NaSvQ9ciZgqU74A7BqAAZQqqX+jmLid4f3rvui8pixiXlT/RNt X-Received: by 2002:a17:90b:3809:b0:233:bc78:b48f with SMTP id mq9-20020a17090b380900b00233bc78b48fmr1618507pjb.3.1676365851572; Tue, 14 Feb 2023 01:10:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676365851; cv=none; d=google.com; s=arc-20160816; b=RzmitvpeM2HITvvwYqTmxtLkdlcs46Hiecbfiz1pBEbr44XcdO1PyVw0vTa/qjBne1 /W0l2FldGDKCIWrMlRM4hQ24FkkqDZuo7kxDQKLDHSmwazjqVMG7ONDnChvc74NXj2Pi VSUpoIhAK4up2xs37VhElPiVf5msuiAyV5gl51z7JM8B6fmrhxRYX6XpU3h2Cjzo+v1S pQDmn9vu4xn6+8IrxVdUGz66Phr/D2myuDtP/o9lkWV0ohEothOz7D4hd8XLT2BlMu+0 FvbiuoufPAsDDEOerkbgPeJFZcfRn49135zcnSHB1ygNFIaa6y1rjHeTIblUp12M9uXX 5GZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rWt3LYH3/eszNoBF9DRl58MX49iUtC5j5NaUzoPgKC4=; b=Xe26AQx2ofkj3Wp9bj5wJk/FQhuRLK7SgMrMGhisFupR2uFob9aE+8+2CnJXbe5uks fBeNyHT1HnHvT8eYqZm5kwUrRcJgIDeeegU3TAOvDYtzaBr0fesIQwLFV9RhcRgeguCW oWrD8M1qyM8swpocdRYRkObwHFK1WZLNESR/BdApttILFdFqe8OisCQNyMKwfNvZJ5XZ 1JAJeZqN28mw7d2R8yHHQKxq20CcJ5GxbmKBr/gE44PsfpdFwh1BqPfIElbPqgaxtIKz c/c2lcp7MZzkGnThzmCVC+exLAo9XlLB5FSbeZ6R/x6vIyGLIXy6gBZ4B1c6mwLCjjoo 1zSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BLKgk2uY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w7-20020a63af07000000b004fb4568d22dsi13633467pge.848.2023.02.14.01.10.38; Tue, 14 Feb 2023 01:10:51 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=BLKgk2uY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232289AbjBNJKZ (ORCPT + 99 others); Tue, 14 Feb 2023 04:10:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232389AbjBNJJ7 (ORCPT ); Tue, 14 Feb 2023 04:09:59 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 950FF24CB5 for ; Tue, 14 Feb 2023 01:08:54 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id mc25so1023685ejb.13 for ; Tue, 14 Feb 2023 01:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rWt3LYH3/eszNoBF9DRl58MX49iUtC5j5NaUzoPgKC4=; b=BLKgk2uYVpYd623GhmXngbIem3o5/4Ja7wB5VVqk5/GGO3MIFMhn+cqLX6OGFYNXrp VBUx001ombc1Sz9nqm/BGmlQy6PIrQalqePysVkGDYA26+La3PhmcP3OUcn1NhdDoGGb 6c4MeKMCjOOPMF4Tf3EdaBgbhsL4FBek1InjKBBv3IPFDF4XumE4hFj/a/azdWqT9Cop 4qJYHV/4Enqd1NlMC5HWvNN3Wh31/uE3M0nRqtKRLNn4nCpYxh3GL45yzAlsHk1BHRMf NRnTgQ7fD5CXmQs6FwSCVbRQr2GGob3mfeEQdWwV30qGDkDVq5KSQuf6k4NfACzoC3Zv SsgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rWt3LYH3/eszNoBF9DRl58MX49iUtC5j5NaUzoPgKC4=; b=Xc/VPM65o2BWMk8wMDqO/x5J8fmj5GQJv/waj6tqHHmYOzk7ocheaMBDMtZNcCqk7k vJ6E3Wu1VdfJkcBOMP3kWH3QIuYkfzAOCAO+PTX2vTNK3Z7D4D0fNdjav+Amok2ILSGH NxZduJfguuHe8TxbdljxukeswjL1sob0w/5mBUWH9I00fe1rZ9dHo1Y5beZwj0m8fPB1 0hHbTzRRlbAzwpSAd2juX02R7RSH773pWmEn4YSV6KapcMpOsKTlUuHv4HCRVFV0R/7I B3UyGuyPtQEZ8WnLM+2b9P8K6GUlvjTYerrDkgm/ngo+vIKwWpvMBLNW0iW4W3xjtxLQ Ujyg== X-Gm-Message-State: AO0yUKUUPyOkcCHbv9Q8alQQcO06Tbpbr36EARfrIs8jxSeecpT6Cq6t ktLpJfZ6GKI+lx+CFXV+gseRjQxH0ueypfxG X-Received: by 2002:a17:906:5fca:b0:8aa:9a03:356a with SMTP id k10-20020a1709065fca00b008aa9a03356amr2277522ejv.49.1676365733194; Tue, 14 Feb 2023 01:08:53 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id d6-20020a170906040600b008838b040454sm7998110eja.95.2023.02.14.01.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 01:08:52 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Krzysztof Kozlowski , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: power: supply: pm8941-coincell: Add PM8998 compatible Date: Tue, 14 Feb 2023 10:08:47 +0100 Message-Id: <20230214090849.2186370-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757796998955065048?= X-GMAIL-MSGID: =?utf-8?q?1757796998955065048?= Add a specific compatible for the coincell charger present on PM8998. Acked-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- v1 -> v2: - Pick up ab .../bindings/power/supply/qcom,pm8941-coincell.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml index 0450f4dd4e51..b7b58aed3f3c 100644 --- a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml +++ b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml @@ -16,7 +16,13 @@ maintainers: properties: compatible: - const: qcom,pm8941-coincell + oneOf: + - items: + - enum: + - qcom,pm8998-coincell + - const: qcom,pm8941-coincell + + - const: qcom,pm8941-coincell reg: maxItems: 1 From patchwork Tue Feb 14 09:08:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 56787 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2856556wrn; Tue, 14 Feb 2023 01:12:03 -0800 (PST) X-Google-Smtp-Source: AK7set9AGg0PlXiT0ASmop8HDoJ/pxPE12C9+CDm4snvybtjUC8d/j/asjBrA3TWLVfvWqrxUlPL X-Received: by 2002:a05:6a21:328f:b0:b8:bcfb:7ae6 with SMTP id yt15-20020a056a21328f00b000b8bcfb7ae6mr1420627pzb.23.1676365923078; Tue, 14 Feb 2023 01:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676365923; cv=none; d=google.com; s=arc-20160816; b=UF5erFIhaPd9xA2rnovxjuMPtmSVf45cXCI6Nq2CCqD6kkf79ZGETt44lewTXtWVc5 KQ0vcO+9fU2vUqdw4PfF4pslq/BC0hNRYmhgZGOEZSvLShrCBACGpa45kdJvY8ZwlDaD ItGBCC+hXvU80C5gDePiCxvk+zh/mhO3A+g2/Q5q8CkeHlPF4qhoW0GZpOoCRNr+/pqa xNduSPrIVCL4WjQEzn8MEK0sPV8vTlLpYum7/jQq+/DhTV5++3LT6ehXpBwIi68iEkR1 IFVXLhrEi1YeqsmYlRiUCqAuKc1dnUNCFKHzanM52FC0Argjg2VArLw/W/MnQKoIDFZe FxWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CQlRVEdqb3xvOh0YbavmZdnZTVv7UAg4IoCftBovVqc=; b=kq+84Iq4GOzduCN2W0advq2lIxO3yzq3UlfADhe1mh02C8pgHFD4EaR5rTtMAQX13t eHa9iF+uBfdjg2NqC6xOv/s7M19zOIMMY5q8cZo5XE7G5U0Wn/Dl+AprdV3m/Q/eD8yw +h4pksYD48576Wgb/ce+OAuvzTICRu9zyhFnkwZ1fC68gye57cSq40k/lmaFG25HJKRI 3Uik0yX7oiW0yxhNH/qGA3IDT0NuRX/tKkGtbobLgzwJrZk/OcAu+gpPHLQjOnqBJVA5 0KMuNjrdsRvbQ2D+uuwXYQAXT5PJqhn9QV2NvJyZc4jmEYcsyfvA7appUk4MtWaP4wl1 bUsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nkpCXQ56; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b195-20020a6334cc000000b004fb96289431si7234241pga.676.2023.02.14.01.11.50; Tue, 14 Feb 2023 01:12:03 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=nkpCXQ56; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232348AbjBNJKi (ORCPT + 99 others); Tue, 14 Feb 2023 04:10:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232431AbjBNJKE (ORCPT ); Tue, 14 Feb 2023 04:10:04 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EE892528C for ; Tue, 14 Feb 2023 01:08:56 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id jg8so38403712ejc.6 for ; Tue, 14 Feb 2023 01:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CQlRVEdqb3xvOh0YbavmZdnZTVv7UAg4IoCftBovVqc=; b=nkpCXQ56BxHkEWs0xM2KwhdQDFBBPyxNWzIisqVASibdi8RmNbz+7S3A//hu0rfqgm NJHubDaNKd906a2/uWCZdR+yvvJNqEixXTtb+LJMweNmXtVOcjWaOMTyTBjKQYecpUsW 4YQrlSt3/wkk1g+19rmcSBLkX+ri+AS3CEUsfYc8DbHAQhj5m3064AWI5/ID+VnHXZYh H6VEKdNW7wWpJKajcinMLgs80chXciNoPblQbW6m/p2LhZM1KgXFwkPIzDJir392a/PW 2j2WBtaWwv+8ZtKFkC9SFdLoa6jXiJaBPxX7JLGIJ7sJKDv6y5L9BOd1+Q+7K5OrbLoC t28A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CQlRVEdqb3xvOh0YbavmZdnZTVv7UAg4IoCftBovVqc=; b=h/hDmnjePLfWCXvYeqQNWa0nw10IHJh0JN+z+rt7Pn8a/lA/8h2IWd+ohwEru/eOmH te6LOyMJ7Loqu/Ir6xUfLZz323e/WNrgQJq4X+7KHh8PTGmTMj/IOsPm5dT6yKu05VtZ wOH5gfANLzO2/7A4eDnq2FXfqVKnTViglvExGU6xtkE+cpuZumFVX1C1oGkz4MuMKdyj MJYMIpAaeDOPX4/7HJzrmkBx/6QNuK5NmzqUaltrkE5G2oyE7I+GBzzmPiO0ZNNVzsRk pE5ljI5YOhdG50m3JfDW6KpaiZ8nNaKyll8ZfiTZMUppy2u0ldAtDKQSWT/7ut5daTpU QE9Q== X-Gm-Message-State: AO0yUKVCFeS5uaulRZf/BZRkGCOtf8GX31Wdj7KwyYdMo1MQl1qSRSKU 1BEWohTDIDGunvBMGb07j4UhOg== X-Received: by 2002:a17:906:1249:b0:88f:5377:1048 with SMTP id u9-20020a170906124900b0088f53771048mr22128328eja.22.1676365734746; Tue, 14 Feb 2023 01:08:54 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id d6-20020a170906040600b008838b040454sm7998110eja.95.2023.02.14.01.08.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 01:08:54 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Krzysztof Kozlowski , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] dt-bindings: power: supply: pm8941-coincell: Don't require charging properties Date: Tue, 14 Feb 2023 10:08:48 +0100 Message-Id: <20230214090849.2186370-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214090849.2186370-1-konrad.dybcio@linaro.org> References: <20230214090849.2186370-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757797074036799682?= X-GMAIL-MSGID: =?utf-8?q?1757797074036799682?= It's fine for these properties to be absent, as the driver doesn't fail without them and functions with settings inherited from the reset/previous stage bootloader state. Fixes: 6c463222a21d ("dt-bindings: power: supply: pm8941-coincell: Convert to DT schema format") Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- v1 -> v2: - Describe the behaviour when the properties are absent .../bindings/power/supply/qcom,pm8941-coincell.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml index b7b58aed3f3c..1d2405bea109 100644 --- a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml +++ b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml @@ -28,12 +28,18 @@ properties: maxItems: 1 qcom,rset-ohms: - description: resistance (in ohms) for current-limiting resistor + description: | + Resistance (in ohms) for current-limiting resistor. If unspecified, + inherit the previous configuration (e.g. from bootloader or hardware + default value). enum: [ 800, 1200, 1700, 2100 ] qcom,vset-millivolts: $ref: /schemas/types.yaml#/definitions/uint32 - description: voltage (in millivolts) to apply for charging + description: | + Voltage (in millivolts) to apply for charging. If unspecified, inherit + the previous configuration (e.g. from bootloader or hardware default + value). enum: [ 2500, 3000, 3100, 3200 ] qcom,charger-disable: @@ -43,8 +49,6 @@ properties: required: - compatible - reg - - qcom,rset-ohms - - qcom,vset-millivolts additionalProperties: false From patchwork Tue Feb 14 09:08:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 56786 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2856543wrn; Tue, 14 Feb 2023 01:12:01 -0800 (PST) X-Google-Smtp-Source: AK7set9lXm4ldr1AdlAWzCQ+FD6suMXOm82ZJ/XnJVjGr6/ei1mVfByQYOGgqTMftJoVEtMkPLXz X-Received: by 2002:a17:903:2302:b0:19a:b302:5156 with SMTP id d2-20020a170903230200b0019ab3025156mr2273392plh.24.1676365921242; Tue, 14 Feb 2023 01:12:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676365921; cv=none; d=google.com; s=arc-20160816; b=HNmAM24U9r0NLYvaN2ItMptdpbNZf3/Xrn6sp8VucYiBvN+Y2tqJxLet9cum6e6pfF KQ11Z53y5IubyNx5EfPFCtbeBluN+1FFLZDcwRvGDMW5L6tPIXK9QN502Ozj8+UTMR64 1VvT0EjNfkmNykM9WvC68PapwwrcYf+5D5UhYexc4R6xbuZJ25uYrbt10OTDtqUntt2G qkVxCTJ8eX0H2qALTvmR5qvMfLERECcFJHDIL4EYLvnWuHJXEFW+g0HuILQR6agmz2kd kEa+DEFj0QTHGWQB1Idx9kLv7Mls647Ig/cKGrPlz0STUc9LeG1+XEMCBkgvtNiJ3On4 RIFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nnnkKXnJ9t7DnYEPY2SUMLg12Ga3VeSpmXZ/jSFU5FM=; b=agBQHDFquoexzPb3LiNvhar1nkUo2Razk6rF9pkXC0pQeeWz9U4OfjFxj5NZbK3j1F gq4dNrPIM+g3Zj3HeCkYl4ynkWzuZbaEujlwfXm+EDTANFSIsoHBbHSJgrZwxjJSgkc0 6Ng009WsLFkH1402rVFmKG06BWRx2J/3v1ID0GF6tM9pdyb+kfBzIua7InNadZz3Gwbh QIiK+NHU0sLZIGggLQodvlTv6XwdTf5I/hFdbjA7cxEiBuDnk9WKvUQwUuq7nMXpnysN cy1aYaG+SLOagZQBEa6/RnQpTL659erA8R9EL8xjEKmhffJuBK2sAqdMz3ZQT0/h4DR2 eGXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W3Ep99yj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j21-20020a170902759500b001992fb24621si9540621pll.189.2023.02.14.01.11.48; Tue, 14 Feb 2023 01:12:01 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=W3Ep99yj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232345AbjBNJKg (ORCPT + 99 others); Tue, 14 Feb 2023 04:10:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232440AbjBNJKE (ORCPT ); Tue, 14 Feb 2023 04:10:04 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A97342449D for ; Tue, 14 Feb 2023 01:08:57 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id k16so6843515ejv.10 for ; Tue, 14 Feb 2023 01:08:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nnnkKXnJ9t7DnYEPY2SUMLg12Ga3VeSpmXZ/jSFU5FM=; b=W3Ep99yjBrO0M2WZ0wqaBiqXJWEFGiAIHSmgjvuBwuct05BR3rFver3b5LQUD9oS30 tAyc1PIMr9CC1t7bECdoowfEkHAtwbkA2sUVdnotInDNwtgG+yH7lX5evgsD8z4FSKJk SFvAZJFGEKu43IavWdALapoFI323+sSabcSbbBdMVYbq96neEpOtQLu9K9R/RWXbqrGH zQtLycXgrDLP7lzzMtzpJcLdM0s9XlOSCB2F8ybXMt0axFSL7IjPN1UE+3+G2EQT59i2 yFTSzdFAcpHARD2L+w4sfBrJWgEeMJRjx9NzkgTNziluED3WUXrhaoEmqWgSWbxt/uSd JRXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nnnkKXnJ9t7DnYEPY2SUMLg12Ga3VeSpmXZ/jSFU5FM=; b=whryZpp0rzuWZQtc0EhKxhJMXJsFmY3faPtvWF24PxQ6B/UCOa13+gOfyKCWHp5Ymh +Ev5kYu7hYL1HclSZm2cnHCVgy2/z8tE/gQn5Nxg4fWXht51f07CcKENnAHrp1HSeNpt y7hTOSb5TLW1KXxSCfxI8xOKhJ9mcthnImR1BzoebHkUmPmA62Yybm24Kr/zWJRzvZSe GbSKEy4CeLIorJy6okxN5uU1RVr4xZC8e4l/Zex1SOvUrSwZ2zt1IcbRHEYyR1troFoD 0m/xYO77Ju6qB2iUMAPRE/52rHG0hIJQ4kDt5skCHI7CRYxdxA6qTOCxyLTnpDiNpnqr AHvg== X-Gm-Message-State: AO0yUKXHi0ZooIboNA/79n32PYgnR4vm5dn06bYl5s3KYLu2vq2JRBY3 eOB64YnOAQ/KWZrL4DrXh3fDSQ== X-Received: by 2002:a17:907:910a:b0:872:82d3:4162 with SMTP id p10-20020a170907910a00b0087282d34162mr1688022ejq.44.1676365736187; Tue, 14 Feb 2023 01:08:56 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id d6-20020a170906040600b008838b040454sm7998110eja.95.2023.02.14.01.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 01:08:55 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Krzysztof Kozlowski , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] arm64: dts: qcom: pm8998: Add a specific compatible for coincell chg Date: Tue, 14 Feb 2023 10:08:49 +0100 Message-Id: <20230214090849.2186370-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214090849.2186370-1-konrad.dybcio@linaro.org> References: <20230214090849.2186370-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757797072197094189?= X-GMAIL-MSGID: =?utf-8?q?1757797072197094189?= Add a PM8998-specific compatibel to the coincell charger and keep the PM8941 one as fallback. Signed-off-by: Konrad Dybcio Reviewed-by: Marijn Suijten --- v1 -> v2: No changes arch/arm64/boot/dts/qcom/pm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index adbba9f4089a..340033ac3186 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -72,7 +72,7 @@ pm8998_temp: temp-alarm@2400 { }; pm8998_coincell: charger@2800 { - compatible = "qcom,pm8941-coincell"; + compatible = "qcom,pm8998-coincell", "qcom,pm8941-coincell"; reg = <0x2800>; status = "disabled";