From patchwork Tue Jan 5 12:26:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356858 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764602jai; Tue, 5 Jan 2021 04:29:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOGmh5oWNAem/pQ/7VoBhGcTFxQc3UTjMttpyK87jbJh07rqcj/aG3SZQ0YzNU/z7eDuHs X-Received: by 2002:a05:6402:d08:: with SMTP id eb8mr76838518edb.271.1609849796131; Tue, 05 Jan 2021 04:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849796; cv=none; d=google.com; s=arc-20160816; b=AXs5M5QoWySoRKmKVdCYmWAdE/nY0SkVsiBn9xjpONdOLUhxlW0dlllSD2MvV0TDgq xFpDjiGdtmSZF5SZPU7RPii4euSXuqcfi6LN4WBe24Zp3aB950GleMmDRCk91nK1XOaT 9YSbobxz3rqz+tB9tzH1CsBkE8JfAWrrBz8NxxOxPOzyOGIIr5zFWUpQ3/cxWg1PbrNY cnbmO5UT0hXfmnwlA3F/OCiAFHkXu3fOt/7D0H1Gbr0wpPkg2SXe3XAaavr1H0hnHv4p 8zowGzSTmVrv1fuxIpd1orClNfBBn2wfeLstKYHt6Q1TMKs0Va0XRXUm/7tBAXj3ihr8 O/wQ== 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=19OfSQMbRh29ftmIa/VWNRiukHisCdmG2Buwzd97YAE=; b=r8Zf6Upc/KALr5ODwfM9vSpwDZTolofOybzobj/gcMD114G8hBg93ekWlb88FgcWFS /tRul1nZNR2Lfztx4o68FnfEILz7cb8+PoTlQy6upJpFIrC9+NUUyR6VbJ0y1Pevx3bn w9QbwCob+QJnVF+mhF4IN38PbyxTl1ffoDQhjXhD1g+l+L4JXRhtGZywtQAzeKMAbtEX h+LbXmjRYhHhkNp/He6QJlgDju/bJesULCkhTWg+y6WWjvi+NNy80KUj2GLLQ6GbBANP /6tFMMkdw0dgOjKKOE9eXLJ1TUJEgNs8x/8cbM7Qx1mt/FMYrVy8zcdCupze6hSWAZks 1gqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sQ5HZs5W; 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 n3si32606247edv.105.2021.01.05.04.29.55; Tue, 05 Jan 2021 04:29:56 -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=sQ5HZs5W; 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 S1730229AbhAEM2v (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730240AbhAEM2u (ORCPT ); Tue, 5 Jan 2021 07:28:50 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F166C061389 for ; Tue, 5 Jan 2021 04:27:49 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id p18so21161672pgm.11 for ; Tue, 05 Jan 2021 04:27:49 -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=19OfSQMbRh29ftmIa/VWNRiukHisCdmG2Buwzd97YAE=; b=sQ5HZs5WJzEblH00IWUr2IsN1ixg6IZWdd7Z214fVXKyocGF7sCGIISNcyOVSkpR82 lYiUdyb1ghZKyIY1g3ny+n1+Dsj3B0sRMezDYGIWCR0FnoWS9SOrGMaCioQb2SS+MOhy fPrdZbed8RtwIdSfiVz2aUDtDUIr8DKIRC6TP8KAu+7yF9mzZ62ndeM3PTT2YBPaj6NL M6lEX+J1NVUSsZiVDSTwX6saOMBMfUVrvTp9fcotR/u0CQ44Vy9lc7PkhkNhRq+ZgmMV EgTnSA9oIIWNizTUIXNcxVtFvPAWekDG1krm/5aK1q+uEbbvHczA0g/IozsZwhSF543A eG1Q== 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=19OfSQMbRh29ftmIa/VWNRiukHisCdmG2Buwzd97YAE=; b=KITmbzlZmug0bel4DbH6B8RpGK3OWgZXsdDr0b54r+M9XblALccinJKDCN0Ijao14K /bBWret+j96+e3G8Anv6QVNoiCUIM/8+nNLikkMaNpPq+WYjWJtoEaK505jdyvIPeMo1 bDgUs0d88cNU/u0qai/o01/cztNwLU5wpnVBLUECXhnpCOJgSMoCVyx1OPDwAQKG5Kz0 yJP3pHPZNURHTix6zVkboGKo9zsXtMb0bmwtpCHhVlkBQcfJ+wOxr9Pd0rZf6dB9opqb U4c1R7FQBCi9MON+dxhAFTJb31iUL0YS3x7vmeF+eBPcGVuee578jXqoD1y/EDzMvMOl 4dlQ== X-Gm-Message-State: AOAM533iDonzwC3VvjGQz2Sg/46ahhorx6cKSTLFUmIfPWfQ+wFyd9PK 3KKvBDdhi1uV9tLWomE8+tvt X-Received: by 2002:a05:6a00:134d:b029:1ad:b17:dbc4 with SMTP id k13-20020a056a00134db02901ad0b17dbc4mr62591909pfu.53.1609849668975; Tue, 05 Jan 2021 04:27:48 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:48 -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 v2 16/18] ARM: dts: qcom: sdx55: Add rpmpd node Date: Tue, 5 Jan 2021 17:56:47 +0530 Message-Id: <20210105122649.13581-17-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 f3864471ba4c..6f53acc882dc 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 / { @@ -371,6 +372,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 = ; + }; + }; + }; }; };