From patchwork Wed Oct 19 15:38:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 5726 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp407589wrs; Wed, 19 Oct 2022 09:06:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4qb4SCv3g02UD528OT7sNRwmOaW+plRnAPFfR61ctBE1xlVJNH+I0772YnIat0L24Irhmn X-Received: by 2002:a17:902:7b87:b0:179:ec0a:7239 with SMTP id w7-20020a1709027b8700b00179ec0a7239mr9330015pll.139.1666195588687; Wed, 19 Oct 2022 09:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666195588; cv=none; d=google.com; s=arc-20160816; b=m/99cDfrQAd/dCx04uNwYHqRz7gJyoIhA59kK6zhdrx0FrSoVxd9uh7ZTGjNOu0jpl 6YXLd3Mc9xJi5RL/Bl4tu3/omuoFbww6qKfzbVNWIg+HJdinYsehR19dTcnflswWeRR2 /X6Ch4JS2d03vWQUpkR8SdAgbpv2Dt3CvBQfjkQMRzF4fzYhHtbOSEXB7dsAjmk/+fTr ek0C9RusQPXSJb6jRoiFGHSuu0NsYaNR+XfTh/ZFEs4NGjspynxlh/ghc3oKHhjQW2t0 L5dC7bG8yvEYmU+Cru5Wac33MOnzsY3qrcGuvXawz5JuFRjOAnif3RSwknpW6lAMw6li Vx9g== 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; bh=QPBVcim80ZEA2cpucSN5geGdm9XZKu9ZntbpN9+CTng=; b=xuuZQVFoivFXdRCJC9uLqVOCYQaJieMI9KdkCpomLa7ZeToq5rsyHbYnaPGfr3gGYr pHag1a2AakrUs8VXZqpSGoHwK3dM4kTCwBFCUxpByFFJx9K9Vk7mPnc3piNe0tggt4H+ OZK3JBPzKdgt3oUeH66ARbuRTclt8JKFWBFAkL9VYhQm4hthSVVQGsbqxQxRO27c9NU9 Vyp/0Sv0YKijt3h0w8hlq6WPJaZjrwvuFcPcXcQA9m44k6YJ/sNrTf+M11H35a3aHr6p OUgag1c7UAUvjvDC69KoDkl1iP2xBzQh/GflSjesjk+7c2NOm5cvMksBsjjR08Yq1vuj RzVw== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p5-20020a17090a348500b00202be5416b1si238439pjb.109.2022.10.19.09.06.14; Wed, 19 Oct 2022 09:06: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231437AbiJSPyl (ORCPT + 99 others); Wed, 19 Oct 2022 11:54:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232428AbiJSPx5 (ORCPT ); Wed, 19 Oct 2022 11:53:57 -0400 X-Greylist: delayed 733 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 19 Oct 2022 08:51:30 PDT Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3987B196089; Wed, 19 Oct 2022 08:51:30 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94.2) (envelope-from ) id 1olB9A-000167-Pv; Wed, 19 Oct 2022 17:38:20 +0200 Date: Wed, 19 Oct 2022 16:38:14 +0100 From: Daniel Golle To: linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Matthias Brugger Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: phy: mediatek: tphy: add compatible for tphy-v4 Message-ID: <07c5d962515c4f675f076bb91d69eaf651b187c6.1666193782.git.daniel@makrotopia.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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?1747132705531979071?= X-GMAIL-MSGID: =?utf-8?q?1747132705531979071?= V4 can be found in MT7986 and MT7981 SoCs, it supports PCIe with two lanes. Signed-off-by: Daniel Golle Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml index 5613cc5106e32f..851e3dda7b638b 100644 --- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml +++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml @@ -89,6 +89,11 @@ properties: - mediatek,mt8188-tphy - mediatek,mt8195-tphy - const: mediatek,generic-tphy-v3 + - items: + - enum: + - mediatek,mt7981-tphy + - mediatek,mt7986-tphy + - const: mediatek,generic-tphy-v4 - const: mediatek,mt2701-u3phy deprecated: true - const: mediatek,mt2712-u3phy @@ -99,7 +104,7 @@ properties: description: Register shared by multiple ports, exclude port's private register. It is needed for T-PHY V1, such as mt2701 and mt8173, but not for - T-PHY V2/V3, such as mt2712. + T-PHY V2/V3/V4, such as mt2712. maxItems: 1 "#address-cells":