From patchwork Wed Sep 16 17:59:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11780327 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4F67C6CA for ; Wed, 16 Sep 2020 18:00:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 96D8D20732 for ; Wed, 16 Sep 2020 18:00:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jm540UQj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="IfB/1S7w" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 96D8D20732 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=aphdQ21TfYTsJinUI3B8Z6+XfZ4vgGICEkEj9Fa1fKk=; b=jm540UQjX3WA9CpZOg1ckmWQ5e PEXXfc/yzgsTJ9D5PrTjZ6v1Cjy/sML1ljjapdCnp0hwE3I2jmzWXScWWkuc9670reNCAH8fj1DTX jJCr/y1HKQYvksy72KfiIbuL2UQy4RAp2J10oKFnCYpBIrRix15Yx2zts/r+8isC75wFoFvt1Yor2 GMWQWZHZfDlzHCtVBo3AzRRSqU54qL14MQumhoW/QqQ5+qe9jH6Y25zR2JWTRCJ1m3rmNlYs5hmeM kARHSiRZ1nh46YU+ZWEsoaCZIaOIK87ZlsUWM97YiH7FMkQwkZqh6JqgmSfrdXY6VHTsuvTb3dbge iseW1eZw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIbjB-0006Ds-Rm; Wed, 16 Sep 2020 18:00:21 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIbjA-0006DK-DR for linux-arm-kernel@merlin.infradead.org; Wed, 16 Sep 2020 18:00:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=C8r1E+hmvKf9FsFazTwMz2/E6FvqAGGe5GOcg9YHE38=; b=IfB/1S7wo4Ao9S6Y3IsVjeKU+f xfOtCKSDUeBshyqQ8w707kAlmnb/HbTfR9lbiYlojoC1fE4F1LxhGBFo5RYs1XXRWEZH7VnofdgDz /n/UtHuRaaiNTZdujnFqfDxA1yEgbDRvr0pkjQeklDoyoMO3obH38UAEgQFmpEso8Q1xgY+QVhDLu UfBOIAQlkGXCKbX7KpffIMfqz/zHZW8NOmHzYCconUK1hPwQiOVm/yf0u16i9NHQ43we22z0Sw9nv w+AiwSM1q3nxA7lk/TOxZkem2Mse4TV+OJi+pl0rlxwOa2fbUG7RZseU8xKgIC7ZrQLQxxgbKj1iJ TFzWXayQ==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIbj6-00007q-6R for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2020 18:00:19 +0000 Received: from ubuntu1804.c-home.cz (unifi.c-home.cz [192.168.1.239]) by dmz.c-home.cz (8.14.4+Sun/8.14.4) with ESMTP id 08GHxoiF015914; Wed, 16 Sep 2020 19:59:56 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Subject: [PATCH] ARM: dts: sun8i: v3s: Add simple-framebuffer Date: Wed, 16 Sep 2020 19:59:41 +0200 Message-Id: <20200916175941.8448-1-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200916_190016_446626_BABD5020 X-CRM114-Status: GOOD ( 10.12 ) X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Martin Cerveny , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add support for "allwinner,simple-framebuffer" with "mixer0-lcd0" pipeline from boot loader (u-boot). It depends on boot loader implementation of DE2/TCON0 setup with LCD. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index e5312869c0d2..b93dd69bf309 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -43,12 +43,28 @@ #include #include #include +#include / { #address-cells = <1>; #size-cells = <1>; interrupt-parent = <&gic>; + chosen { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + framebuffer-lcd { + compatible = "allwinner,simple-framebuffer", + "simple-framebuffer"; + allwinner,pipeline = "mixer0-lcd0"; + clocks = <&display_clocks CLK_MIXER0>, + <&ccu CLK_TCON0>; + status = "disabled"; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>;