From patchwork Fri Sep 11 13:09:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 249727 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp1714301ilk; Fri, 11 Sep 2020 07:35:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCHqysUe/1g0Gy21AymfUaYbbUBvWqIO1aG9Tt4oFpDagJc4QrC9bXxH4PXdhpH9W1kYwK X-Received: by 2002:a50:8524:: with SMTP id 33mr2418134edr.123.1599834936442; Fri, 11 Sep 2020 07:35:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599834936; cv=none; d=google.com; s=arc-20160816; b=GvU/NnC58wya0aULdmv4NQO9vh/zuKTMDt6YmVkvkXgGdi+FITISDHfMeBQVRxjjiJ 55kD7WjDKTZU+/qcUYpnvItvOOlvUSQ/26lqyUG/JYKpP3l2rxc3495kXwv9LhYIaRHv Kwhwhg4heqLErB73MOArbdAHl0UZ7M7SLTCcvb27J1JnDhH8YT0+PweQoPY+/o7JIfjz vFomGSQbT23EwJ20kIxEQOoY4Wi+XTH0XBy++8cSRoBEX9zpN0wmupXxldOUp9PcJn69 /X/ia3yHbZBd54zCEn+ziYlF1vVlQPFMY9XmbB4gAt/POIo2y+tJoBAML/UgLqapeLDY GpQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JSPHG+gWrol4xtMWqlVawkUp7PUHXa4piQC1yx4WIUQ=; b=siE8+r1mimOiIhojvPM6jo8aLcJ6auo6gaR1nVFcRIE6o8bIMllTowA8649C4zeizp DSyyCwxRn53QEUYuXVTYVHTxLUmhng0ikiwwxCebXra1e5zc4pOfwESzbD4qO5l9feO4 GOOIrsyb1ptgkdcx3mSakfVguRo7EaLpTaLeI7ZQsMkQUuM0rVIsFrwBm3ii34u1NFHR jsiZ/sRDU4Fm4/W+ykKx/eWs7k0aONE79lrZBlYtwgwSG6PRXdmDkUB5GJFZl6T2rKCq uTok1NPULWB7NLKeBqqHQrtylrUuC4PHoVD36JRj3+ZUQ8J5iWy6qlFFjUcCfqRATjIy V3wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sEuCMNpN; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 l25si1457558eds.531.2020.09.11.07.35.36; Fri, 11 Sep 2020 07:35:36 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=sEuCMNpN; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1726284AbgIKOfB (ORCPT + 6 others); Fri, 11 Sep 2020 10:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726226AbgIKNLy (ORCPT ); Fri, 11 Sep 2020 09:11:54 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED49BC0617A3 for ; Fri, 11 Sep 2020 06:10:04 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id k25so12395709ljk.0 for ; Fri, 11 Sep 2020 06:10:04 -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=JSPHG+gWrol4xtMWqlVawkUp7PUHXa4piQC1yx4WIUQ=; b=sEuCMNpNZYYuAs0LAOewYrhOb/4Ro2IUzL3kV17d/lgV7TVvfrubtNKkZAdRvWopCR Eji5hFzeP6LDqZAVhwLcGoVZOrdveHmVbI+MPe4vI+tGD3TgHQHJ3Utvz/UymyXWuMWU HN3mJ4oMGNRoQWQNOBAnSsTkm2V+lqdJSknF0yt1SqCvhZruKP0Mcem0bPnN3j64tIkV VuPa1w9xzlajgmQNMLKwPq0z8oCVgJgEL+jsnOK05rwpp/s8eFou1NsSQpvSilYsiJm1 u15+8CJjnNj1jfCsweCkHWaZqdYgAgyEBuzz+bv3IErK3ObQn0zbpwTHk6LB8DNKNZKP nKrg== 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=JSPHG+gWrol4xtMWqlVawkUp7PUHXa4piQC1yx4WIUQ=; b=R2b71XD8162HXNUvbYbQZahpdpxg6hI9XaBT3keOGgraTi2BzusL3VGePuC5vfWc4W oY6vhDrRAijSZ3a0+TKx0f/FAgZi+VQAzPcTnoYTO3qrA3+vbwH5XJMjNUB2jE9a89xq z3Z4uwkzxayevtaLqUdZUJQEadbEicDCWJ4YVWjQDggDpmvgxNtqmolEMnxw5SRJf8p6 E/cgBOcpH0XFsLy434r57qKHZuLvfmBto1wMvSPow4EYlzgo5eg+HgA961zHbgQjReo4 FHUPrrt+5FCxfZCV1l9T6GRrAz55MOsy0WCYLs7kWY+RVGTT0+nU41/X0MByOYKb1ShB OWjQ== X-Gm-Message-State: AOAM533uowKHC7qbaxvxueRbiQsq2u1nFxJl2ZaBvmEvg19YNF4o6TiS q5UwZ+2LaKJl3gPgtr97nRVVdg== X-Received: by 2002:a2e:8153:: with SMTP id t19mr851775ljg.334.1599829803419; Fri, 11 Sep 2020 06:10:03 -0700 (PDT) Received: from eriador.lan ([188.162.64.141]) by smtp.gmail.com with ESMTPSA id 10sm429500lfq.64.2020.09.11.06.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 06:10:02 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Jonathan Marek , Stephen Boyd , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam , devicetree@vger.kernel.org Subject: [RFC 4/4] arm64: dts: qcom: sm8250: pin MMCX to stop the board from crashing Date: Fri, 11 Sep 2020 16:09:50 +0300 Message-Id: <20200911130950.578483-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911130950.578483-1-dmitry.baryshkov@linaro.org> References: <20200911130950.578483-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Use MMCX domain to power up MDSS_GDSC. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 2.28.0 diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 5045fe89a494..c42640228ceb 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1732,6 +1732,9 @@ dp_out: endpoint { dispcc: clock-controller@af00000 { compatible = "qcom,sm8250-dispcc"; reg = <0 0x0af00000 0 0x10000>; + power-domains = <&rpmhpd SM8250_MMCX>; + power-domain-names = "mmcx"; + required-opps = <&rpmhpd_opp_low_svs>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&dsi0_phy 0>, <&dsi0_phy 1>,