Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5540931ybi; Tue, 4 Jun 2019 08:10:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmjD9CIdE0EFoJcln5msECIQ0nxKphrZcsW80s+TvMsTgXi9qgsyamdVWJJvRTSmnHid7r X-Received: by 2002:a17:902:e30e:: with SMTP id cg14mr15466982plb.47.1559661047808; Tue, 04 Jun 2019 08:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559661047; cv=none; d=google.com; s=arc-20160816; b=kTvZesyiwbra1ALCvCoXrF/fVhszlu4LePf69xq/AZP4kCJuBOPwUzpVuKHCfWAJKZ 21dzBQJL1EfusaOQLPBITbs8FwOpZH/VDaJWgv/4gQFhCbX0YVTgiLMzoJA3P5yXD+LT 0wfK7pSBh8QWd+eeYTAyW+1PpJ6YwhfnAzpJ2DLKTgWiiaBsc6QX7FZtM/XUkEynyas7 eyp4iCWdXKWY2C9IFwuHJ9sy7zRuZhAs+29an+nW2BaWbqhcdsGv/ZL2usUJgD7/NX26 SxsvmaiaBO4ZQK7xEpTXLOHkb+0Etq34I9asbdpAEPDep44es/ETyBn61uDMIZOYEjUE 0D0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=XKSHYo9ctUMrD0sjylIwNb1es2ByOZKas8LIpRbYBmw=; b=R1OlWEIV27jqxQNVutIGz2Rsd9hhrAv/d9ta31IS7HW/Hm9cd2bXkiVOR8gaRPRo2L G02ixX17hI1uhIxwBqCvGWLNO2J8LSGaddEhVlse5xP1a/su6nsFgD6RGNk6Tm2mFsr2 hrK8Bmp4dQJE+4ztGildYwC/GACZxouc5fFbH0kju+w/ilWaT6aaXaTOJ60SnNkmF9j4 U8C/ixrlsd5Z7+v/Rmu1rBBgC8Quls6yC8XViATHFu0spDbr6NZvu4xFDWC1lCbMucbk wq/I23DY9CW4p+nVo1ntzjzDIUlry7YKTNQQq86HynRvD1Gg3jDeQL4kBCftD/EEcAvk 9FtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iQ0KHhet; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18si21929195plo.175.2019.06.04.08.10.29; Tue, 04 Jun 2019 08:10:47 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iQ0KHhet; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727896AbfFDPJI (ORCPT + 99 others); Tue, 4 Jun 2019 11:09:08 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:39388 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727822AbfFDPJI (ORCPT ); Tue, 4 Jun 2019 11:09:08 -0400 Received: by mail-ot1-f68.google.com with SMTP id r21so7380104otq.6; Tue, 04 Jun 2019 08:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XKSHYo9ctUMrD0sjylIwNb1es2ByOZKas8LIpRbYBmw=; b=iQ0KHhetCVR5IsqwtBICpgv+IF3ki1lApWvboK97GBOeFeF30aJpMMIc+Pv7G75AzY fbNFD0cVlFkARgRfffG0B0/ymhuaz58CPbPj1tRw3w/wzMKB/Q9gh9wimCyFPHETfFCB dIlApbe6rwG169C0YAk650uTa+EZqQlRNnBrNEBsmKxauoxatj6zeERRwK4njpSkGPQV Sda9jJhVREVTr/Wpb2Z+NAAcN0xOxA0sXnrZarbBM3lS0tAqTyWiI86aYo1/4ZcACEZ/ B6v91CjdXTlpIAC3w9zSbHeDKu1YHNDQILpNAF6OD0np8sOXOnghUlUz0KHM/jlYzvDX hhZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XKSHYo9ctUMrD0sjylIwNb1es2ByOZKas8LIpRbYBmw=; b=Js0iqgWnJaiGmMKS33Iq8amWB4kUlypHRK4b/Pl+YMijDaG5Mgj9cxM9opRufVN/0Z NnMWBgwpwD5snw6dJwziOGiaotKcbLziOv5ijxJVxL0bmxHVfarFrx6AXcvD4nfb9X+O KtfevzfzUzU9IDv5cD3iVsgpwxclp7IUaybqPddve5zUCTNIYocb4GN65QqtahucB8Le EnyRn2QaJwxOsEmKyNG+5F4+4feC9/QMQVl4EN8L5Z4Td3z6aZiyoI0FyQsVp/4CWqEQ Q1Ck1OSTRJhNgfdjgPVDWlQvew954AGvVTa5VBcyRxP6lDHgvObO6vFA/Ogaoc/3la2A sg/w== X-Gm-Message-State: APjAAAXhb/B8bEf44/k36HtFqyByl6tWsTMtaa3XhIcJd13qPbc45/Rj Sq2oyEDy3ZvxGORXmN45evHBUCP3j1GN69U1GPs= X-Received: by 2002:a9d:d87:: with SMTP id 7mr5183267ots.263.1559660947275; Tue, 04 Jun 2019 08:09:07 -0700 (PDT) MIME-Version: 1.0 References: <20190604122150.29D6468B05@newverein.lst.de> <20190604122308.98D4868B20@newverein.lst.de> In-Reply-To: <20190604122308.98D4868B20@newverein.lst.de> From: Vasily Khoruzhick Date: Tue, 4 Jun 2019 08:08:40 -0700 Message-ID: Subject: Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I To: Torsten Duwe Cc: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland , Thierry Reding , David Airlie , Daniel Vetter , Andrzej Hajda , Laurent Pinchart , Icenowy Zheng , Sean Paul , Harald Geyer , Greg Kroah-Hartman , Thomas Gleixner , dri-devel , devicetree , arm-linux , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 4, 2019 at 5:23 AM Torsten Duwe wrote: > > Teres-I has an anx6345 bridge connected to the RGB666 LCD output, and > the I2C controlling signals are connected to I2C0 bus. eDP output goes > to an Innolux N116BGE panel. > > Enable it in the device tree. > > Signed-off-by: Icenowy Zheng > Signed-off-by: Torsten Duwe > --- > .../boot/dts/allwinner/sun50i-a64-teres-i.dts | 65 ++++++++++++++++++++-- > 1 file changed, 61 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts > index 0ec46b969a75..a0ad438b037f 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts > @@ -65,6 +65,21 @@ > }; > }; > > + panel: panel { > + compatible ="innolux,n116bge", "simple-panel"; It's still "simple-panel". I believe I already mentioned that Rob asked it to be edp-connector. > + status = "okay"; > + power-supply = <®_dcdc1>; > + backlight = <&backlight>; > + > + ports { > + panel_in: port { > + panel_in_edp: endpoint { > + remote-endpoint = <&anx6345_out>; > + }; > + }; > + }; > + }; > + > reg_usb1_vbus: usb1-vbus { > compatible = "regulator-fixed"; > regulator-name = "usb1-vbus"; > @@ -81,20 +96,48 @@ > }; > }; > > +&de { > + status = "okay"; > +}; > + > &ehci1 { > status = "okay"; > }; > > > -/* The ANX6345 eDP-bridge is on i2c0. There is no linux (mainline) > - * driver for this chip at the moment, the bootloader initializes it. > - * However it can be accessed with the i2c-dev driver from user space. > - */ > &i2c0 { > clock-frequency = <100000>; > pinctrl-names = "default"; > pinctrl-0 = <&i2c0_pins>; > status = "okay"; > + > + anx6345: anx6345@38 { > + compatible = "analogix,anx6345"; > + reg = <0x38>; > + reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ > + dvdd25-supply = <®_dldo2>; > + dvdd12-supply = <®_dldo3>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + anx6345_in: endpoint { > + remote-endpoint = <&tcon0_out_anx6345>; > + }; > + }; > + port@1 { > + anx6345_out: endpoint { > + remote-endpoint = <&panel_in_edp>; > + }; > + }; > + }; > + }; > +}; > + > +&mixer0 { > + status = "okay"; > }; > > &mmc0 { > @@ -279,6 +322,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>; > -- > 2.16.4 >