Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7357746rwr; Tue, 25 Apr 2023 11:42:11 -0700 (PDT) X-Google-Smtp-Source: AKy350Z4s0OQAMoOni9Lt7IR/URYIBrprUPNVTUtRzlHGOEOYAxo4WYgt4KUwXC7VzxzusqsL1oE X-Received: by 2002:a17:902:ab07:b0:1a1:defc:30d8 with SMTP id ik7-20020a170902ab0700b001a1defc30d8mr19027258plb.32.1682448130745; Tue, 25 Apr 2023 11:42:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682448130; cv=none; d=google.com; s=arc-20160816; b=tLTMQkBdwx4XI/bTPlugMMMk+1Amxxq/HNhTpdNduzvUvuXTKc8mGIVbcSxetnXG9y MAUmQROoRaK/5sxf1Gxl0CxzGLFPUmTItRUGEWywFoSsLv1RYIbYlkrgTTrcu2mwqVkn 6Qt2c31R3h8vhj+hSo7kzJozE69Fs/oAcVRktG0yyDyFQ5jE7uPfEVxCQwikDmNClsn5 TYXZySqzFapdtz+KYFAQpGTpPVqkQ39+bB2xD8dwg5tv/80gNFPEimlPuQS7p8UulU4J 4VHSp/CjSvKjq3YqAKDDDNtpvZ1ActS3mXfawL3NNYWwbNFzFaBPr/H/CLK3VQ7X5fp8 Pf7Q== 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=iRaUadFCSKE/QoppZMed0RxSBw/AjnCOvErTwInNFFk=; b=y89QevvzPIWTev4leAWZ5c0waMyxh5mF1NXdt1IG+PF2JiMuq/gkin8dGLKxD9kUsF xwG+YMiKR7nXs8KpbYdz/wR/XwbaIIpBsYLgqyNyL63Iw6h03FnbqnRlCY6sbxFGIC2H QKYp5eetHNvzNZvwUgJgNMnFC2Aoo3910FqEBI9EpEBBZZdsL0Dl7gBBF6y7qIjLLDKi i2eZRnr+ngOQYkbBHMT3EIc2b8/2gpL1IStzp7kYmtn8EwkVpuEhl11it0vZB+otg6FZ SvPPGLOMj0d9NlBzDyjWB55xGxufXnO++sF0bj3yYUA5Luo/S+t3bvNZvEKbkkLFpzLq 2fsg== 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; 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 bk2-20020a17090b080200b00233e0c4d614si16609460pjb.148.2023.04.25.11.41.57; Tue, 25 Apr 2023 11:42:10 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234572AbjDYSho (ORCPT + 99 others); Tue, 25 Apr 2023 14:37:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233992AbjDYShm (ORCPT ); Tue, 25 Apr 2023 14:37:42 -0400 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34E9B26A8; Tue, 25 Apr 2023 11:37:41 -0700 (PDT) Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6a5dd070aa1so2414047a34.3; Tue, 25 Apr 2023 11:37:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682447860; x=1685039860; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iRaUadFCSKE/QoppZMed0RxSBw/AjnCOvErTwInNFFk=; b=CJxqLtzYgWX7ha9EhX5hbkG5iwhRcymhYi/fuUarhw1nGEnSJE/u82sX1aNr/zUZ5l atRsiZyVrQJ1K4riSfRI4ybC1Kt3+BzFZoLSB4C3Zr1cOICn38EKESGhk1b1vEt7ePqG WrETsCvrQNo8QR2dIeEJYsWGFg7iWw3LQs37K2X3fCwqKo1Sx7bPSYq11eP9ptjZaP5S 3whA4cWn3X8yR1GlEdgCBEy3oaI64Sc4FMxuEk8pmGqi3lfhZO2Upi8mn68SLoReDRFm fO14p1gVl43NDUPUc+rTjvtY9uwuP9++1hmvd3F0Pgok5Whl53+psdaBvU5QmWP7/+Xg mt9A== X-Gm-Message-State: AAQBX9ehCpGbD0GntFk3lELlnp/kQKpvpn3bkTF1+yTn5HwWvCyjpFH7 H+MiZSd5gVKmny4mS8Qa3w== X-Received: by 2002:a05:6830:3a93:b0:6a4:4286:e7da with SMTP id dj19-20020a0568303a9300b006a44286e7damr8808493otb.37.1682447860386; Tue, 25 Apr 2023 11:37:40 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id d2-20020a0568301b6200b0069f0794861asm5964175ote.63.2023.04.25.11.37.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 11:37:40 -0700 (PDT) Received: (nullmailer pid 2060265 invoked by uid 1000); Tue, 25 Apr 2023 18:37:39 -0000 Date: Tue, 25 Apr 2023 13:37:39 -0500 From: Rob Herring To: Varadarajan Narayanan Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, krzysztof.kozlowski+dt@linaro.org, gregkh@linuxfoundation.org, mturquette@baylibre.com, sboyd@kernel.org, quic_wcheng@quicinc.com, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v9 2/8] dt-bindings: phy: qcom,qmp-usb: Add IPQ9574 USB3 PHY Message-ID: <20230425183739.GA2032053-robh@kernel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, Apr 21, 2023 at 09:24:44PM +0530, Varadarajan Narayanan wrote: > * Add dt-bindings for USB3 PHY found on Qualcomm IPQ9574 > > * Making power-domains as optional since IPQ9574 doesn't have GDSCs > > Signed-off-by: Varadarajan Narayanan > > --- > Changes in v9: > - Move 'allOf' to the correct position > > Changes in v8: > - Update clock names for ipq9574 > > Changes in v6: > - Made power-domains optional > > Note: In the earlier patch sets, had used the (legacy) > specification available in qcom,msm8996-qmp-usb3-phy.yaml. Moved > to newer specification in qcom,sc8280xp-qmp-usb3-uni-phy.yaml > --- > .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 43 +++++++++++++++++++--- > 1 file changed, 37 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml > index 16fce10..b9dcda2 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml > @@ -16,6 +16,7 @@ description: > properties: > compatible: > enum: > + - qcom,ipq9574-qmp-usb3-phy > - qcom,sc8280xp-qmp-usb3-uni-phy > > reg: > @@ -25,11 +26,7 @@ properties: > maxItems: 4 > > clock-names: > - items: > - - const: aux > - - const: ref > - - const: com_aux > - - const: pipe > + maxItems: 4 > > power-domains: > maxItems: 1 > @@ -60,7 +57,6 @@ required: > - reg > - clocks > - clock-names > - - power-domains > - resets > - reset-names > - vdda-phy-supply > @@ -69,6 +65,41 @@ required: > - clock-output-names > - "#phy-cells" > > +allOf: > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,ipq9574-qmp-usb3-phy > + then: > + properties: > + clocks: > + maxItems: 4 Doesn't the top-level already say this? > + clock-names: > + items: > + - const: aux > + - const: ref > + - const: cfg_ahb > + - const: pipe > + > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,sc8280xp-qmp-usb3-uni-phy > + then: > + properties: > + clocks: > + maxItems: 4 > + clock-names: > + items: > + - const: aux > + - const: ref > + - const: com_aux > + - const: pipe > + > additionalProperties: false > > examples: > -- > 2.7.4 >