From patchwork Thu Mar 30 08:49:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 669249 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD1E5C6FD1D for ; Thu, 30 Mar 2023 08:50:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230380AbjC3IuS (ORCPT ); Thu, 30 Mar 2023 04:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230245AbjC3IuL (ORCPT ); Thu, 30 Mar 2023 04:50:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A208B7AB2; Thu, 30 Mar 2023 01:50:04 -0700 (PDT) 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 3F69B61F46; Thu, 30 Mar 2023 08:50:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19038C4339B; Thu, 30 Mar 2023 08:50:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680166203; bh=PbVK8hEsU/pH2vkw9lfbR9b5VjLWZjOk4C9N4xsA4JA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oLJD8jmbeJyUA5IVZwuOF1Cw5OrJfMSUqcNwtRgBHLO2pcEv/OmeKdtaCOnoY/38y kzLDj8su8nwnI0dWhZvZd/gNRFPoiUQDnNNHZ4aj8p8rlyF/rr+MAWRt6RmolLJMtT tDf/QgN1HsKcKaM5+hEmTxiw0tJVr85VqxwxwGtSyn4f38zAHEZ6Gr63q9UF4FzpkS yfqAXCh3jHBripssF3tmiFkELcinzb0LnqLB5PTD+LmFHqqquH8cNG+2yj5LbeK/hR KOBSBuTfSiCNEvk7d0kRW2cSEBJu6yKvQDZND7JSRoaoWOxiSbVyeaJRMvrenDMrJ3 t2bRpQR6HwDog== 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, Dhruva Gole , Roger Quadros Subject: [PATCH v3 1/3] arm64: dts: ti: k3-am625-sk: Add ti,vbus-divider property to usbss1 Date: Thu, 30 Mar 2023 11:49:52 +0300 Message-Id: <20230330084954.49763-2-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Dhruva Gole The property "ti,vbus-divider" is needed for both usbss0 and usbss1 as both USB0 and USB1 have the same external voltage divider circuit. Fixes: 2d94dfc43885 ("arm64: dts: ti: k3-am625-sk: Add support for USB") Signed-off-by: Dhruva Gole Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi index 54318a07d50c..80e8b9b9a5f5 100644 --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi @@ -261,6 +261,7 @@ &usbss0 { &usbss1 { status = "okay"; + ti,vbus-divider; }; &usb0 { 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: 669248 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DB2CC761AF for ; Thu, 30 Mar 2023 08:50:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230459AbjC3Iu2 (ORCPT ); Thu, 30 Mar 2023 04:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbjC3IuO (ORCPT ); Thu, 30 Mar 2023 04:50:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D72F4EFE; Thu, 30 Mar 2023 01:50:12 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 955CAB8268A; Thu, 30 Mar 2023 08:50:10 +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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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"; +};