From patchwork Thu Feb 8 21:24:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 13550500 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 8DF03C48260 for ; Thu, 8 Feb 2024 21:25:06 +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: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:In-Reply-To:References: List-Owner; bh=sni8VshdcxLVXi4/EQNDi34G7QoosiK/sqB5358s4Xc=; b=XGoOvHaGPaFzZM FN1vBrLQUeDfTtEyyZnAwv3SxUf51LulsErBrQAVSHHgJeOA827iPk8iF6SAmLHSCsLycChJcmPxP htPvxhSQr6Uq4kdvLdX6L9+DR6m+9Uazf1ODy1mvVOjdK1r2lu9w+cK8a7eY9UB2z0C0rDiiPljBJ cejCBIHxtOuI9/k0cT4UOK8WYOa0YykX7fkfLS5C+F0NriNW1fqQEo+5lwf+WlucE02/oh0IKpPrP Y2LUDS8M2BnP9gvuUfPFHDeBBqVmLvjcUZWbB1c/uUXaiFlJyf/hcZ+TL0j1YKQATRS4HLK1itd7Y Tcf1odIUtWOkNbCr06Bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYBt7-0000000EyLY-0zfk; Thu, 08 Feb 2024 21:24:53 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYBt4-0000000EyJK-0Kkn for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 21:24:51 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40ef3f351d2so8100935e9.1 for ; Thu, 08 Feb 2024 13:24:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1707427486; x=1708032286; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ue3Hv5Tp9scHSTy47Ds5eoq01BRybMaUAWCl5QsfxDE=; b=BC3gadiE5mB/HvJCn3CaiYITVSiDCOAo+W9XNXoz86xIVR3vLNu26I5UY+DGHtlHHF jrUZJMH2L6gGcEbqYKenzIoyfqIzWtHRkoYw0bdu9QWss0jQUf/p5pD0c8cCPurQQKyk Aebzm2WivH8QNpPROMkURIRwsMWaHqR8bkg3Xo7wDwudswFDDSYrh+m5mArraBgFZEC9 bc/6+okeR11QC+eeN7e6qYmZ1QQMy3y/pwgK/Vkn/h8rsWJaRJCOOcqES9WBeEEH304l Ilp+aRaROkuQ/5BQakYk8AtE/k1z3UFNsxY1TUP67C2A+HtlnkufkPwPBAU3GdPnVZNL 7CsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707427486; x=1708032286; 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=Ue3Hv5Tp9scHSTy47Ds5eoq01BRybMaUAWCl5QsfxDE=; b=JEZJyl0OLYMQEpm/NxoxuDiV5CBsUV6lep7wEVgcSwpW6yHeLMnsmDEshMS2DWRU33 O6hR6GVt4a2NFOgMjDFu0JxDH+IM4gotqvSdlzixNk2CcfRcgxPAtjvuUhapAiyv8NfS TUc9VVGl5y+bGio9So3qk/Mqnit24tlKkzinPxynI6YAcOUQc17Do7gIOJZMZONWG+Ny vkgTnXQl9dfkufzJmDyLZTfZS/OTnDedior1E7aM6Z5Z/3OhJl3Q92va3fZwj8+NS2+m Aj0WL06Zr4YvJ5TsXOqgqzPXvIETAkahrXg99YbACRSM+wqeiPVwSWBhXNLsHHUvuif6 kqMg== X-Gm-Message-State: AOJu0YyMSCxa5lcquQlJmuppJeSDyycau9pDTc73kVThuqRCfkfyqjox 8uPxnjCPTTWHvojqD0j1Hj1lzdH7GUfIuFfW/MlTm/61A1fO0gbSeNqkE+wChSs= X-Google-Smtp-Source: AGHT+IEvfGlve63gugRzGCdewUU1Q9SjV28hrhTqbwiN23IJqj3Jpckw6XciNmP2H+uqsNHmTASxsg== X-Received: by 2002:a5d:62c4:0:b0:33b:3c97:b4b1 with SMTP id o4-20020a5d62c4000000b0033b3c97b4b1mr553797wrv.15.1707427486146; Thu, 08 Feb 2024 13:24:46 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXh3K2bsuSwpkElhnbrJDcTvK5Iz1X+GamWvtivXCO7NT78ivnWDiWl3FbUmfFUrvU8mDR+FlI0/Kj9yzvLZ2eJ8ziT7g0s0FhJJe5AYtORrSh37sz3HJYKGeKI/6xr2PE0p5XiL8RwNSRaROWF2eoRV+twcT30lpipb/CNCvFBV1g6wDjZgA6kTc22a//L1Q83+dS5lGkXG9P69RrnERwfc3ipXird2sv70Va3TJYhIC/urY+XItIEngGGHP4z00z2V+5nS2cXiTnvrojOc4UCZ26GwUmATjlAHHtt2DppeiL0goD+rvQUY3Lv0BKqGEdVMjLLF5vaRnIHjtKR 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 bk27-20020a0560001d9b00b0033b55661f32sm228721wrb.9.2024.02.08.13.24.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 13:24:45 -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 1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number Date: Thu, 8 Feb 2024 22:24:21 +0100 Message-ID: <20240208212422.213693-1-romain.naour@smile.fr> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240208_132450_214699_F7D00442 X-CRM114-Status: GOOD ( 11.45 ) 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 node set WKUP_GPIO0_83 (AA37) pin as input to be used as PMIC interrupt but uses 39 (WKUP_GPIO0_39) as "interrupts" property. Replace 39 by 83 after checking in the board schematic [1]. [1] https://www.ti.com/tool/SK-AM69 Fixes: 865a1593bf99 ("arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC") Cc: Neha Malcom Francis Signed-off-by: Romain Naour --- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts index 8da591579868..95c9d3da59d3 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -646,7 +646,7 @@ tps659413: pmic@48 { pinctrl-names = "default"; pinctrl-0 = <&pmic_irq_pins_default>; interrupt-parent = <&wkup_gpio0>; - interrupts = <39 IRQ_TYPE_EDGE_FALLING>; + interrupts = <83 IRQ_TYPE_EDGE_FALLING>; gpio-controller; #gpio-cells = <2>; ti,primary-pmic; From patchwork Thu Feb 8 21:24:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 13550501 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 096ACC48260 for ; Thu, 8 Feb 2024 21:25:09 +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=Kx6Vzsv5IN4oTUSQq3wnhH4sQTl9Rziyxq6UaQTRaww=; b=ZAspYP7hC04nfa yneuePbvSujGh4M1iH6LmRmQK89JFiaR9KKHvzNITpRnIswYpgXUxpOBQgcLVtLfzgsACWkMjVEXg wvWFxZ6TKqOhmTsGzhVq5E5Vw07vZIntLgiroR4JIQ2oZ60FCS257yA3AQTES+bQRzBtIs0Wph1+Z TSL4oVIj8igSaZpD66U1NrMyLZH9SMds0WZ4BQcd5pjg2PMvJvpj60HbQlSdE2bEfMqOlfe4Wnuf3 AZOUnKrqrp9D0lEn+f694NzWysttZiyjM9VHf+ZbT+4mrPNrkeoCdkqFthWF+TJ/iqgrA5lapbDiD Wb7n/ni0zjl7BsayPSJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYBtB-0000000EyN3-06JX; Thu, 08 Feb 2024 21:24:57 +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 1rYBt3-0000000EyJU-3uVT for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 21:24:52 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4105876a3e5so2526885e9.3 for ; Thu, 08 Feb 2024 13:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1707427487; x=1708032287; 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=ed7A/CJnxxijWMgALoUnlypxo+TsLBBvSG1RH30BvQM=; b=k1glCKK0gAtsoByJO2nP0DwmUBF2/1GZLteJBV8NtJgD5YJ1KS0Ok1Cg4QGoSO2nhE r5r9GhC+5WA34lQAIwpPeHxXMXp71sGSmDp9VfSLOa9NO5rzXmjCiKHVROB5xlwmnoKA bYQ09a+gYOvw+vOT4t0eLU3QAIowWWoSZ7Aco7irVRPHpxvdt90+ny7Qe2kz19KuAfCf slNl345kTeKqMqPsamkrlRfTW9amgLgZNKqF1UM2ZJsgK0s8IS2imYPSl+jFNhmV2X9O k7K2Uroie4Xy/PBlvGMXlWu76WqOG/S2E1R5Mz8AByUOtnNvoATOzzwmZaIkLP16uX8k Q8Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707427487; x=1708032287; 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=ed7A/CJnxxijWMgALoUnlypxo+TsLBBvSG1RH30BvQM=; b=C7I8vVXOEtRzi+EuiNQrwrh4pVrI/id8smllZ+42lfuWEMKqaty8mmuwRY/n45p7Fy YR2jIZBlGIDad14NmIhekEjj60raxXihVie99FZZc/njRuSN7qm1oAzX+I0ODqOxQtxZ aidAu1qZay9Az9/Yr6aCLIJP6y+ElAm6tv9LB3MTVzrpcCHHbQvnIqWeuqYVnjCrvZw1 rFU/QDcCZzX+HdwIz7LMY4tSQa+LCAjE7Tut/VuXxxbujO07VzRH0Rf3dl+u6huUkeNu 7ROgIeZ69b0NJB2MTe9PPNT6jKrhbkcsnHjpj9/nqA/ijS7PJpAHqJzTa2kJ/HpkHONu Cv0w== X-Gm-Message-State: AOJu0Yyp219a0ZxbszcfeACkCIJ7rGrDBWZQY80KTM2VMgLh5q21MSVe 50JK0ioEE8ahIT0lipDnGudwMF6goafv56sJE8CvFyANULTwFnoJxBK+ZCO/FQ8= X-Google-Smtp-Source: AGHT+IEGQrKu5eIYEpCGNg1Agurkj2Lx4aXXVG9iV51WjreWvnA89A4Nqhn6cybmm7Jf8BRWyZQQLg== X-Received: by 2002:a05:600c:2150:b0:40f:c3ca:713c with SMTP id v16-20020a05600c215000b0040fc3ca713cmr384575wml.36.1707427486744; Thu, 08 Feb 2024 13:24:46 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWPWCtxQQBFNsLuPJqb4Yo7fxZPDmyY1S08uctdZ12y1njvto/76KIP7y40GMLhVLcxESmBRWOV8ffFEzn8Q8hPipJp8lVFSIjxesI5OiPnAfm+is2h94ouDJf16phymV/ZNx1nK3T3FU5Ev3aHOq7/5u+W3ImrrjkjoTjLZXaSnsjwM9Gsk0vegqV84xoUOY2LvANtGKX0XACNtGP2NmaWx+fVSFUmC3Yy7tXzBCvNb59WjzRe/+mVOQyUZCzX0q8T12oVYmXjiL0HBtGCtVBY9Q6cmgGSIplrnI/uA7TBiN+51cNEsUwwo+UMlyWpHT7lWmBKq+wK+9nIn+rj 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 bk27-20020a0560001d9b00b0033b55661f32sm228721wrb.9.2024.02.08.13.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 13:24:46 -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 2/2] arm64: dts: ti: k3-j721e-sk: fix PMIC interrupt number Date: Thu, 8 Feb 2024 22:24:22 +0100 Message-ID: <20240208212422.213693-2-romain.naour@smile.fr> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240208212422.213693-1-romain.naour@smile.fr> References: <20240208212422.213693-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-20240208_132450_220232_19EBA113 X-CRM114-Status: GOOD ( 11.62 ) 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 node 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 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 --- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts index 188dfe291a32..6a8866055f77 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;