Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7170538rwl; Wed, 22 Mar 2023 23:45:54 -0700 (PDT) X-Google-Smtp-Source: AK7set/Qs4TKEzxwG9jUywyPbb2vGc8DnqR6XjXIJIgYIELCiyANryH2OyXpiA80DIib5QLeuB4Q X-Received: by 2002:a17:90b:3b41:b0:237:b702:4958 with SMTP id ot1-20020a17090b3b4100b00237b7024958mr6337452pjb.38.1679553954588; Wed, 22 Mar 2023 23:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679553954; cv=none; d=google.com; s=arc-20160816; b=bkkfyHU1laDL1UkbLmhFhGLqyjm3MGrEmhvoNXXFTfqx9AmEFfgRMpVJJ3tEyIEcY2 RyDZFQzoVFxgLXYePez2ckhB7R5wFz+lht68j9RK5gv1MlgmY44bIhCX0hEJYC6w0AF8 c5hUL71fvvYa6FIHcKrnWZJE5IEic8ceY/qkPBarlBFbqRocsSZuwicaDrHYuftzFUy9 BJ+ApxNYBKALkNsBRaF9Cd+/3lS1qV4W4tCzP9qmNCk4Lzvg8zWBhh5lUf2CoRG+eNT+ 7lpRtdk5cLpWqWzAJGsdMZQX1Mshs2PnM5ScLbc3Y28MHELYnVxyFpZ0gyC9IMHqtnOc Kppw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=8N/XaeLLwIkdvDZKm8o78DXnGxcOUGR0NMOEEQz35z0=; b=Mz3Ne/WZRvbk9PTZlU8xXoTFPN+j8hfUzITCNCzq4T2itmaJLUiZbfiJvfqJO0iTne 4EqPtn6wqVGkN7hvi5J3soi/dSrnbkipmuyatN7sCuu0jfnep4qw16DFVGbOCZNAN+Jt HX/ugeE2XrJPXJA//6+sOHIWUtV6Pipa1BvOpS+WJcY70gxIu0fQGtwNO41E/OHCprmy Uer1YPb8D2QVSvpdXbxewRuh224FzBNpcpEfaG0GQvvYg/vu4cXg4Gp5OJtpgW6OaMod tIvegO+h4yvIagpXi/vGWIHxiC6fecEgcYj3PgOcEf/H/EcN4IMLO+laBhCqRaweheVK yztA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lDxcvr5A; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk3-20020a17090b33c300b0023b4bd3141asi1117549pjb.164.2023.03.22.23.45.41; Wed, 22 Mar 2023 23:45:54 -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=@linaro.org header.s=google header.b=lDxcvr5A; 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 S229863AbjCWGmp (ORCPT + 99 others); Thu, 23 Mar 2023 02:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjCWGmm (ORCPT ); Thu, 23 Mar 2023 02:42:42 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BA7F2B9F4 for ; Wed, 22 Mar 2023 23:42:40 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id eg48so82146193edb.13 for ; Wed, 22 Mar 2023 23:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679553759; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8N/XaeLLwIkdvDZKm8o78DXnGxcOUGR0NMOEEQz35z0=; b=lDxcvr5ATCpedu3VGnpb8banpvgsvL4WHvd3fdqEdDJDsZqHDcg7SCHK7jD3qBRH0Z 3HZQvHnKMh+aweQcSYtBE7N/T+2qRPPNQ2KoND9LUsWyY+UL9e7xS+Ts0rZUocfTpOwA FkBt8c5WRvUCArdZpRQ7hePy/qmHZARcvgqEsZpUJZFTprDnMS316yoqY1gVWx0j4jY2 ciR/wP0ABBT71+u6PwJsujNBXS2VUfFL9IWABhqrMsWho6sUaXQv7bAHM36a9+YF7+Bq N6uE4wU5DM9P22SquidRpNNCkjRIG86OMQQfhkL8xvSSjOGWHnxSkMehQWLNTgXvZVpG 8meA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679553759; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8N/XaeLLwIkdvDZKm8o78DXnGxcOUGR0NMOEEQz35z0=; b=MIelezmjdZA2Iir3p//KlLqZlfeotztM+GJQGnJko6PSurM9qObXfFI8dfcHHzzl2s 7N2hAVA+SsNhGJrhf8ushUg2i74XyfM7t6yqTlciZEMsyeZSR+qKDGwajHWGaPo1w+8N v9pFGY4EgmrF67JMszbOQHySLYwSskzfUgarec0edqy7QntO+r7lzO47Zm5yBp4o+atO lKmk0p9/SR+hODkRpuvGA3kmImfmjKKw5znX7wUZVS4mh/7heOqcvaLY+eBCQUTr7VFa Arhp+ZiBGGlWVDvaEKQ/ZlUgybinqhtYIP0/4vZkcG8tIqhprtRvDA03+HwaDYkoUbkD jc7g== X-Gm-Message-State: AO0yUKU57IAMbnKnlmY3ee0EKxgnv+P8GHBgpawWFIFRBHiBgsxrRf93 fDtwofl3fDgzhJFYd4u/Pft8wfcJ32PySzxPsIs= X-Received: by 2002:a17:906:804e:b0:8af:4120:63a8 with SMTP id x14-20020a170906804e00b008af412063a8mr9388515ejw.68.1679553759082; Wed, 22 Mar 2023 23:42:39 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:a665:ed1e:3966:c991? ([2a02:810d:15c0:828:a665:ed1e:3966:c991]) by smtp.gmail.com with ESMTPSA id z1-20020a1709064e0100b00931baabe36csm8146329eju.63.2023.03.22.23.42.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Mar 2023 23:42:38 -0700 (PDT) Message-ID: Date: Thu, 23 Mar 2023 07:42:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 2/8] dt-bindings: phy: qcom,qmp-usb: Add IPQ9574 USB3 PHY Content-Language: en-US To: Varadarajan Narayanan Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@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 References: <20230323063705.GA19800@varda-linux.qualcomm.com> From: Krzysztof Kozlowski In-Reply-To: <20230323063705.GA19800@varda-linux.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 On 23/03/2023 07:37, Varadarajan Narayanan wrote: > On Wed, Mar 22, 2023 at 10:52:44PM +0100, Krzysztof Kozlowski wrote: >> On 22/03/2023 11:44, Varadarajan Narayanan wrote: >>> Add dt-bindings for USB3 PHY found on Qualcomm IPQ9574 >>> >>> Signed-off-by: Varadarajan Narayanan >>> >>> --- >>> Changes in v2: >>> - Updated sections missed in previous patch >>> --- >>> .../bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml | 22 ++++++++++++++++++++++ >>> 1 file changed, 22 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml >>> index e81a382..beae44c 100644 >>> --- a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml >>> +++ b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml >>> @@ -21,6 +21,7 @@ properties: >>> enum: >>> - qcom,ipq6018-qmp-usb3-phy >>> - qcom,ipq8074-qmp-usb3-phy >>> + - qcom,ipq9574-qmp-usb3-phy >>> - qcom,msm8996-qmp-usb3-phy >>> - qcom,msm8998-qmp-usb3-phy >>> - qcom,qcm2290-qmp-usb3-phy >>> @@ -204,6 +205,27 @@ allOf: >>> compatible: >>> contains: >>> enum: >>> + - qcom,ipq9574-qmp-usb3-phy >>> + then: >>> + properties: >>> + clocks: >>> + maxItems: 2 >> >> toplevel defines minItems as 3, so are you sure this works? Did you test it? > > Yes, this is tested. Able to do I/O. Bindings do not impact on whether you can or can not do IO, so I meant tested as DTS is compliant with bindings. I assume it was not, so please test bindings and DTS before sending new version. see Documentation/devicetree/bindings/writing-schema.rst for instructions > We only have 2 items. Is it ok change the minItems to 2? Yes, because you must update top level (and maybe other) constraints to correct ones. Just test the code... Best regards, Krzysztof