Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2096467rdb; Thu, 7 Dec 2023 19:34:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFscu5smiMIvDLxqfcp3eKEnHifY+GtYtEVmZ70sa845xWOdwnKGuhsgiPp6l3UF3dRAX9v X-Received: by 2002:a05:6358:7241:b0:16e:2762:cdca with SMTP id i1-20020a056358724100b0016e2762cdcamr4759034rwa.3.1702006450699; Thu, 07 Dec 2023 19:34:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702006450; cv=none; d=google.com; s=arc-20160816; b=PxEqI6CCn2kowW167bRg0umBH5Pa+RzUWmOOq4bEHOX4fGa+xf8mqpRUikxcrZmAos e3/0T8s53nLB3NOOsLz0zeeXzar/+jgMI+vMbM5lMG/yn9Qqos2URnpwSb+/ovSVO5Ph 63jSBkpzfJKaqPyFC2MthA9dbb5d8qnXp3QmdEeG7RyWEdEsguhSUfAHXsX+ls7P+G3V jceg/9MOdVTLzI6QqiL9OQu7P02aPHIw/PuKOV8gnZCK6dFPlGP+hf7Lb7Nb1nDahUBt l8exrBdvo16+uLi/DHtZwa4zPfXlxay5VVG+5NDRYyqRLlNxMUumLhTgmDjGAGqOxz8+ WIsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GkwQVELecaRv8V8I4ohLlXIA9ekZaYR1+oxPFWm1rp0=; fh=69bknu0UJk2OGfFGIeMOMjj3y3nPd5KDtrkpsUsoXmg=; b=kDWh8T0/623VeE4Dpebq4rg1OeFbMWv4QKKm33S+SKZ97gLlBtDNpfPZ5auSJx/OGX si3KXTbbVWvbn3PTEbnqCcuYweOp8UXTnUOTHrOOtzwY2GFKywqgyhGTPw4RFkzrtgMM tFxhMJ4Uf+TnV+0scKGYw41h4/Z8z+Bu3TgAo9jdVn2WH4Ep4/pQj0M+CZ/e87PdFuFj YPUhzt2Y+mEXRdrpmaptkM5mGhN0NJOmacBMHt9LLZYCkTAy7Phd7b3HU9flGLmUa5v1 Arl/vJR7QGcrsYjjpzGUytGjHFSifL6JIzkY3AY4l15hUoosBP0U2Vycwk7q2rZ+9fIX wfuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="XT/f7OFC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id s16-20020a17090aad9000b0028a2fd5be00si355753pjq.67.2023.12.07.19.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 19:34:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="XT/f7OFC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 482EC80AC448; Thu, 7 Dec 2023 19:34:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232752AbjLHDdy (ORCPT + 99 others); Thu, 7 Dec 2023 22:33:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjLHDdx (ORCPT ); Thu, 7 Dec 2023 22:33:53 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7043310EB for ; Thu, 7 Dec 2023 19:33:59 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76AF4C433C7; Fri, 8 Dec 2023 03:33:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702006439; bh=gvbTjN36aMg/8pd0wDaFdxIHv1L9nizj9pVmZyQNfvU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XT/f7OFCQw+yUyR8eYvAXk3PZ0ZScodSRv43KEThVVXSFdT5lRTRXm6vr8zT5m1og P+W4Drkj4mrQiNkL4zSo6u24njZNzCpBzxEStx2lKX7Bn2elODmrJRjdjK0MRG4j2L osOT9U3Q1XSJseKVhrQW6Qz1PI+THOt65SN6d7jzHeRydw918SG1k2sX+H3IcEIi+v nAYqXYWjK1AF09RPymVhJ6ZgiS72sRLnnRfucYOY6yZ61/pXK8ASkWT5QCqhs8S0al PVsoIOxs3t1WTniTWQ+HIrYHRaIlwqrfnDC5EirMXD4KrpMfkHKkyMk3dw6MbvEA/Z TaMmtJO8IjRRg== Date: Thu, 7 Dec 2023 19:38:33 -0800 From: Bjorn Andersson To: Neil Armstrong Cc: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Andy Gross , Konrad Dybcio , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm8650: Add DisplayPort device nodes Message-ID: References: <20231207-topic-sm8650-upstream-dp-v1-0-b762c06965bb@linaro.org> <20231207-topic-sm8650-upstream-dp-v1-3-b762c06965bb@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231207-topic-sm8650-upstream-dp-v1-3-b762c06965bb@linaro.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 07 Dec 2023 19:34:08 -0800 (PST) On Thu, Dec 07, 2023 at 05:37:19PM +0100, Neil Armstrong wrote: > diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi [..] > + > + mdss_dp0: displayport-controller@af54000 { > + compatible = "qcom,sm8650-dp"; > + reg = <0 0xaf54000 0 0x200>, > + <0 0xaf54200 0 0x200>, > + <0 0xaf55000 0 0xc00>, > + <0 0xaf56000 0 0x400>, > + <0 0xaf57000 0 0x400>; > + > + interrupts-extended = <&mdss 12>; > + > + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, > + <&dispcc DISP_CC_MDSS_DPTX0_AUX_CLK>, > + <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK>, > + <&dispcc DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, > + <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK>; > + clock-names = "core_iface", > + "core_aux", > + "ctrl_link", > + "ctrl_link_iface", > + "stream_pixel"; > + > + assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, > + <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>; > + assigned-clock-parents = <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, > + <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; > + > + operating-points-v2 = <&dp_opp_table>; > + > + power-domains = <&rpmhpd RPMHPD_MX>; Are you sure the DP TX block sits in MX? I'd expect this to be RPMHPD_MMCX, and then the PHY partially in MX... > + > + phys = <&usb_dp_qmpphy QMP_USB43DP_DP_PHY>; > + phy-names = "dp"; > + > + #sound-dai-cells = <0>; > + > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + mdss_dp0_in: endpoint { > + remote-endpoint = <&dpu_intf0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + mdss_dp0_out: endpoint { > + }; > + }; > + }; > + > + dp_opp_table: opp-table { Is there any reason why we keep sorting 'o' after 'p' in these nodes? Regards, Bjorn