linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@somainline.org>
To: Vincent Knecht <vincent.knecht@mailoo.org>, phone-devel@vger.kernel.org
Cc: ~postmarketos/upstreaming@lists.sr.ht,
	Rob Herring <robh+dt@kernel.org>, Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Sam Ravnborg <sam@ravnborg.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Arnd Bergmann <arnd@arndb.de>, Shawn Guo <shawnguo@kernel.org>,
	Daniel Palmer <daniel@0x0f.com>,
	Oleksij Rempel <linux@rempel-privat.de>,
	allen <allen.chen@ite.com.tw>,
	Max Merchel <Max.Merchel@tq-group.com>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v2 4/4] arm64: dts: qcom: msm8916-alcatel-idol347: Add framebuffer support
Date: Sat, 30 Jan 2021 16:42:37 +0100	[thread overview]
Message-ID: <8edef364-e60e-2bc1-ffef-1f30dd2fffaf@somainline.org> (raw)
In-Reply-To: <20210130105717.2628781-5-vincent.knecht@mailoo.org>


On 30.01.2021 11:57, Vincent Knecht wrote:
> Add simple-framebuffer support and related reserved-memory block.
>
> Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
> ---
>  .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 31 +++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> index 540b1fa4b260..e4d22cec8ff0 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> +++ b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> @@ -3,6 +3,7 @@
>  /dts-v1/;
>  
>  #include "msm8916-pm8916.dtsi"
> +#include <dt-bindings/clock/qcom,gcc-msm8916.h>
>  #include <dt-bindings/gpio/gpio.h>
>  #include <dt-bindings/input/input.h>
>  
> @@ -16,6 +17,36 @@ aliases {
>  
>  	chosen {
>  		stdout-path = "serial0";
> +
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		framebuffer0: framebuffer@83200000 {
> +			status = "okay";
> +			compatible = "simple-framebuffer";
> +			reg = <0x0 0x83200000 0x0 (720 * 1280 * 3)>;
> +			width = <720>;
> +			height = <1280>;
> +			stride = <(720 * 3)>;
> +			format = "r8g8b8";
> +			power-domains = <&gcc MDSS_GDSC>;
> +			clocks = <&gcc GCC_MDSS_AHB_CLK>,
> +				 <&gcc GCC_MDSS_VSYNC_CLK>,
> +				 <&gcc GCC_MDSS_AXI_CLK>,
> +				 <&gcc GCC_MDSS_MDP_CLK>,
> +				 <&gcc GCC_MDSS_BYTE0_CLK>,
> +				 <&gcc GCC_MDSS_PCLK0_CLK>,

I'm not sure about BYTE/PCLK, it used to cause issues at least on my boards, but if it works for you, I guess it's only good.


> +				 <&gcc GCC_MDSS_ESC0_CLK>,
> +				 <&xo_board>;

Fake XO seems redundant here.


> +		};
> +	};
> +
> +	reserved-memory {
> +		continuous_splash: framebuffer@83000000 {
> +			reg = <0x0 0x83000000 0x0 0x1400000>;
> +			no-map;
> +		};
>  	};
>  
>  	gpio-keys {
>

Konrad


      reply	other threads:[~2021-01-30 16:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-30 10:57 [PATCH v2 0/4] Alcatel Idol 3 (4.7") smartphone support Vincent Knecht
2021-01-30 10:57 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: add Alcatel Vincent Knecht
2021-01-30 10:57 ` [PATCH v2 2/4] arm64: dts: qcom: Add device tree for Alcatel Idol 3 (4.7") Vincent Knecht
2021-01-30 11:25   ` Stephan Gerhold
2021-01-30 15:45   ` Konrad Dybcio
2021-01-30 10:57 ` [PATCH v2 3/4] arm64: dts: qcom: Disable MDSS by default for 8916/8016 devices Vincent Knecht
2021-01-30 11:28   ` Stephan Gerhold
2021-01-30 15:40   ` Konrad Dybcio
2021-01-30 10:57 ` [PATCH v2 4/4] arm64: dts: qcom: msm8916-alcatel-idol347: Add framebuffer support Vincent Knecht
2021-01-30 15:42   ` Konrad Dybcio [this message]

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=8edef364-e60e-2bc1-ffef-1f30dd2fffaf@somainline.org \
    --to=konrad.dybcio@somainline.org \
    --cc=Max.Merchel@tq-group.com \
    --cc=agross@kernel.org \
    --cc=allen.chen@ite.com.tw \
    --cc=arnd@arndb.de \
    --cc=bjorn.andersson@linaro.org \
    --cc=daniel@0x0f.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk@kernel.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rempel-privat.de \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sam@ravnborg.org \
    --cc=shawnguo@kernel.org \
    --cc=vincent.knecht@mailoo.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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).