Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5715872pxb; Sun, 7 Nov 2021 18:40:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+oUmfz/bunomn84+PuwkLE3/52gMGWH8JtIT5weqdITvkdCOBADcXaW5k/hvk0b73bNIN X-Received: by 2002:a05:6e02:1ca9:: with SMTP id x9mr27389408ill.273.1636339210347; Sun, 07 Nov 2021 18:40:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636339210; cv=none; d=google.com; s=arc-20160816; b=i0pls0X0LWWuoFKATnXZgBbkxRkZZwShNBYkx5jxzRAnOSxspX2+QOCeruTkpSYK5j 7PxBm0IE1enpHsP5UQdeW3Iy7WgreestnpVlVAXFkenrBOZAFNCzxbrPtI+q8+7xl5A7 92bb7NZ2O4GYV1lhCE/XoGzpCIHHSLKIzfXx4AjXHRa8AisxfMMV1s3Vxo2X7m093c7u yWfM9St7sb6x37hHWjcnI+aYtEK2X/jufquy+nutkimUyIwpl1COEhKXkrgvP52EdCB8 dn9phjkYI+RfFsoNk74rNlUPQcvYkdI+KNjY+8nHaxp5saPfCQCcnw0qnrkm5n/MiRLv JWqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=droKMjRoCqUnn82/BcXNH70ynezcc79D7+t9hSelQ8g=; b=qSxGpfLvnuqYsxWgZukuPHp3L4qcYBfuSx7nDo+qOjbVQUGGLvA3pgCWpWjIEAjem1 bPdfjnVeP1cdElrobZNo1LSjnVIBeKoSmmAxITngVYJiws3AbghiZWepIo96rjr1BGLl cFFmsj5BWZZZdPzAz4YxYmU6oLQUaaD0WEXoKqbq1wAWzvLF0Z70NfhbOysnshDKcrMe zsyP4Ugn7hA0MLBGEnzC54qokkeLuv0SGvwboF5aPM545BnOvANzbiWylbS3iCviMZzl g8p67xZRKvJB5ODeCp2OrpeMjKYQx9tKsfb0n1u63WMxsTZITnCPayftfowNtz94BYbo aEQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=bSTwb8Zw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g21si34378743ioo.81.2021.11.07.18.39.57; Sun, 07 Nov 2021 18:40:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=bSTwb8Zw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236427AbhKGUIS (ORCPT + 99 others); Sun, 7 Nov 2021 15:08:18 -0500 Received: from mx1.riseup.net ([198.252.153.129]:37442 "EHLO mx1.riseup.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236387AbhKGUIH (ORCPT ); Sun, 7 Nov 2021 15:08:07 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HnQ3M60JbzF3gL; Sun, 7 Nov 2021 11:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1636314959; bh=ddEC6H45Hu/66fHyjU3jKy0aj4quwFprpB3NaYBSfw4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bSTwb8ZwBIHlxZoUUiIlyBfDTsxKSalSD8ibIVLMxxFqPPqFsPZSyW+UT0hSXzn8d T8fi/sR1X2y7PAp//uAjaYSZRNa9UrFDBD3TuiujGLZA05QPKnxch/D6sClxF+IMHO HxvmvdkXQWg5wAbBOucIp2SXtyeFIbNHmrzo2Gl4= X-Riseup-User-ID: 75FA984DF7A6379CF0BF32107ABA5ED5580AAEA0763DF99F2B92FAA1DAFAF5B1 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HnQ3J5Vxhz5vj2; Sun, 7 Nov 2021 11:55:56 -0800 (PST) From: Dang Huynh To: Dang Huynh Cc: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, martin.botka@somainline.org, marijn.suijten@somainline.org, paul.bouchara@somainline.org, angelogioacchino.delregno@somainline.org Subject: [PATCH 6/7] arm64: dts: qcom: sdm660-xiaomi-lavender: Enable Simple Framebuffer Date: Mon, 8 Nov 2021 02:55:10 +0700 Message-Id: <20211107195511.3346734-7-danct12@riseup.net> In-Reply-To: <20211107195511.3346734-1-danct12@riseup.net> References: <20211107195511.3346734-1-danct12@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This lets the user sees the framebuffer console. Signed-off-by: Dang Huynh --- .../boot/dts/qcom/sdm660-xiaomi-lavender.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts index 30e564927cd7..d6599881f1ac 100644 --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts @@ -23,7 +23,21 @@ aliases { }; chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + stdout-path = "serial0:115200n8"; + + framebuffer0: framebuffer@9d400000 { + compatible = "simple-framebuffer"; + reg = <0 0x9d400000 0 (1080 * 2340 * 4)>; + width = <1080>; + height = <2340>; + stride = <(1080 * 4)>; + format = "a8r8g8b8"; + status= "okay"; + }; }; vph_pwr: vph-pwr-regulator { @@ -64,6 +78,11 @@ ramoops@a0000000 { ftrace-size = <0x0>; pmsg-size = <0x20000>; }; + + cont_splash_mem: cont-splash-region@9d400000 { + reg = <0x0 0x9d400000 0x0 0x23ff000>; + no-map; + }; }; }; -- 2.33.1