Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5835930rwb; Wed, 7 Sep 2022 08:37:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR5DMD9z8yZjdUQtU8TTI0qpv8gptBWXmH7x94b9WuSOzSIVqSo6MRz9Udj3nQh3CxkUzW2I X-Received: by 2002:a17:90a:930b:b0:1ed:5441:1fff with SMTP id p11-20020a17090a930b00b001ed54411fffmr4772786pjo.238.1662565057595; Wed, 07 Sep 2022 08:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662565057; cv=none; d=google.com; s=arc-20160816; b=YqtunqbxBfAv6DrF/qIieqmoEYri2zW0I5RrllxSVOCimpfkjWyiWeblwk7ItAEaIy Dp7dK3ebvvmzSzkcjOSm2czcyJEkqgwsTbgNLCgx5HIZAVDaCk2izv+B3R8koIWIWJoI kNorJaRleOKD5NrhJ2LeGDouLxVjaqCuluijuosQWdutGZoeZEEhkorC1piq0LGGegvx 3UZXlfPWtB8spzdwNWU6ksgnES0IcaUTQ0MbjhLez3Eg/qflr1Zabiuw/4eO7Lj6fGxD +if8+YBvr9UnNhNwu8+H8p9kH/vs1kTacxfjf6A9R48tLJn6amEOZ/ts5hFRlZLWzCIj 8SdA== 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=m19aomWUjstQUp3MYPsXP9cBkshg3+DWd0CyEtyosiU=; b=Q4dlqh1fNWCObpPEIxKcrJAwBP3kTrN5AVf93v1+QSGS3HrsI/I+u50ynk/q3xYc41 xKJI5+KnkxIztQJNWhRfx79OhXbJdY9cYsvEi0i6UMykhWpB4U0VxsXBPjL9AdK82a/d Fc7pGg9wO/tAXxK+6d5yckSHyM7fV1n+eEBi34IeEm6Dw9BV872sqswtdvk0Spcx2WaI 9Do5aSjlLaiQC26/jgN29zFejrhAck7C+9MH8PRrr8SRAWisbYGMMK60eFnISWppl29X xcB85LRHkb1yi5EJV+rBkMpG45w4U4gYXVgDYaCAesb606/5niI3e7kohLg9ujiQjBuk 9a2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=uWv8uKGV; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i16-20020aa796f0000000b0053e25a955f1si5440953pfq.313.2022.09.07.08.37.24; Wed, 07 Sep 2022 08:37:37 -0700 (PDT) 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=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=uWv8uKGV; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229687AbiIGPah (ORCPT + 99 others); Wed, 7 Sep 2022 11:30:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbiIGPag (ORCPT ); Wed, 7 Sep 2022 11:30:36 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA5486EF12; Wed, 7 Sep 2022 08:30:34 -0700 (PDT) Received: from g550jk.localnet (31-151-115-246.dynamic.upc.nl [31.151.115.246]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id BEC95C7023; Wed, 7 Sep 2022 15:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1662564630; bh=PBuavX/FI8zoNi4Yjs2NUwse88XH7Qen5TwuTvKTMFM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=uWv8uKGVTh/KDAzcw1siELCkpqZlURBcIALCy5h1bT5+OZOgnYR/yS5OzAKU/IT8W DWrrGtwYeKh9WpiMUXWtH0F7EUaHUsp2namiCQUuC6x74PX7JfQwhj6ZIIRzXzzFhz NZg+zJODwITdaZ9Hw9uzds8bYYNDEcRbNaSbX3MI= From: Luca Weiss To: Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Vladimir Lypak , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] arm64: dts: qcom: msm8953: add MDSS Date: Wed, 07 Sep 2022 17:30:30 +0200 Message-ID: <12049260.O9o76ZdvQC@g550jk> In-Reply-To: References: <20220906183334.203787-1-luca@z3ntu.xyz> <20220906183334.203787-4-luca@z3ntu.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Dmitry, On Dienstag, 6. September 2022 21:41:11 CEST Dmitry Baryshkov wrote: > On Tue, 6 Sept 2022 at 21:36, Luca Weiss wrote: > > From: Vladimir Lypak > > > > Add the MDSS, MDP and DSI nodes that are found on msm8953 SoC. > > > > Signed-off-by: Vladimir Lypak > > Signed-off-by: Luca Weiss > > --- > > Changes since v2: > > - add "core" clock for mdss as suggested by Dmitry Baryshkov > > > > arch/arm64/boot/dts/qcom/msm8953.dtsi | 210 ++++++++++++++++++++++++++ > > 1 file changed, 210 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi > > b/arch/arm64/boot/dts/qcom/msm8953.dtsi index 3d11331e78d2..580333141a66 > > 100644 > > --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi > > +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi > > @@ -726,6 +726,216 @@ tcsr_phy_clk_scheme_sel: syscon@193f044 { > > > > reg = <0x193f044 0x4>; > > > > }; > > > > + mdss: mdss@1a00000 { > > + compatible = "qcom,mdss"; > > + > > + reg = <0x1a00000 0x1000>, > > + <0x1ab0000 0x1040>; > > + reg-names = "mdss_phys", > > + "vbif_phys"; > > + > > + power-domains = <&gcc MDSS_GDSC>; > > + interrupts = ; > > + > > + interrupt-controller; > > + #interrupt-cells = <1>; > > + > > + clocks = <&gcc GCC_MDSS_AHB_CLK>, > > + <&gcc GCC_MDSS_AXI_CLK>, > > + <&gcc GCC_MDSS_VSYNC_CLK>, > > + <&gcc GCC_MDSS_MDP_CLK>; > > + clock-names = "iface", > > + "bus", > > + "vsync", > > + "core"; > > + > > + #address-cells = <1>; > > + #size-cells = <1>; > > + ranges; > > + > > + status = "disabled"; > > + > > + mdp: mdp@1a01000 { > > + compatible = "qcom,mdp5"; > > Could you please change this to "qcom,msm8953-mdp5", "qcom,mdp5". This would be the first dtsi using the two compatibles then, correct? Are there any plans to adjust other SoCs? > > > + reg = <0x1a01000 0x89000>; > > + reg-names = "mdp_phys"; > > + > > [skipped] > > > + > > + dsi0_phy: dsi-phy@1a94400 { > > Let's probably use a generic name 'phy' here and for dsi1_phy. Here also, the bindings examples all use dsi-phy@, are there any plans to change that and adjust other dtsi files? > > The rest looks good to me. Thanks! Regards Luca > > > + compatible = "qcom,dsi-phy-14nm-8953"; > > + reg = <0x1a94400 0x100>, > > + <0x1a94500 0x300>, > > + <0x1a94800 0x188>; > > + reg-names = "dsi_phy", > > + "dsi_phy_lane", > > + "dsi_pll"; > > + > > + #clock-cells = <1>; > > + #phy-cells = <0>; > > + > > + clocks = <&gcc GCC_MDSS_AHB_CLK>, > > <&xo_board>; + clock-names = "iface", > > "ref"; > > + > > + status = "disabled"; > > + };