Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6165615ybi; Wed, 29 May 2019 03:58:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzPyHYrTqvtN6FTxCaf+FhYLFSOApVnGzCzsBGP2D2uQAwke7Qp45ILOFU2jljBnH+Ega0 X-Received: by 2002:a17:902:aa45:: with SMTP id c5mr140210725plr.144.1559127530822; Wed, 29 May 2019 03:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559127530; cv=none; d=google.com; s=arc-20160816; b=HtqbnFOo2aXEWH6fRxDHbgiL0Na8HDtG96zmOVZ6GIMN9spEvbbKdAuA7npgbwNord I+ABP4hnuzCfXT196oLMtqjqFd8zyAYsU4gt/myICs0KSJf7vRrkR5NDQ6Vw7kOWqU+D 8k38DTAIsCzNd5f92JA6SMylHXroDuN5QhO4e+s9pWjWasjAbLRJjyp8eGrfe9mhO8KW jc/r3U67p6l9jDmsWUeooP/OYuuEKp4guDF9J5DuuEGHXo0sXNtiWvOnWkT9wagprUYX ViozWotK7MFgSH0KQOKurEylkqFRGOMzel7EH6wOuhZ3bzDL5BcYlA4DuqfdCW+3JzNw Ejmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Eyb7BIHD01D0smmXOe136462okq/ItEJbzuGD038kxU=; b=oqfG+637Wv4apCWkCO8WLuulIA1LhVTytJNuCwtD/cAnCpIDSuI4lJQFk/1vLNmrBj mR6XO01G+ZnTxN/NJIqBm5uZw4VRHexSdWRCq/lICvJJ9EMixyCi+r5URdpYeh76ArbY DOX5LLOFuj7EYaeH8qfTe8nRv/+ZhdkQr7+sUtXVAYotBo9sb5rvKm7kPZlbo0go48ql jV9RdiWXM/zhLCegMQag1q4EFqCNaEZAghwgd7fcOa3koqqseE5i6H9gThPSsidjDGfR wr2TX9+brqdfedUMR4MnGVJDyW0NI5I8dpRUup+rFhuHvQV4A9ZJTfs3SCgnu40kN7nd d4zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=FIQa332o; 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 a4si25155924pgw.48.2019.05.29.03.58.35; Wed, 29 May 2019 03:58:50 -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=@amarulasolutions.com header.s=google header.b=FIQa332o; 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 S1726896AbfE2K5K (ORCPT + 99 others); Wed, 29 May 2019 06:57:10 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41644 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726080AbfE2K5J (ORCPT ); Wed, 29 May 2019 06:57:09 -0400 Received: by mail-pf1-f193.google.com with SMTP id q17so1385997pfq.8 for ; Wed, 29 May 2019 03:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Eyb7BIHD01D0smmXOe136462okq/ItEJbzuGD038kxU=; b=FIQa332or/0Y1ihVrB9DQXuCYYKeiS+pyF7rdfe8C0OzeJp99VOjecrS9ERaWdyVXf 7bK/db+J15eGqgaawGHN477aDbYL3WV8yTui0G9QwX/KRSwGN10+p4RYIesJdz97KHNS 5f7DEignN1y0LolDRlIT9+q3S4g1+yyh2Z7bY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Eyb7BIHD01D0smmXOe136462okq/ItEJbzuGD038kxU=; b=lFTDIfmmZlkBZjVrF1dWM/I6rTPfbsJoJCMb0ngKNrZaUhzNUWVz06VE3n+gwc0mQ2 I2STYm4XUjKmWTXPpLwbIPktR8oDEnBStH7BY4FMD/AVNM7kcyBdyk6A4BRSBetv3QWq 0Wb0WfUxYjpJA7DT72aKjQdVA/hrEBeKrV84QpZs/T/xBBgmy+O1BLdtnKI+Hn+8XokR SJJNzn5LWRuVKg5Uyef70Y78PUPWLc/IytQ6HSZofebDrFUXq61DzffG+DK1J1wkyViN 3EZtr3NG2MxywfWSiPyol88lps22IcndUe23Hcff01gOxFCD7PPRSTlahaaOFBDAKBWa IUAQ== X-Gm-Message-State: APjAAAXwjH+12KbI719LBn1z7hRPG04NiVTjPSrkMkf+Vei+esOjLkRO x2ahQ18F1Pej4anWNjvP2pA/xA== X-Received: by 2002:a63:c20c:: with SMTP id b12mr1312582pgd.3.1559127428328; Wed, 29 May 2019 03:57:08 -0700 (PDT) Received: from localhost.localdomain ([49.206.202.218]) by smtp.gmail.com with ESMTPSA id 184sm18974479pfa.48.2019.05.29.03.57.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 May 2019 03:57:07 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , David Airlie , Daniel Vetter , Chen-Yu Tsai , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Michael Trimarchi , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-amarula@amarulasolutions.com, Sergey Suloev , Ryan Pannell , bshah@mykolab.com, Jagan Teki Subject: [PATCH v9 6/9] arm64: dts: allwinner: a64-amarula-relic: Add Techstar TS8550B MIPI-DSI panel Date: Wed, 29 May 2019 16:26:12 +0530 Message-Id: <20190529105615.14027-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190529105615.14027-1-jagan@amarulasolutions.com> References: <20190529105615.14027-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Amarula A64-Relic board by default bound with Techstar TS8550B MIPI-DSI panel, add support for it. DSI panel connected via board DSI port with, - DLDO1 as VCC-DSI supply - DLDO2 as VCC supply - DLDO2 as IOVCC supply - PD24 gpio for reset pin - PD23 gpio for backlight enable pin Signed-off-by: Jagan Teki --- .../allwinner/sun50i-a64-amarula-relic.dts | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts index 5634245d11db..5109c3258a2f 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts @@ -9,6 +9,7 @@ #include "sun50i-a64.dtsi" #include +#include / { model = "Amarula A64-Relic"; @@ -18,6 +19,14 @@ serial0 = &uart0; }; + backlight: backlight { + compatible = "pwm-backlight"; + pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; + brightness-levels = <1 2 4 8 16 32 64 128 255>; + default-brightness-level = <2>; + enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* LCD-BL-EN: PD23 */ + }; + chosen { stdout-path = "serial0:115200n8"; }; @@ -80,6 +89,28 @@ }; }; +&de { + status = "okay"; +}; + +&dphy { + status = "okay"; +}; + +&dsi { + vcc-dsi-supply = <®_dldo1>; /* VCC-DSI */ + status = "okay"; + + panel@0 { + compatible = "techstar,ts8550b", "sitronix,st7701"; + reg = <0>; + VCC-supply = <®_dldo2>; /* VCC-MIPI */ + IOVCC-supply = <®_dldo2>; /* VCC-MIPI */ + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + backlight = <&backlight>; + }; +}; + &ehci0 { status = "okay"; }; @@ -151,6 +182,10 @@ status = "okay"; }; +&pwm { + status = "okay"; +}; + &r_rsb { status = "okay"; -- 2.18.0.321.gffc6fa0e3