Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46EC9C636CC for ; Tue, 7 Feb 2023 10:05:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231510AbjBGKFl (ORCPT ); Tue, 7 Feb 2023 05:05:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231363AbjBGKFh (ORCPT ); Tue, 7 Feb 2023 05:05:37 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68ABC4ED2 for ; Tue, 7 Feb 2023 02:05:35 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id r3so4981129edq.13 for ; Tue, 07 Feb 2023 02:05:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=CB3W+mpZUUBi2cmMXLm+4eDNlFrkIfZhze9vVo4YzYY=; b=XpU/97GFhq+0wad/HeRlajCjBdroUGPLlehxDD9UX8IZRVS39ryX1GMgqvYcfjU4yR ZXjQGAWMHmuNMrjHN1t81B3LlBdwB0bhmIwdciSwHrBiChLYVjWpS0SzHPxr0oLkmurC A6tF7TBFCLxmh0J+rz6DeGN3Bh7FXE22w/Y/MGyySNn/9OqSeE4XsfL5X9k6VE9x9f4I ULdL+KSGbyIffdt0mcze5fN9zbep3EQ+0ylRU2LxqYgA4yeZ5/c2Fc8Lr+bQIy/B443b NrLLDuf0ONJ3UeXMQ6kjjc5wRO/cphf72QHW8YhFgonWTZQ77lYsscCV5DX32PBq7Ds0 AmXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=CB3W+mpZUUBi2cmMXLm+4eDNlFrkIfZhze9vVo4YzYY=; b=twGCwBfC+V6lDnT1/yo/qBErFXl4or5Q3l36FbKFjAifG+Z3zUFEekREJLjpC0TcAD GjRUfRDOsKVC97qD8sAKgqm3E++OBekpFyGVt2piw0H86y1d4RavGyXeWQjTRN0RyJeH BSLvFqMvFmlM5YyM5FOksL7fdqxcgSMu7MmS5xibvjG/8Aisk4YxIm8mghlrRO73Ylt5 42FfQn6GQH/cVQsE2ivFqFZQzp/x63LIcpXE9b+TRMKFDSyZA6R0vigS+kOSwEAVVBD2 sWJsNbck62K3Bnpu37d1OSkKX9ldIn2GWlmQet9ypKYsraD3IqypKEX1XTLax53UrwOm TVSg== X-Gm-Message-State: AO0yUKVi0wIWUqgQfNGEUHYfg0KqFiMBdgeho51/xWPiiZKGQYyHl+lj eCXzSMRYAvt1Vn/472BBU1elrQ== X-Google-Smtp-Source: AK7set9HKQ7a05BPrqGVABcB4J9VZ6pDC+8Kf+QwVLqM/biSJ88LjrUqCv10liTD0djs2WEBPH/E3Q== X-Received: by 2002:a50:d610:0:b0:491:6897:c5cb with SMTP id x16-20020a50d610000000b004916897c5cbmr2748920edi.41.1675764333968; Tue, 07 Feb 2023 02:05:33 -0800 (PST) Received: from ?IPV6:2001:14ba:a085:4d00::8a5? (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id ef15-20020a05640228cf00b0046b471596e6sm6197560edb.57.2023.02.07.02.05.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Feb 2023 02:05:33 -0800 (PST) Message-ID: Date: Tue, 7 Feb 2023 12:05:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH V3 4/9] dt-bindings: clock: Add Qualcomm IPQ5332 GCC Content-Language: en-GB To: Kathiravan T , krzysztof.kozlowski@linaro.org, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, catalin.marinas@arm.com, will@kernel.org, shawnguo@kernel.org, arnd@arndb.de, marcel.ziswiler@toradex.com, nfraprado@collabora.com, robimarko@gmail.com, quic_gurus@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: quic_varada@quicinc.com, quic_srichara@quicinc.com References: <20230206071217.29313-1-quic_kathirav@quicinc.com> <20230206071217.29313-5-quic_kathirav@quicinc.com> <03d6c92a-c9f3-915c-218a-14ff5c5250d2@linaro.org> From: Dmitry Baryshkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/2023 06:26, Kathiravan T wrote: > Thanks Dmirty for taking time to review the patch. > > > On 2/6/2023 3:22 PM, Dmitry Baryshkov wrote: >> On 06/02/2023 09:12, Kathiravan T wrote: >>> Add binding for the Qualcomm IPQ5332 Global Clock Controller. >>> >>> Signed-off-by: Kathiravan T >>> --- >>> Changes in V3: >>>     - Actually I missed to remove the clocks in V2 which are supposed to >>>       be removed. In V3 I have removed those and they are >>>       GCC_APSS_AHB_CLK, GCC_APSS_AHB_CLK_SRC, GCC_APSS_AXI_CLK >>>     - For the same, didn't add the Reviewed-By tags from Stephen and >>>       Krzysztof >>> >>> Changes in V2: >>>     - property 'clocks' is marked required >>>     - Renamed the include file name to match with compatible >>> >>>   .../bindings/clock/qcom,ipq5332-gcc.yaml      |  61 +++ >>>   include/dt-bindings/clock/qcom,ipq5332-gcc.h  | 356 ++++++++++++++++++ >>>   2 files changed, 417 insertions(+) >>>   create mode 100644 >>> Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml >>>   create mode 100644 include/dt-bindings/clock/qcom,ipq5332-gcc.h >>> >>> diff --git >>> a/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml >>> b/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml >>> new file mode 100644 >>> index 000000000000..961311af400c >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml >>> @@ -0,0 +1,61 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/clock/qcom,ipq5332-gcc.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: Qualcomm Global Clock & Reset Controller on IPQ5332 >>> + >>> +maintainers: >>> +  - Stephen Boyd >>> + >>> +description: | >>> +  Qualcomm global clock control module provides the clocks, resets >>> and power >>> +  domains on IPQ5332. >>> + >>> +  See also:: include/dt-bindings/clock/qcom,gcc-ipq5332.h >>> + >>> +allOf: >>> +  - $ref: qcom,gcc.yaml# >>> + >>> +properties: >>> +  compatible: >>> +    const: qcom,ipq5332-gcc >>> + >>> +  clocks: >>> +    items: >>> +      - description: Board XO clock source >>> +      - description: Sleep clock source >>> +      - description: PCIE 2lane PHY pipe clock source >>> +      - description: PCIE 2lane x1 PHY pipe clock source (For second >>> lane) >>> +      - description: USB PCIE wrapper pipe clock source >>> + >>> +  clock-names: >>> +    items: >>> +      - const: xo >>> +      - const: sleep_clk >>> +      - const: pcie_2lane_phy_pipe_clk >>> +      - const: pcie_2lane_phy_pipe_clk_x1 >>> +      - const: usb_pcie_wrapper_pipe_clk >> >> pcie3x1_0_pipe_clk_src, pcie3x1_1_pipe_clk_src, pcie3x2_pipe_clk_src >> usb0_pipe_clk_src are missing. > > > Here is the mapping, > > pcie_2lane_phy_pipe_clk  is the source for pcie3x2, > > pcie_2lane_phy_pipe_clk_x1 is the source for pcie3x1_1, > > usb_pcie_wrapper_pipe_clk is the source for pcie3x1_0_pipe_clk_src and > usb0_pipe_clk_src. > > Is this what you are expecting or am I missing something here? Yes. There were three parent_name entries in your driver. So I can assume that the binding might also be incorrect. -- With best wishes Dmitry