From patchwork Wed Nov 17 01:35:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katherine Perez X-Patchwork-Id: 12623465 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7461FC433F5 for ; Wed, 17 Nov 2021 01:35:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4CD2261C12 for ; Wed, 17 Nov 2021 01:35:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231594AbhKQBiV (ORCPT ); Tue, 16 Nov 2021 20:38:21 -0500 Received: from linux.microsoft.com ([13.77.154.182]:33850 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231256AbhKQBiU (ORCPT ); Tue, 16 Nov 2021 20:38:20 -0500 Received: from thelio.attlocal.net (107-203-255-60.lightspeed.sntcca.sbcglobal.net [107.203.255.60]) by linux.microsoft.com (Postfix) with ESMTPSA id CCA1D20C5A74; Tue, 16 Nov 2021 17:35:22 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com CCA1D20C5A74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1637112923; bh=WUd5PwiMkcnWkeIXQp9yo8ikbNySEIy+IekhJmWKMoU=; h=From:To:Cc:Subject:Date:From; b=qq769TKHE65HLZhdHoFgh96IL9hf9qB5noWfIf6cUymdnOhrkT/Qv0WqGqTu+YOE0 7JsQpCy/Ha8ZsEmHGT94F0TgDWaFuiBRd1vQFqWlCSNjS5qzD0SlUKWe51XjCtxiO6 4mhQ6uuW8mxdlui6tCN8zQ4+vd9ua0MIZxuM75nE= From: Katherine Perez To: Andy Gross , Bjorn Andersson , Rob Herring , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 0/4] arm64: dts: qcom: sm8150: display support for Microsoft Surface Duo Date: Tue, 16 Nov 2021 17:35:12 -0800 Message-Id: <20211117013516.4111383-1-kaperez@linux.microsoft.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Bjorn and Vinod, I'm trying to enable the display subsystem on SM8150 but am having trouble enabling the DISP_CC_MDSS_AHB_CLK. Trace shows "disp_cc_mdss_ahb_clk status stuck at off". Do you have any pointers on enabling this clock? msm_dsi_phy ae94400.dsi-phy: [drm:dsi_phy_driver_probe [msm]] *ERROR* dsi_phy_driver_probe: Unable to get ahb clk disp_cc-sm8250 af00000.clock-controller: supply mmcx not found, using dummy regulator platform ae96000.dsi: Fixing up cyclic dependency with ae00000.mdss:mdp@ae010000 ------------[ cut here ]------------ disp_cc_mdss_ahb_clk status stuck at 'off' WARNING: CPU: 6 PID: 76 at drivers/clk/qcom/clk-branch.c:91 clk_branch_wait+0x14c/0x164 CPU: 6 PID: 76 Comm: kworker/u16:2 Not tainted 5.15.0 #17 Hardware name: Microsoft Surface Duo (DT) Workqueue: events_unbound deferred_probe_work_func pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : clk_branch_wait+0x14c/0x164 lr : clk_branch_wait+0x14c/0x164 sp : ffff80001078ba40 x29: ffff80001078ba40 x28: 0000000000000000 x27: ffff65e6008e2100 x26: ffffb8630ec8e278 x25: ffff65e60005e005 x24: ffffb8630ebc0f98 x23: ffffb8630e234dd8 x22: 0000000000000001 x21: ffffb8630d5b8b60 x20: 0000000000000000 x19: ffffb8630eb5e7b8 x18: 0000000000000030 x17: 2e726f74616c7567 x16: ffffb8630d5a3800 x15: ffffffffffffffff x14: 0000000000000000 x13: 6f27207461206b63 x12: 7574732073757461 x11: 77705f313439386d x10: 0000000000000027 x9 : ffffb8630cf974bc x8 : 0000000000000027 x7 : 0000000000000002 x6 : 0000000000000027 x5 : ffff65e6f93cc9a8 x4 : ffff80001078b890 x3 : 0000000000000001 x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff65e600851d80 Call trace: clk_branch_wait+0x14c/0x164 clk_branch2_enable+0x3c/0x60 clk_core_enable+0x78/0x220 clk_enable+0x38/0x60 dsi_phy_enable_resource+0x98/0xac [msm] dsi_phy_driver_probe+0x29c/0x4f8 [msm] platform_probe+0x74/0xe4 really_probe.part.0+0xa4/0x328 __driver_probe_device+0xa0/0x150 driver_probe_device+0x4c/0x164 __device_attach_driver+0xc0/0x128 bus_for_each_drv+0x84/0xe0 __device_attach+0xe0/0x188 device_initial_probe+0x20/0x2c bus_probe_device+0xa8/0xbc deferred_probe_work_func+0x90/0xc8 process_one_work+0x1f4/0x43c worker_thread+0x78/0x4f0 kthread+0x154/0x160 ret_from_fork+0x10/0x20 ---[ end trace 734ed75908fc6b0e ]--- Katherine Perez (4): arm64: dts: qcom: sm8150: add dispcc node arm64: dts: qcom: sm8150: add display nodes arm64: dts: qcom: sm8150: add DSI display nodes arm64: dts: qcom: sm8150: display support for Microsoft Surface Duo .../dts/qcom/sm8150-microsoft-surface-duo.dts | 26 ++ arch/arm64/boot/dts/qcom/sm8150.dtsi | 292 ++++++++++++++++++ 2 files changed, 318 insertions(+) --- 2.31.1