From patchwork Tue Nov 15 14:39:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 20411 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2767492wru; Tue, 15 Nov 2022 06:43:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf4uYwgyOkQ+61712GEakHn+Edxgm5iuwm3hlnAbI/+in3pelK4fGXPb0wL1+um8FnkuNon4 X-Received: by 2002:a17:906:2a9a:b0:7a4:98cc:7c8e with SMTP id l26-20020a1709062a9a00b007a498cc7c8emr14178714eje.48.1668523388594; Tue, 15 Nov 2022 06:43:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668523388; cv=none; d=google.com; s=arc-20160816; b=apxaaCJTvpP5lXcFc6qx57MG3xUp+VNAYfTkawTlQrItnYt7+6CKo2hXa2wUb3U8Bj lHXIyTuc57h4weLliTKKZwNwWd1lmSrvR4gVWHZuGqBGjF9hpWsxf+pCZBWKaNTQTkYb jUVAAqFmdK67kDWWizJ4vOnMZ/hISTpR8y1sDh4A64/kysfr7E/iedpOqKx63Noz7mHD EW6+3nY0NG+7sPuY8J4OEZTNlbGP1Rr1CCDuRjV6olGAEJ1SvhbdooSJ8JJSEeXDpxSV HuXbMeOzzOSJfFw7rJBgOltwGHI4DbPjUs/V4NB5K6xW3WuAHjvQXrSOn3rj8Iz2o6yP 0z2A== 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=pEWFqkRuSkssJSR8lT/92SwTwrZhr2P5jSySA3kruHc=; b=eyTqAZ3cPNKto/tGLX5JeR4uyAwthiv2e5lhHtblRoJzHesuM9+x9sZKrYIgthCTae 5a2ERJPyT+LmwGi1M7B1cYA7jn6A/gDP1umdstYO6OYvgXjpEUIblYwBOfAsMREktfy7 D4G1gbN3e9xESF2UPsBXKTyuOm66qIlkFSTJeTvtAdzT9w9GdBCFGcyACjQP82WnbsTP soStGV9kzYwRHW8dLOqksC399OK2MEdqMcVZZzlu6St1ghls8/yKXEXJWz+lCcybG0uo If3+DIVAYShDxLRgLEM1CAOXf/srZ5wJYRswT1nMJVSysrQFbMe/CYPhpQUprZEjJv7p XSMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HDTh7eOI; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lu6-20020a170906fac600b0077ef3eece57si8910351ejb.144.2022.11.15.06.42.41; Tue, 15 Nov 2022 06:43:08 -0800 (PST) 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=HDTh7eOI; 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 S237169AbiKOOlF (ORCPT + 99 others); Tue, 15 Nov 2022 09:41:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbiKOOky (ORCPT ); Tue, 15 Nov 2022 09:40:54 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66F1624BE9; Tue, 15 Nov 2022 06:40:53 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E0AC6617D0; Tue, 15 Nov 2022 14:40:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43F15C433D7; Tue, 15 Nov 2022 14:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668523252; bh=bL1Lmk1URusXyJ0VYumbL+Pqp5Rn8rtPK8iccOoWcEQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HDTh7eOIKmLyzPKukhlEIXQnqekVUiW4zNjFKpSMYcCdEFGljpXBbjPVq1NjKOcib Js1A7SRXUnQJqXGiew2bx9B94QiM/FfY/dReyK3zbxqQffdYOgwnb6mOSDHbjuk5cT +SKwl6U+Dkq+1B0gEzQDx3LEn8SDBciwI81rrnc3YvoHcM8YV76Aq087CTR2vZX5R1 1FEly5nszuw3kJuI96aiENDm2B0ijXJadUAyaS0Cla42gZBonwOHMOYNu5UKFXB1aA 5F7vGnnZOa82ZtZAWUZ4VDyBw9z0fZvZeLiduxjmS6e/hRqQYQBy7/UohD7rgdDJST YEXQI0jdS2AmA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oux6s-0000fI-J8; Tue, 15 Nov 2022 15:40:22 +0100 From: Johan Hovold To: Vinod Koul Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Krzysztof Kozlowski Subject: [PATCH v2 01/15] dt-bindings: phy: qcom,qmp-usb3-dp: rename current bindings Date: Tue, 15 Nov 2022 15:39:51 +0100 Message-Id: <20221115144005.2478-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221115144005.2478-1-johan+linaro@kernel.org> References: <20221115144005.2478-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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?1749573580861469770?= X-GMAIL-MSGID: =?utf-8?q?1749573580861469770?= The current QMP USB3-DP PHY bindings are based on the original MSM8996 binding which provided multiple PHYs per IP block and these in turn were described by child nodes. The QMP USB3-DP PHY block provides a single multi-protocol PHY and even if some resources are only used by either the USB or DP part of the device there is no real benefit in describing these resources in child nodes. The original MSM8996 binding also ended up describing the individual register blocks as belonging to either the wrapper node or the PHY child nodes. This is an unnecessary level of detail which has lead to problems when later IP blocks using different register layouts have been forced to fit the original mould rather than updating the binding. The bindings are arguable also incomplete as they only the describe register blocks used by the current Linux drivers (e.g. does not include the PCS_LANE registers). In preparation for adding new bindings for SC8280XP which further bindings can be based on, rename the current schema file after SC7180, which was the first supported platform, and add a reference to the SC8280XP bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Johan Hovold --- ...dp-phy.yaml => qcom,sc7180-qmp-usb3-dp-phy.yaml} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) rename Documentation/devicetree/bindings/phy/{qcom,qmp-usb3-dp-phy.yaml => qcom,sc7180-qmp-usb3-dp-phy.yaml} (91%) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml similarity index 91% rename from Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml rename to Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml index 97a7ecafbf85..8afc5e815ae8 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml @@ -2,10 +2,17 @@ %YAML 1.2 --- -$id: "http://devicetree.org/schemas/phy/qcom,qmp-usb3-dp-phy.yaml#" -$schema: "http://devicetree.org/meta-schemas/core.yaml#" +$id: http://devicetree.org/schemas/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# -title: Qualcomm QMP USB3 DP PHY controller +title: Qualcomm QMP USB3 DP PHY controller (SC7180) + +description: + The QMP PHY controller supports physical layer functionality for a number of + controllers on Qualcomm chipsets, such as, PCIe, UFS and USB. + + Note that these bindings are for SoCs up to SC8180X. For newer SoCs, see + qcom,sc8280xp-qmp-usb43dp-phy.yaml. maintainers: - Wesley Cheng