From mboxrd@z Thu Jan 1 00:00:00 1970 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 86C0EC4332F for ; Thu, 15 Dec 2022 18:54:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229665AbiLOSyF (ORCPT ); Thu, 15 Dec 2022 13:54:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230013AbiLOSyC (ORCPT ); Thu, 15 Dec 2022 13:54:02 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A24B146653 for ; Thu, 15 Dec 2022 10:54:01 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id b13so17098515lfo.3 for ; Thu, 15 Dec 2022 10:54:01 -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=fWLzVy/UjP62SOghGlsb4BhhW+Tj4T8m11Npbmlrl9I=; b=WkdkYFD1Ufbuf8MJcf979R+l4T1zJKE+kz7eDNSr1V9FEbOatUy0v9YixpqzSfu2jw 83mLIyH+VZNs1AdFuOlfijov2rxDYtxP+J8/hO3/OjQ+2RTdU3uOucaJWsYt1DvFLSF2 oQl24/k4nJHRbkwooJ02qAVJUgwJWVaJrKdERWWU2mMn8Hvfhj6liEEZq89Nh69OYABd fqDYz8FQe/5XEqqEyq2FWoaTQlIW4m2d9VDfw16VPf1E0Rhu2Hb5sccDnl2rFWliM8qI Nuvx1uqOD/T7UAJFrILRKBOWtB5gcpmdan1gkwQIc7i4TxemrccQgFRmFEBQuL5QEHOT CmiQ== 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=fWLzVy/UjP62SOghGlsb4BhhW+Tj4T8m11Npbmlrl9I=; b=oOc6blGVPi1wWc5Wt7bs6dXO7t6gVHAyMGQE9leAXwGHBGwtxVuFFSStlDrO2oY6z7 +g2RPgQNSrxYoOypmVmjs9M34W92JJvT1CKjks6y5sdhgcKaDP/9ZabrULFAuVCDWNw5 q7bTjs9pi//f3qTol5Ozy/Tez578nlWNYKvBJtTTpezEuFvjjJoH1iGmCkLl/CmOXJnD wp9CXqD/8jPaNYnYWN6DTFKmbNS8jPym2mTd6giBTmkxHjlCPTyO32QlS9zGrECRfeex ew4BnKsFUROtM0wp9Zv81506IjUJeuDePaxtQbuI4GyR7milvOxZZVvTopRycMjOaH+H aB1Q== X-Gm-Message-State: ANoB5pn4xqSc4+G3fp1GZWnLfvo22j9YTtfRv16zwtJamgbwaTd6blRj l4LJnMdS2Z5Yg5piLPm6QHt2TiK3sIcUhAFx X-Google-Smtp-Source: AA0mqf7Vr8AVO/V6SDoyOHADl4vG/68vz/2MP/NJZPABzm+cJlnOzwOUuDpZJaGMvbaPDfAeAH9l5Q== X-Received: by 2002:ac2:4215:0:b0:4b4:b5c1:77f3 with SMTP id y21-20020ac24215000000b004b4b5c177f3mr7595138lfh.16.1671130440055; Thu, 15 Dec 2022 10:54:00 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id 10-20020ac25f4a000000b004bea5274fbfsm1558lfz.160.2022.12.15.10.53.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 10:53:59 -0800 (PST) Message-ID: Date: Thu, 15 Dec 2022 19:53:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v4 2/2] arm64: dts: qcom: Add base QDU1000/QRU1000 IDP DTs Content-Language: en-US To: Melody Olvera , Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221118192241.29384-1-quic_molvera@quicinc.com> <20221118192241.29384-3-quic_molvera@quicinc.com> <20221202033721.4slwz2utw5u6rv7b@builder.lan> <9e4e6149-bc24-b727-fff7-3fb7038fc066@quicinc.com> <5cd9e71c-8147-2ce1-b137-0342e271031b@linaro.org> <82620abd-105a-6ebc-ae58-e77fa058852b@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <82620abd-105a-6ebc-ae58-e77fa058852b@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 15/12/2022 18:56, Melody Olvera wrote: > > > On 12/15/2022 12:44 AM, Krzysztof Kozlowski wrote: >> On 14/12/2022 19:59, Melody Olvera wrote: >>>>> + #clock-cells = <0>; >>>>> + }; >>>>> + >>>>> + sleep_clk: sleep-clk { >>>>> + compatible = "fixed-clock"; >>>>> + clock-frequency = <32000>; >>>>> + #clock-cells = <0>; >>>>> + }; >>>>> + >>>>> + pcie_0_pipe_clk: pcie-0-pipe-clk { >>>> Afaict these clocks are not referenced anywhere, so please skip them. >>> Yes, so I included them to be consistent with the bindings. They will be needed later; >>> should I still remove? >>> >> If they are not referenced anywhere, how is it consistent with bindings? >> Where do the bindings require defining such nodes? > > These bindings here: https://lore.kernel.org/all/20221118181826.28269-2-quic_molvera@quicinc.com/ > I believe you commented that we either have these clocks or we don't, correct? I added them to > the dt since these clocks exist and will be needed later when USB and PCIE nodes are added. > As Konrad noted, these technically belong in the PHYs, but I was told to put stub fixed > clocks instead here: https://lore.kernel.org/lkml/2c8c4642-8aee-3da3-7698-5e08b4c5894d@linaro.org/ > > How is this to be handled? Should I remove the clocks from the dt and the bindings and add them This was a discussion about clock controller. You either have these clocks as input of the clock controller or not. If you have - drop minItems. If you do not have - trim the list to just two items. What do you actually write in DTS is of course connected with the bindings but separate problem. I was not referring to what should be or should not be in DTS. We talked about clock controller and its inputs. Best regards, Krzysztof