From patchwork Sun Dec 25 11:59:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 36476 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp495141wrt; Sun, 25 Dec 2022 04:08:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXtXJN15Cd3HEoQ1xjN4jTdYePV3nzOA/iqn1Dx3qm57tCY6uaoqp3liNim2euvlq+JeZYX5 X-Received: by 2002:a17:906:b041:b0:7c0:c5b3:cb49 with SMTP id bj1-20020a170906b04100b007c0c5b3cb49mr12491031ejb.31.1671970091375; Sun, 25 Dec 2022 04:08:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671970091; cv=none; d=google.com; s=arc-20160816; b=TUUTThdtYSRLiz61f0HzwuQrA2oSFnfijhUvykXzDIOvOQBCMrANqMinQirZatxG5q hZLIs8zy6WB93Lsr+FS22Xo6ivAolBlNdAeTT69AasHBoglfYQBGn0KOqRndh3DLrRCd XfR5viBxoUH3tEVv7FTZMm/mLKQFrh89ecPJwxb4Y6A+tNgPaFHFRecEwSyexYPlajud WWfelZcEKG6j1cQE7towJzq3GTAvsctAs7hxrQNenl8mpJYd27i1qDNs81HN16HKUzhv uSZDNBtmMPOF5DHTEegJgPTAxGO1LESutmQ5JDygQ6Ls8s2J3ClRJbP4/NdF9yfa8Pok bRzw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=+ExVoiUpX6U97IwTnko2fEfj7v9D1prV4olDEP5D5io=; b=tw+hrgYS/0HoS0KLKGesK8Fkb7Ga2aeYRjYSlLHoJVlUNVkufOGTGr2eTKPPPvQbe/ FMZ1ay76sIZ7dOwyQHsC1FCesLe13rW93gaJ6C2S1Q4TWI9X3cUqJ1tzKz4VTkuLKJQn le6zRdsnC3dPqwogE4s4/1vyLOgdMtK8Zbn65UNit/amUj/UuJVW7WX/0wHfmfMFg5CP 7k9Vc5hk7ijS071jixSH94naY2ms7SkmZS2UHE5BUxRA3xFZy+EnqbGRphFEPKyIIsSe r2kR7cj6yyry2i5xQV4NmKFQKJ3LypRSPue8N6bvfqceTAYMex7yEo/PKemDI02+/ktH uHAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mj/BnUSL"; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wg13-20020a17090705cd00b007c103ce0cc7si5540080ejb.740.2022.12.25.04.07.43; Sun, 25 Dec 2022 04:08:11 -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=@linaro.org header.s=google header.b="mj/BnUSL"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231414AbiLYMBr (ORCPT + 99 others); Sun, 25 Dec 2022 07:01:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbiLYMAk (ORCPT ); Sun, 25 Dec 2022 07:00:40 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CAA76469 for ; Sun, 25 Dec 2022 03:59:47 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id m6so2484387lfj.11 for ; Sun, 25 Dec 2022 03:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+ExVoiUpX6U97IwTnko2fEfj7v9D1prV4olDEP5D5io=; b=mj/BnUSLmbbHa0rGlrkk358XG2VGf0Z29EEwI1IbHMM+uP8kiNxH2zkAMFTE7cHDdg xTvmXlEYsZhcnY/DltcrjplkB2l5+E999eUQ0exHvZNCtvrojJIRBb/hfRYxrQDOJ5zH IL7EGweWf6TfN8A7QG0uQ6kulpLHov+jrfFWHYj3yCMeEaO4SUo+jci5uAnMamGFSwpU yWEzhJwI+6OgRQiUsw+sExYUQ5VN+pESPqV2jrjGwIMozJ70P13YMhwKV8IuCHF6GDu0 Ll7bc7a2yyowP3FLnOZXJlG+ToLQ/bhY/ag9ntDIslgwxND+MY4gYps3/CT0x8PPRqC1 J6Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+ExVoiUpX6U97IwTnko2fEfj7v9D1prV4olDEP5D5io=; b=e/Nr59c+X30BsLEfpDZpe5u7zLdo/+ehZFxZxqgwji8rPz96x61gTp2I86M426kJWp P+q0YTpARkfV2aQgM6Jj1PljMfR8C1axaXCJ8fnxFM9fYWgydeHBfwR8fqvLIo+1AnIy R6LfOcyvtmBsTJd9/e7cEl6ddtgnF3sh0BB9Q0seb6uDCS+WBbaLAo3D8uuZ1s0RbkJa Y500K8vEaTWbRTMrUgmczzK1OwSUWk1EutTqUX2g63QAhRvS2UIVKEKhJxYJqxxGGd1v Bl4S+KyoCqmVwWX+aJcJN6z5wuBeMNVxHTg9gVb8F1rMM38OWZD3V2zvQ6zUhyXqEyjC Svpg== X-Gm-Message-State: AFqh2koGg7luIxk+eZAc66vsYoe3USa3caczDwKW+rNpqZdTEoo8KQwQ jEo+a432902pcMSg26rOURMTtw== X-Received: by 2002:a05:6512:3d9e:b0:4c0:2b07:e6e7 with SMTP id k30-20020a0565123d9e00b004c02b07e6e7mr5379114lfv.58.1671969586994; Sun, 25 Dec 2022 03:59:46 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v10-20020ac258ea000000b004b501497b6fsm1338615lfo.148.2022.12.25.03.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 03:59:46 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Wesley Cheng , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: phy: qcom,sc7180-qmp-usb3-dp-phy: correct SC7280 compatibles Date: Sun, 25 Dec 2022 12:59:43 +0100 Message-Id: <20221225115944.55425-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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,RCVD_IN_DNSWL_NONE, 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?1753187710244139856?= X-GMAIL-MSGID: =?utf-8?q?1753187710244139856?= USB3 DP PHY on SC7280 is used with SM8250 fallback: sc7280-herobrine-evoker.dtb: phy-wrapper@88e9000: compatible: ['qcom,sc7280-qmp-usb3-dp-phy', 'qcom,sm8250-qmp-usb3-dp-phy'] is too long Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../phy/qcom,sc7180-qmp-usb3-dp-phy.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml index d9d0ab90edb1..97d94c685d7b 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml @@ -19,12 +19,17 @@ maintainers: properties: compatible: - enum: - - qcom,sc7180-qmp-usb3-dp-phy - - qcom,sc7280-qmp-usb3-dp-phy - - qcom,sc8180x-qmp-usb3-dp-phy - - qcom,sdm845-qmp-usb3-dp-phy - - qcom,sm8250-qmp-usb3-dp-phy + oneOf: + - enum: + - qcom,sc7180-qmp-usb3-dp-phy + - qcom,sc8180x-qmp-usb3-dp-phy + - qcom,sdm845-qmp-usb3-dp-phy + - qcom,sm8250-qmp-usb3-dp-phy + - items: + - enum: + - qcom,sc7280-qmp-usb3-dp-phy + - const: qcom,sm8250-qmp-usb3-dp-phy + reg: items: - description: Address and length of PHY's USB serdes block. From patchwork Sun Dec 25 11:59:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 36477 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp496613wrt; Sun, 25 Dec 2022 04:13:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXuf8RQLSv/RRuqrhmE5wuWc/rLFYaL1maooEPkfKUcTnYq4UMW5nzq6ugWwIcZneatpAIPF X-Received: by 2002:a50:fe0c:0:b0:45c:834b:f2ad with SMTP id f12-20020a50fe0c000000b0045c834bf2admr12185566edt.42.1671970389213; Sun, 25 Dec 2022 04:13:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671970389; cv=none; d=google.com; s=arc-20160816; b=oBsxx4vVGTwWTFYXUXM0baqf/0fCEDNOJ1Q3wnmkqY3IrRa6zAjfplAAXn4vL4uVz8 5g8aOSJmjoLivXvjpo40dWTai8NvIzg+JFkRFuySf43uSH4HZ8GpwhY0jvTQTm+ra889 hZTzw5Bu91zUl1zJBjUyYQyYxCtEpqyozD4DTPZm8E3oYy/E7oHGl6MoZ1u3+NWTqR1X mHbD9qdYDTg1dUs8vgT2iDcozL2RZOCs4NytgfxBGViiMpE9fEZK1iU87KMhkVJFjw29 vgiW/AquJmbLDVctqWJyGLpm2yjj2UDewwDxcZEUIqZDJLgVBPlLM8Ze5rlLVARhe5Ox OmEA== 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=VJm2wioESvThzzMOuzKJ3QtCPr7g0JfFvuAg6gEUcPI=; b=Y9RfKKkd7TZZSLvfedGbd7AMMS5I8nqlIpzH0GBrfZ10K0XqP7lGfHvQmJQS+jBiXN ZzJYz5k6m4OqBpxzhPExDvA2zUsp5zTTwbGTCXmTlP4FTWXnIb4LplTwkUM79CW0TP/D N0SFKhxcvOg7l2+5gDW2LZ3FFMBuqYaQJwrz9339IFzVPuZ6upyV6G2kIjq4XftbvgIM Qu8WdKzbOosnjqhJUu0CP5OMQrVVUAo0+u0SSQ1fczg64QRzssYGD380XUOA5XV94P5I Kkc/rR2HJU6M5QttHVPeVU7R8cbLsj00SLN6L0nTxWxUAX4cc1EhEvtObDbJl8MC3Vrx gTug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LiRgMi1q; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a056402094700b0046b2b37ff70si6083457edz.631.2022.12.25.04.12.40; Sun, 25 Dec 2022 04:13:09 -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=@linaro.org header.s=google header.b=LiRgMi1q; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231136AbiLYMBz (ORCPT + 99 others); Sun, 25 Dec 2022 07:01:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231419AbiLYMAl (ORCPT ); Sun, 25 Dec 2022 07:00:41 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A16B646C for ; Sun, 25 Dec 2022 03:59:48 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id y25so12871283lfa.9 for ; Sun, 25 Dec 2022 03:59:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VJm2wioESvThzzMOuzKJ3QtCPr7g0JfFvuAg6gEUcPI=; b=LiRgMi1qkQ2+Ds7g9/JAYO4WUSM4FJmGIlvOD7cjtAb5RdlPgbnz502iHgVI+Q093a lyGWP0Jss+EmDo1QcTzafJXnnlJaoGsD/5kQ+wfELfx7hs+kixmS6ANmTMVqNSCzDAJ1 u6MlwmI8y4H2UD3/FOBS5gxJ92miBatL/e2PkVVyjUlHt8JivFAx/55o9rBhNCrrRL4W 2AQo+nlvvnNBfmESBQRfL6czWQ8lfe2GOqW5jTMTj7HO5T4puwssyH8HriVa0+An3g2Q uMC2ma/b4clP8Y0jOmLqWP7oXEuY28OgzvQvO44KifylJdOIua2nUutHqDQiMNhgBdJX fxGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VJm2wioESvThzzMOuzKJ3QtCPr7g0JfFvuAg6gEUcPI=; b=0CyYFis5li0UCBsPaUbhVdelz5Pu8aBoFotOSbAPejruIqSlUbwfu8t7qlsrwtfnCL wMNDcCmnDu0ksvAsISdQebgKyTNr+qFYsfxfYp21mYsVoR/zEwk1eJBHtixnEV6ZweS+ iTHBM3CADBKwDH8Rymbrm0vysCZk83+cik2oiAC7ffyPtgL/ZdxKQQGYSEY8nspdBlNx uoBgIgN3DY0FNJLjgavnNPX41uIJXvR4xAvcmgwVq66/3J4mv6iGGPiLuh3jNnvIB1vJ JljjJbkmb57ZVe2vrpxgwA9YMqkE+J+kR98M+XOPZ1rFOEIN7el+mtxwgrTbeujUB1u/ IJHQ== X-Gm-Message-State: AFqh2kp1mwyoLD44J657N9ADCVW9xaLX3SwSpYjjw/0QZd8QemLM30hQ Zy6lRBltf8qlBhkKX4MgQt+Y0g== X-Received: by 2002:a05:6512:32cc:b0:4ca:d81c:f172 with SMTP id f12-20020a05651232cc00b004cad81cf172mr4589490lfg.43.1671969587983; Sun, 25 Dec 2022 03:59:47 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v10-20020ac258ea000000b004b501497b6fsm1338615lfo.148.2022.12.25.03.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 03:59:47 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Wesley Cheng , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] dt-bindings: phy: qcom,sc7180-qmp-usb3-dp-phy: correct clocks per variants Date: Sun, 25 Dec 2022 12:59:44 +0100 Message-Id: <20221225115944.55425-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221225115944.55425-1-krzysztof.kozlowski@linaro.org> References: <20221225115944.55425-1-krzysztof.kozlowski@linaro.org> 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,RCVD_IN_DNSWL_NONE, 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?1753188023010516270?= X-GMAIL-MSGID: =?utf-8?q?1753188023010516270?= Different variants of Qualcomm USB3 DP PHY take different clocks (according to upstream DTS and Linux driver): sc7280-herobrine-crd.dtb: phy-wrapper@88e9000: clocks: [[43, 151], [39, 0], [43, 153]] is too short sc7280-herobrine-crd.dtb: phy-wrapper@88e9000: clock-names:1: 'cfg_ahb' was expected ... sm8250-hdk.dtb: phy@88e9000: clocks: [[46, 185], [44, 0], [46, 187]] is too short sm8250-hdk.dtb: phy@88e9000: clock-names:1: 'cfg_ahb' was expected Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../phy/qcom,sc7180-qmp-usb3-dp-phy.yaml | 72 ++++++++++++++++--- 1 file changed, 62 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml index 97d94c685d7b..2e19a434c669 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml @@ -51,18 +51,12 @@ properties: ranges: true clocks: - items: - - description: Phy aux clock. - - description: Phy config clock. - - description: 19.2 MHz ref clk. - - description: Phy common block aux clock. + minItems: 3 + maxItems: 4 clock-names: - items: - - const: aux - - const: cfg_ahb - - const: ref - - const: com_aux + minItems: 3 + maxItems: 4 power-domains: maxItems: 1 @@ -171,6 +165,64 @@ required: - vdda-phy-supply - vdda-pll-supply +allOf: + - if: + properties: + compatible: + enum: + - qcom,sc7180-qmp-usb3-dp-phy + - qcom,sdm845-qmp-usb3-dp-phy + then: + properties: + clocks: + items: + - description: Phy aux clock + - description: Phy config clock + - description: 19.2 MHz ref clk + - description: Phy common block aux clock + clock-names: + items: + - const: aux + - const: cfg_ahb + - const: ref + - const: com_aux + + - if: + properties: + compatible: + enum: + - qcom,sc8180x-qmp-usb3-dp-phy + then: + properties: + clocks: + items: + - description: Phy aux clock + - description: 19.2 MHz ref clk + - description: Phy common block aux clock + clock-names: + items: + - const: aux + - const: ref + - const: com_aux + + - if: + properties: + compatible: + enum: + - qcom,sm8250-qmp-usb3-dp-phy + then: + properties: + clocks: + items: + - description: Phy aux clock + - description: Board XO source + - description: Phy common block aux clock + clock-names: + items: + - const: aux + - const: ref_clk_src + - const: com_aux + additionalProperties: false examples: