From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta-65-226.siemens.flowmailer.net (mta-65-226.siemens.flowmailer.net [185.136.65.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04E2D17D375 for ; Mon, 12 Aug 2024 14:16:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.136.65.226 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723472167; cv=none; b=k66m7N2GKqRAGrguxBHQVkCWvWixiCtnsXSq9F36ENq1TL3uwG6J0FHI4FZdepQJYVaYWUxnGHG80rnNxpnpAx88zK4y+7elvMQ4HDt2Pj6AoyNl80832WaVcNnksM5Nh5EoNPDFDDqqyNSMANAxhvxVVozep2vX2bJ38z5D9Qo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723472167; c=relaxed/simple; bh=V/XN2IJlnRlLKosTXmH+9S6EEI//usQMCIJ8qs/hozw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WUpVtln2b64at9fAn5IjjI1vV4y/r65v5Q76P9xafNOTL9UHkRA3qvFILLg//EkH8j2ueNGRCZ0E4sOolM+VrlN5mdx6dSyxAPSWvCt7mA3k0fP0y22I9MPiiRap+QAuXsTk6ZR/d/GWNsKp2HDXpovd6pNBSnmT4bD77oshOdE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=siemens.com; spf=pass smtp.mailfrom=rts-flowmailer.siemens.com; dkim=pass (2048-bit key) header.d=siemens.com header.i=jan.kiszka@siemens.com header.b=hLKWZiAs; arc=none smtp.client-ip=185.136.65.226 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=siemens.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rts-flowmailer.siemens.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=siemens.com header.i=jan.kiszka@siemens.com header.b="hLKWZiAs" Received: by mta-65-226.siemens.flowmailer.net with ESMTPSA id 20240812141554b5f6a4627fb29d7610 for ; Mon, 12 Aug 2024 16:15:54 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=pd/VpIRV516pqsgMsPuysNVtHzsHKVyjXVwp6LAdEi8=; b=hLKWZiAse5JNnpzONR2N3Qr9k8QD8eToGyE3sS7yIaom9QuW26iJLSAEPUN9l4vChF14QR dz+JHQEAFK9bAgoTPOmcPAuIdkxfoLYUnCyeGt5AQ5yfpA9Hz7xHleTa83DWuKniD4N8Xglf 2dHWVqUfhK+aX689K19w3COLiqcwp4/0qVTUotmoYy5q4vgzIVp2b6tVKF78ZRgwb4RJuKH1 WyEzRMC9bagza537JMGkVnCoL6EYw09geoQJn68qwqw8lrYbmOY5F1QCUpkca7OtrJbfZ8Jf Dl0XkV+BGZmyTK3sQTHI63gpUtiFu47ah+9OYuKw0If2nW6JX+QqRDwg==; From: Jan Kiszka To: Minda Chen , Vinod Koul , Kishon Vijay Abraham I Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Dan Carpenter , Conor Dooley , Emil Renner Berthing , Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 0/3] riscv: jh7110: Fix configuration for on-chip USB 2.0 support Date: Mon, 12 Aug 2024 16:15:50 +0200 Message-ID: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer While mainline has support for the USB controller of the JH7110 since 6.5, this never really worked, even not with latest downstream kernels by Starfive - unless you were also using an old downstream U-Boot version. The reason for that was a missing syscon setting that prevented the connection between USB 2.0 PHY and the controller. This series finally fixes the issue. Changes in v2: - fix copy&paste mistake in error patch found by kernel test robot and Dan Carpenter Jan CC: Conor Dooley CC: Emil Renner Berthing CC: Krzysztof Kozlowski CC: Rob Herring Jan Kiszka (3): dt-bindings: phy: jh7110-usb-phy: Add sys-syscon property riscv: dts: starfive: jh7110: Add sys-syscon property to usbphy0 phy: starfive: jh7110-usb: Fix link configuration to controller .../bindings/phy/starfive,jh7110-usb-phy.yaml | 11 ++++++++++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 1 + drivers/phy/starfive/phy-jh7110-usb.c | 20 +++++++++++++++++++ 3 files changed, 32 insertions(+) -- 2.43.0