Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2785882imm; Thu, 18 Oct 2018 22:52:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV62bPAsWqCFCx9VTS4cdCPAImBeLyEoNE1wHwsdsy2ljFXvLvKCk+xkMfnNKFijjP8iGfJJP X-Received: by 2002:a63:541e:: with SMTP id i30-v6mr31440243pgb.413.1539928347089; Thu, 18 Oct 2018 22:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539928347; cv=none; d=google.com; s=arc-20160816; b=na59weYX3Q8lj988rSYsw6UZndspPWgYyL/3IF9ODOuOIUQMsB0Fb9UlOPjlUxRS4Q j6TnTFI1s90zQmlZkCg/EJyyIsKTPqVP0oZKzTlCkmiZXd5CmHN2coqvlzXRZQpkSaXe Fas11N3hrKJ0lXE9nshMf0XpEzvtp3pt5y2dDFLFFNUkVGrE+OWKW5LuM2ZxKUpGYrI3 Fpdj6PQ4SMjeAChf9x6ulQ/9JR6yneqM3+t8o8wmMVY57f+xGgwzPXownQ3nNg0Tk9bO m8sRzUntVre4wQ7wWd8RTGKkfURFanlukpOX8IOJvPsQT2tR7vLZr8IE9k0mODK5ldbH igHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to:date; bh=JzFkN/ZwmaAa7w4Plnk1gU5nmVYbw8LtKCr7ROZIo4M=; b=S5uog5I/AcxBubu9vPmXhVj7k7KTs+XD1awFUpniZ/xBwNJD1TQkM6JEHqYRXh3kPX RyfHU1yuUETx5VSPU8bbG2vq+NPUcJJHUTnWSUbtlXApQU4QyMxFQQVYyKbhpZKelcTE DPr0vebD+HLZqepYNBtC2XNHE02YIKGMTUBqXbNzpe1fNnOhTVslLDLWM2MgSnE6khvF K3zNoZHHp9nLGNFmbiRTdwLUyOaekHZqK93GvQoppP3/KTR2j8QJ+jh5oDsWb8LHEuKS LA8xvhy63TVnhog/x+uD3siL6zqvgrlI+dhxMq6RRWboosPJyjyQIi6MZyFH0pu7u+GG koVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24-v6si3800145pll.200.2018.10.18.22.52.11; Thu, 18 Oct 2018 22:52:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727358AbeJSNz3 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 19 Oct 2018 09:55:29 -0400 Received: from hermes.aosc.io ([199.195.250.187]:50122 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727116AbeJSNz3 (ORCPT ); Fri, 19 Oct 2018 09:55:29 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 36D5F15D401; Fri, 19 Oct 2018 05:50:49 +0000 (UTC) Date: Fri, 19 Oct 2018 13:50:43 +0800 In-Reply-To: <10486569.ZhsSaQbvn5@anarsoul-thinkpad> References: <20181018073327.64942-1-icenowy@aosc.io> <20181018073327.64942-8-icenowy@aosc.io> <10486569.ZhsSaQbvn5@anarsoul-thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH 7/9] arm64: allwinner: a64: enable ANX6345 bridge on Pinebook To: Vasily Khoruzhick , linux-arm-kernel@lists.infradead.org CC: David Airlie , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Archit Taneja , Andrzej Hajda , Laurent Pinchart , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com From: Icenowy Zheng Message-ID: <5B167CD3-734F-4AE0-81F5-51749C9AD09C@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2018年10月18日 GMT+08:00 下午11:17:35, Vasily Khoruzhick 写到: >Hi Icenowy, > >On Thursday, October 18, 2018 12:33:25 AM PDT Icenowy Zheng wrote: >> Pinebook has an ANX6345 bridge connected to the RGB666 LCD output, >and >> the I2C controlling signals are connected to R_I2C bus. >> >> Enable it in the device tree, and add a usable EDID from the panel's >> datasheet (at least 14" Pinebook used a panel without EDID). > >There's no EDID in dts and 14" Pinebook uses a panel with EDID. Is it >leftover >of old comment? Yes, it is. > >Regards, >Vasily > >> >> Signed-off-by: Icenowy Zheng >> --- >> .../dts/allwinner/sun50i-a64-pinebook.dts | 43 >+++++++++++++++++++ >> 1 file changed, 43 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts >> b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts index >> 77fac84797e9..d7c14d0d61f9 100644 >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts >> @@ -66,6 +66,10 @@ >> }; >> }; >> >> +&de { >> + status = "okay"; >> +}; >> + >> &ehci0 { >> phys = <&usbphy 0>; >> phy-names = "usb"; >> @@ -76,6 +80,10 @@ >> status = "okay"; >> }; >> >> +&mixer0 { >> + status = "okay"; >> +}; >> + >> &mmc0 { >> pinctrl-names = "default"; >> pinctrl-0 = <&mmc0_pins>; >> @@ -127,6 +135,27 @@ >> status = "okay"; >> }; >> >> +&r_i2c { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&r_i2c_pins_a>; >> + status = "okay"; >> + >> + anx6345: anx6345@38 { >> + compatible = "analogix,anx6345"; >> + reg = <0x38>; >> + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ >> + panel-supply = <®_dc1sw>; >> + dvdd25-supply = <®_dldo2>; >> + dvdd12-supply = <®_fldo1>; >> + >> + port { >> + anx6345_in: endpoint { >> + remote-endpoint = <&tcon0_out_anx6345>; >> + }; >> + }; >> + }; >> +}; >> + >> &r_rsb { >> status = "okay"; >> >> @@ -267,6 +296,20 @@ >> vcc-hdmi-supply = <®_dldo1>; >> }; >> >> +&tcon0 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&lcd_rgb666_pins>; >> + >> + status = "okay"; >> +}; >> + >> +&tcon0_out { >> + tcon0_out_anx6345: endpoint@0 { >> + reg = <0>; >> + remote-endpoint = <&anx6345_in>; >> + }; >> +}; >> + >> &uart0 { >> pinctrl-names = "default"; >> pinctrl-0 = <&uart0_pb_pins>;