From nobody Mon Feb 9 16:53:10 2026 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F7B119F116 for ; Fri, 20 Dec 2024 10:32:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734690775; cv=none; b=dgaE/MD3xrRjseL4E68mmrTtiyMsjsoaDuCg0+xk6GKg9BM3rB1BAxixYs+TraI764VHjOv0MhssmcqwQXmB8hYCLkZ+tZQ6gBx+YNenwcio9YFq388EEDLXhnqXxKyHMD9qbcQzpF9krcNZdiLwTqkGEpi9DpIh4hxc7sKDKcM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734690775; c=relaxed/simple; bh=AhRBht02RHZ29E7oO4jKae+4/7Omd+mmnzz7/jvmNsg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=heNw/0m7ZjsRr3lRYXGeG9KOzLgACfnNmkN9zT4rPTIUqO3jJFZE3mCyKUfmwYR9Ob2A1q8T56QZcv6sBRQK7SIcT9wS8zaERQ9QxsfPppqwcS5GeCn5SWIsAcUooNH+3czSvSWMa1Opq910Fffquxd0ns/9RzKH/O81h7U8Je0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vPXm/m2s; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vPXm/m2s" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-aab925654d9so332097566b.2 for ; Fri, 20 Dec 2024 02:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734690771; x=1735295571; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=cnPh/juyVOiTzWCImlW3ZTqxEo/ZPE8pe0CN7AE6LjQ=; b=vPXm/m2sS6RTlk3xmPJt6upRYxk+DiVQo3RLl7wszesahugNAKH0NEgX7SqzItMn3U 0njMmuvrl3OoH+iSfQL9sCaI96mwfUPuKFiXvFGYgSj1FXlNg9gJuuy0fDOa/Sccjqyf GRJs3/0UT2a1Jv1zpAtpu8jOAnhDSnzBYlmnchQQ6TapIDaojjfSK3TCplL0jCoEKhed nXGM1fuQPxO7zx1C7giCi3/GSpTRk4C/mFV5ym1vZqbvmWcrQzzWLR4OEH5mv6Jf9yYb WFrpnc457U4hMfoqKQNilNbJkkSjrNhQHUzOY2qGUBvpVCTcp3XS5A1iR66xS/SBM850 Yvqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734690771; x=1735295571; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cnPh/juyVOiTzWCImlW3ZTqxEo/ZPE8pe0CN7AE6LjQ=; b=FBbn9Jm1w8DaNRebaDlsYD7t5NOtYTuhWon61YAVbnjnbnXkk9ZE9VHkAPilL3cRys EQIzmOZUM/Rv/Ajb6sH8t/0kpczxDadD2TbPINIws6kaZ9iyYseXipYIs9ljDln9H6Uy 4PgxWVPa/BKlJJw3ZjiJPOwO56/DGPO+RITPRDmYT/tFjEoJX4F4oE/mwOByePMiucgx mfazyOGsmNqIbDzSwUxorOBAHDSXCMnY61Uw+WISUehYVFxoH2xKlgRqX1kS879tE/M4 iS5TKq7BMMENHboQ04uiyQqsXWp1dK15Q81dPIBIH2MuiAWMbsxQXv281IUe3zz46STM RNpQ== X-Forwarded-Encrypted: i=1; AJvYcCUuLqlt/5Jdu/n14tX7Kmj+jcQv2o0ZeuG/ql8x9SYbsCqwsdabnjpOul+ZCLE6ClCRIuRUyKD20vPeq/0=@vger.kernel.org X-Gm-Message-State: AOJu0YyXFc9dAgILWejM7Vp5AAxjCzV5DrDsBaG6PHf/NcjeNe7x8lz2 /a/qGBEOQPhhQNUVrWc1k1sgLPEccB1KK5bV6eFwmclLYxv+KO0NO30VS9Na4VY= X-Gm-Gg: ASbGncux0WaqubI6hAIf10B2fIZRjSQbMnADXntXKYlNz5qlMxQi5X4sh7OrpvAFYkm j8ufvqjGo6rfH6c/kFY7qJRbR5jjYyNjWdYoK1VDsSf0MQSfuMJSlGt8L6swukpMoX65CQNhOzT +ILF5pgT2jQpxeBvTuAT+BIQCyXczYS+TmqaKCN8cwuWhDYgp7IkScOa4ZTtAN39m3SP5hUiCNE p13JMhaXBAp6BKhvLipOOwzqJD4iWNVzstr5jSuAyLtqmmxmwTxMep01bcouG3XVtmZjJIC0dyA zpD8oUhY1FG0BS517ze06eIs5ybRGldYhALNkqnS X-Google-Smtp-Source: AGHT+IExwMGLFo9EP9y/Egh+BLh+KfOHOoPkz6X1qvfx7pdCFx5WJHmb12wq7ReFv0+A2rj/5cCZNQ== X-Received: by 2002:a17:907:5c3:b0:aa6:8a1b:8b74 with SMTP id a640c23a62f3a-aac342179f3mr160475866b.53.1734690770668; Fri, 20 Dec 2024 02:32:50 -0800 (PST) Received: from puffmais.c.googlers.com (64.227.90.34.bc.googleusercontent.com. [34.90.227.64]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0f06543asm161604566b.175.2024.12.20.02.32.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2024 02:32:50 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 20 Dec 2024 10:32:50 +0000 Subject: [PATCH v2] arm64: dts: exynos: gs101-oriole: configure simple-framebuffer Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241220-gs101-simplefb-oriole-v2-1-df60e566932a@linaro.org> X-B4-Tracking: v=1; b=H4sIANFHZWcC/x3MMQqAMAxA0atIZgNNVVCvIg5q0xpQKw2IIN7d4 viG/x9QTsIKffFA4ktU4pFhywKWdToCo7hssMbWZKnDoGQIVfZzYz9jTBI3Rlf5yZFv5rprIbd nYi/3/x3G9/0A2QmCsGcAAAA= To: Peter Griffin , Tudor Ambarus , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.13.0 The bootloader configures the display hardware for a framebuffer at the given address, let's add a simple-framebuffer node here until we get a proper DRM driver. This has several benefits since it's an OLED display: * energy consumption goes down significantly, as it changes from white (as left by bootloader) to black (linux console), and we generally don't run out of battery anymore when plugged into a USB port * less of a burn-in effect I assume * phone stays cooler due to reduced energy consumption by display Reviewed-by: Peter Griffin Tested-by: Peter Griffin Signed-off-by: Andr=C3=A9 Draszik --- This is marked as v2, because it has been split out from my original series in [1] to make it independent, for two reasons: * drop the dependency on other patches touching the same file * no need to mingle this one with adding Pixel 6 Pro support Other than that, there are no changes and I kept the existing trailers. For those who want to try this out: The stock bootloader disables the decon hardware trigger before jumping to Linux, preventing framebuffer updates from reaching the display. We have added a work-around in our Yocto BSP layer for the time being (until a proper display exists upstream). An alternative might be to port and use uniLoader from https://github.com/ivoszbg/uniLoader, as seems to be done for some other Exynos platforms. --- Changes in v2: - split out of original series - Link to v1 series: https://lore.kernel.org/r/20241216-gs101-simplefb-v1-0= -8ccad1830281@linaro.org --- arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 21 ++++++++++++++++++= +++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm6= 4/boot/dts/exynos/google/gs101-oriole.dts index 387fb779bd29..a00cb27e167e 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -22,9 +22,23 @@ aliases { }; =20 chosen { + #address-cells =3D <2>; + #size-cells =3D <1>; + ranges; + /* Bootloader expects bootargs specified otherwise it crashes */ bootargs =3D ""; stdout-path =3D &serial_0; + + /* Use display framebuffer as setup by bootloader */ + framebuffer0: framebuffer@fac00000 { + compatible =3D "simple-framebuffer"; + reg =3D <0x0 0xfac00000 (1080 * 2400 * 4)>; + width =3D <1080>; + height =3D <2400>; + stride =3D <(1080 * 4)>; + format =3D "a8r8g8b8"; + }; }; =20 gpio-keys { @@ -68,6 +82,13 @@ ufs_0_fixed_vcc_reg: regulator-1 { regulator-boot-on; enable-active-high; }; + + reserved-memory { + cont_splash_mem: splash@fac00000 { + reg =3D <0x0 0xfac00000 (1080 * 2400 * 4)>; + no-map; + }; + }; }; =20 &ext_24_5m { --- base-commit: 8503810115fbff903f626adc0788daa048302bc0 change-id: 20241219-gs101-simplefb-oriole-d3fad1f5b498 Best regards, --=20 Andr=C3=A9 Draszik