From patchwork Thu Mar 30 08:49:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 13193670 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 453A7C77B61 for ; Thu, 30 Mar 2023 08:51:05 +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=z/aj4TOjvz2dnS2a5QXqXhdTGQOWJpKS/SdG2ZMCpjg=; b=lxDXXLLTFnbXDJ dDo3z2ioFIKb/FxbNSaxRIv1m2gRuiN+YmaP+yWLV/2w104G4gpVJ7U6o2zWWNs+bWFCFOZCon58v FyDl2HJnk0JaFgpzVQqu/aOXjyYm/tuFjfN4ijJYVTPLCfyiMZRHUsxeQ6YJpep13N44T3kqJ4t8C bSAlVmdq953oJLKlzP4KhMnJf8orKmVY/tPGAVxrQTKPQDK12ck4zVbNww2xNuPyGV8RPfITutQou 2lDH5K6lPOtKblPhBkO04MdhglB2JrIfB4YlyMiwuEgws51ljbqKsWyjWNY+uIj89px1YsJ8inpFj ipf3EIW2kwYmxnRHjkrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phnz9-0039UK-17; Thu, 30 Mar 2023 08:50:19 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phnz0-0039S1-1W for linux-arm-kernel@lists.infradead.org; Thu, 30 Mar 2023 08:50:11 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EA6B561F88; Thu, 30 Mar 2023 08:50:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 026D9C433D2; Thu, 30 Mar 2023 08:50:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680166209; bh=torgI06B/J0R66UMOhGDjGUeyg08LmEJEdr+FuzGCms=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z36FJkPvEKhY9/yZVCZlogoD6cMdcQ+fOGHaZohYd9pjXv/MjH3pFtRzdKVI5PQHA na+I8m8bw+IEfzNKObO3BBNE4LZ+w3pBvTaKqYpqgQoMmUl40Xzhpn+pgfEzi2m2Hk Z2XPV95NyiWRXRe8k0mU+pFva4YURdf5NmGU+NYJyuANtnz3TkTwt+v7xwuE9JV6xF X8J8scGiX++7CNXJ6DVFM7hU3DcOoT7ZZ+YN8bMiJ1W4r4K0MRleapyPL1lthZdOfJ Zi3Hn8KoGrKVBOStzzCMWEgXfW1fpDKYiOepiy3IztVwdA5pSq0ELQhl0DoOSzc2mg Leq6ng5ip5euA== From: Roger Quadros To: nm@ti.com, vigneshr@ti.com Cc: kristo@kernel.org, srk@ti.com, r-gunasekaran@ti.com, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Roger Quadros Subject: [PATCH v3 3/3] arm64: dts: ti: k3-am625: Use interrupt line for Type-C chip Date: Thu, 30 Mar 2023 11:49:54 +0300 Message-Id: <20230330084954.49763-4-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230330084954.49763-1-rogerq@kernel.org> References: <20230330084954.49763-1-rogerq@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230330_015010_549616_4ADCFF15 X-CRM114-Status: GOOD ( 11.01 ) 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 Since revision 1.3 the Type-C chip's interrupt line is available. This will break Type-C role swap on older boards, and it will remain in Peripheral mode. Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am625-sk.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index 467e17e28916..5d899b56aed6 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -256,3 +256,9 @@ partition@3fc0000 { }; }; }; + +&typec_pd0 { + interrupt-parent = <&exp1>; + interrupts = <17 IRQ_TYPE_EDGE_FALLING>; + interrupt-names = "irq"; +};