From patchwork Wed Jul 3 10:00:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13721673 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 9A195C2BD09 for ; Wed, 3 Jul 2024 10:01:33 +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:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=UZB7vKNvk9EzHbC+viEOoK/8xOvWR8i2ClJAslwI80w=; b=rghlQa2IOE6E2aRRaA2PDXSA9U m3yM0s8LDxFAQP/St8YansOagbC29U/8JT+KdxU31M0TXZhoVSmeS6kV8cuk4GG3IOBffPd+gIpw/ OcKtoGnfD2EOxdzDXjEcRRJYZ9BmASrFjRyoUpyLm2AX2s7AG9zsqcgAZ4/HbhOyN8E/l+lu4n+tb KeiAy+zF49qU58OjaXO84BIBdVzRKU7bo6cquriBReZOoSNsNYh3v0S6I3nInx3iCuKv3TBtkn3be JWKtrHuRtNuVAvvWk0IUoyRQA+S5TFi6ApoIlG2SQ2ctw8w/vNIugLjr4JkWuRKQsSW7iLRLQuAXh vk2VWmyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOwnf-00000009em4-3xaZ; Wed, 03 Jul 2024 10:01:19 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOwnQ-00000009ehv-2dls for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2024 10:01:09 +0000 Received: from francesco-nb.corp.toradex.com (31-10-206-125.static.upc.ch [31.10.206.125]) by mail11.truemail.it (Postfix) with ESMTPA id 917151F9C8; Wed, 3 Jul 2024 12:00:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1720000857; bh=UZB7vKNvk9EzHbC+viEOoK/8xOvWR8i2ClJAslwI80w=; h=From:To:Subject; b=wZ2SUwZT23FyFNyJn+aw8MzK0uE/iFWBdtZ8C6JzvSN4a7Vsxftq+12eNs38SYakr 7L1nhY9h656D9EMB/cvC0wpGGhDdrjJ+H1TvMlj5kO1Pq46FIlAHat/qSz4UQD4rGJ KYY+V01IqOtyUpM11ugPrNEkXt7JRSykK7auWRi/lneWtJZyNH5ye8GOjnmcnBsWsz vd1JjmnPz8SV212pqCIs932epbgLlfFulR1WQtsVVVnqHDRvuhysQYx27VW1ruzkGW HjiLrvFe+m/g5355+W2LZts4x7y6abTkhmokCzsDMul7pnIxXdB2TKpV5tqPx+uEfW qtHFdpesanGAw== From: Francesco Dolcini To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Siddharth Vadapalli , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Bjorn Helgaas Cc: Francesco Dolcini , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v1 0/2] PCI: ti: k3: Fix TI J721E PERST# polarity Date: Wed, 3 Jul 2024 12:00:34 +0200 Message-Id: <20240703100036.17896-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_030105_457140_5B2D90DD X-CRM114-Status: UNSURE ( 8.18 ) X-CRM114-Notice: Please train this message. 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 From: Francesco Dolcini Fix PCIe PERST# signal polarity in TI J721E used on TI K3 machines. PCIe PERST# needs to be de-asserted for PCIe to work, however, the driver is doing the opposite and the device tree files are defining the signal with the wrong polarity to cope with that. Fix both the driver and the affected DT files. Emanuele Ghidoli (2): arm64: dts: ti: Mark PCIe PERST# polarity active low in DT PCI: j721e: Fix PERST# polarity arch/arm64/boot/dts/ti/k3-am642-evm.dts | 2 +- arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2.dts | 2 +- arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-sm.dts | 2 +- arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 2 +- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 6 +++--- arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 2 +- arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts | 2 +- arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 6 +++--- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 4 ++-- arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts | 2 +- arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 2 +- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 4 ++-- drivers/pci/controller/cadence/pci-j721e.c | 4 ++-- 13 files changed, 20 insertions(+), 20 deletions(-) Reviewed-by: Siddharth Vadapalli