From: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: kever.yang@rock-chips.com, sjg@chromium.org,
philipp.tomsich@theobroma-systems.com, agust@denx.de,
sunil@amarulasolutions.com, u-boot@lists.denx.de,
linux-rockchip@lists.infradead.org,
linux-amarula@amarulasolutions.com, jagan@amarulasolutions.com
Subject: Re: [PATCH v2 1/4] arm64: dts: rk3399-u-boot: Delete vop assigned-clocks/rates
Date: Mon, 30 Mar 2020 21:36:17 +0200 (CEST) [thread overview]
Message-ID: <016151d6786a0ea4@bloch.sibelius.xs4all.nl> (raw)
In-Reply-To: <20200330181613.29462-2-jagan@amarulasolutions.com> (message from Jagan Teki on Mon, 30 Mar 2020 23:46:10 +0530)
> From: Jagan Teki <jagan@amarulasolutions.com>
> Cc: sunil@amarulasolutions.com, u-boot@lists.denx.de,
> linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com,
> Jagan Teki <jagan@amarulasolutions.com>
> Date: Mon, 30 Mar 2020 23:46:10 +0530
> Content-Type: text/plain; charset=UTF-8
>
> Linux supporting assigned-clocks for VOP on rk3399 by assuming
> U-Boot not initializing it on this linux commit:
>
> commit <617f4472bdd3> ("arm64: dts: rockchip: init rk3399 vop clock rates")
>
> There is no specific need to initialize these assigned clock
> in U-Boot as video drivers still work with default aclk and
> hclk values. So, these clocks are simply not supported by rk3399
> clock driver.
>
> But, during stdio probe of vidconsole, the device probe
> will try to check whether the assigned clocks on that video
> console node is initialized or not? and return error if not.
>
> So, delete these property via -u-boot dtsi as there is
> no specific need in U-Boot.
Deleting these properties isn't very helpful as it means the U-Boot
device tree can no longer be used by the kernel. Isn't it a better
idea to implement these clocks as stubs in the u-boot clock driver?
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> Changes for v2:
> - none
>
> arch/arm/dts/rk3399-u-boot.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi
> index 8b857ccfc7..b846f9cde7 100644
> --- a/arch/arm/dts/rk3399-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-u-boot.dtsi
> @@ -99,9 +99,13 @@
> };
>
> &vopb {
> + /delete-property/ assigned-clocks;
> + /delete-property/ assigned-clock-rates;
> u-boot,dm-pre-reloc;
> };
>
> &vopl {
> + /delete-property/ assigned-clocks;
> + /delete-property/ assigned-clock-rates;
> u-boot,dm-pre-reloc;
> };
> --
> 2.17.1
>
>
next prev parent reply other threads:[~2020-03-30 19:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-30 18:16 [PATCH v2 0/4] rockchip: rk3399: Fix HDMI out Jagan Teki
[not found] ` <20200330181613.29462-1-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2020-03-30 18:16 ` [PATCH v2 1/4] arm64: dts: rk3399-u-boot: Delete vop assigned-clocks/rates Jagan Teki
2020-03-30 19:36 ` Mark Kettenis [this message]
[not found] ` <016151d6786a0ea4-Sse5TxTiDWuxJFhkpKByzTXZidJgq2Oi@public.gmane.org>
2020-03-31 5:59 ` Jagan Teki
2020-04-02 9:18 ` Kever Yang
2020-04-02 9:37 ` Jagan Teki
2020-04-02 10:18 ` Mark Kettenis
2020-04-02 11:42 ` Jagan Teki
2020-03-30 18:16 ` [PATCH v2 2/4] video: rockchip: Fix vop modes for rk3399 Jagan Teki
2020-03-30 18:16 ` [PATCH v2 3/4] rockchip: Enable pre console " Jagan Teki
2020-03-30 18:16 ` [PATCH v2 4/4] rockchip: Enable HDMI output on rk3399 board w/ HDMI Jagan Teki
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=016151d6786a0ea4@bloch.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=agust@denx.de \
--cc=jagan@amarulasolutions.com \
--cc=kever.yang@rock-chips.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=linux-rockchip@lists.infradead.org \
--cc=philipp.tomsich@theobroma-systems.com \
--cc=sjg@chromium.org \
--cc=sunil@amarulasolutions.com \
--cc=u-boot@lists.denx.de \
/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