From patchwork Wed Jan 15 16:11:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13940606 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 F0C58143725 for ; Wed, 15 Jan 2025 16:11:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736957474; cv=none; b=sgUJtgxJ/x4njV1WWwspIvRdE7+KijCyz0O8CZMmZ+66mFpaz7A0/3p8OvWR2reaihDpOdeV5v2kqGxmDl/AhqBjvwc1yrOll/zxq9gdDtrt4vAMzqLon9tfiwhX8q6DzROYcnsbiuBUIpZkaofCugWkX9OI3Ut9gr4lhmKjm9M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736957474; c=relaxed/simple; bh=QUweSS7Ezk07GROe4ptc2JCbOPNeoO1DPWPu/QS6yU0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IpG1mT+N5yKkIjHJkapShIPm5Y9rRfRFKm/2SPFap+2Sej9SwAdwAw2wJpXgfy07VTibGGf+XmXjs40Vkhtte13eFpj9HFp5iWU/RGWCr+RsEuhIkkPlYv9V0jdxFDq+WxBiZhxjuLd7juF0Vua/0Xyhz1YpGrxbixO/XI1ZC3k= 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=LS6aV9Lh; arc=none smtp.client-ip=209.85.208.43 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="LS6aV9Lh" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5d932eac638so13286378a12.1 for ; Wed, 15 Jan 2025 08:11:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736957471; x=1737562271; 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=zWj3M8A+8QkmZTCPt7r4bM5zsk4erApcDBVhUj+B4N8=; b=LS6aV9LhUAkX5U1c5UhixWlk6gEAEMf1gedD/7ophK1/eCyIQRA11A5DbwYGN3zWyK 4x0XXkw0tLdvu05r8O+DvbW5pBj/ZRFy5F+ClA/gW30vylYJkz7Uo9PnFwVUspXxFULt J3Yl3QcpULQ9u44mt1MKA4HXeVke/0N1Ae+Am5v6FKvdGaehluNDpcZsngtFYNwrwrvp jENiqZsC3Q4i+98M/g2VLhnQMVihUZoAOAnrT9TBdH5L3aeJKxCBFov2HsofbCEny+RO Ir1cli7m9aCAr14otitnBxgYeb6i3Oxw/9ugB+TVibkEXJGmFVkFGVOfugVDL+h8AvL8 XXjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736957471; x=1737562271; 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=zWj3M8A+8QkmZTCPt7r4bM5zsk4erApcDBVhUj+B4N8=; b=RpAbI8w7wTdjJDtU65iU3sDjkISNCxi21zD4DME15l+qXN6mGC4boR3RGFhwS70nCp FLwYYAn4OtUVE+ro/c9VJ32ROpmN1w4awia/lDKjyiXYnK+PKZ/10btMLsoY5B2GWQtr R8J0YebTMxACPVeWKJcksH3XSW7gzRoxcYbceIbeJcIc0i/XL03ahBK0Yk6NaACsngtO 9Dv5A7j6E0w6X4hFkLU51eeFt+53qNM/6IskHTjyJYzZbQtesSae8nDskppH2LFnYyfg Wjpxto+oysZLEhe4K9J9PxtJVdRNS3AhrgLA8OOojF9CXNRnjv5YLoiAyLv5ntTDAXoR uRAg== X-Forwarded-Encrypted: i=1; AJvYcCXEj5CYGwveEppSHT1AmTnPEIaT2r0dbv+/rpNGCUbGeusUXvoauXl8/4FIxPkJVphdq0AFWAD+f6wurB78I+9rBw==@vger.kernel.org X-Gm-Message-State: AOJu0YwDJVLQD4aVsTaZzk34lQDv1icQO5SZLxLEer3MF8j3kwagHEDR YPMHMH1AZdU57HTWwc9SIPLEQYEDVJYBkS1Btt95Gs4MsdeHZrNIlrjQQwYm7vv8+uX5Gw2sMSe Pjn0= X-Gm-Gg: ASbGncuP8wtluadcEl6Peeqqmw97BGkvvpJNjgMm3di6RTXLe4MtmHsR/Yn5uc1t5R3 GTuZpGIEi2vVZqU/BP/JlPT/p7oFLQ+GkfXoRTUu0IUAnJ1ULZCU0nqR9YKBrAaYH42TzUROHYw 82UIVleYArbASpUjYUXg5gL2jaTbQ/UWcQ3Z8IbkoXzGIYxNdmyJ88bhjK7T9ZujDJ3UPX6w+LM 8NzFIn41aLgW6MihkW1iS9j9hO969H6F4URtyhrAqaQEAv86A7cEI4a/RrTE5QRIn+ajQS+zxtT IdJFAdyaCuWF5su9+/XnIM1Cc0MuUIR44FPx4WXo X-Google-Smtp-Source: AGHT+IFGVlW2mK15C3vwD83ymqly7SGDcdZjGDfxtGUMODDwfwmSvKBHDe930bRBFlKZrwP2V54i3A== X-Received: by 2002:a05:6402:13ce:b0:5d9:f0d8:22e1 with SMTP id 4fb4d7f45d1cf-5d9f0d825d6mr625838a12.9.1736957471141; Wed, 15 Jan 2025 08:11:11 -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 4fb4d7f45d1cf-5d9904a55f9sm7416232a12.81.2025.01.15.08.11.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2025 08:11:10 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Wed, 15 Jan 2025 16:11:09 +0000 Subject: [PATCH v3 1/4] dt-bindings: arm: google: add gs101-raven Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250115-gs101-simplefb-v3-1-52eca3a582b7@linaro.org> References: <20250115-gs101-simplefb-v3-0-52eca3a582b7@linaro.org> In-Reply-To: <20250115-gs101-simplefb-v3-0-52eca3a582b7@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 Raven is Google's code name for Pixel 6 Pro. Since there are differences compared to Pixel 6 (Oriole), we need to add a separate compatible for it. Reviewed-by: Peter Griffin Acked-by: Rob Herring (Arm) Signed-off-by: André Draszik --- Documentation/devicetree/bindings/arm/google.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/google.yaml b/Documentation/devicetree/bindings/arm/google.yaml index e20b5c9b16bc..99961e5282e5 100644 --- a/Documentation/devicetree/bindings/arm/google.yaml +++ b/Documentation/devicetree/bindings/arm/google.yaml @@ -34,10 +34,11 @@ properties: const: '/' compatible: oneOf: - - description: Google Pixel 6 / Oriole + - description: Google Pixel 6 or 6 Pro (Oriole or Raven) items: - enum: - google,gs101-oriole + - google,gs101-raven - const: google,gs101 # Bootloader requires empty ect node to be present From patchwork Wed Jan 15 16:11:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13940608 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 7E4941AAE17 for ; Wed, 15 Jan 2025 16:11:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736957476; cv=none; b=ac5jRRK/2BLfnUiH5yhBGX2NHBQqR1k+TNkWj8fo5sZ2AUde4tuUPIO1Jy2qJdfc7XFj0CC9+vAjVPRCzt9hzeCPat0pYpcR2skqe82q+ycYrJsP4Ok3/9aWdfttV396vjF/+3XDlSN0MW+WrKj8maxW7urVPLiNm2YdKb1Xu8Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736957476; c=relaxed/simple; bh=rQoO8RKg4WTsMiIUSVBxqtIekUiWXYwM6p1WeORMqYA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XhqrDtplhAYC9ULZQsyfKwCk6zfwzALbEOcU4ws96E/ga+vp9k3eZi0X6URlos96sCBhiwKqdFtDwhbEXynZCRjOnefQyQHlvk7ns2BuA0HNUsId3MDh6PhMCgomN5q/wvIFHfotLWA9vAP2Ydb+HOXFNiexW3BvvBEFeGyk7IU= 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=No61yaQe; arc=none smtp.client-ip=209.85.208.42 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="No61yaQe" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5d88c355e0dso12174751a12.0 for ; Wed, 15 Jan 2025 08:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736957472; x=1737562272; 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=No61yaQeiA/rkAoz/lkyU2ARY/ZOBtawzRBawrmj50NlyhGynY3a/5pVCGpFvxTc0S 4aDJ25bMv4JCI6hMbZniRGZsTyjkjcN3OaB1ztIhJ6aCxBMlmI20og09gGFVrGUCZddu QfzeCQHdDT/ZiwfHNLZV7ua3xvqqA2v6s1h9uyFF7C/zaZpmHTwCyl7esmiSURFgT1Zx vFXCRkPyiMCMffs3XhLrtpIWEdNxqyIvaJ7/53DQ7I8K8AiNopXgWVi3pcoZpu5GDDyl WkRhvr20bhxJ9Sr/vMhekqUlPKmtkd3vajqA1ixvmoV/Auvtc0gV8nkdoeYJP28j3BDJ pEWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736957472; x=1737562272; 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=aZFM/vEjMMxORxv6M7Z33QuvgP5voetIA/nWF2IdFjcZEThOM6BfoiMC9Q24ZXuQvW fXhZg5UZYxfvb4pKZh/RiOvVOrqOgPbha8dzlqtUAPswjF9PrEGX5omAxxIXpDYaDmk2 tbjZvYEkpZ+k5VgcZgnofTBxZGDJg1dXy8j8ahK0VLh/3zNDOLnIYL/eqoZrRFZRnc2z q3+4PQB4lssK40E0wkkelRZgPIwNsAuU1fwJ3Hf/XDIFVD3+qWSb9h5EIBSjkmVirC72 7gtE1LdG5v9ussuixL1uC3FVm6vbaD8zVWrHnKRg3fF9rWrR7+drlkcedmnt3vpAVtsM EJdg== X-Forwarded-Encrypted: i=1; AJvYcCWKH6OidtZiet2ihAscbPykwx3Dda3ukgHe0RuHhHDSUuwfT9jVtDNDM3IpkwSW5Ab/8J68b+3YfeJnmjhPrwNZVQ==@vger.kernel.org X-Gm-Message-State: AOJu0Yy1KiS/xId0cGeaW6dVH6AtNcoqGSUtqOiG9lS03qfxQZRrQSsM rAeNmiHo5Smcqrjcf//Gf8jopyTCzvmWpRe0/be9sJ2NBPsgN2qbycXvHiPPNpA= X-Gm-Gg: ASbGnctCBXHgPp9nER6bEIfr89d9hYBRtV/Nah31fH/WTssJPSrKt88HoO2t9Nw+Ibg PULa3LSOtjjZGEoYxU8RQ1u9V8zEXEs+X8I9tnjTPg3FLQYXahvdgchW3PGzxUDMxI3lYkpLk05 lkkG8VF7O/M3+BwsPFPu97ajd+8wTs2xLQFiwH2kAP4HGdYqIaRxnPk8osDLt5lq37HWyCno9Ux A53ud65Fsb8yLHj9AsRCG1/ONzOKPNWasU2XekVJzYuYxvDk+t/Bn4ta0LsnGRHHYNZpue4VD09 fxPYizMtbzDbacjNpUY+wMV2bgPdLKlPwEaRjtTB X-Google-Smtp-Source: AGHT+IHgfs3nHvUsKFbEdimSg9mYcz0DubOQSD9PHYFogk2sgQni7lRdfrILTgiNEdYBT68xnxgvQQ== X-Received: by 2002:a05:6402:84f:b0:5d0:d330:c965 with SMTP id 4fb4d7f45d1cf-5d972d28da9mr27957675a12.0.1736957471733; Wed, 15 Jan 2025 08:11:11 -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 4fb4d7f45d1cf-5d9904a55f9sm7416232a12.81.2025.01.15.08.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2025 08:11:11 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Wed, 15 Jan 2025 16:11:10 +0000 Subject: [PATCH v3 2/4] arm64: dts: exynos: gs101-oriole: configure simple-framebuffer Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250115-gs101-simplefb-v3-2-52eca3a582b7@linaro.org> References: <20250115-gs101-simplefb-v3-0-52eca3a582b7@linaro.org> In-Reply-To: <20250115-gs101-simplefb-v3-0-52eca3a582b7@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é Draszik --- 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/arm64/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 = ""; stdout-path = &serial_0; + + /* Use display framebuffer as setup by bootloader */ + framebuffer0: framebuffer-0 { + compatible = "simple-framebuffer"; + memory-region = <&cont_splash_mem>; + width = <1080>; + height = <2400>; + stride = <(1080 * 4)>; + format = "a8r8g8b8"; + }; }; 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 = <0x0 0xfac00000 (1080 * 2400 * 4)>; + no-map; + }; + }; }; &ext_24_5m { From patchwork Wed Jan 15 16:11:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13940610 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.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 802891B0F3D for ; Wed, 15 Jan 2025 16:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736957477; cv=none; b=sobpwVRtpYQHEEe0FjAhdW/+SQUMVPwGHnipOBOURVXp7G4H21yaUyJIBzuhkqB670XT+DrLGnXply7/CYKlc4STJB3Wz8whDoBwW9mhombzqMAe2JXoMBTtv1oSON7BnJmYP/up+fOU0z7T1h19RCS//4oVMJ+pVlnyexYGAJE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736957477; c=relaxed/simple; bh=kx7ZAfKl58JGTsnJABVXTvUq2/3fVBMwWMuqAnQSIMw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H+WerjSymDP8A9cy22g5Cs3gXGlo0Zg8euEic5D2NwXcXZabAeN2b5nveyXCXi36kfROmhe8oVAsTrnTW1+P2c+JtZbosOsrIcf2WcyzX58rlMO/zVxMtIF+UXPRkB/kchupgAV5MYh5EKTbFFpKsa7FhIzDklnPc+tftC3jspo= 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=PcMe01KV; arc=none smtp.client-ip=209.85.208.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="PcMe01KV" Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5d3dce16a3dso2059138a12.1 for ; Wed, 15 Jan 2025 08:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736957473; x=1737562273; 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=MfnXh4xNEl2veLLUMoW2fFOfVxeDxb438BEqj2RkATs=; b=PcMe01KVJlRyFBNPK8ex1shEDVGhTKbDKgruuXvEVC6PDYpIXB84fIPmLf1YxybzUS ZHhz6SCdKeiumX6cYDOBS9w/WiKdyu2VlI/PwJGZviB6Su8q3dH0LDhNdE84JbRHJWwi QZAln70WQf5u+7aJz2rbHbzFNcte0/0QUfZNEVUdRM1Z/JqsRQvvnNN28OasdKY88Sqm u/GIu3KjBk2/Fkkbi1mz5zV42oWgqK7rdfO06A2xijG39dXYZdUgVQ02jSJZTN9syGjX w+/Ff7NTGMm1RM4GeiQnZ23mWbYzWcwwCQqhw+vFvX7aVF1Pks9AAbOYXyeC225iCwoL FT6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736957473; x=1737562273; 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=MfnXh4xNEl2veLLUMoW2fFOfVxeDxb438BEqj2RkATs=; b=m1qqglGnZhpAv2AXjV8Wfbl7kXKHHrjK9cJJbk5lNxV8qHb8dvGerxoinIQe4TrUvd vu+bLNKHgIRCZovXxK5InEV3Q17YTmwd+et6R9uw5I0ggoo+pg/voIfhiEKylwi7YlTt h0BLDZ7Dm7fkUVoPXqTkzCltfsWdcKyM2anacPVovEKO/E7MBRKgLBEgNSr/J8jFcjQL DTt6/wFLgDxH0ljp6fr1lu1/xiub2huWDDeiW1zPtocwDWsj5AP0W0oGGiOwv/iVdbaO CWEafLq7J7pHm0E24qpg1PH1b58KrhEv9JUIKm+3ju/0Gt4oQkvtbSL4Ctg9wD8Ezndq oXdQ== X-Forwarded-Encrypted: i=1; AJvYcCXaP3IVEUsuHsBliHfTiosXsfiT8qO9L1XJm0yJUqCb0UTcXgR/POlfZ4pqJvTOfNltfPNVrjagFYB3xzieEjLJxw==@vger.kernel.org X-Gm-Message-State: AOJu0YwUczE0ggKnu3yvb6WpO9k5+T9lnqVkoUNiqea5NsH9J0XaVJCJ ofciy9jevHLrjkjZ6FSsNTjcNCIvZfz8J/wm3oxiUVf/qEfnZaiLnSZBcRRTLb0= X-Gm-Gg: ASbGncvbZoXevtN1+jTN6xvGfeyG9YNiqpoF6nhLMIjutsuR24Hnfksc0TlK/dof1CZ RA1/6OZNuLanhRvspCYOJNSvfa22nts8dvjx5CnWn3OjduXSG2/nQZABGFuFaaRc8HUOrnxgxBa Vq/Zs7wJ4XfmE294fPN6wW0fgmR00EVuk2pUDb3O8p9tITHcqttrz83PWLCTaWRUf5AXRcjEU1M khsALIjEXiH2aigTvZwS6Kr5pbX3RDGaCJqgxfAj/yBf05iv3x6/wflKZV6N0u8JDJmw2lMNJ3A KwOO2Q5zBgizoQ1l/G9v9hibLhrtMm0mot/EWT5i X-Google-Smtp-Source: AGHT+IFMiB29BckZaQwUVqk7S5h51YFYdYV3Hy0EsqymCK739Yxc0g+kndvAuXsvigO7Vod/nvuxNA== X-Received: by 2002:a05:6402:350a:b0:5d0:e7a0:154a with SMTP id 4fb4d7f45d1cf-5da0c2c2872mr3165352a12.8.1736957472606; Wed, 15 Jan 2025 08:11:12 -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 4fb4d7f45d1cf-5d9904a55f9sm7416232a12.81.2025.01.15.08.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2025 08:11:11 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Wed, 15 Jan 2025 16:11:11 +0000 Subject: [PATCH v3 3/4] arm64: dts: exynos: gs101-oriole: move common Pixel6 & 6Pro parts into a .dtsi Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250115-gs101-simplefb-v3-3-52eca3a582b7@linaro.org> References: <20250115-gs101-simplefb-v3-0-52eca3a582b7@linaro.org> In-Reply-To: <20250115-gs101-simplefb-v3-0-52eca3a582b7@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 In order to support Pixel 6 (Oriole), Pixel 6 Pro (Raven), Pixel 6a (Bluejay), and all other versions correctly, we have to be able to distinguish them properly as we add support for more features. For example, Raven has a larger display. There are other differences, like battery design capacity, etc. Move all the parts that are common for now into a gs101-pixel-common.dtsi, and just leave the display related things in gs101-oriole.dts. Signed-off-by: André Draszik --- Note: MAINTAINERS doesn't need updating, it covers this whole directory v3: - separate DTBs for Pixel 6 and Pixel 6 Pro like in v1 (Krzysztof) - override/extend nodes ordered by label name (Krzysztof) - name common include gs101-pixel-common.dtsi instead of gs101-raviole.dtsi v2: - use a generic gs101-based Pixel base board DTB with different additions to it that make up the different versions 6, 6Pro, 6a, etc.) using overlays, rather than one DTB per version to avoid needless increase of binary sizes and reflect reality - switch to memory-region instead of reg for framebuffer memory --- arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 284 +-------------------- .../{gs101-oriole.dts => gs101-pixel-common.dtsi} | 15 +- 2 files changed, 14 insertions(+), 285 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts index d3dd411c9bd0..8df42bedbc03 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -8,290 +8,22 @@ /dts-v1/; -#include -#include -#include -#include "gs101-pinctrl.h" -#include "gs101.dtsi" +#include "gs101-pixel-common.dtsi" / { model = "Oriole"; compatible = "google,gs101-oriole", "google,gs101"; - - aliases { - serial0 = &serial_0; - }; - - chosen { - /* Bootloader expects bootargs specified otherwise it crashes */ - bootargs = ""; - stdout-path = &serial_0; - - /* Use display framebuffer as setup by bootloader */ - framebuffer0: framebuffer-0 { - compatible = "simple-framebuffer"; - memory-region = <&cont_splash_mem>; - width = <1080>; - height = <2400>; - stride = <(1080 * 4)>; - format = "a8r8g8b8"; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - pinctrl-0 = <&key_voldown>, <&key_volup>, <&key_power>; - pinctrl-names = "default"; - - button-vol-down { - label = "KEY_VOLUMEDOWN"; - linux,code = ; - gpios = <&gpa7 3 GPIO_ACTIVE_LOW>; - wakeup-source; - }; - - button-vol-up { - label = "KEY_VOLUMEUP"; - linux,code = ; - gpios = <&gpa8 1 GPIO_ACTIVE_LOW>; - wakeup-source; - }; - - button-power { - label = "KEY_POWER"; - linux,code = ; - gpios = <&gpa10 1 GPIO_ACTIVE_LOW>; - wakeup-source; - }; - }; - - /* TODO: Remove this once PMIC is implemented */ - reg_placeholder: regulator-0 { - compatible = "regulator-fixed"; - regulator-name = "placeholder_reg"; - }; - - /* TODO: Remove this once S2MPG11 slave PMIC is implemented */ - ufs_0_fixed_vcc_reg: regulator-1 { - compatible = "regulator-fixed"; - regulator-name = "ufs-vcc"; - gpio = <&gpp0 1 GPIO_ACTIVE_HIGH>; - regulator-boot-on; - enable-active-high; - }; - - reserved-memory { - cont_splash_mem: splash@fac00000 { - reg = <0x0 0xfac00000 (1080 * 2400 * 4)>; - no-map; - }; - }; -}; - -&ext_24_5m { - clock-frequency = <24576000>; -}; - -&ext_200m { - clock-frequency = <200000000>; -}; - -&hsi2c_8 { - status = "okay"; - - eeprom: eeprom@50 { - compatible = "atmel,24c08"; - reg = <0x50>; - }; -}; - -&hsi2c_12 { - status = "okay"; - /* TODO: add the devices once drivers exist */ - - usb-typec@25 { - compatible = "maxim,max77759-tcpci", "maxim,max33359"; - reg = <0x25>; - interrupts-extended = <&gpa8 2 IRQ_TYPE_LEVEL_LOW>; - pinctrl-0 = <&typec_int>; - pinctrl-names = "default"; - - connector { - compatible = "usb-c-connector"; - label = "USB-C"; - data-role = "dual"; - power-role = "dual"; - self-powered; - try-power-role = "sink"; - op-sink-microwatt = <2600000>; - slow-charger-loop; - /* - * max77759 operating in reverse boost mode (0xA) can - * source up to 1.5A while extboost can only do ~1A. - * Since extboost is the primary path, advertise 900mA. - */ - source-pdos = ; - sink-pdos = ; - sink-vdos = ; - sink-vdos-v1 = ; - /* - * Until bootloader is updated to set those two when - * console is enabled, we disable PD here. - */ - pd-disable; - typec-power-opmode = "default"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - usbc0_orien_sw: endpoint { - remote-endpoint = <&usbdrd31_phy_orien_switch>; - }; - }; - - port@1 { - reg = <1>; - - usbc0_role_sw: endpoint { - remote-endpoint = <&usbdrd31_dwc3_role_switch>; - }; - }; - }; - }; - }; -}; - -&pinctrl_far_alive { - key_voldown: key-voldown-pins { - samsung,pins = "gpa7-3"; - samsung,pin-function = ; - samsung,pin-pud = ; - samsung,pin-drv = ; - }; - - key_volup: key-volup-pins { - samsung,pins = "gpa8-1"; - samsung,pin-function = ; - samsung,pin-pud = ; - samsung,pin-drv = ; - }; - - typec_int: typec-int-pins { - samsung,pins = "gpa8-2"; - samsung,pin-function = ; - samsung,pin-pud = ; - samsung,pin-drv = ; - }; -}; - -&pinctrl_gpio_alive { - key_power: key-power-pins { - samsung,pins = "gpa10-1"; - samsung,pin-function = ; - samsung,pin-pud = ; - samsung,pin-drv = ; - }; -}; - -&serial_0 { - status = "okay"; -}; - -&ufs_0 { - status = "okay"; - vcc-supply = <&ufs_0_fixed_vcc_reg>; -}; - -&ufs_0_phy { - status = "okay"; -}; - -&usbdrd31 { - vdd10-supply = <®_placeholder>; - vdd33-supply = <®_placeholder>; - status = "okay"; -}; - -&usbdrd31_dwc3 { - dr_mode = "otg"; - usb-role-switch; - role-switch-default-mode = "peripheral"; - maximum-speed = "super-speed-plus"; - status = "okay"; - - port { - usbdrd31_dwc3_role_switch: endpoint { - remote-endpoint = <&usbc0_role_sw>; - }; - }; -}; - -&usbdrd31_phy { - orientation-switch; - /* TODO: Update these once PMIC is implemented */ - pll-supply = <®_placeholder>; - dvdd-usb20-supply = <®_placeholder>; - vddh-usb20-supply = <®_placeholder>; - vdd33-usb20-supply = <®_placeholder>; - vdda-usbdp-supply = <®_placeholder>; - vddh-usbdp-supply = <®_placeholder>; - status = "okay"; - - port { - usbdrd31_phy_orien_switch: endpoint { - remote-endpoint = <&usbc0_orien_sw>; - }; - }; -}; - -&usi_uart { - samsung,clkreq-on; /* needed for UART mode */ - status = "okay"; -}; - -&usi8 { - samsung,mode = ; - status = "okay"; }; -&usi12 { - samsung,mode = ; +&cont_splash_mem { + reg = <0x0 0xfac00000 (1080 * 2400 * 4)>; status = "okay"; }; -&watchdog_cl0 { - timeout-sec = <30>; +&framebuffer0 { + width = <1080>; + height = <2400>; + stride = <(1080 * 4)>; + format = "a8r8g8b8"; status = "okay"; }; diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi similarity index 96% copy from arch/arm64/boot/dts/exynos/google/gs101-oriole.dts copy to arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi index d3dd411c9bd0..b25230495c64 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Oriole Device Tree + * Device Tree nodes common for all GS101-based Pixel * * Copyright 2021-2023 Google LLC * Copyright 2023 Linaro Ltd - @@ -15,9 +15,6 @@ #include "gs101.dtsi" / { - model = "Oriole"; - compatible = "google,gs101-oriole", "google,gs101"; - aliases { serial0 = &serial_0; }; @@ -31,10 +28,8 @@ chosen { framebuffer0: framebuffer-0 { compatible = "simple-framebuffer"; memory-region = <&cont_splash_mem>; - width = <1080>; - height = <2400>; - stride = <(1080 * 4)>; - format = "a8r8g8b8"; + /* format properties to be added by actual board */ + status = "disabled"; }; }; @@ -82,8 +77,10 @@ ufs_0_fixed_vcc_reg: regulator-1 { reserved-memory { cont_splash_mem: splash@fac00000 { - reg = <0x0 0xfac00000 (1080 * 2400 * 4)>; + /* size to be updated by actual board */ + reg = <0x0 0xfac00000 0x0>; no-map; + status = "disabled"; }; }; }; From patchwork Wed Jan 15 16:11:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13940609 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 18E301B6CFE for ; Wed, 15 Jan 2025 16:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736957477; cv=none; b=K19+B16v4839fINtHbmaMnKKmxyvmJ5XqJbOf9mV1HZV3aqe8KGJ8gwD2Iw/FqSkRK602VWuLMHTdOupHFUZ4qI6jxc1FQVkSicF3+4fOMJJQST05RBMQ1L69QataVCeWfXtXkmO22ttpZ7DlexKaQo7YptrPMOBQ32rtJ7+FVg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736957477; c=relaxed/simple; bh=l+s75NW0nEo9AS9gIRHhQuLeK1gPacQ/TcfCbcLQ9N8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dGAvbJ5dycjh3VbCP+/gzXmLYnk7qXSjqXvfoS9C+UFBsdFBgXlRaWAQanNWFmqvQXw+LNz8SHFC5id7RjdArUWjFvR+ZfLGYHKcCyDH/CpCc/PoXZptXU8jSPzDslij5E/adYXQptxloxvcIbgwsaHp5IhuROC+dkEVoS/xtrI= 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=qyCWDEfP; arc=none smtp.client-ip=209.85.208.50 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="qyCWDEfP" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5d3d479b1e6so9652780a12.2 for ; Wed, 15 Jan 2025 08:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736957473; x=1737562273; 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=o5pQlUERu30P4Ba0NRUoDkbhX6SQEcjoIl1O/J3MOl8=; b=qyCWDEfP6f4lNDOYFI1pS7/QCgB7jBv8Q2oLX/shKdLB/bO4QbpYWRjTx4I9Qj0Ppj TWywSWW+eLhT9V8/fculES2x0YOUHssh9LD0IqNhCOfD/QFckaXbkMW5jgg9T/lKvoaX rpjPck2edGK8ts/0sEAtlMAYA95zOOIb8ANOnYsyUlcCDFQq+hE3aX2muET4sPjpDzr8 xTM8yLXENk62Yqy4df7PLM2UX0g1SPeqONO4YgXijKCF7ZrDyBXWz8/oHMCc7OSGHQQk WC5LujX9X1iqdKMzW9IiJXGc4ru2iKpFy6CVxZcv55ALlfHqUBOLzNXpgF4qxGmVRrz8 Dmug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736957473; x=1737562273; 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=o5pQlUERu30P4Ba0NRUoDkbhX6SQEcjoIl1O/J3MOl8=; b=gevxNJn7GqyJpmbSc3Fxc+Pa80hWwKb4oGeK/R3XnBRlol27fmTxx4llvOoiTNmrV5 QvSrO4kIw2QbjuYXpZQAerEcxaAkmPQPxJhfHU2YK+sgDsrq5QGGodzwo+POAJfInu7b AjXDUjAbWEWQIl3hh47xNM222vBzKg4/0A7aDdBd2tznNwWaY5Hd61NRDG6y1QOTpSnM dknNjSVjnT6xb+bXhUZmqpwU9wN6RanJx0K/KY2Dn5+Nv7DfNEkF0RK3qn/WTmWNrKYj UNjP3z9zRfLGcyAh2+XMW/WrJbtPNa0rmba4w1HHGbT3b08reJjYUiQnGgtVYhkSktbQ 8JbQ== X-Forwarded-Encrypted: i=1; AJvYcCXgAbT7dJmzT2Q01eOje0pY6nfqPtEYtjuLmg3ljdAROdmEfvmJ1XTKz+Gf39v0ZObhS6SQXW4sRHJDExhnE0I6Ng==@vger.kernel.org X-Gm-Message-State: AOJu0YyoV/hJu9rHh7R8vl6HULBkNaILiTwmIaMrFhjGgBHQyfUsIFXM tIZGhqQDOIYZXJaShFJ4J2ggvlflzRSQSW2yphUiTpVT5je1fnQ9uRF2nllREkI= X-Gm-Gg: ASbGncsTawBEukZzOGoqjegmxYHOtMTmhIqilREr+0/AMq5zY2WNQebmHPpL0zueQTm mzZZy8yRiYnSXzMDrgm8WV+/83n7mV7MNs7gTtX785gKzzhLq/QbMIPAmlVXj7wWS2fmR7hsGNb c8g8a1xwKt2/WCDj4zTh6KVLh9T1A9GrzuKcgOjvqrdlKaebsmGdCSZIAi9GXp01p4691ZPmA+K rid22lDttU0z4p2l0XRtuq4qFOuIAKFK8l5k46zGiUIRtuyjQ3JEhPjCEuNZDyljxG7CQrHXLG/ cLeBr6WudTtI4PyMS2dPhn/3Rw7yzaWN333ZOuoX X-Google-Smtp-Source: AGHT+IEk9W6AJ1Bfki9sNMYgrASoIkC8McdJI2hZtNgAUOMLE5wTU/s3opZMrauV4el0rFXtouBevg== X-Received: by 2002:a05:6402:3489:b0:5da:1263:306c with SMTP id 4fb4d7f45d1cf-5da12633426mr4994787a12.10.1736957473227; Wed, 15 Jan 2025 08:11:13 -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 4fb4d7f45d1cf-5d9904a55f9sm7416232a12.81.2025.01.15.08.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2025 08:11:12 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Wed, 15 Jan 2025 16:11:12 +0000 Subject: [PATCH v3 4/4] arm64: dts: exynos: gs101-raven: add new board file Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250115-gs101-simplefb-v3-4-52eca3a582b7@linaro.org> References: <20250115-gs101-simplefb-v3-0-52eca3a582b7@linaro.org> In-Reply-To: <20250115-gs101-simplefb-v3-0-52eca3a582b7@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 Raven is Google's code name for Pixel 6 Pro. Similar to Pixel 6 (Oriole), this is also based around its Tensor gs101 SoC. For now, the relevant difference here is the display resolution: 1440 x 3120 instead of 1080 x 2400. Create a new board file to reflect this difference. Signed-off-by: André Draszik --- Note: MAINTAINERS doesn't need updating, it covers this whole directory --- arch/arm64/boot/dts/exynos/google/Makefile | 1 + arch/arm64/boot/dts/exynos/google/gs101-raven.dts | 29 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/Makefile b/arch/arm64/boot/dts/exynos/google/Makefile index 0a6d5e1fe4ee..7385f82b03c9 100644 --- a/arch/arm64/boot/dts/exynos/google/Makefile +++ b/arch/arm64/boot/dts/exynos/google/Makefile @@ -2,3 +2,4 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ gs101-oriole.dtb \ + gs101-raven.dtb diff --git a/arch/arm64/boot/dts/exynos/google/gs101-raven.dts b/arch/arm64/boot/dts/exynos/google/gs101-raven.dts new file mode 100644 index 000000000000..e982c87402a8 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/google/gs101-raven.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Raven Device Tree + * + * Copyright 2021-2023 Google LLC + * Copyright 2023-2025 Linaro Ltd + */ + +/dts-v1/; + +#include "gs101-pixel-common.dtsi" + +/ { + model = "Raven"; + compatible = "google,gs101-raven", "google,gs101"; +}; + +&cont_splash_mem { + reg = <0x0 0xfac00000 (1440 * 3120 * 4)>; + status = "okay"; +}; + +&framebuffer0 { + width = <1440>; + height = <3120>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + status = "okay"; +};