From patchwork Mon May 22 16:29:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 97538 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1593556vqo; Mon, 22 May 2023 10:03:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ449mErdRb3BcZvvn/WNZKJ8b82w/Od266or4Nmc0Cg1rAbC6Jyut9D4pOFcx7D+CmIBQ0k X-Received: by 2002:a05:6a20:a12a:b0:ff:f3d9:1ada with SMTP id q42-20020a056a20a12a00b000fff3d91adamr10109130pzk.60.1684774997380; Mon, 22 May 2023 10:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684774997; cv=none; d=google.com; s=arc-20160816; b=kIN5z9fz1IMUAxXoQxHYkoLLtWbf0LopFHYxLGDpzDLDQhEolbY6GWuJsxwvNDkTCu a5Eo/e9DLPmp5kczpNUkmYrulomuBmojNgySt9+RC4QUojv24pIXJUsOojR00LIY3wu4 rh/9fv9e150YpPn13krhMbnHb9gGw1nCAwAcHMTqKZsuMIdQtpeyiFrvghxgohe9T40N jNUSIIcaMZ9EUecVNi57cYrLtNJqFf9+BgrbtrkUQ+d47VKEc5GHQQxNErdLwjAz8khx UpvZrGPu6pok0a6TLCk8+GhUQU8iiaQBdM7o3qhCdv2uF5w4jTKOMyU7i6iYc2R7Khdh EhwQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eLTzSevxgiYdeRE1V5MGGbGJhxElpx6eyyZS3Qcf5Rw=; b=oY00Up55n65ZG0ZI/AWOlDK2VIec29NCVWcuWcx0/Mim+80WDrxe4yleUvR18CEMvY vGof9HqjqNDVDQYBwlsdBEiOFwcUNoat9Yb8MTRjnjX5PQsaQiRqUv0aJF34ZLjF8far yxpo8sXkfquNP++GKQ445bhTXXK8uLmCv2t60hL5r8Uyyn857IEgG1AdmsmZl5TTeLqe /tLIljRbZeyzC5BZbxKSvOy66DRZrz+QDFE9JqxmR6b4y3vxuUb4T+NaeCNuChQuqWkJ 9Db2lwGJSgS4acAEOmGzCfjQ5gXFNoHRdAce7uViJtQOWy8rEeVQ6HbyO95RKsl8ZPM7 qzbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OX6aF2ui; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o15-20020a63920f000000b0053416d0b548si1063637pgd.543.2023.05.22.10.03.04; Mon, 22 May 2023 10:03:17 -0700 (PDT) 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=OX6aF2ui; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232880AbjEVQaG (ORCPT + 99 others); Mon, 22 May 2023 12:30:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232736AbjEVQ3o (ORCPT ); Mon, 22 May 2023 12:29:44 -0400 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 93225FA; Mon, 22 May 2023 09:29:42 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-208-162.ewe-ip-backbone.de [91.248.208.162]) (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: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 1957F660574E; Mon, 22 May 2023 17:29:41 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1684772981; bh=j75Fix14GedNdNrwK2bcD4ZQfvMbaum/N3+IZtFmhEY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OX6aF2uih1iaaBUnPEMBC08XwCCSTO6pSkKXqT0+iZlpjCL89pXmHK0OyBqwdW0wy NmzFFcSzWZ1KGLWpAO5ZvZ6cYtK814Mq3I/GW2mL2P3zrJ0u/kdfo6GSL0NsTa/8rr O+xR6KC6DazP8IV8fSXNa4AHClCDw6sdMyB2oAdocBRXX+FJi1Gekn6gS5dObKYyZZ oimyBbb+wlB2n7QG3ht4h78F0u5F67xzyMVV7zVF5GNJFctJ7rzrBoxm6rzH/QH0+C vo34kUVpfHo0F2eI+lhNiLgFPUGeRVTU+D6AKs7869tI4/gRosaM0gZ/9TBRtyvgoJ 9SNfA8lQJX5uQ== Received: by jupiter.universe (Postfix, from userid 1000) id F11254807E0; Mon, 22 May 2023 18:29:37 +0200 (CEST) From: Sebastian Reichel To: Alan Stern , Greg Kroah-Hartman Cc: Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com, Rob Herring Subject: [PATCH v5 1/3] dt-bindings: usb: Add RK3588 OHCI Date: Mon, 22 May 2023 18:29:35 +0200 Message-Id: <20230522162937.53190-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522162937.53190-1-sebastian.reichel@collabora.com> References: <20230522162937.53190-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 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, T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766614627374705572?= X-GMAIL-MSGID: =?utf-8?q?1766614627374705572?= Add compatible for RK3588 OHCI. As far as I know it's fully compatible with generic-ohci. Reviewed-by: Rob Herring Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/usb/generic-ohci.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml index d06d1e7d8876..be268e23ca79 100644 --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml @@ -44,6 +44,7 @@ properties: - hpe,gxp-ohci - ibm,476gtr-ohci - ingenic,jz4740-ohci + - rockchip,rk3588-ohci - snps,hsdk-v1.0-ohci - const: generic-ohci - enum: @@ -69,7 +70,7 @@ properties: clocks: minItems: 1 - maxItems: 3 + maxItems: 4 description: | In case the Renesas R-Car Gen3 SoCs: - if a host only channel: first clock should be host. @@ -147,6 +148,20 @@ allOf: then: properties: transceiver: false + - if: + properties: + compatible: + contains: + const: rockchip,rk3588-ohci + then: + properties: + clocks: + minItems: 4 + else: + properties: + clocks: + minItems: 1 + maxItems: 3 unevaluatedProperties: false