From nobody Wed Dec 17 21:25:18 2025 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 38F0F19F461 for ; Fri, 17 Jan 2025 17:10:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133801; cv=none; b=Zn7OjDmB7fWy4AKgDerBj4mADneM7dkCLGVSl0GM3fBdcAewzKcbfZkEQKYJMnhxnea/0VVL2K7ndxqglaD9AhiRuceG4Rb7zPZiqKV9sadjshLyhVBCN6K83+0l1pj1AjmdKdqbfknu063UrLX0ROP5LqAT/GCLQJbW2vA6oOs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133801; c=relaxed/simple; bh=rQoO8RKg4WTsMiIUSVBxqtIekUiWXYwM6p1WeORMqYA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=g0vxzvwwf3Jg/Lmf2+2PvnjdUy1g5cpyVpcAPe2xpOf7EcomXrO3HJ14OYDU5lxBDRjKMG0vz+K4rD+3JaPMLJ7pkxbgPLsHKDRkfRxLp51el0ZGfFzoq7Dpe5mTGgCRpzK/k01FfSzp67Stwn7Ec6gDeSXAzPjgiU6K7VNpdJM= 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=Ky2a9uqi; arc=none smtp.client-ip=209.85.218.53 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="Ky2a9uqi" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-ab2bb0822a4so449603866b.3 for ; Fri, 17 Jan 2025 09:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737133798; x=1737738598; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4mvgaOsWInJVnUwy76tgQ13g6HWxVD9Bi2miL5uycY0=; b=Ky2a9uqie95Lxjvf4lZPIKCb7edIylkZ4z+Y/l5FYi2rc2vU3nIZXo6aIZOGBQztSo /leLaAZ79/FYMjd1+o7ETZhsJe1SLbT++CTirVT9uB8Rky4LAsSfFo60umLj4OtWbrrm Rhnonmtn/fYca0EcMpWVqdMOfSBLZWn5bweaxosfROB+97LO4DyY3JKUgb3RmGqsPSLo c7e8Wg/vYvcMx1malEtRc/f1/XYE6CosYRv5dou2WpJJmzEm6xd4PdCIMtPUhppBMfNE 1m/n08J1NSmnBLlt7k4ez7n5oxzMqHoz4aSWjhA7rB1FLWpc41qwLt+srilGA8ClDBQr LnFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737133798; x=1737738598; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4mvgaOsWInJVnUwy76tgQ13g6HWxVD9Bi2miL5uycY0=; b=UNSZlCdc3qPRHSJirnyYRW5DgRzNZ0WlbLLSqoHvKGpc4JUdV/D8CFNfggBYmAbTDy qndNzir7PpeCbdhJnj2kWmr/6eZbTd4TnRQ6eN0hMDes+43rZP3W8qWAhQGF5vgT30Qj sXvWkzO08xfZsGntx/TFFZZHDe4ucnEVzL/I4NME+l+dBkByiu5FB0SOZXldXshK4gEM YyfecjDnLlSGHPzylrMoW3Ca+tVcios56yQKdNAdxSv0VNOYzzHFkMwRXOxvtJFK2kzJ PYpZ0brd0H2d1qvBCya5Mcgm7UFlcZRLeyrQSlg/V3Lj8Wbi+V96zte5arcQ1w+DtHz2 k+9A== X-Forwarded-Encrypted: i=1; AJvYcCW7foIBUk6EYsWt2bLHZxREny9D0bPKu83ljrGSJ7344B3xuq1Ui33Bz8YB3ACBQlp29D8fIMDEetFMVgc=@vger.kernel.org X-Gm-Message-State: AOJu0YxLMJ+GgsKJgopqc0qk2Mvg54DJfBWrI4sN5zf3ZgSc4mlgtEon ywE8SLNkr0aFdY1TEux7lM/HV601Txbx5F0c+1mHNWRyqUFztuqQvmYrHuu/6kieGcSNCCcB//K Yhbs= X-Gm-Gg: ASbGnctr3/HfbvRd2tG+RNU+yRV+uGF+sSYXcbeUhl2xr6CV8s2k9rDo9YZ4gYWfz9W TnU2KtZunMN0/uZRdCStOw/SJGNfwSJQpFZYQG40Q4fhJ3fSa7h025bUfDxvwPOtKLRJTumeAf9 wtSS6bJtNUgCptag2SODTQesirYKMrx4bv55LBj1e+tiTcj/QQQD8dv8SwT3FHve13IYHOBkR1d p4O0yJhNRLv/OzzEp71UxSmPD4eu9QJvzQ+WoxHcMVWJ8MLjv6N6BBxuhiVYQ8mjNd4hLjFWhs6 Km9xigq3m56jdJvHPBPVYhjae7nWG8JWUiaT5+q1 X-Google-Smtp-Source: AGHT+IHFyQYdgqGM488OpiNHw7vcW4pRUxUqyprfrU9ASQpRrjBWSc8OuKo4zMQb49X3a2Y83Biqaw== X-Received: by 2002:a17:907:7296:b0:ab3:4c32:aa6c with SMTP id a640c23a62f3a-ab38b10cfa4mr328196666b.20.1737133798469; Fri, 17 Jan 2025 09:09:58 -0800 (PST) Received: from puffmais.c.googlers.com (140.20.91.34.bc.googleusercontent.com. [34.91.20.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f87065sm199197966b.133.2025.01.17.09.09.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 09:09:58 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 17 Jan 2025 17:09:55 +0000 Subject: [PATCH v4 2/4] 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: <20250117-gs101-simplefb-v4-2-a5b90ca2f917@linaro.org> References: <20250117-gs101-simplefb-v4-0-a5b90ca2f917@linaro.org> In-Reply-To: <20250117-gs101-simplefb-v4-0-a5b90ca2f917@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Griffin , Tudor Ambarus , Alim Akhtar Cc: Will McVicker , kernel-team@android.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@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 Signed-off-by: Andr=C3=A9 Draszik Reviewed-by: Peter Griffin --- v3: - replace property 'reg' with 'memory-region' and related properties to reduce churn in preparation for Pixel 6Pro support - drop tags due to that --- arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 17 +++++++++++++++++ 1 file changed, 17 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 e58881c61d53..d3dd411c9bd0 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -26,6 +26,16 @@ chosen { /* Bootloader expects bootargs specified otherwise it crashes */ bootargs =3D ""; stdout-path =3D &serial_0; + + /* Use display framebuffer as setup by bootloader */ + framebuffer0: framebuffer-0 { + compatible =3D "simple-framebuffer"; + memory-region =3D <&cont_splash_mem>; + width =3D <1080>; + height =3D <2400>; + stride =3D <(1080 * 4)>; + format =3D "a8r8g8b8"; + }; }; =20 gpio-keys { @@ -69,6 +79,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 { --=20 2.48.0.rc2.279.g1de40edade-goog