From patchwork Fri Jul 9 17:32:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 471883 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp517327jao; Fri, 9 Jul 2021 10:32:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo8m9Ujp1nN//hGOZ4/cKQnADeMjNvG+O+GvsKGNAchEREGsWAA6GXU2Hedb3onju8Xtil X-Received: by 2002:a92:d246:: with SMTP id v6mr26018748ilg.191.1625851935968; Fri, 09 Jul 2021 10:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625851935; cv=none; d=google.com; s=arc-20160816; b=iEGLxHrlAIhtqgMCgfhVXsqx274ZezD+9eQ6FDl3Qaq4hxzPvmAaDlj+flH8WpoSjb DhEwMuqYYVQWiI5KzPcaQOhnCiP2+3W0AGsT+XI1D1mYKB3gYb9puFzclhcMCJgaxUWA w3cbQUJ1MAtAS8ZLxfrCROHG7FlI8sNIQtwbqbY6e7hehK/BEXT5ESpdRe95rnRZvPTl sM/qydRMk40iHhQSblNrNXzMDxy/wW7kG95hnZJ0licWepqBalQh16ww6nm2/pbeIV55 0L6X9dJJ9d96pmUSmfje0redbt4KDZo6OtPsLBk+tjeq3pfep2tmPwB2ZFPGZfkUGNsJ jCEg== 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=lQik2DiDxCRZSgw55nEoC87xQcPQoKmEJ4pXz+846Ts=; b=g3d4An7gDMp8dXyeBExlzE75cX5iIlkT7pThs4kwsdGfqJjXWZexv/VkWi51G8WgZe NTk7ReP3Qkvu97BjvOtLu56S6m+akhUkyC5RRVFvTHM28cs6yQXJ8LxlZy/TFQx/vU7B gHn+wgJYEdF4l/GzW3r88twk5LAOlrbWYNEfJbwl5TM/ABVPGOyQiYtS9RNbbARpmdwl FhyrfLgypAkNaVNwpDmAIPa7ntMHJhG2bDf43EtZx/MEj16ZZbaHugxUwRmtrp6j1C9G 2wDLHAl0D7cl/CPNWxaZJpSy85WkIPunnNYuLq0nY1BYZaaaJuH1fRbY001dkE8ipg3u AXHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="N/R8Nw5E"; 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 g12si6886612jas.65.2021.07.09.10.32.15; Fri, 09 Jul 2021 10:32:15 -0700 (PDT) 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="N/R8Nw5E"; 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 S230196AbhGIRez (ORCPT + 17 others); Fri, 9 Jul 2021 13:34:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230185AbhGIRez (ORCPT ); Fri, 9 Jul 2021 13:34:55 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5350C06178C for ; Fri, 9 Jul 2021 10:32:09 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id y42so24737353lfa.3 for ; Fri, 09 Jul 2021 10:32:09 -0700 (PDT) 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=lQik2DiDxCRZSgw55nEoC87xQcPQoKmEJ4pXz+846Ts=; b=N/R8Nw5EJeAHahExbU8g3SxQB6VyXusLDg9qaxzGll7OH7iFnhpj8tUEX1P2eT/pZy IT/w1iJuj2Tpke4ZHHHtd6dXUJZ4zXRAwVZWJvVWvCbA3QFeK/PZpFgtW2dU8EgiWO8I ZATV/qbZeH+ZUjnpfZ+UV4/Q5LDgdlMTIWvMCj2EvRQclxuJra28IDiBARb6xPhtplQj oufa4l6UdHcIMxS86Z/XHYjdh7XjSoqCrOvqy+6Jpcm9iPwKIb+2WCqfTR7+EObJym9l ivZ8eNfsuzYDSAVzp06gyimTo15IdO6q28S/Rz1C/UNRj4HaM7RHCZnK6799MJI7bjZS C09g== 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=lQik2DiDxCRZSgw55nEoC87xQcPQoKmEJ4pXz+846Ts=; b=mjvS9XzLtInC+a+0gZolqJXd9CwOQ7yofXRiK2tu8tk+LDCRCgpNXDy+tGbmIOOvf0 Tg5bh68KGhvWYxZxd5YtGxr/jet8sFKVYOXWF2Q7BRHnwmEoXCCZcWgC62Ju9yfN3G93 eK8O7UlnIYpjgz3UPIQfiKk4QF/FUWabdw7ODR1e5bZe3AglfE3FWjgCRs3kcylorj1V zALpZmCLLsbn7oC9hjvJweQc1XcFRoMv6KIAV6NHLVYKE4bTGboKZDNtYfkI2RZeIjL9 IZylnuwEaaVGXQg9MI3FlZBgTGIKQ+2PJzPQfifzwYFia1+hRAVBUO4Y5bSAVvCAK/MJ jUjg== X-Gm-Message-State: AOAM532fWQI90c5s4sfndX2bmnieGSEqh76hX2c/dg7uZcim6gl+ohwv MC9jFpUXvgYm5wmXrz5AJOwG5w== X-Received: by 2002:a05:6512:3295:: with SMTP id p21mr29957449lfe.338.1625851928167; Fri, 09 Jul 2021 10:32:08 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id b14sm511129lfb.132.2021.07.09.10.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 10:32:07 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Stephen Boyd , Taniya Das , Jonathan Marek , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Mark Brown , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v3 5/7] arm64: dts: qcom: sm8250: remove mmcx regulator Date: Fri, 9 Jul 2021 20:32:00 +0300 Message-Id: <20210709173202.667820-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210709173202.667820-1-dmitry.baryshkov@linaro.org> References: <20210709173202.667820-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Switch dispcc and videocc into using MMCX domain directly. Drop the now unused mmcx regulator. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) -- 2.30.2 Reviewed-by: Bjorn Andersson diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 4c0de12aaba6..2a468b85dc09 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -271,13 +271,6 @@ memory@80000000 { reg = <0x0 0x80000000 0x0 0x0>; }; - mmcx_reg: mmcx-reg { - compatible = "regulator-fixed-domain"; - power-domains = <&rpmhpd SM8250_MMCX>; - required-opps = <&rpmhpd_opp_low_svs>; - regulator-name = "MMCX"; - }; - pmu { compatible = "arm,armv8-pmuv3"; interrupts = ; @@ -2362,7 +2355,7 @@ videocc: clock-controller@abf0000 { clocks = <&gcc GCC_VIDEO_AHB_CLK>, <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>; - mmcx-supply = <&mmcx_reg>; + power-domains = <&rpmhpd SM8250_MMCX>; clock-names = "iface", "bi_tcxo", "bi_tcxo_ao"; #clock-cells = <1>; #reset-cells = <1>; @@ -2627,7 +2620,7 @@ opp-358000000 { dispcc: clock-controller@af00000 { compatible = "qcom,sm8250-dispcc"; reg = <0 0x0af00000 0 0x10000>; - mmcx-supply = <&mmcx_reg>; + power-domains = <&rpmhpd SM8250_MMCX>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&dsi0_phy 0>, <&dsi0_phy 1>,