From patchwork Sun Sep 24 18:31:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13397046 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 67034CE7A8C for ; Sun, 24 Sep 2023 18:31:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230274AbjIXSbS (ORCPT ); Sun, 24 Sep 2023 14:31:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjIXSbR (ORCPT ); Sun, 24 Sep 2023 14:31:17 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B54CCFF for ; Sun, 24 Sep 2023 11:31:11 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9b27bc8b65eso92486166b.0 for ; Sun, 24 Sep 2023 11:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695580270; x=1696185070; darn=vger.kernel.org; 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=4KmxZ3EOswmuItr0GgrL4MDEituN3+JToxw0Tk8GmKY=; b=bBZu7ToX77MdksIytdawdL8/oJnrHIKUC1+KfP42yVu6Kaw6p1bUSGp8nYJtf/R2FC 9X4O7H+2NXBelHfc/eco/ssBt8GidA6EQOsgGwl6VzyiaQ42caEJW2XOzpF90tUD+ZQq /zZ+qrlnuIVJi8ajmc5lWsPF5i8OqUUI40buF5V+w/UsctZLok1PBZj0t1ZJW2c2hRip RcOJcsRdMEYEl4rZEQVpJ9o66OdYI1FgxXXn5iipzigwUU74aHBD5RhqaGpNtLuR91ed /cEliiDlC1+BbsMg2EOQlcEKVKsFDGdTy3sKgCLpoQ7ZRdTsbE/3WN1VJUkN4nCmWpcs iOHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695580270; x=1696185070; 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=4KmxZ3EOswmuItr0GgrL4MDEituN3+JToxw0Tk8GmKY=; b=jNYn3DroBJf7IiH92CYOl/B0VcI9LFNjzBNBXhJ4JIAW8HP7xFBdN+zC0fSeq+3IWu Vt7IGrNdJFTT6B3zbCCAItrBEBfJS+4r3FFhnZPjpp6+Qj9yNIYAuE8vxW2gQ/r1pS9x o5n+1dyD0eNvZbu14Sx1feUNXt9ect3oXOQf7PyYQxlaPf1DP+n7BaLLBZaCIH2N7+Eh 1kJ2Y0mKOY5Pc9nhNz+PksaF5Y4IbFiA3JwDwKWNCHyjti5USk0J62W30vaVZ362kV3h PTrxXRF3v226f9uP7/9b1ZgCAnyd33/AExyK5G6EqwxMFBuofEUj00vYRaLG4P4LfQqJ WU9w== X-Gm-Message-State: AOJu0YxD6+H0+QezKm3QTDQ7OtOnoB7o+5hTvObXr/UIINEXOdX8s7zU TxQ8r85DzjsEeSmKax64nL/Z8w== X-Google-Smtp-Source: AGHT+IEAgoxbFKuzYTfgKld6ai7WnVOvaktoTotcyqXNzvh6xXpRaYDu2g4K5ci62/nZZZlyQ6kx+g== X-Received: by 2002:a17:907:77d2:b0:9a5:852f:10bd with SMTP id kz18-20020a17090777d200b009a5852f10bdmr3456673ejc.62.1695580270262; Sun, 24 Sep 2023 11:31:10 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.100]) by smtp.gmail.com with ESMTPSA id ty15-20020a170907c70f00b009ae6a6451fdsm4599845ejc.35.2023.09.24.11.31.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 11:31:09 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rohit Agarwal , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH 2/3] ARM: dts: qcom: sdx65: add missing GCC clocks Date: Sun, 24 Sep 2023 20:31:02 +0200 Message-Id: <20230924183103.49487-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230924183103.49487-1-krzysztof.kozlowski@linaro.org> References: <20230924183103.49487-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SDX65 GCC clock controller expects two required clocks: pcie_pipe_clk and usb3_phy_wrapper_gcc_usb30_pipe_clk. The first one is provided by existing phy node, but second is not yet implemented. qcom-sdx65-mtp.dtb: clock-controller@100000: clocks: [[11, 0], [11, 1], [12]] is too short qcom-sdx65-mtp.dtb: clock-controller@100000: clock-names: ['bi_tcxo', 'bi_tcxo_ao', 'sleep_clk'] is too short Reviewed-by: Konrad Dybcio Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom/qcom-sdx65.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi index c9790217320b..4a8cc28fa1db 100644 --- a/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi @@ -204,8 +204,16 @@ soc: soc { gcc: clock-controller@100000 { compatible = "qcom,gcc-sdx65"; reg = <0x00100000 0x001f7400>; - clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>; - clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>, + <&pcie_phy>, + <0>; + clock-names = "bi_tcxo", + "bi_tcxo_ao", + "sleep_clk", + "pcie_pipe_clk", + "usb3_phy_wrapper_gcc_usb30_pipe_clk"; #power-domain-cells = <1>; #clock-cells = <1>; #reset-cells = <1>;