From patchwork Mon Feb 13 20:49: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: 56538 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2568319wrn; Mon, 13 Feb 2023 12:51:57 -0800 (PST) X-Google-Smtp-Source: AK7set97gu0lNi1G3auayn/DgxIguO3/BRBx6gcOszl0TuiaTVRW2lpRErqh5jpXo9AsrQ+wQDc9 X-Received: by 2002:a17:906:3543:b0:8af:7b80:82ba with SMTP id s3-20020a170906354300b008af7b8082bamr267104eja.20.1676321516974; Mon, 13 Feb 2023 12:51:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676321516; cv=none; d=google.com; s=arc-20160816; b=HTKW8v3k4EJEFrk+mQwyge08TSD+QUjdG4q8jASQHMY8wQfXN/Fa6irHoGvU9akNIr ACyGuXEomBRFpGOEq3ppvjF5oFuxB1YqWDIsjj0guf23hrTEibKO48VCqb9XZMz/KXOL S3zTUJMQIMMbMVMoo4hoZyGp8MqVWR1g5GWznzaFgw4dV1qtH8JKeFQqVX1DzVsakzDW Q6pe1bm4zwjgQZMdIfcxVnPwjEkmCg/QDSWNBUS8qmcjmIsuSeGEBJ+41cyTUUDgf5+F vAxXM0gn5O+1CUZIM67W3NsDx/hsdtIniOHIh4Y+SCVM849ULskB/Sl3cj5MBEO7RhvF 2OBQ== 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=B9e4S6OWedBx8L422WXZzIY6pxRaBgRtincFc9juEdA=; b=onHokzco62khGidgw6cSBP/Dv7tOr9RDyEVQZxwXhvlriBDPsCpUE7rsxOd71iz8GR 3vffit7n7XgbVjYErljusyZTZFxmcLmPCNeRwk8nFDYzFXhkCgy9YuIYYkWDH5BbVpQh 2Eikgq8+MEt49x2DBYoZf43D5dyR6Pmp7yUgUAB27fdfvsGywc0ffaeu9/7P5Hh7rcAM LxmotftWLkagLbE/EIsHa95KRtY+zHoZuDT0/8K043/SPbsk7AOeYcplLst7OeEeH9gQ sN360ET0DCqzEi4CJSRzPQYO65/BtVbmfzOUmZx+9xIMoYDqqCRnIolDD8/SfFFZr0ox 2tFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=opyp3Yca; 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 u23-20020a170906109700b0087bda7465bcsi18656487eju.844.2023.02.13.12.51.33; Mon, 13 Feb 2023 12:51:56 -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=opyp3Yca; 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 S229747AbjBMUuE (ORCPT + 99 others); Mon, 13 Feb 2023 15:50:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjBMUuB (ORCPT ); Mon, 13 Feb 2023 15:50:01 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3ED91F4B1 for ; Mon, 13 Feb 2023 12:50:00 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id qb15so32918060ejc.1 for ; Mon, 13 Feb 2023 12:50:00 -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=B9e4S6OWedBx8L422WXZzIY6pxRaBgRtincFc9juEdA=; b=opyp3Yca3V7VCj/PJsd8/v+xJ7fQYRGUIgB96ZT5voZjCrxnt411MeugF8TLCZZz4S mLJaB6DAvTgT5Gr9LDkpSm3BYEJkrYDikisYI/RzqoICaT3zwHm6gEmDRSsRGLxSm13O 4rblPoMOMge+q5h5ykKNSkljrdwVjeMxMNuapURXMnvLp3jJtAf5xK63fPlB2KhVhSK5 2CefGEsGzv08CcijvGkZ/aFJ4WP5LthlWkU2ik9+xAE/bqj40ISp8czbNNkf8FBNaWms yw/uJg50dH5lmmrJhAqwVOWLsFfS1JXPN7Jv815nZbLwrABnLcQGOyuyfQHMifLSDUsA +V+w== 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=B9e4S6OWedBx8L422WXZzIY6pxRaBgRtincFc9juEdA=; b=rnrOJxjqLQcLjPqbQ2RMohM0gYoAO82r64xb+l6B/PD4iV9TY4jyyNH5Ivn9CzNm3h OfWoZ741vE0ZS3eQueCr9viu6sp0Vztwxg2PHftXf5CZwf4yNcJYeDzIv9wlbqvu7d63 Qb0V4EOz53mODYZfMN5F49P6JDoIGGsG9NvIjIBqzX44idVFft7svU1wsXb/eyg9/7vi l0dbiujjOowI9rNa9z5DkhRyZ+eaUOoovADMv/uwKdpXPNgQpa/ucCx8Nu8aO/VUudkR kMlq7jkSYXb6HwSZI+7e+229UXFx5Pen/BIisiVF+/kbjnTXxIRzFvKq+qRaVIR2hSC5 AW/A== X-Gm-Message-State: AO0yUKUmjhcSEHKq3TfPI9OwHgC4kxk2F8nAaOWj+sxiUytWrmgrmqwX YZO978W6VO+/WPbULp2xA6oFdg== X-Received: by 2002:a17:906:cb85:b0:8aa:11dc:ac6 with SMTP id mf5-20020a170906cb8500b008aa11dc0ac6mr195931ejb.57.1676321399462; Mon, 13 Feb 2023 12:49:59 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f21-20020a170906739500b008a94f69a1e7sm7303123ejl.163.2023.02.13.12.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 12:49:59 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: power: supply: pm8941-coincell: Add PM8998 compatible Date: Mon, 13 Feb 2023 21:49:48 +0100 Message-Id: <20230213204950.2100538-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=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?1757750510707904195?= X-GMAIL-MSGID: =?utf-8?q?1757750510707904195?= Add a specific compatible for the coincell charger present on PM8998. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- .../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