From patchwork Sun Sep 24 18:31:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 726143 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 93FFDCE7A88 for ; Sun, 24 Sep 2023 18:31:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjIXSbR (ORCPT ); Sun, 24 Sep 2023 14:31:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjIXSbR (ORCPT ); Sun, 24 Sep 2023 14:31:17 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB32EFC for ; Sun, 24 Sep 2023 11:31:09 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9b11cc499c2so354859266b.2 for ; Sun, 24 Sep 2023 11:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695580268; x=1696185068; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=B3uSP3o9ardRpaQhkEgd5zKh22mwy8MCGageBq+4jv0=; b=xl99iM4XN/rKttbXBDK7NKPRl7tqueh7EpwMXyuNt8rSD2T9rsoKb9USBvyxXEOgPp /VInR4z45NuoOSZE7hAMj8qWUv4JXfsqmhb2AnMWn/vlyPQOlCsZZcq6WtuKqtaA8EE3 9jrGRH9HLvYr3P2uN8YajnpJ2pzj6yC2D0Yb8GuXWrBVT/RKFjots7wRYcu9i4bi8fvt Wy/egsUUHaKWlK8IPW9o9JzMIArgg+mw77VMPLVO9xmmMnzZLAlSbI9UkIe9H42/FNGh kGBcRnk1VMwP5lQuj1QAovpXTwva9rAkbZr49hTeqcF+0rGvyBU6cRNUt4rZqycraMCG DfJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695580268; x=1696185068; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B3uSP3o9ardRpaQhkEgd5zKh22mwy8MCGageBq+4jv0=; b=dVnMguUe8GPvFgYSBJAZBUTjwLV5TtaPNU4kNBh7bd7YiL5oiggGOolh5sTxenn/ms rC3TgYF+5T6G+44qhajDwWaXETjPMJ3pijTyPRJnG5sszmtod/qbUORKzBnYZvxg2JM4 jBbwgU4vLprbfO7URWXky53ot7QZwCv36RqRIB6sN9MsJmA3brWK0QeUVeDz7YaNygLi 09faqY9I3zoBSPZnufwpZSmCC6cJgSr5RQS/j/6T9Dd0pYNgvZyAaYb/SLD0u0F3rZqB PcUov/FIocg9uqE6C+aZpgjo5IgHy1CEXWyPYgaL2grIEnMoBMnj81ajxrk+7VbYjlPz IAWg== X-Gm-Message-State: AOJu0Yxv6ymSk9vcinewgnNhVQ4EwT+Xs95XbF58SD5iqZazJNxtZ491 YDvn6DQQqUHBgrYxjMHenxRXBA== X-Google-Smtp-Source: AGHT+IF28QSFVA9qjbvA3dya1Mq4QRPwYd9syrOpP+7JW6Xc61j2s4MuLrohjsyKHTizn7yuPtFUnA== X-Received: by 2002:a17:906:fe0e:b0:9ae:63bd:e4bb with SMTP id wy14-20020a170906fe0e00b009ae63bde4bbmr5028616ejb.41.1695580268355; Sun, 24 Sep 2023 11:31:08 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 11:31:07 -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 1/3] ARM: dts: qcom: sdx65: correct PCIe EP phy-names Date: Sun, 24 Sep 2023 20:31:01 +0200 Message-Id: <20230924183103.49487-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Qualcomm PCIe endpoint bindings expect phy-names to be "pciephy": arch/arm/boot/dts/qcom/qcom-sdx65-mtp.dtb: pcie-ep@1c00000: phy-names:0: 'pciephy' was expected Fixes: 9c0bb38414a4 ("ARM: dts: qcom: sdx65: Add support for PCIe EP") Reviewed-by: Konrad Dybcio Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov Reviewed-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom/qcom-sdx65.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi index dd711484dfc9..c9790217320b 100644 --- a/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi @@ -337,7 +337,7 @@ pcie_ep: pcie-ep@1c00000 { power-domains = <&gcc PCIE_GDSC>; phys = <&pcie_phy>; - phy-names = "pcie-phy"; + phy-names = "pciephy"; max-link-speed = <3>; num-lanes = <2>; 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: 725851 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>; From patchwork Sun Sep 24 18:31:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 726142 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 691DFCE7A88 for ; Sun, 24 Sep 2023 18:31:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230118AbjIXSbU (ORCPT ); Sun, 24 Sep 2023 14:31:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbjIXSbT (ORCPT ); Sun, 24 Sep 2023 14:31:19 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81538FC for ; Sun, 24 Sep 2023 11:31:13 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9ad8bba8125so665262466b.3 for ; Sun, 24 Sep 2023 11:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695580272; x=1696185072; 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=kjWcS63QejljbTAaZCxi0uzpk4ik0ikwDkLDQ/WQMSk=; b=SBUDQVfUfWHfoXPYV1xYpZcH3xi2CHp1OZsmLM0lgG7/hB9Z2LhQlDJaAUyZ/xRRXj UwAuVB6u8Ia3JKGmkvXnEA8o1NzDEP7L6QtyAZBSYsbuM6x7dSbyY8w6nEO/L06/zJF/ YhrJMBvtyHPmfvKdBnYTTBOLTf5iCZStqErPuntFj5SUzGBFO+IRihVRutNUs+tmKoWH JoUyq43KgT6e3gS5vX+r2baJl9ifMYnxNvYFFGjr+rcwTvN5EBb2PFzUgHvvdZNyw+MV 1QjoygiuufrBTnNtBTAdph3pzLD78WWv+C5/zTeUerygrertoa8gvzxvixgojIv6TO87 nIlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695580272; x=1696185072; 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=kjWcS63QejljbTAaZCxi0uzpk4ik0ikwDkLDQ/WQMSk=; b=qAZb4mF/F4rIrIaCy1P8XAAGzBFOXTb5TtbKc6m2wQiMorcvmGb8+balwOIvlImBRi xw/zpVpjcK+G+WzIwACY3PxbfgHt2dqiHMr0ISi3f4D43dPNyiMlQz0lycdoTsQD1+LA PrjRLil4QgQoqClNbODQ1XFAsal7ih0bYOAj17ISJlyMknBrowZP5cMnlsYulA8i5M8T jvtQqvBTElanfJUaeGvYa6yaWfpL1ijGxxHFLU+mtdTC7S1GKku0HwtUDH8dQy1eX8of RtyYPq5JJ4AsJq8c1eMgygrUCN75Ftnl5jxk0acickuSBLhLMh9u53qIaXMtZGpmhv4E oweQ== X-Gm-Message-State: AOJu0Yyx09RNtrUOIOTIVfL4qvksiVqc0aPyipO2j9JGfPcm1qGUjk9q WEpjvRPE4pINm/b2dDrjF7533w== X-Google-Smtp-Source: AGHT+IFEm8mCP5zUh5jnGWNXDx9Yw/cImSj86/qjegCW0fh8SN8iR2IfgnFgrBR/dgTNqUN20rZMCw== X-Received: by 2002:a17:907:60c7:b0:9ae:6196:a4d1 with SMTP id hv7-20020a17090760c700b009ae6196a4d1mr4070144ejc.68.1695580272081; Sun, 24 Sep 2023 11:31:12 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 11:31:11 -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 3/3] ARM: dts: qcom: sdx65: correct SPMI node name Date: Sun, 24 Sep 2023 20:31:03 +0200 Message-Id: <20230924183103.49487-3-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 Node names should not have vendor prefixes: qcom-sdx65-mtp.dtb: qcom,spmi@c440000: $nodename:0: 'qcom,spmi@c440000' does not match '^spmi@.* Reviewed-by: Konrad Dybcio Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom/qcom-sdx65.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi index 4a8cc28fa1db..49c16ee2e169 100644 --- a/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-sdx65.dtsi @@ -537,7 +537,7 @@ restart@c264000 { reg = <0x0c264000 0x1000>; }; - spmi_bus: qcom,spmi@c440000 { + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc440000 0xd00>, <0xc600000 0x2000000>,