From patchwork Thu Aug 15 10:13:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 13764637 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0BC4FC3DA7F for ; Thu, 15 Aug 2024 10:14:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6LLozyAaE8F3GKHniRRNzwrPHtCCu3L1lXB48SRYipQ=; b=rWaKcgytavMP0K0kiYSnRlY+lj r1gDysynY+JaF6oMx35v7sOUj5bKiXkKWQ1UtpUniwIUMtiir1UDhN7yDFn3+ISk4pfwnUsatuUaB oToQ4Br5tSi6wzRF7RH8Lg0MLT90pivw16tVi3kC+dUGZhaJLQhV2fBoKFTCSzfVkbxOrxYjHKwQX UhGQJSevULM644up0Si0XH477uBbpW2bPiDvl1O3YSAF7kkiRZJo/7jbsjrxIgWh7hVrIlWurra/Z oT/ic4lwXaMELls7kCnIt7WFnbKBKINVKc0kGdPrDxRPbWiRPWvAT6rJR82I3SuMeyFW5K0sMf1AQ aKHJE/7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1seXUo-00000009Yay-3a2q; Thu, 15 Aug 2024 10:14:18 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1seXTu-00000009YOr-1qGc for linux-arm-kernel@lists.infradead.org; Thu, 15 Aug 2024 10:13:23 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5a108354819so1171833a12.0 for ; Thu, 15 Aug 2024 03:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723716800; x=1724321600; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=6LLozyAaE8F3GKHniRRNzwrPHtCCu3L1lXB48SRYipQ=; b=R94v0z2CSVEutn6BzDBG5uWzS36w3ExvLlNpv+z69/5DC6N9CUa6PYbgKMKZIxUX4o NpRaGgccRLx8k4+AMyooeOwmjuvwrylol0BsmDuzajTDmHJ2Wl1opumx+iyIw614TXz6 XiVDeS/udTEw6JjwP5Na8bnvBFKGIQrkEDIB7ati8ytZJ86+RFJ/XvBUJSWhg/DO0bdl ffw5w0/az8LTYvO8IBULEEmRQmmE31ZZ33mtubII43qAfiI+/U9lnmxreD79F0fxrtce JeDqKcsgzXNqyRd2z7+5fWpL7rNXo70BFQd5APPBLBrBle7xwfHPQGdBWRas0eWmg0HX uY5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723716800; x=1724321600; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6LLozyAaE8F3GKHniRRNzwrPHtCCu3L1lXB48SRYipQ=; b=cawhSo6BIBa4Y8ysMv/5AqvBswzT6jsE/c6L1TygXZn5S6tZPQ6A2RF/0NVaZu59ug R5MKfHK2EgOPWchYDBZqmiRKxLmPWIeYreeYduMlGljkYrkQyKyAXNl8SLE4rkjZeOht 2jGCtYfijKcZSjSwk6wkXwnlfGatC7ee/VBGqpN62axUN36j92cDSC6VhfKQcG+yM+p9 5DrO3tgBq0obhevo8WLTsCiLBjyeevRGj1eiNqRRvdQZ0TV3guQyEHyCdn/AkOivaift LY/kUuxuV4u/cYar1Xku9H5f4SRR4NY5ms/CsT7XX1nbmJC/UyBU3xvIMKZkXomOGlVU 5ZAg== X-Forwarded-Encrypted: i=1; AJvYcCWAqZRVNpxdLBGdPVz8Vp0SE8DlWZW+j5V1umcSSrzTmNI4p9a4wVmMhFx7fU7/76XJiuivF2mG5M1X8IcAw3XCzULyjAfmiKIolD7E5Z2J99B4Ji4= X-Gm-Message-State: AOJu0YynsG5hkkoL7Qpa7ymtxIPJMMniF2GbMGrkcnxA1E2PKNIiZDwO KaUYwgmld375e2yp3KONIUnNfn5Iot3z2wjLfQZwn1VSU89ZgcDZ X-Google-Smtp-Source: AGHT+IFnZ23a+xDFO83XJOOZnnc3Kope6N7J29Pj/fvePKB7e2N/ix7pSU6EiHVwnyS6+cWjn97VEw== X-Received: by 2002:a17:907:f704:b0:a7d:a00a:a9fe with SMTP id a640c23a62f3a-a8366c3130dmr374088766b.17.1723716800125; Thu, 15 Aug 2024 03:13:20 -0700 (PDT) Received: from standask-GA-A55M-S2HP (lu-nat-113-247.ehs.sk. [188.123.113.247]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a838396d332sm77373766b.224.2024.08.15.03.13.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2024 03:13:19 -0700 (PDT) Date: Thu, 15 Aug 2024 12:13:18 +0200 From: Stanislav Jakubek To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Orson Zhai , Baolin Wang , Chunyan Zhang Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: sprd: sc2731: fix bat-detect-gpios property Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240815_031322_497447_8DC2AA0F X-CRM114-Status: GOOD ( 13.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org According to DT bindings, the property is called bat-detect-gpios, not bat-detect-gpio. Update the property as such. Signed-off-by: Stanislav Jakubek Reviewed-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index 12136e68dada..c8b30c0479fd 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -97,7 +97,7 @@ pmic_adc: adc@480 { fuel-gauge@a00 { compatible = "sprd,sc2731-fgu"; reg = <0xa00>; - bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>; + bat-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>; io-channels = <&pmic_adc 3>, <&pmic_adc 6>; io-channel-names = "bat-temp", "charge-vol"; monitored-battery = <&bat>;