From patchwork Wed Jan 6 12:53:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357570 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp844468jai; Wed, 6 Jan 2021 04:57:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0LYEaxMIRpueUHpOlQGu4jbqepGG/t7bIGayfGlapUzQ1S16P0bp1g9V8bWaRCPP2IyVI X-Received: by 2002:a17:906:971a:: with SMTP id k26mr2808564ejx.279.1609937845129; Wed, 06 Jan 2021 04:57:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937845; cv=none; d=google.com; s=arc-20160816; b=0tUEQ5xDTQMSbY+1Gpet5/wQK175iSusvKiLLRssCjS+DKfGY5LZWGdbCTBW8Z3SXo qyIiEipK3DRgvpwbheoKx9cjz+enEg7jOL+ARmRRpNbnYwsi/zxFEz6SDyObOWOkZbdF 5M93foMVYnCWhozAkKdULh/H6jZmIY2GK335UhRyTkxPw1lWobK8pmCVbfaA7oUI8ebD A1XveTTiPa6IPshs1/4LUbDk3TGhlm2GXrZ1JMkGWAzkAlm7zMcx2RJeS9kOqZ/FdUCW 5Z3SV7vsJhTMKZ1t8weyNK9bzk6KcaIHL3Skt+HuocDaT6i9lcUiXUBQB5IV7T7b712k BufQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=v/y9bF5GzcDDQpJx8ZDFZlvAK9IBnJLaK6UoovPsBu8=; b=BSgDiKOW4nYgPzcsUZNWM38CguRmYNj+RbHQNHEJAPKj1Jk9THQ6ipNnOxyG6eHE0y 4FZ3ZkaaFPW6Z76Fl/weVi8hWC+QJqy6bVyiL+zD4Yd58HU+Kzv4ZVLgOctSssRwZd9S 7DIF/DnVQercAxiZ5Sive+95wXWTmgQfGvGQlHDA2g4kzmSyJ7BSJlNMvfBJ236+ko70 DwuV8vei4fKKIXkCXgzorGtIZS8iPR/c16InKJEI8fkt/KM2senVJT1UX5t8qkoF6XBX gwux9emHWObAKq/zdqH1byojteTFignWmtiVi4+CL0nOggJ2t44Cs7KKyWCRTTmvcFvS UyVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FxwUgmT2; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si843394ejj.456.2021.01.06.04.57.24; Wed, 06 Jan 2021 04:57:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FxwUgmT2; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726811AbhAFMzd (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbhAFMzc (ORCPT ); Wed, 6 Jan 2021 07:55:32 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E43FC061374 for ; Wed, 6 Jan 2021 04:54:45 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id n25so2190091pgb.0 for ; Wed, 06 Jan 2021 04:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=v/y9bF5GzcDDQpJx8ZDFZlvAK9IBnJLaK6UoovPsBu8=; b=FxwUgmT2jVBayjun7NTSZIUgDVLWZB87G8ajAbYBzB6pU/Mmu1tiTgd2YoY0FmDPzQ wzqjWlnTz51Vk6LGcMJjKMRBxtHJeBIQUQrt0i9THgyQom56CNt6oDFSYzXVh1MU5kMh sZBdW0TJ0ThYD958yhGUJ+wy9wKiVXqfeQtuwzWPcPBaE8ApeqYabDrPJ5Xng/JgZbGm JE+69ElvHwKs4Xi2wL6+nLLVnsP9PP31r5PpPcg3DQ9ex+k7D/sK4ICoWCt/Cx8cf42P CShZV4r1PhhLGjGbvBytXTG/kljP0+U5aU3i8we9t+HdeOZfJcQnjGs7wPDfC2obaiGu m47g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=v/y9bF5GzcDDQpJx8ZDFZlvAK9IBnJLaK6UoovPsBu8=; b=tb4xigReVKfVJykswGEe4Jnbwt306MVXXJxfEN7o4NS1ujDqtwvDW0u+OAozFDI7fQ HBU+x+J5idGaP1fcj4cRdQ/8JCrudnLY1fS6eqCUeW4fqFFHEdcEUm9UwqXl2HTcH3d3 KUaOiZBnFAy1KXWIeL4mD1dgoPy8kSX2t6K8GxTjBUaYhRlyiC3/KlflOi2FiwBwBg0Z SgAvXssRd2Mk1/k81XprlxLHpxnj6NHZZmiB0kCAwO92cfJROPjdWUbtgwAMTtnjLOEs whkzddb2/Ms+z6Lty4PHjj1Dey8R64LP1WxsEsaXdYlqrS7xznEa7NJaNzElwRunEq0p Hl5A== X-Gm-Message-State: AOAM5303rQ0FtymMtAbvnbqz1rmfff6r/O45bsD1JrkKYGQ+UetPOwYM sdIKFiVb/ZUAJ8PaaZ/wVC8Q X-Received: by 2002:a65:458e:: with SMTP id o14mr4381657pgq.444.1609937685042; Wed, 06 Jan 2021 04:54:45 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:44 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 16/18] ARM: dts: qcom: sdx55: Add rpmpd node Date: Wed, 6 Jan 2021 18:23:20 +0530 Message-Id: <20210106125322.61840-17-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds rpmpd node and opps for this node to the SDX55 dts. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 9911e672b4d2..6ec7cf1a2367 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include / { @@ -351,6 +352,56 @@ rpmhcc: clock-controller { clock-names = "xo"; clocks = <&xo_board>; }; + + rpmhpd: power-controller { + compatible = "qcom,sdx55-rpmhpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmhpd_opp_table>; + + rpmhpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmhpd_opp_ret: opp1 { + opp-level = ; + }; + + rpmhpd_opp_min_svs: opp2 { + opp-level = ; + }; + + rpmhpd_opp_low_svs: opp3 { + opp-level = ; + }; + + rpmhpd_opp_svs: opp4 { + opp-level = ; + }; + + rpmhpd_opp_svs_l1: opp5 { + opp-level = ; + }; + + rpmhpd_opp_nom: opp6 { + opp-level = ; + }; + + rpmhpd_opp_nom_l1: opp7 { + opp-level = ; + }; + + rpmhpd_opp_nom_l2: opp8 { + opp-level = ; + }; + + rpmhpd_opp_turbo: opp9 { + opp-level = ; + }; + + rpmhpd_opp_turbo_l1: opp10 { + opp-level = ; + }; + }; + }; }; };