From patchwork Sun Jul 14 11:56:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 13732691 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 B3336C3DA42 for ; Sun, 14 Jul 2024 11:57:08 +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=HLvshrdHcGM5HfCdd7OcKFWvrKVcrEuS2SAZY90FhOc=; b=SFpQUNNVBzSUBDvDhggfUy4vHv uAvlVZxKvIZfRD7+16yYaY0evQbpEQLari3kHy9/OUu2wGt1fulvsSu1Rz32csQDncKXeriB5rR7s YBtqYDxYsHj40qv6VIToiAodh4pfdCjOSQOlkjcjYFi20CGc5XdB5HeeUUw9LNiUUQgmlw+nVk4l4 3GaYXYZAcM1WW978/qbEJKSpnyi3iGUyVrqXMAzEOMgGO4hEzxr3EPySX4UX7Q4ITkrnMfRTtYy57 wZVd5pM2gWtSMVM2Y7ybnJX6ob4LbJQfLqcS95SwOZIcSak9w7GTN+ncgGnveuOL75g7GO0HtXN+B JwGzNqpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSxqZ-00000004N62-3ieu; Sun, 14 Jul 2024 11:56:55 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSxqH-00000004N0a-3KRA for linux-arm-kernel@lists.infradead.org; Sun, 14 Jul 2024 11:56:39 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4266f535e82so22764715e9.1 for ; Sun, 14 Jul 2024 04:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720958196; x=1721562996; 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=HLvshrdHcGM5HfCdd7OcKFWvrKVcrEuS2SAZY90FhOc=; b=m+DndAgo6EfF/8Po3IM1tNGezAvJT1PgzPg3YiBo3R/NxsWexPdgHacKV+arb59paO eWHmXZickN76PJwsklrclO4kwLD4NBogqmvKlxdUOnWEHutzYYgA1EgkUpHfJrOhMXOl qJEGIQAFy2AQO/KYZakv+NlhOtBwYrluLYh8qMDcP2PaKyN2EIpaJ7IukTFk1Prt/LOe CEnw0JnRenMB7qUwu3Z8uva0vu5hoUkmOM9uJGJcq8f9E60JbGdmvwxY9DMLMN8jdoPq bKiVZ1SjXKk9c0UErenDwSXXcx6TPCwbvBg8vhA41uxKuWFWQeNkAQTUXj3rHY3gFjtn JosA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720958196; x=1721562996; 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=HLvshrdHcGM5HfCdd7OcKFWvrKVcrEuS2SAZY90FhOc=; b=utrD6VJBOLrfhsKbrmd+eP/SVCM5QSwUunf5Z3WhEyJT6Y3fDEY3bat0SXaFPvWHQC OGVy6p7mvXkVv5G5+BAMSRo3TrwBepXJPMM0MWubN7FChbx26owa2SL3GUIqxHllugkj nki6ZXj0nw1lH8er+8AeOzntyVk/2QKbUn2qh084cncoW1qPuPUIqR9m6oeYOEYSoSyO nM/gSc823n6f12BVBqFZI3shasUwzfdowl8nvuPLTqWm/+Xx+gYmMGvPV0wdSE7Krq8h ts8P4vyq4XGlQPNgr74QqaYFKf6PUZPtfCSv4gXbzxZeoNqWsZKvt2Fjzj2VpT4uv4GT 8BPA== X-Forwarded-Encrypted: i=1; AJvYcCWLpoEXzjdRUA0P53k0c8+FZ/AOAXp9YljhhCOq/7LX2z7W2iHa8A6Sd0GYHQBDnP0XZ0e/yqGFtL11k21CjOIFhlunpxsNEY0lssanpWiXMspt+Z0= X-Gm-Message-State: AOJu0YwKYHET+E32Z/XEPo3XqKV/5X27TOn5Cl7mWNzezDbSdnb9GJyk 793iNalpylvGdQGVfjMx1kynm/4RW0yRdKeRr0xVGZya06TRdbpc X-Google-Smtp-Source: AGHT+IFU24Tu35lO61ckbE6rlAjnODuccohOJCnpmS+jPtyTV87uwYyzlwauWtBeDPENykVeHhJbuA== X-Received: by 2002:a05:600c:6c59:b0:425:7c5f:1bac with SMTP id 5b1f17b1804b1-426707e3295mr116180525e9.21.1720958195676; Sun, 14 Jul 2024 04:56:35 -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 5b1f17b1804b1-4279f25b946sm83440505e9.19.2024.07.14.04.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jul 2024 04:56:35 -0700 (PDT) Date: Sun, 14 Jul 2024 13:56:33 +0200 From: Stanislav Jakubek To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Orson Zhai , Baolin Wang , Baolin Wang , Chunyan Zhang Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: sprd: sc2731: correct interrupt-cells value to 2 Message-ID: <6ae55300b0915fea4ad6cc533b84815eb3cb8043.1720957783.git.stano.jakubek@gmail.com> 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-20240714_045637_852455_42F6D61C X-CRM114-Status: GOOD ( 13.25 ) 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 the DT bindings, SC2731's #interrupt-cells should have a value of 2. Correct it as such. Signed-off-by: Stanislav Jakubek --- 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 e15409f55f43..7e55b2b31c84 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -13,7 +13,7 @@ sc2731_pmic: pmic@0 { spi-max-frequency = <26000000>; interrupts = ; interrupt-controller; - #interrupt-cells = <1>; + #interrupt-cells = <2>; #address-cells = <1>; #size-cells = <0>; From patchwork Sun Jul 14 11:57:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 13732692 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 44183C3DA49 for ; Sun, 14 Jul 2024 11:57:35 +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=0Ev+3M1KyoZUQSOdLbbDNRbHz25PKSnzPrZasulwQUs=; b=zUn1Ipkfaf4QoI8x/oXXn49TqZ FALmpYyH/zccrwDSt2o17ZCkS4ApQCYb0i3qGcpZpWKWK0xVB49SQNQPJEFc4Xci506HQUvOIY2oM byOYNFZkp+QlKpHP/LW5r/M+wDOS4CrFjGqRUTXn37lDRBVMjyn+5L136JD/WCiLudHQeO6M+2mYC 4GAoCHxFOIdWPnrHY8WTlG3e8aKyFUcQ4kUvNrYp5HDORjAYQ7rik2xDufKWVYzeU9QQK6nPJdqVc Z3PYqqz7Ggafg4PTEF5J02KSptd/58ursVSCrGc9yyCVU6wiFXQdfvfFxQ7zyuS4rge6snGitD2K4 E5CPr7Ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSxr1-00000004NDJ-1XWw; Sun, 14 Jul 2024 11:57:23 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSxqi-00000004N7X-49uu for linux-arm-kernel@lists.infradead.org; Sun, 14 Jul 2024 11:57:06 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-42793fc0a6dso23440045e9.0 for ; Sun, 14 Jul 2024 04:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720958223; x=1721563023; 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=0Ev+3M1KyoZUQSOdLbbDNRbHz25PKSnzPrZasulwQUs=; b=LM85o3xAx8VDXwBNKlKisRRh3OPwWfsbqAm2jW+aZkYms0TOpSK/0xm07Ql4bxawhn Mfc7RRLFTuRaIXfjh1tuUC/NINfDfOgmZLwIoQamZoDy9HQdIW4Bcwv5Id3vSgklGQKb aSYJXv2WfRas6gOCilec/yNLBIrWrgdehCyAUBg1D1+SJnyNd64kZdDVfPgyxu+4+Nl/ bgJ+s6pXTu6Ij0S4jQg6RTN9RBtrf9lAMfgkGMzNEVvbmaEhr7FN/Vg8HGCs6ugihoZk tLnDgDbnR+M6umRP7PzfnEHezxUXOfHaj/1ByiFpAq2YA/WtGCOXfW3W4D5UukGNtvm7 Edfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720958223; x=1721563023; 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=0Ev+3M1KyoZUQSOdLbbDNRbHz25PKSnzPrZasulwQUs=; b=a8piyUmxQYMZl5wVobgYvzVTER55hv0fOx2atYl80W94/i6famKol2LQe0iVv0SOKj 4/7CWk8oDO/hgF2taYxbf86/nAQ6ds7eEQ7WkLoGlx/l2f/yBXxYkc6YaqGS3NWWeO0y tKG09LLjoVP3/UFxxFNb12sT+zamNLvqBWql5PpiD4K9mKQVP+08odPpg92ciNVj/HNO /res62dHOxA5q2lgNdo/b/7o5f4blDfrcp2rQePhONXOk1Umwsc1ca0RWKkm/VxxxYgG gBoChzTW4ZchzMOGI+hpdo/eaVQxwLPp9ZtpV8xdWXO3sC/JL4aP0G8PcHfKFWbbybmu 5ZfA== X-Forwarded-Encrypted: i=1; AJvYcCXJuX0FxEgRcuSVXh3MM6Zfdq4RxGuBtmETVHuKKounYo1o/y3+DkmeSTUQWbSZeQNPsPWUyPhcsJdriy445wpenzDLHIpdaPsHWW5zQKdGNHobZRw= X-Gm-Message-State: AOJu0YwmPs5jLx5xWW1BCucIAshJfjp0un6WOlpgXNTnrm9SvqOej0Wr d3JQ0PXFO74z4i25ID2UFCPqFy91boYFuCq5T/W6PCqxJFUDnzY4 X-Google-Smtp-Source: AGHT+IEtYsC7P4Ws91isMUHy6oUv2VIAuPj7vuP5tk2PAP0VVBeyw8wgsl5gBPEyKo/XzJ19YhUJPw== X-Received: by 2002:a05:600c:2184:b0:426:61e8:fb35 with SMTP id 5b1f17b1804b1-426707cc03dmr114510845e9.4.1720958222873; Sun, 14 Jul 2024 04:57:02 -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 5b1f17b1804b1-4279f239876sm84675835e9.3.2024.07.14.04.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jul 2024 04:57:02 -0700 (PDT) Date: Sun, 14 Jul 2024 13:57:00 +0200 From: Stanislav Jakubek To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Orson Zhai , Baolin Wang , Baolin Wang , Chunyan Zhang Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: sprd: sc2731: rename fuel gauge node to be generic Message-ID: <246c0c7763a432d4bebcb0e99b90dcf4cded333d.1720957783.git.stano.jakubek@gmail.com> 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-20240714_045705_053599_6A089EE0 X-CRM114-Status: GOOD ( 13.11 ) 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 spec, node names should be generic. Rename the sprd,sc2731-fgu node to a more generic "fuel-gauge". 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 7e55b2b31c84..48b681768f6e 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -95,7 +95,7 @@ pmic_adc: adc@480 { nvmem-cells = <&adc_big_scale>, <&adc_small_scale>; }; - fgu@a00 { + fuel-gauge@a00 { compatible = "sprd,sc2731-fgu"; reg = <0xa00>; bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;