Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp550262rwb; Thu, 12 Jan 2023 09:12:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXsoSlu6s1fz1i4AUVW4RKZe6DEoGwNxjA+0G9ApGL8vPWqdAUvns1jzSaCgxSnLY7sH2FiT X-Received: by 2002:aa7:d392:0:b0:499:cc7c:88aa with SMTP id x18-20020aa7d392000000b00499cc7c88aamr8895928edq.41.1673543558719; Thu, 12 Jan 2023 09:12:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673543558; cv=none; d=google.com; s=arc-20160816; b=MlwzZfD2o8URyUkPQIqvwmcGuypCTqhC+6y+j0eQ4Bej8c89rbUjxIHFc7SgaSWrTo 4WMkUSSiMmllySk56XfGeDq74fv6OefOhrcgpoHHb7OLWiLFTNIi3H7YEMnokL/cBeV/ rtmPrCekm8cHWNJyFH+9/sAPiVaxcf97Q/D5MdR6ZIFjicgr30rishaseeW22CL8Es7U jjXTd3MTxXo8y3+1l/r31NUMs35gL/nOzipn3HieOl7UCIDYolwSikllMUbf2TsXQH9H uvFnFsJjehTT1GpubraOFzr6xn70vG2Ac6VmIcAuZpYX0Wb1eV7JJRNmj8LOs5faffVE YiVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yC72odM/7Uf6cnA+12rd3/5MvN4DOjxOTtt3B0ulk9g=; b=Jl9vvAJpkFsrLhrGZ/ZXoWxLFGlmXO7K6ypbF6xro0gWpmOnwHJNtthkV1ZUBiKQlf RCXsHzJ4M/LB90tzpNUuEhHfIh5GlUIkN+yZ66TnCuSLfucZJkNFZPQLOTsJUkS5PwZ6 KVhtrVRry+q6qcYZOB4yFNozEFCQpGDOsy7KZWw0T5ZyRIQq4EV5DJ4WZTb9ILC8hL9s YV/ApT3O+ERZZ+4VLsz4HPXce676qL7plQZUfa78O89ZpI4dg1kzQsn041vbsHyJF6Fj HgetzPzPtwNzcfXubPbJ4DoeG7b66IImI04NfeS/uv179J4xaKvNwq/Ju0Jt5lo2Qf1y 2pXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iwPDqKO2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz22-20020a0564021d5600b0048aa3eebb6dsi21046906edb.611.2023.01.12.09.12.26; Thu, 12 Jan 2023 09:12:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iwPDqKO2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239676AbjALQam (ORCPT + 50 others); Thu, 12 Jan 2023 11:30:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232019AbjALQaA (ORCPT ); Thu, 12 Jan 2023 11:30:00 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2162C41; Thu, 12 Jan 2023 08:28:51 -0800 (PST) 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.39.0