From patchwork Mon Apr 3 20:23:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 78728 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2570773vqo; Mon, 3 Apr 2023 13:39:29 -0700 (PDT) X-Google-Smtp-Source: AKy350bCD8Yn88hGrUx23GO+iIM4JFms25do99minEbWFsj/4vE/tvKAxZVvIkWpLWXixC27fHb5 X-Received: by 2002:aa7:9d89:0:b0:62d:e966:ffcb with SMTP id f9-20020aa79d89000000b0062de966ffcbmr19451pfq.0.1680554368878; Mon, 03 Apr 2023 13:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680554368; cv=none; d=google.com; s=arc-20160816; b=llIvDgau/8CT7F6qHoffYi+iux/ohyGZm6xPgGwMhK5FMcsK4mLYNuiBRCCjQx7zxm WCqX1PxeczofenHFeLMl0yrFCDfaskxhXdCQtvyhv3grKZyavfoNOu9wfrjxEkBSxBuq oOey0EEh4bLb3mQ4oQ+2+tIXQs7MOKxtIwicz6t+buWbAZvvM1mszhW/2KJCmQnSjfoz /hSS2EMlREIBc7tPBeEpsS6CRt+UlfWv4jpsMVTQJAeDhatDnYrJUmGCImO1b2OqmM/S g3RXvp3RY1T+OEz8SSfXKPlfsVFg3Od2MtnRYf6XDNQSyMLw98uWlLqm6QajEHIj0XWw BMBQ== 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=2aSsWrIDn4fPNda8Hv33WcVFeF4YG1BMl1/xONIp1Vs=; b=0CMrxWX0wfgvbUNENfafhugtssjcSwG1rlhhKylo/aNplas3iOIzKjPjGU4yS+igpv WkZ4MJAkDwJQBAj3aDWFe4aAwazC5hEx6iHcAVXEcWuPva6c5DZGHXf7v95YdgxnpZYP U9uM/VTIzcmfrM/Yus7E+U14tybVfZSa4aNtwibyTUuIOGVOrpjqwLtwWAjIWeTQIFfa o/eJmRi1QgxQ1eI+ZACVInXt3BXw4zIPRvvlJI1WwJUw0vDGP5B+aBJLb3IXagz3PPd9 N2Tsq15FLoFUG+/F9r8cMKbI+T5MHPNHQqQkuoqZ4IjQ8AQviYH/bkEHHbNqaggTmVeC 1OBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WUpvjl1s; 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 w17-20020aa79551000000b0062a3f8af25asi9157378pfq.59.2023.04.03.13.39.16; Mon, 03 Apr 2023 13:39:28 -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=WUpvjl1s; 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 S233035AbjDCUXS (ORCPT + 99 others); Mon, 3 Apr 2023 16:23:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231513AbjDCUXO (ORCPT ); Mon, 3 Apr 2023 16:23:14 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E53B1BF4; Mon, 3 Apr 2023 13:23:13 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-212-192.ewe-ip-backbone.de [91.248.212.192]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id BB7496603149; Mon, 3 Apr 2023 21:23:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680553391; bh=IanGuFMtYNipnpczUMLMr5LoVeF2LYQjoKAV5cNfhuo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WUpvjl1ss2oluxK5zvxqtZpfvXkEAtId7rxHtQ5Vf/O51UwIpp5e0+LzHiHPKlBHU tpHYfih9d9ynIUxarUGlH7OSEj/1iRV7B2fmkURzOFR9yfGT3jdQrtrjWwpnK+RuIQ OSqreK1g7xMIWucaXq9iiI3U5xGr4cgUkRHpjPa+uINLfP36TsKyufjoK7/t3M0iVz LrEfRH2w6KlUx7VUKT3igeqv3pv9nNAuaePbyL4RGbUWBN2ne650oiptfehXWeN0hd /kNFBkpWK/GHsfzcGiVxee5xTQIC6s0TXer8eAoZI2ipJp6uq2B2XV8hXzYgFQNALZ 1NJU78lhx6Yyw== Received: by jupiter.universe (Postfix, from userid 1000) id 0D3FE4807E3; Mon, 3 Apr 2023 22:23:09 +0200 (CEST) From: Sebastian Reichel To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski Cc: Heiko Stuebner , linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv2 2/7] dt-bindings: phy: rockchip,inno-usb2phy: add rk3588 Date: Mon, 3 Apr 2023 22:23:02 +0200 Message-Id: <20230403202307.120562-3-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230403202307.120562-1-sebastian.reichel@collabora.com> References: <20230403202307.120562-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1762188977521847992?= X-GMAIL-MSGID: =?utf-8?q?1762188977521847992?= Add compatible for the USB2 phy in the Rockchip RK3588 SoC. Signed-off-by: Sebastian Reichel Reviewed-by: Rob Herring --- .../bindings/phy/rockchip,inno-usb2phy.yaml | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml index 0d6b8c28be07..5254413137c6 100644 --- a/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml +++ b/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml @@ -20,6 +20,7 @@ properties: - rockchip,rk3366-usb2phy - rockchip,rk3399-usb2phy - rockchip,rk3568-usb2phy + - rockchip,rk3588-usb2phy - rockchip,rv1108-usb2phy reg: @@ -56,6 +57,14 @@ properties: description: Muxed interrupt for both ports maxItems: 1 + resets: + maxItems: 2 + + reset-names: + items: + - const: phy + - const: apb + rockchip,usbgrf: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -120,15 +129,21 @@ required: - reg - clock-output-names - "#clock-cells" - - host-port - - otg-port + +anyOf: + - required: + - otg-port + - required: + - host-port allOf: - if: properties: compatible: contains: - const: rockchip,rk3568-usb2phy + enum: + - rockchip,rk3568-usb2phy + - rockchip,rk3588-usb2phy then: properties: