From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.forwardemail.net (smtp.forwardemail.net [121.127.44.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98246481AAC for ; Tue, 9 Jun 2026 15:41:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=121.127.44.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781019704; cv=none; b=EyqhxqVMX0u2k3/QOk3fcDx9mIISgaSfNlDHB5L97hSknuWGKJZ8ks6OhuJ3GahZejLDSNbUFsmypCRhxh2hlO6Zh8TvXY4MNF3GHQZUOl37j3b7mNR7McWRLZjYJQnmWzwC0GLNVNCUDaqNS9ylSo8HNZ/RtKaP1Dh0JyzApc0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781019704; c=relaxed/simple; bh=yUj3XThMGaP3rmRIa5otSNIwOg8l2L3Cwzh2pZEi8W8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oSvw0nqU6YQ+LiK6UTNH+/PzPs7KfFrihIohfnqQdglovCD/QB8yGhcSx2/iK3fcxgc/Eauswpb8HU7las7tB1uDmmtTOEIiWPfuD8L6ecM65LT0HKKg6+I+RvjnfE5ulGpKvxi+iLQBjlJFra+dxN/osttitGG2J3Tu6Fr83uk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kwiboo.se; spf=pass smtp.mailfrom=fe-bounces.kwiboo.se; dkim=pass (2048-bit key) header.d=kwiboo.se header.i=@kwiboo.se header.b=jPURHqcN; arc=none smtp.client-ip=121.127.44.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kwiboo.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fe-bounces.kwiboo.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kwiboo.se header.i=@kwiboo.se header.b="jPURHqcN" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1781019695; bh=tnTQJtWhXNNunD6hFzuvgsamcYY52i5xc8gBuKJVeBI=; b=jPURHqcNXhxRObsILBtwUwe7LpaITT3sGq66j+Z0U34wuBnPEboH62e1Bi0wMOTBRQ6HU5WfD zXQaZH5RgNe2VlZ6fjIWBJeC9mIcXEuoCPNeYrVEkTro+Hp1XJlvYqJgjPHTfVrgS+SjxNAnSaG O8w116BRD/LArcahWbbdFmHc06648JMr3+TfKG25B0srVgBDmL9o0N4DCr/dPjIDgHL2E/Z9KHN vdIrJzUdBPUaCstpkckgv3JQFkZE/MO9OBx8OUxHjOk0mPY4P2M9ZysOYwfF/oqDN7dX2I5HpCo Az/4L4onCptmo7ysw9KoLJbCY3E3fksRnjSAm2xc6/Tg== X-Forward-Email-ID: 6a28342e2d71d6ad28f66e22 X-Forward-Email-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 121.127.44.66 X-Forward-Email-Version: 2.8.22 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net From: Jonas Karlman To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman Cc: Diederik de Haas , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman Subject: [PATCH 1/2] dt-bindings: usb: Add Rockchip RK3568 compatible for EHCI and OHCI Date: Tue, 9 Jun 2026 15:41:22 +0000 Message-ID: <20260609154124.445182-2-jonas@kwiboo.se> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260609154124.445182-1-jonas@kwiboo.se> References: <20260609154124.445182-1-jonas@kwiboo.se> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Rockchip RK3568 EHCI/OHCI controller depends on clk_usbphy1_480m being enabled, or the system may freeze when registers are accessed. Add Rockchip RK3568 EHCI and OHCI compatibles with a similar four-clock constraint as RK3588. Signed-off-by: Jonas Karlman --- Existing DTs for RK3568 use the plain generic-ehci/ohci compatible, next patch make use of these new compatibles and adds the missing clk_usbphy1_480m clock references. --- .../devicetree/bindings/usb/generic-ehci.yaml | 10 ++++++++++ .../devicetree/bindings/usb/generic-ohci.yaml | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index 55a5aa7d7a54..c49a1bbc8cfd 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -52,6 +52,7 @@ properties: - ibm,476gtr-ehci - nxp,lpc1850-ehci - qca,ar7100-ehci + - rockchip,rk3568-ehci - rockchip,rk3588-ehci - snps,hsdk-v1.0-ehci - socionext,uniphier-ehci @@ -186,6 +187,15 @@ allOf: required: - clocks - clock-names + - if: + properties: + compatible: + contains: + const: rockchip,rk3568-ehci + then: + properties: + clocks: + minItems: 4 unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml index d42f448fa204..5f1b4d2bff89 100644 --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml @@ -47,6 +47,7 @@ properties: - hpe,gxp-ohci - ibm,476gtr-ohci - ingenic,jz4740-ohci + - rockchip,rk3568-ohci - rockchip,rk3588-ohci - snps,hsdk-v1.0-ohci - const: generic-ohci @@ -198,7 +199,9 @@ allOf: properties: compatible: contains: - const: rockchip,rk3588-ohci + enum: + - rockchip,rk3568-ohci + - rockchip,rk3588-ohci then: properties: clocks: -- 2.54.0