From patchwork Tue Mar 14 04:58:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 663786 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D22BC74A5B for ; Tue, 14 Mar 2023 04:58:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229483AbjCNE6a (ORCPT ); Tue, 14 Mar 2023 00:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjCNE63 (ORCPT ); Tue, 14 Mar 2023 00:58:29 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75B08570B7 for ; Mon, 13 Mar 2023 21:58:27 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id p16so9358925wmq.5 for ; Mon, 13 Mar 2023 21:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678769906; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Zc/1zJAFELXcXoQvk99Xi1e1l/yoiiUG+pMbW40cAu4=; b=DmMTslwct4+raH0uEyweJXaxBY337k+9Yaj39Y+aPCkVhQU6u7V0JkHjidmLhjeK6w T5iwI2pz9LsgAWPJ4lL0hjYLNXSJwvNO0XjKeV02jipqAp8HcPgqCxf8rYllycngV4PS /VGQ0ej0BhnkLnMuGQHmcUrsN28CIkNBjY2bjQm5uYKPwejASZkYyyHJBM4jX96nvnqi SDE7Bgf0FXDPJPRD4hQR27NJ7+xyRq+XHtngYJ0mOUTD9NdJnINaJi+G/gS3/+5T1H5O xYvWAgbJhzbiEE9mI5PTwC+ILNj1fdLv5o8lsumZ/f4kb320cd1MQku9bpHIKHekgRRo jauA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678769906; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zc/1zJAFELXcXoQvk99Xi1e1l/yoiiUG+pMbW40cAu4=; b=Xh1nbCbcierhK5pX4v93yCfVdSamX7TOPNyBLYAWGGMD+mVR/7KHo0IGfpkxYu88aJ 5pN9PzDu/RQR3OREW9qd04K0NboY5pj3wtUZSugomXovAhhg+17s0aztUWXgEN2xPxp0 6SeEy/fuZ7/i3WMacC1Wo/yPKxiA/3OVpxICeWY7rZfbY4RIXiuNFFCQ529xjOYdXHu+ SsgkwhFxMk8nxtr0loA2MMh13RPQkfJb5+iuu3SvSOPt+hH0tCoPKLpAzLTW5Izx+71t ztvtN1iXfOM6zvCpekN34LruNb8jCaEPolvm5RNZuVayG+wETx7g6jC6mOSrJffwYcnO Cy9g== X-Gm-Message-State: AO0yUKUtCg/lx8xMWyU6WVS5znkA2hc0EKzNx9XxvnbWTxeAgk2VN6n0 Ui3hJjhtRJ2lMKYBIdsA3Qyl8g== X-Google-Smtp-Source: AK7set+1w75JuEOiwXl2NZDyPWPJ+vY4nCCeJhKMN8YMUco3HRR6NPxN1kzUt2EJKDMo0+u+DPKF0Q== X-Received: by 2002:a05:600c:46d3:b0:3ed:2b27:5bcc with SMTP id q19-20020a05600c46d300b003ed2b275bccmr1205451wmo.38.1678769905946; Mon, 13 Mar 2023 21:58:25 -0700 (PDT) Received: from lion.caleb.cas.dev (cpc76484-cwma10-2-0-cust274.7-3.cable.virginm.net. [82.31.201.19]) by smtp.gmail.com with ESMTPSA id z9-20020a05600c114900b003eae73ee4a1sm1548760wmz.17.2023.03.13.21.58.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 21:58:25 -0700 (PDT) From: Caleb Connolly To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring Cc: Caleb Connolly , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: sdm850: commonise framebuffer memory Date: Tue, 14 Mar 2023 04:58:11 +0000 Message-Id: <20230314045812.3673958-2-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314045812.3673958-1-caleb.connolly@linaro.org> References: <20230314045812.3673958-1-caleb.connolly@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Both the Galaxy Book2 and C630 use the same address and size for the framebuffer reserved memory region. Move the definition to sdm850.dtsi. This also enables it on the C630 which doesn't currently reserve it but does have it specified in its bootloader memory mappings. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts | 6 ------ arch/arm64/boot/dts/qcom/sdm850.dtsi | 9 +++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts b/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts index 9850140514ba..6e36ad2f2d3e 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts @@ -61,12 +61,6 @@ aliases { /* Reserved memory changes */ reserved-memory { - /* Bootloader display framebuffer region */ - cont_splash_mem: memory@80400000 { - reg = <0x0 0x80400000 0x0 0x960000>; - no-map; - }; - qseecom_mem: memory@8b500000 { reg = <0 0x8b500000 0 0xa00000>; no-map; diff --git a/arch/arm64/boot/dts/qcom/sdm850.dtsi b/arch/arm64/boot/dts/qcom/sdm850.dtsi index b787575c77a5..89eda97daa57 100644 --- a/arch/arm64/boot/dts/qcom/sdm850.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm850.dtsi @@ -9,6 +9,15 @@ /delete-node/ &cont_splash_mem; +/ { + reserved-memory { + cont_splash_mem: framebuffer@80400000 { + reg = <0x0 0x80400000 0x0 0x960000>; + no-map; + }; + }; +}; + &cpu4_opp_table { cpu4_opp33: opp-2841600000 { opp-hz = /bits/ 64 <2841600000>;