Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13831315rwd; Sat, 24 Jun 2023 07:13:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Qjl2vty/daTF6P/pcP22b9xWjwUE7cJh2wPSfsHf+VqeMlPK+Ysp4mq/4eStU/UpPLtYS X-Received: by 2002:a05:6a20:9191:b0:10b:9dc1:c5e5 with SMTP id v17-20020a056a20919100b0010b9dc1c5e5mr23157679pzd.34.1687616012402; Sat, 24 Jun 2023 07:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687616012; cv=none; d=google.com; s=arc-20160816; b=TeQVBvs+E0kH5UTNlNNmcGXSxlT3v5luKOLgCRg5QWbhVEr51bonqM3qkKYRXcUaoR BpCo0WBrlEHeEf3Bz2UCuSWcqqhXtMEqHKWLWmN1flePIMnk37jPI5ey+M0fBLRI4QLb ipbM91Zj9D2cuTHZQcIc2yWVpvW/1Cu7lW477Y0X4dX4Fhr0Gx+Ao2NTsWR6aTFM2PxW HNmsJHdC2uU5zM953OfXcp9ajNcEoTF/xhR1M7aUytjMxyAPwjW/fFjKIevLurzsVaAp 4eKMPhNqIzNrGFsKzUo6W2Ddor2LZ5goqRDiAA7km5XOtT8lOp+ub9WcpZTuwApJEItU 29Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mjiEZV4jeag6OJr2dpUfso60xJEHHcCh9NKqh9NcVoI=; fh=7gHygwhuBciakuBSLsI2IBrNBcXxliFRR1xjjJOF5P8=; b=BBlw5Y+KfiyF7wzCL5xb79Jxr5U6UaFM1zP+LmB/8NhAlw20bYAKirqYUrH2OCUDqa MMOv/Riso648yFyIzzL0yjiJaWM4uS8M9E5R9MbVfoNulMWE6GWgSguYtyBCf96SJrC2 spHnjEmIA7eqBLTeO4nhTyDufqfb918lWXxJxZO/Z3tdhNZOSsGJhRvSbsNRSDwk5nrX KNo+LKyNAAlO9SHsb8oBTB6iwyoA6lpHF0yQAHlyXyRXsF99bLdMulHf7vfUIZoSOdjy dI076yU9iDp2C7lm7IwU7KbrW4sNBjtHQzIuujRetvNle7W3lbfWfdCtcnxadntWULKW VD0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HIrUMg/1"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h21-20020a056a001a5500b0063d19a45a93si1350090pfv.280.2023.06.24.07.13.00; Sat, 24 Jun 2023 07:13:32 -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=pass header.i=@linaro.org header.s=google header.b="HIrUMg/1"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231466AbjFXNwj (ORCPT + 99 others); Sat, 24 Jun 2023 09:52:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233016AbjFXNwh (ORCPT ); Sat, 24 Jun 2023 09:52:37 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9047171A for ; Sat, 24 Jun 2023 06:52:35 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4fa08687246so347690e87.1 for ; Sat, 24 Jun 2023 06:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687614754; x=1690206754; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mjiEZV4jeag6OJr2dpUfso60xJEHHcCh9NKqh9NcVoI=; b=HIrUMg/1DiFIXr9Oxo/TxEkIN/SHzzu3j+KAkwb1dkBbJS18VkjhwY1eu3+wd4nz+Y O4lqCmvud8HypQeJ6xLov05tSLHSncrPVVygkl12vKMpaZNgKiRNKD+Rps8EeBt4eyeb oWOmFn4pGmCJNrGjsYKJMEHF8pUjvWL0cqZuJuDxRviBXBcHsxiaACc7YoBpcO6lcnOP bcNQZV1kSS44z8IaFxEAShgwlD4smb8LIyDa4pqpo7dOzaA1iQtdeDuK9EM9spbyFG9F d5eZHFAqyDpWRKwYdaKMR6bUUWQhPpbAuH32sxw5SYweV9o/02G8njD2oJWPs/uyblz6 l77w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687614754; x=1690206754; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mjiEZV4jeag6OJr2dpUfso60xJEHHcCh9NKqh9NcVoI=; b=XrKv3C8HdBHR96CyIk8RkUsFO97/2bDk63qsJIXE1rYLsDTMf89fzrnOLT0Y189rMc 5e98DdB4Jc23+jAM0L8VdfNDffLBWgvXP1Ecxi33zH3NZbejUL0Hpu0i0LH1g4FofxIh HbpA0sC4TL+8nWuH/qTz0jDMeEGHOdl/rOOm9XXcb1HeTpFMb31957itp6JUKl4d11XH CL1IYWmG5V8v7tAPd/egGciedgZgK8gKF+653Cplexph2245Wy3vYyegx6buNuDywH0B /PTSN7pWiGpVV/K49aTF0o3fBoeaep5Vn8PBhW8kTM8C3Rv1AE3c7PrB2dne673RYbgB pj4w== X-Gm-Message-State: AC+VfDwEAgF/Y8TwAwrufaVaxnmrBMjWXLh1OLXtO/lVG+D/8VF4zXkI rJlu/bbhrJt6ohGvXV7IID05bg== X-Received: by 2002:a05:6512:3714:b0:4f8:5886:1868 with SMTP id z20-20020a056512371400b004f858861868mr233116lfr.24.1687614754001; Sat, 24 Jun 2023 06:52:34 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id i7-20020a056512006700b004f76b40260esm285250lfo.146.2023.06.24.06.52.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Jun 2023 06:52:33 -0700 (PDT) Message-ID: Date: Sat, 24 Jun 2023 16:52:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 13/15] arm64: dts: qcom: sm6125: Add dispcc node Content-Language: en-GB To: Marijn Suijten , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> <20230624-sm6125-dpu-v1-13-1d5a638cebf2@somainline.org> From: Dmitry Baryshkov In-Reply-To: <20230624-sm6125-dpu-v1-13-1d5a638cebf2@somainline.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 On 24/06/2023 03:41, Marijn Suijten wrote: > Enable and configure the dispcc node on SM6125 for consumption by MDSS > later on. > > Signed-off-by: Marijn Suijten > --- > arch/arm64/boot/dts/qcom/sm6125.dtsi | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi > index edb03508dba3..7d78b4e48ebe 100644 > --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi > @@ -3,6 +3,7 @@ > * Copyright (c) 2021, Martin Botka > */ > > +#include > #include > #include > #include > @@ -1203,6 +1204,28 @@ sram@4690000 { > reg = <0x04690000 0x10000>; > }; > > + dispcc: clock-controller@5f00000 { > + compatible = "qcom,sm6125-dispcc"; > + reg = <0x05f00000 0x20000>; > + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, > + <0>, > + <0>, > + <0>, > + <0>, > + <0>, > + <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>; This clock is at the wrong position. > + clock-names = "bi_tcxo", > + "gcc_disp_gpll0_div_clk_src", > + "dsi0_phy_pll_out_byteclk", > + "dsi0_phy_pll_out_dsiclk", > + "dsi1_phy_pll_out_dsiclk", > + "dp_phy_pll_link_clk", > + "dp_phy_pll_vco_div_clk"; > + power-domains = <&rpmpd SM6125_VDDCX>; > + #clock-cells = <1>; > + #power-domain-cells = <1>; > + }; > + > apps_smmu: iommu@c600000 { > compatible = "qcom,sm6125-smmu-500", "qcom,smmu-500", "arm,mmu-500"; > reg = <0x0c600000 0x80000>; > -- With best wishes Dmitry