From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758100AbdJMNZc (ORCPT ); Fri, 13 Oct 2017 09:25:32 -0400 Received: from gloria.sntech.de ([95.129.55.99]:55688 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758090AbdJMNZa (ORCPT ); Fri, 13 Oct 2017 09:25:30 -0400 From: Heiko Stuebner To: Jeffy Chen , Sean Paul Cc: linux-kernel@vger.kernel.org, briannorris@chromium.org, broonie@kernel.org, dianders@chromium.org, Matthias Kaehlcke , Arnd Bergmann , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Will Deacon , Mark Rutland , Caesar Wang , Catalin Marinas Subject: Re: [RESEND PATCH 2/2] arm64: dts: rockchip: Enable edp disaplay on kevin Date: Fri, 13 Oct 2017 15:25:24 +0200 Message-ID: <3037285.0MAZvLKA4I@phil> User-Agent: KMail/5.2.3 (Linux/4.11.0-1-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <20171013104138.3216-3-jeffy.chen@rock-chips.com> References: <20171013104138.3216-1-jeffy.chen@rock-chips.com> <20171013104138.3216-3-jeffy.chen@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jeffy, Am Freitag, 13. Oktober 2017, 18:41:38 CEST schrieb Jeffy Chen: > Add edp panel and enable related nodes on kevin. > > Signed-off-by: Jeffy Chen does this actually work with mainline kernel sources? Sean Paul did look at making the edp work on Chromebooks recently, but it seemed there were still parts missing to make it actually display something. Heiko > --- > > arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 29 +++++++++++++++++++++++ > arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 16 +++++++++++++ > 2 files changed, 45 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > index a3d3cea7dc4f..bc67b19f0af5 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > @@ -93,6 +93,18 @@ > pwm-delay-us = <10000>; > }; > > + edp_panel: edp-panel { > + compatible = "sharp,lq123p1jx31", "simple-panel"; > + backlight = <&backlight>; > + power-supply = <&pp3300_disp>; > + > + ports { > + panel_in_edp: endpoint { > + remote-endpoint = <&edp_out_panel>; > + }; > + }; > + }; > + > thermistor_ppvar_bigcpu: thermistor-ppvar-bigcpu { > compatible = "murata,ncp15wb473"; > pullup-uv = <1800000>; > @@ -264,6 +276,23 @@ ap_i2c_dig: &i2c2 { > }; > }; > > +&edp { > + status = "okay"; > + > + ports { > + edp_out: port@1 { > + reg = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + edp_out_panel: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&panel_in_edp>; > + }; > + }; > + }; > +}; > + > &ppvar_bigcpu_pwm { > regulator-min-microvolt = <798674>; > regulator-max-microvolt = <1302172>; > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi > index 5772c52fbfd3..470105d651c2 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi > @@ -927,6 +927,22 @@ ap_i2c_audio: &i2c8 { > dr_mode = "host"; > }; > > +&vopb { > + status = "okay"; > +}; > + > +&vopb_mmu { > + status = "okay"; > +}; > + > +&vopl { > + status = "okay"; > +}; > + > +&vopl_mmu { > + status = "okay"; > +}; > + > #include > #include > >