Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1610820rwb; Mon, 7 Nov 2022 03:50:42 -0800 (PST) X-Google-Smtp-Source: AMsMyM4xefJmer2pfqjGC9SVdJQwlTL2Djs0nb7iRKzaecZtX0wdIkYfERxlr0OhG6RhQsHtLve5 X-Received: by 2002:a17:906:6d19:b0:7ae:3a0d:a10c with SMTP id m25-20020a1709066d1900b007ae3a0da10cmr15446071ejr.152.1667821842226; Mon, 07 Nov 2022 03:50:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667821842; cv=none; d=google.com; s=arc-20160816; b=lNUfbc2yqCuScH48g0HgR2tJwWexmdc7Cnut9PFMUpWUPTiyYjLiordkdASp4DhVJD KqSkQhWoWl7dyyejVBIiSg9d5Ig4zqRTgdK9gcZ+vFBaE443zRKZFjiCjAnwISP8TZO4 4MAWnFlMtWoU3jW1/w6q3G5Km8lq4YBwg/1/Ahts76KvqoJYqDFfKPfp2++F0upVZMxv KZTkNOOKji7vAAG/8zoK8QtE9H/jEk8cPluPweNILLblFgRJNFVuunZui5GJzGEyVZ7N Tgta/YHeFWpKHT1ZyHjcBRkId0iST4qu1DsW2FpLO8XalCfd6av5PQxuLbrZbHrXp6kf KQeg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=rmhla3csj1QnIc/ifXl6LMJ1rocErgRj/cyob/iBjRY=; b=0TTAvzkAcX2BAxMzIs7ZRgNkHN7dWFIKUSldbBuq312k1KZOmH83UIsvFZ19ihSKxQ nbzELTVjSUtbcjhg3KLvqMcnG8optUG9+MGr5wGwiqdv2wpY5I0dV0FwNBpHfaXtuB7v NTrrQ75OSCtGyDkQ84aryzgqqqwXi9avwOQDaUHl3zL2zxZnTguCVoCLvPAwg/ZGA44u hEcmeGyIqH3MHozBlb08zE7Gv8um7FghHWz3hkwRydoWR8uCjoas5zkXoQN8erHSpfsB q1lQ7eIQx8fA7m9lRnya5g+6pRkKdPwIDVFIGlyiP2peafk5q2PNzq8Cor6EikKg+PJd ib4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hB9abZno; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xc2-20020a170907074200b0073ce34d1a13si9060841ejb.499.2022.11.07.03.50.20; Mon, 07 Nov 2022 03:50:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hB9abZno; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232064AbiKGLlb (ORCPT + 93 others); Mon, 7 Nov 2022 06:41:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231993AbiKGLlH (ORCPT ); Mon, 7 Nov 2022 06:41:07 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 640E41A3AE; Mon, 7 Nov 2022 03:41:04 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id h9so15818484wrt.0; Mon, 07 Nov 2022 03:41:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rmhla3csj1QnIc/ifXl6LMJ1rocErgRj/cyob/iBjRY=; b=hB9abZnoPuEw6kD8hqcOdC5ebz1Xe0NTAK9hJCuN/iJchSS5FMp+l2ci/cXvkgcIbC /CsGBlfOO1JJKi0MwybYsz1HAjW8AXEpT9aDLba1+kyoWUjlsdWVcoNDjl6L/VcpHaha Thp6nkjgJ+mfWlTP5TFRTfoXdgqC1fXn1ZUzq1Hg5XyHSR28VV/1UCn3wPrbybH4BfBx m6eho8KyEq98NeGoT6+k7XsR4nUc2A3bzQGSwPAiVlKPgwDjG6KYa7u8cr+pxwm0wYg1 rmuhQKvaEFo9I6v/zq+fFIMtMN6hE/KJIBGaTcNvK1qHH+zboT7nvpC2oGVNrF6oXirq XZJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=rmhla3csj1QnIc/ifXl6LMJ1rocErgRj/cyob/iBjRY=; b=IST2lb0qUrQM1EzPvUPAjR3nP189ldoASmA7/rrjTdg8Ntp2QeFBHjPcLtCcF+MBT7 6E9nXlbPKT92kPmNP8WYlbdnabcCteJJD05JgVvhEfaJJBHkwM1J28Gv+fkeJAsl5vi+ eqmrH2+5DGDf8N4CHJjlzs+km4jMY/jV+NsONLI8DOL+ves+0A//nbaOmCOlZZ8DoTh/ fU6GcoRegizBkJMGSDiMkBhC6loh/XSLK7vPyx1zuQkL/pZihw1tuqn1LN4ktBzCwKI3 BmXkNZPjj75Fh05mvlaFIkqXzslvnX1Ym7y1B9Kd6KVYR1tz+CmxacQL4jt00G0JjDmg IuKA== X-Gm-Message-State: ACrzQf3W7gVg6TvEOKYcMNrCEVIZz+hHHWfYdCUCGiy1eh5iqpZ0yzcq 6oGkkdndiBYSSHGl5tD4cxo= X-Received: by 2002:a5d:6185:0:b0:236:776f:2bed with SMTP id j5-20020a5d6185000000b00236776f2bedmr30678035wru.535.1667821262895; Mon, 07 Nov 2022 03:41:02 -0800 (PST) Received: from localhost.localdomain ([95.183.227.98]) by smtp.gmail.com with ESMTPSA id t13-20020a5d460d000000b002366f9bd717sm8718298wrq.45.2022.11.07.03.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 03:41:02 -0800 (PST) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Dmitry Baryshkov , Stephen Boyd Cc: Yassine Oudjana , phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yassine Oudjana Subject: [PATCH] arm64: dts: qcom: msm8996pro-xiaomi-scorpio: Remove DSI PHY clocks from MMCC Date: Mon, 7 Nov 2022 14:40:17 +0300 Message-Id: <20221107114016.356112-1-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yassine Oudjana Having DSI PHY clocks listed in the MMCC node while MDSS is disabled makes it defer probe indefinitely, resulting in simplefb and other blocks that depend on its clocks to defer probe as well. Remove DSI PHY clocks from MMCC to let it probe with MDSS disabled. Fixes: 48aa636285ad ("arm64: dts: qcom: msm8996: add clocks to the MMCC device node") Signed-off-by: Yassine Oudjana --- .../boot/dts/qcom/msm8996pro-xiaomi-scorpio.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-scorpio.dts b/arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-scorpio.dts index 7bf6ad1a214b..c68c2dadd7b4 100644 --- a/arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-scorpio.dts +++ b/arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-scorpio.dts @@ -113,6 +113,19 @@ &mdss { status = "disabled"; }; +&mmcc { + /* + * Remove non-essential DSI PHY clocks to allow MMCC to probe + * with MDSS disabled. + */ + clocks = <&xo_board>, + <&gcc GCC_MMSS_NOC_CFG_AHB_CLK>, + <&gcc GPLL0>; + clock-names = "xo", + "gcc_mmss_noc_cfg_ahb_clk", + "gpll0"; +}; + &mss_pil { firmware-name = "qcom/msm8996/scorpio/mba.mbn", "qcom/msm8996/scorpio/modem.mbn"; -- 2.38.1