Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1017856rwo; Sat, 22 Jul 2023 05:10:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlEYyQp3mrACVvhhGeGxeA+ql78q5//F+XPwwt0V32HLjoiWEz4MeYiaGlAvkKWCM4UjSbrn X-Received: by 2002:a17:90b:1c0d:b0:262:ca69:bf9a with SMTP id oc13-20020a17090b1c0d00b00262ca69bf9amr3484145pjb.21.1690027841593; Sat, 22 Jul 2023 05:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690027841; cv=none; d=google.com; s=arc-20160816; b=JKcerFIxGKZfNCgcpflsP3y207w0ELj8Ad28vt+lkpf+0okqCDTuI38QPtb4ynbvoT aTDLWAMoQqEhJhtAw9TkTQwgEd3/h/alV3Up0qZ23wlFy0K3xl76nKB6+wb+V2NKA/T8 x0JrxWhgirrg64SKaW0864DNTRKRYy49yU1WTsSSU5qqtZkkyote6aq6Na/ZRF/zMW0a NBOv0LJAdm1Wn59wefMzqRPyx7be5kW0lK3ug9eigTio1btl0CuhcLuijv8xb6cXXyFQ 4gwV2ubUXo6wHw5ZMsiDkYrQaC8mp4wgg/1H22ULNo3qfcbmuMlkGbKeULQ7m+3m8RY7 4kTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+HflFtx7jDbS8mEPzGdr8MkDUjrxe84t4rAM3mBsj0s=; fh=ReLuQY4EExi4gKQVwhjVMmG+67JEm9i8p91T9WHyfpI=; b=gL262RAzkgzFqm20vqdvDh5EGwWnyArLBlgoLOBgosYClwDbAV5sDdPTdIuR6ZfXMJ TbLIOKJc523j5PXKzb1ERprp8nREVWud9ghchHZIqmK3lVbtOkCCT3umqklDzwGS5PIL Uzm+enX1te8hS+pxcieNKWruLmDFsjgP0jcBkQF2m7w9iNmyT5SGtQ+eq5AlNP71K+ps 4rY3pkZW4yzsP8mfOHXto8IqklBkPdSGDQ62f1UJG2WI+f9JUEqc6ydoJzI+JUVpHjyi Fv9bRlnefsPCwo/IwvUJ0fQs2jzugMGvyhus7aV8OQRJHgS9j2nDbzN+3Lnmew6RTrdH m0Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GUbm8Cn+; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f8-20020a17090a638800b00262ca5c4c12si4939365pjj.178.2023.07.22.05.10.28; Sat, 22 Jul 2023 05:10:41 -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=@kernel.org header.s=k20201202 header.b=GUbm8Cn+; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbjGVLmS (ORCPT + 99 others); Sat, 22 Jul 2023 07:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjGVLmR (ORCPT ); Sat, 22 Jul 2023 07:42:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBD20269F; Sat, 22 Jul 2023 04:42:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 56CBD60766; Sat, 22 Jul 2023 11:42:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24F24C433C7; Sat, 22 Jul 2023 11:42:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690026134; bh=f2yHgyUaKA3l10ITzTIYa5o+ZSTULlacczfrf3CBjeg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GUbm8Cn+BV+1ejDdslO+FIrdGjx5mNih14qUGX7PapjMVkxNQnyVpxwLSVTuI7J0p 8qdX/tTHgtsRSA2k1nAxSuRjs4J7cUBnnzB/G7juyFg+qoBG6cjSdggKBmA+s+l4k1 Z6nZQBMYZrwAg6UiHQCyi967ogugQdX1K1iXk1ayNpDgjKB7iQ0maA56Sa9OYcCwC4 c6uekhJbp05nk54YGW4sxHr7j0mGN6Wv3FyFSCjjaXELAycT3A+ETP9NkEDe2hHBxh IbUSxzb+6ezZwLlzby7fLc3cmiLTXGpjAdSqZhV741co27rg0gkrW+PdIAtym+7egW ANs03ebYetOfQ== Date: Sat, 22 Jul 2023 12:42:09 +0100 From: Conor Dooley To: Sebastian Reichel Cc: Heiko Stuebner , Greg Kroah-Hartman , Thinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-rockchip@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: Re: [PATCH v2 1/3] dt-bindings: usb: add rk3588 compatible to rockchip,dwc3 Message-ID: <20230722-coleslaw-breeder-40827e23f717@spud> References: <20230720173643.69553-1-sebastian.reichel@collabora.com> <20230720173643.69553-2-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tUpYr2IqJ0mUbeeo" Content-Disposition: inline In-Reply-To: <20230720173643.69553-2-sebastian.reichel@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 --tUpYr2IqJ0mUbeeo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 20, 2023 at 07:36:41PM +0200, Sebastian Reichel wrote: > RK3588 has three DWC3 controllers. Two of them are fully functional in > host, device and OTG mode including USB2 support. They are connected to > dedicated PHYs, that also support USB-C's DisplayPort alternate mode. >=20 > The third controller is connected to one of the combphy's shared > with PCIe and SATA. It can only be used in host mode and does not > support USB2. Compared to the other controllers this one needs > some extra clocks. >=20 > Signed-off-by: Sebastian Reichel I feel like I say it a bunch for some of these Rockchip bindings patches, but if you're adding more clocks for some SoCs, should some per-SoC constraints not also be added? > --- > .../devicetree/bindings/usb/rockchip,dwc3.yaml | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml b/D= ocumentation/devicetree/bindings/usb/rockchip,dwc3.yaml > index 291844c8f3e1..cbc3e55e05e1 100644 > --- a/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml > +++ b/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml > @@ -30,6 +30,7 @@ select: > enum: > - rockchip,rk3328-dwc3 > - rockchip,rk3568-dwc3 > + - rockchip,rk3588-dwc3 > required: > - compatible > =20 > @@ -39,6 +40,7 @@ properties: > - enum: > - rockchip,rk3328-dwc3 > - rockchip,rk3568-dwc3 > + - rockchip,rk3588-dwc3 > - const: snps,dwc3 > =20 > reg: > @@ -58,7 +60,9 @@ properties: > Master/Core clock, must to be >=3D 62.5 MHz for SS > operation and >=3D 30MHz for HS operation > - description: > - Controller grf clock > + Controller grf clock OR UTMI clock > + - description: > + PIPE clock > =20 > clock-names: > minItems: 3 > @@ -66,7 +70,10 @@ properties: > - const: ref_clk > - const: suspend_clk > - const: bus_clk > - - const: grf_clk > + - enum: > + - grf_clk > + - utmi > + - const: pipe > =20 > power-domains: > maxItems: 1 > --=20 > 2.40.1 >=20 --tUpYr2IqJ0mUbeeo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZLvAkQAKCRB4tDGHoIJi 0kKYAQCiO80QFj97obJkn31yMX+NIi1z75tVqo+ogU5Kw2ikbgEA/CV6Gur4Ravl AlQ9PLxs1TY8cb9aF1himnHOGQeBDwE= =5k0e -----END PGP SIGNATURE----- --tUpYr2IqJ0mUbeeo--