From patchwork Fri Feb 9 17:11:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 13551661 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 48427C48297 for ; Fri, 9 Feb 2024 17:12:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AkbwffnIXZ0DHt5JsRjFVP7OjNIlaNtVFd1JYA6HeDY=; b=XfRBEpX0hlrnqr Sop2HXaJfrwVERJd7H0/3gvbMBKkl2TnlZ22gp22OB6BVM9isfSaU1sH02O29YypHKh35gvJm7+7/ sIcI6cE1PZtn22FrmLSnAWO45qKXADgDYYtU+POr1gs1VWvcbOHo2KRomE0l6bZDndCh3UXqLXxbn 6kM7hJ7ZetNVLXTxtfGpSGl+kp1myDtYQ2ABeYw+VkSeErVfo58J8NXet78pH+lUpEoRW4kla6Wc5 jkwfKeINaTzrDALbEq9sFjsrxq9ltO4y+KBSIKGAS+V4jhgZwjz706zNf+NcLsRIqK53XCSXQ6dv9 vdjXqHSjstfHL0aW3aTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYUPu-000000004Wc-0wVr; Fri, 09 Feb 2024 17:11:58 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYUPp-000000004UF-27y2 for linux-arm-kernel@lists.infradead.org; Fri, 09 Feb 2024 17:11:55 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40fe03cd1caso10969555e9.0 for ; Fri, 09 Feb 2024 09:11:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1707498710; x=1708103510; darn=lists.infradead.org; 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=+dMezPy7Z8IlkSblQ1TNf+lGFLcC7KJPcuNV88kKu60=; b=ywm05FuUIyOZx4QpBIh7XOgT5X1uvddzATHm93IpZT9HdEb0aeiC/slb3VOw7sHAhh XlLg8YTTR/W4LNRxoLfRAx0qT1nwv+GfRKh27uQan/BlECtyBx9WTzZqxUNwqJV5jxG+ tSzE6U1U2b6gWbhIPfuTuyGewl54auGFjnElYtcDQP29eRLIjSKILgbS9oNY4Kicl00f neq/hmuJ8NVNQmmCKZ/XlCakTj7HgDeyHdfyKtm5RamSNo3VGR0mvVwZJ8zx1ZFK06Gv UyLIj3ymAXkoAUQN1W3y0zwyROQ51cWkTfdMKMVnv63JSz/T/drxfPb9hGvB3I+1YsEx Whfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707498710; x=1708103510; 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=+dMezPy7Z8IlkSblQ1TNf+lGFLcC7KJPcuNV88kKu60=; b=bZDXxJQqzrhjEVFNIiXwKHwfErHnxBRRPx4lLLnMDR0MppuyrlTaY9fEglH96CCJwe +V+8zTAawl8XU1zF9YyumCJGjLYwJQZcYJgW1YFYQLyB23rygeL7H35l8g+UUT6IFXwc BIP4cZUA/dT+xfZr3cqqXggauhGwPvyqO8iI5jF06HTJxcwfXcuEKo7Ae3YKfsKxiwEy 7H7nCf7cHOmvKsZnkHiGJ9WVdMT5DXyv9nmd3OszKeUOZ5ik2s0/JZYob8/y6vsVD/GQ Dmek8uROrkDJoUQDmpCfedSRyifspR6YeNOlAbNPR1cacs7Ey7+WsOzgTmZ4g0kAolvx ArBQ== X-Forwarded-Encrypted: i=1; AJvYcCUX61iX/Wgy2hlPGJuLVD9tGtQwIrJLuK5GN6cjv3+mvrcUsc12iKV3lx21UfCIbLLRRi9+d+JXQ+CAbbx8LeUqejkG/zqdBveZB27YeMaVbGfpiVc= X-Gm-Message-State: AOJu0Yy9bt06nyWewGvvoyxvr5Tj6Lum9cYQ+0B82ziV7hF5868wgvw5 glEGyQi7i/UsAlUrZmZHYYg0sjCcHB5f2a1AxcmOl9cT2T0JIWF0q6Au2FlaZhI= X-Google-Smtp-Source: AGHT+IEynWPshXsRwRlkf4uRadX5FfqUMljHK7RezRibLJLz3N8KjLbFaJz1AGuMHemYdr4hQyVyAw== X-Received: by 2002:a05:600c:4511:b0:40f:d280:612f with SMTP id t17-20020a05600c451100b0040fd280612fmr1641979wmo.30.1707498710188; Fri, 09 Feb 2024 09:11:50 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCX3JjG5yMWZfol2W5d7LuIwSoIC008nDdNGToBntF1qg8FMA/ghJ1fUdfVD8KRYhUo5xZ7NMMGYI4hRsO+beylB2CHemQVYHglpb19g2bLNmUdInSZyKKV1OSluU7KqVcduv4zP9fjALlLCXRsxam9Gd81CP9Yd5Ht4rIduDmvzXWyhvSh6QJ8TevAU0Lsqq88X/ZFoWQtaS2/Ry96/PMznCmHcowoGLNxNoZWtovrP1WulYcjKi8nUDeHHMUdDR7vs7leA8fNZWEqrQcAVaLcsIxVgahkks2tvVqsTvVjpMH9phZobCRURxSliYfrnAYEdMX2wRyZ9voMpq5L+ Received: from P-NTS-Evian.home (2a01cb05945b7e009bdc688723a24f31.ipv6.abo.wanadoo.fr. [2a01:cb05:945b:7e00:9bdc:6887:23a2:4f31]) by smtp.gmail.com with ESMTPSA id a20-20020a05600c225400b004104ecb39d1sm1154711wmm.32.2024.02.09.09.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 09:11:49 -0800 (PST) From: Romain Naour To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, kristo@kernel.org, vigneshr@ti.com, nm@ti.com Cc: Romain Naour , Neha Malcom Francis Subject: [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: fix PMIC interrupt number Date: Fri, 9 Feb 2024 18:11:46 +0100 Message-ID: <20240209171146.307465-2-romain.naour@smile.fr> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240209171146.307465-1-romain.naour@smile.fr> References: <20240209171146.307465-1-romain.naour@smile.fr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240209_091153_570799_963FF039 X-CRM114-Status: GOOD ( 11.28 ) 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 The tps659413 and tps659411 nodes set WKUP_GPIO0_7 (G28) pin as input to be used as PMIC interrupt but uses 9 (WKUP_GPIO0_9) as "interrupts" property. Replace 9 by 7 for both tps659413 and tps659411 after checking in the board schematic [1]. [1] https://www.ti.com/tool/SK-TDA4VM Fixes: b808cef0be46 ("arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs") Cc: Neha Malcom Francis Signed-off-by: Romain Naour Reviewed-by: Neha Malcom Francis --- v2: update tps659411 interrupts parameter too. --- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts index 188dfe291a32..658764f7d544 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts @@ -574,7 +574,7 @@ tps659413: pmic@48 { pinctrl-names = "default"; pinctrl-0 = <&pmic_irq_pins_default>; interrupt-parent = <&wkup_gpio0>; - interrupts = <9 IRQ_TYPE_EDGE_FALLING>; + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; gpio-controller; #gpio-cells = <2>; ti,primary-pmic; @@ -651,7 +651,7 @@ tps659411: pmic@4c { reg = <0x4c>; system-power-controller; interrupt-parent = <&wkup_gpio0>; - interrupts = <9 IRQ_TYPE_EDGE_FALLING>; + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; gpio-controller; #gpio-cells = <2>; buck1234-supply = <&vsys_3v3>;