Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp6423736pxb; Mon, 8 Nov 2021 08:24:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJy35h7kUvYDO++Z8P/eHBNiP6+PpBSO5Unc7WiRlrdpn+J3M27svDN2QoGPxLzikGTYJ1ty X-Received: by 2002:a17:907:7785:: with SMTP id ky5mr550131ejc.247.1636388640711; Mon, 08 Nov 2021 08:24:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636388640; cv=none; d=google.com; s=arc-20160816; b=Zti/SYi9Prn8nai19I6spjkLr5IUIiHWcbKLl96cwlbGdakorchLymeA2uXgtkH+9m PLoS+ND8ZuTX5q7viMzfzd+GVGEHVjk/DLDYFeVglacBWZbVk3LmDgyMmFTAHwd6ipQE ifn697/EYz3kdsZpt7b2K6UHFQ13NsZEQdXI7bDDlXmQwUBr3ZNK2vMZfmzBQNBze0Bm j0E+VZ7DGNGCMDKn/9UXpIXh3ebX/jQ2lcTtTB+erwDQadZF68zQ4yLkz66mYFQoPnYf tgkqcxCmfHK5ePJkm0xM1ckFrR8DTR+qT0412tPwTB2/THHoXxT/BzcKPcKB4IIJQn5J GkTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=PRd8lrxK2rGzfhR6xd0y8MjCqwkrKOfPHO6ZfywRVnA=; b=Gv/V+wyiSPywwOB5lLj+048aFvgZR05uZnZLRH+TDW35vrpSunWV5U/dF/5PNfMfuT vHuE6KFrgsW+Q4CpRKr8CQgPvt6nj21NmT/IlSF35QjlkgmmgHSVw2+xEa7rXbue0ybI 7IEVuhBGYK/J8m0BcMqYhCfU6ZNnMVIfgH71cdP2xnzlnHa2HF6C0QtrU5PyyxhaHX04 A7YTijXPU6tFX/d7qAVts26ESVl8aYnlxGtPCO9Am9jXjiqAzy60P7SUtDt0FQORIl8e 2tBsFB49tdqjG0rXeao3OYNWoM5B71PKbZjsI/2vmqbaHa7Nz+1Ax5zAL62VnRK28Mcs RpgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KIjeh7Qg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si31460439ejj.229.2021.11.08.08.23.36; Mon, 08 Nov 2021 08:24:00 -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=@gmail.com header.s=20210112 header.b=KIjeh7Qg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239735AbhKHM6y (ORCPT + 99 others); Mon, 8 Nov 2021 07:58:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238770AbhKHM6y (ORCPT ); Mon, 8 Nov 2021 07:58:54 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EF6DC061570; Mon, 8 Nov 2021 04:56:09 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id u11so36005905lfs.1; Mon, 08 Nov 2021 04:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:to:cc:references :from:in-reply-to:content-transfer-encoding; bh=PRd8lrxK2rGzfhR6xd0y8MjCqwkrKOfPHO6ZfywRVnA=; b=KIjeh7QgeVG9IpChI3cODLKL7UX3sRTcSUrfu1VjTjxWd6YTQAFs6DgtTlKD7+of3X 9qMnCmd3G/Bt9S7g5nJxrnVSWenaSxcPt46EVzFkksOkPT+ivtxwJsXvEBkbzZG7fK05 HE7lP5HBKUmNNGvsl9LfE/gMIWTahWcnIaFDKReCt9zL8CvsEoAHXnWTB7h6ttVb0WoR XSARKLikLYEgkQ+//uJKF+z0rXT1ojfCfGvvweo3RyKuULukZfbD2jSQQaV7Zhpebk0T KEGP/iIwjhoiC2dmNmgF4Mvj6mik13Wugtm+z/pFDmZoxny84TPnPsiwgHR1lAAK6Cdl wBVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :to:cc:references:from:in-reply-to:content-transfer-encoding; bh=PRd8lrxK2rGzfhR6xd0y8MjCqwkrKOfPHO6ZfywRVnA=; b=XPfqB9w++7ge0Zx0vV+AwOQ/Xxn26fMzzYaQNiAAJFxu0YQbifteCUG/d9BAdK7WJx VV0imlIgnMEWn/A6L7AcHA2nRs9T2oKMx5Pw4Q1+BR4Rw/R4C6puCm3QEchMnva3ovJm S9Zwv3d7OJQ1xkqtoRz7WsS7LIPE5rEx+A0o3SaV5mWGryC0l1kudDHRAUCe9IsEDIrz 4a4Nlcivope1xwfbKGmkbmYaFFBXJkK2S6e6zRz/Kl8hUD/KwY1kjrTWn3G+SZeA75bM aH1G+babFZ3y1BUDFxNn/Der9NpVk6DluOLTo2Frr7SPyeZKdqNACjWqeuYjgmnnRVh/ 7viQ== X-Gm-Message-State: AOAM532JAnk8eb47SLNDHek9qA8btJmy4n07y/WZqpAB7R15roHpjN+B eYB9svtlapuECI49Uc7IfJ4= X-Received: by 2002:a05:6512:40c:: with SMTP id u12mr21130431lfk.473.1636376168038; Mon, 08 Nov 2021 04:56:08 -0800 (PST) Received: from [10.1.250.9] (riviera.nat.ds.pw.edu.pl. [194.29.137.1]) by smtp.gmail.com with ESMTPSA id w40sm1809126lfu.48.2021.11.08.04.56.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Nov 2021 04:56:07 -0800 (PST) Message-ID: <06a286d6-b675-3322-79f2-1127935794b9@gmail.com> Date: Mon, 8 Nov 2021 13:56:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH v2 6/7] arm64: dts: qcom: sdm660-xiaomi-lavender: Enable Simple Framebuffer 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, Caleb Connolly References: <20211108050336.3404559-1-danct12@riseup.net> <20211108050336.3404559-7-danct12@riseup.net> From: Konrad Dybcio In-Reply-To: <20211108050336.3404559-7-danct12@riseup.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/11/2021 06:03, Dang Huynh wrote: > This lets the user sees the framebuffer console. > > Reviewed-by: Caleb Connolly > Reviewed-by: Martin Botka > 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 8fd4d1732d94..122b487f197b 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"; This line is redundant. Konrad