From: harigovi@codeaurora.org
To: Matthias Kaehlcke <mka@chromium.org>
Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org,
freedreno@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, robdclark@gmail.com,
seanpaul@chromium.org, hoegsberg@chromium.org,
kalyan_t@codeaurora.org, nganji@codeaurora.org
Subject: Re: [v4] arm64: dts: sc7180: add display dt nodes
Date: Wed, 29 Jan 2020 14:25:22 +0530 [thread overview]
Message-ID: <e9b02cfe89db7b8624bdce56c3f9ceef@codeaurora.org> (raw)
In-Reply-To: <20200128203222.GD46072@google.com>
On 2020-01-29 02:02, Matthias Kaehlcke wrote:
> Hi,
>
> On Tue, Jan 28, 2020 at 06:54:44PM +0530, Harigovindan P wrote:
>> Add display, DSI hardware DT nodes for sc7180.
>>
>> Signed-off-by: Harigovindan P <harigovi@codeaurora.org>
>> ---
>>
>> Changes in v1:
>> -Added display DT nodes for sc7180
>> Changes in v2:
>> -Renamed node names
>> -Corrected code alignments
>> -Removed extra new line
>> -Added DISP AHB clock for register access
>> under display_subsystem node for global settings
>> Changes in v3:
>> -Modified node names
>> -Modified hard coded values
>> -Removed mdss reg entry
>> Changes in v4:
>> -Reverting mdp node name
>> -Setting status to disabled in main SOC dtsi file
>> -Replacing _ to - for node names
>> -Adding clock dependency patch link
>> -Splitting idp dt file to a separate patch
>>
>> This patch has dependency on the below series
>> https://lkml.org/lkml/2019/12/27/73
>> arch/arm64/boot/dts/qcom/sc7180.dtsi | 128
>> +++++++++++++++++++++++++++++++++++
>> 1 file changed, 128 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi
>> b/arch/arm64/boot/dts/qcom/sc7180.dtsi
>> index 3bc3f64..c3883af 100644
>> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
>> @@ -1184,6 +1184,134 @@
>> #power-domain-cells = <1>;
>> };
>>
>> + mdss: mdss@ae00000 {
>> + compatible = "qcom,sc7180-mdss";
>> + reg = <0 0x0ae00000 0 0x1000>;
>> + reg-names = "mdss";
>> +
>> + power-domains = <&dispcc MDSS_GDSC>;
>> +
>> + clocks = <&gcc GCC_DISP_AHB_CLK>,
>> + <&gcc GCC_DISP_HF_AXI_CLK>,
>> + <&dispcc DISP_CC_MDSS_AHB_CLK>,
>> + <&dispcc DISP_CC_MDSS_MDP_CLK>;
>> + clock-names = "iface", "gcc_bus", "ahb", "core";
>> +
>> + assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
>> + assigned-clock-rates = <300000000>;
>> +
>> + interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
>> + interrupt-controller;
>> + #interrupt-cells = <1>;
>> +
>> + iommus = <&apps_smmu 0x800 0x2>;
>> +
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> + ranges;
>> +
>> + mdss_mdp: mdp@ae01000 {
>> + compatible = "qcom,sc7180-dpu";
>> + reg = <0 0x0ae01000 0 0x8f000>,
>> + <0 0x0aeb0000 0 0x2008>,
>> + <0 0x0af03000 0 0x16>;
>> + reg-names = "mdp", "vbif", "disp_cc";
>> +
>> + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
>> + <&dispcc DISP_CC_MDSS_ROT_CLK>,
>> + <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
>> + <&dispcc DISP_CC_MDSS_MDP_CLK>,
>> + <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
>> + clock-names = "iface", "rot", "lut", "core",
>> + "vsync";
>> + assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
>> + <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
>> + assigned-clock-rates = <300000000>,
>> + <19200000>;
>
> The clock rate for DISP_CC_MDSS_MDP_CLK is already specified in the
> parent node, do we really want/need to specify it twice?
Hi,
The parent device ( MDSS ) configures global HW settings which needs MDP
CLK to be turned on with a default rate.
mdp device handles the composition, and it will compute the frequency
needed as per the layer stack in the composition, hence we can have
multiple rates on the CLK.
next prev parent reply other threads:[~2020-01-29 8:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-28 13:24 [v4] arm64: dts: sc7180: add display dt nodes Harigovindan P
2020-01-28 20:32 ` Matthias Kaehlcke
2020-01-29 8:55 ` harigovi [this message]
2020-01-31 19:32 ` Doug Anderson
2020-02-04 14:14 ` harigovi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e9b02cfe89db7b8624bdce56c3f9ceef@codeaurora.org \
--to=harigovi@codeaurora.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=hoegsberg@chromium.org \
--cc=kalyan_t@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mka@chromium.org \
--cc=nganji@codeaurora.org \
--cc=robdclark@gmail.com \
--cc=seanpaul@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).