From patchwork Thu Jan 12 16:28:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 13098316 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 074C5C54EBD for ; Thu, 12 Jan 2023 16:30: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: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=XJbbGbhayAojUlapMLQ61t2BX7U6w+6rUKQYv/9/WAU=; b=FQraEAuyQl1WuC B3guPsI+PYVrmzMYtdIA1aKP3Bv3vT2jmpYMnJLSmFU/QzZ69iDO5mXAuAN4remFMhsJ3DIK1sBcJ wniHHCH6vDgKxTvNAf45s8+k2qN4Nq1l153MSqo0FFxqjQeG5ihBK8IJO170hSu63/qyoX/hj7nm1 f5YHe7MAyWmZNTPDN7+gTwc3F9J4V+WlDXFvE5/iUe1ErkAkUCNcE4eKsGES8YcXqIhWBfY5W+Lr2 fWBhgeEIjRCVlrleLdZtrNd6NkvS/1gXRYZ4TooDq6nDXsMxOvQe9ImjRUAJeAvF2h+s/hZHdBgbe cpG+yRPmuifyQiqeUPMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG0S5-00FqDo-PY; Thu, 12 Jan 2023 16:29:17 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG0Rj-00Fq9Q-Tz for linux-arm-kernel@lists.infradead.org; Thu, 12 Jan 2023 16:29:09 +0000 Received: from beast.luon.net (unknown [IPv6:2a10:3781:2531:0:26cc:6c0f:ebfb:d967]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id 440A46602D56; Thu, 12 Jan 2023 16:28:50 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673540930; bh=Dlj4DZU1dYlcaDarDNan8lTfOEhGpOwz2FVMYRD4Xhg=; h=From:To:Cc:Subject:Date:From; b=iwPDqKO2WRrMEJte+nIpxHD4UXUvSOVZRzHcuPv9NNcpnvHXo4hG+KwOnFEYcF+Z+ kIRx15rAEDp0upQL1P1TVGaqQHuvVhhYSv7H3LBpZSyC8sX6MQ6AdgPxASO73jAeSe VHdT5/Fqflr2TEf7Cjwa8Hzk86EjvGr+O14usFdWzPTKZenjvtHpsP5aFpyr8mO5Pw 6CTfbl0AMSmF+xEYmsoReUiMTpCfqy0UkaJicnuG3O7iOkZQGYgS6hhyoM5ORBIvK5 QAuZQb4EdUTHdEnvRrkZdkc/c7xkQADz5b49VrI8GAvWTdmvpNqB5bL5daxdO8tixR KDtW6uyWq0w3A== Received: by beast.luon.net (Postfix, from userid 1000) id 926C160E4F1C; Thu, 12 Jan 2023 17:28:47 +0100 (CET) From: Sjoerd Simons To: Nishanth Menon Cc: kernel@collabora.com, Nitin Yadav , martyn.welch@collabora.com, Krzysztof Kozlowski , Rob Herring , Tero Kristo , Vignesh Raghavendra , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/3] Improve K3-am625-sk support (USB, MMC) Date: Thu, 12 Jan 2023 17:28:43 +0100 Message-Id: <20230112162847.973869-1-sjoerd@collabora.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_082906_316927_31D92377 X-CRM114-Status: GOOD ( 11.51 ) 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 This series picks up a few patches from the TI BSP tree that unfortunately didn't make it upstream thusfar. The first patch improve SD card compatibility (allowing U1 class cards to be used), the remaining ones add USB support. The type-c connector isn't entirely modelled with these changes as it goes through a TPS6598 PD controller. Unfortunately the dtb bindings for that currently require an irq line, which is not connected on E1 and E2 version boards. The patchese to support this setup unfortunately didn't land yet[0].. As such the last patch ignored the PD controller and simply configures usb0 as periphal only rather then mode switch capable, which at least gives some basic usability of that USB port. 0: https://lore.kernel.org/lkml/f714ee55-ef47-317d-81b9-57020dda064b@ti.com/T/ Changes in v4: - Disable new usbss nodes by default in the dtsi and enable in the dts - Drop unneeded disabled nodes in board dts Changes in v3: - Rebased against current ti-next aka 6.2-rc1 - Add Martyn's tested-by Changes in v2: - Rebase against linux-next 20221220 Aswath Govindraju (2): arm64: dts: ti: k3-am62-main: Add support for USB arm64: dts: ti: k3-am625-sk: Add support for USB Nitin Yadav (1): arm64: dts: ti: k3-am62-main: Update OTAP and ITAP delay select arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 92 ++++++++++++++++++------ arch/arm64/boot/dts/ti/k3-am625-sk.dts | 27 +++++++ 2 files changed, 97 insertions(+), 22 deletions(-)