Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1687089
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem |
| Date | 2017-07-14 08:40 +0200 |
| Message-ID | <u32qB-80N-3@gated-at.bofh.it> (permalink) |
| References | <u2sn8-1Zx-15@gated-at.bofh.it> <u2VSa-3Gm-9@gated-at.bofh.it> <u2Y3D-4Wx-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Jacob,
Am Freitag, 14. Juli 2017, 09:52:30 CEST schrieb Jacob Chen:
> 2017-07-14 7:34 GMT+08:00 Heiko Stuebner <heiko@sntech.de>:
> > Am Donnerstag, 13. Juli 2017, 00:03:51 CEST schrieb Jacob Chen:
> >> Add devicetree nodes for rk3399 VOP (Video Output Processors), and the
> >> top level display-subsystem root node.
> >>
> >> Later patches add endpoints (eDP, HDMI, MIPI, etc) that attach to the
> >> VOPs' output ports.
> >>
> >> Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
> >> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
> >> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> >> Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
> >> ---
> >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 65 ++++++++++++++++++++++++++++++++
> >> 1 file changed, 65 insertions(+)
> >>
> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> >> index e795135..300e500 100644
> >> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> >> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> >> @@ -1455,6 +1455,71 @@
> >> status = "disabled";
> >> };
> >>
> >> + vopl: vop@ff8f0000 {
> >> + compatible = "rockchip,rk3399-vop-lit";
> >> + reg = <0x0 0xff8f0000 0x0 0x1ffc>, <0x0 0xff8f2000 0x0 0x400>;
> >
> > What is this second memory region doing? It looks like this is the meant
> > to cover VOP_GAMMA_LUT_ADDR, but can't you just map the whole area?
> > ChromeOS seems to be doing fine using the whole area as
> > <0x0 0xff8f0000 0x0 0x3efc>
> > and I've also not seen any code changes actually mapping/using this
> > second area.
> >
>
> 0x1c00 - 0x200 for cabc_lut
> 0x2000 - 0x300 for gama_lut
>
> My mistakes, It seems mark havn't send gamma and cabc support to upstream.
> We shoud just using the whole area map.
>
>
> >
> >> + interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>;
> >> + clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>, <&cru DCLK_VOP1_DIV>;
> >> + clock-names = "aclk_vop", "dclk_vop", "hclk_vop", "dclk_source";
> >
> > While I know that this is based on my idea on handling the hdmi pll-rate
> > requirements, I haven't found the matching code- and dt-binding-changes
> > posted to a list yet.
> >
>
> Yeah, should i collect mark's patches or remove it at first?
As we don't know how much discussion is necessary for that, removing
dclk_source in the first iteration and re-add it once the feature.
Heiko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem Jacob Chen <jacob-chen@iotwrt.com> - 2017-07-12 18:10 +0200
Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem Heiko Stuebner <heiko@sntech.de> - 2017-07-14 01:40 +0200
Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem Jacob Chen <jacobchen110@gmail.com> - 2017-07-14 04:00 +0200
Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem Heiko Stuebner <heiko@sntech.de> - 2017-07-14 08:40 +0200
Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem Heiko Stuebner <heiko@sntech.de> - 2017-07-16 19:40 +0200
Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem Jacob Chen <jacobchen110@gmail.com> - 2017-07-17 05:50 +0200
csiph-web