From patchwork Fri Jan 17 17:09:54 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: 13943658 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 9952E19E998 for ; Fri, 17 Jan 2025 17:09:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133801; cv=none; b=Whwh6I1E5Ps1UHF/d3pmrQnyNeThxGmcOMyDvqyZPnqu6WO7W38/LMNqccvyvEj+96l+rnH3y4/qt90Fb8vlJ0QcBNGbXizfVCrnLbW0BoFcaTkRx7YH987EG2SX71Yh+ODk1aG+T1ov5jJTU0qDRk5b1ub0qCNGnFU94cuScMs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133801; c=relaxed/simple; bh=QUweSS7Ezk07GROe4ptc2JCbOPNeoO1DPWPu/QS6yU0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qg+5OX2Ih/XRf7nk11YwoVgJZtU1Qe2qLUK0ckm1pd5YZKDrYCQbmFuMdZp/ADqNazEqgXakmjUwGcW0wTwk4bjFvMOzCJjIpQBPjV1AJdLZRInCwg6HEHqPrSJf1O/iITsnj9oZFOffbALQT9BcEI39RhhnKzK08d1/OHhT6eI= 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=j3xDIggR; arc=none smtp.client-ip=209.85.218.44 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="j3xDIggR" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-aa684b6d9c7so406174366b.2 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=zWj3M8A+8QkmZTCPt7r4bM5zsk4erApcDBVhUj+B4N8=; b=j3xDIggRY/fySTQ3youNGWQlqFcHgy4wol/PyZq9NBv5euBr6ULML8Vqscy13+N0O5 c3mBPPoJnRKwDVRqhux/7UskNZ/ITsIwPpxxbAHtAFUWQMrUQHM05D7KaJFKfxs7o0Mh fWN8Hqk2uGBOpGr0TYJrlOkHkmQW8x+3rcz5FZK49Csz/Yt9GhNo9wHKPe1HrXSI1KBj zHJ8WssJrvYr7ClNewg67+2NxUBH9w2VOVdWYs/Txxo5dDXn/Xr9X6O/nMCJ30ySKV2J BYsW61kp3IjW2lLFiixnK5OCW6gEe/baK9qBh2KDWjkidkUTAKQUB2JYxEvgDwdfAA47 n0og== 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=zWj3M8A+8QkmZTCPt7r4bM5zsk4erApcDBVhUj+B4N8=; b=VEte/uFcMruXYz/fkd6b1fQxyBo8pXEMQMQ22HpSW+28rbaKsVTWSxqr3yQogTjBiF 4ueyb/JLJzwkCqBXfwqoZ7stqq5SGYxlDl7xoNgmf0/g3JTNBByC1Azu4vS8yzNc+wB1 dw3UaXRYQvPpBZpAmvbqJJqGVv2OdGMvvajItzWo7WGznmKhftM0t7qcQOSYM5MkXQsz 2i4OZ+oGfQRDmk4h+s29tk0kOAL+tHemb8GQLNMkYyXdkyDtkvFNUYssD6vRafOj9YuZ bpDq+NgKh9UtMl+w0/CxpKunF+Ub8QfvXy8JrcRTE+MTA9MkYdpM1vbST1UDuBCLNNWI VZCg== X-Forwarded-Encrypted: i=1; AJvYcCUhvfDKTIkv11Z6FHq+WXUedBgDaCgJcnLTvInJAVVx/3XL/L2tlebbj1c8EKlz3pKy0mRo8vMSW+eWxiUdXGtmxg==@vger.kernel.org X-Gm-Message-State: AOJu0Yz7RD1QJ+fYL4UYVPPyLJA/edcPIboviiIBCDpAGM4qZeS0zE0T gVIEX9/Eoaxb7bO4HZvEWPsu0dm7pJSYsB+1XXShpjrc2Ih1zE/HS5V5vO/wiUB6SnPju1s3CkP YX6s= X-Gm-Gg: ASbGnctmHxoGVPk4gjJaaR5517odoFC/b9EyMTK+xhxTqmbfa+RjLMzaRah02zwI7/Q ynZCBvzMgl/bMX+nKCdzmNVO7Vg9F3sjwbzBKbZ7t2G62BVcv+a74wCX0a2YsVLISdSqkYBuXPy 8b36xjmz6uERCGF0204Ej5Zzunwt5N/ZJVNOoEqkZYBChNNUMZxe+izivnl/aQlxW3noIxJnrXv p/9wTTcmurLxsfnaeoLHQqemHzcZPISAQvsuvGts1/NgF0Wzo+yQ240Ye5fNAjOSHbBjiiQZ90L pBSVO+/ehQjxlfRWhu1uYQhj30jxQTI6yaXI69ru X-Google-Smtp-Source: AGHT+IF0L7i4EpVSgd88RVC/tmSVBf4b8zhHMKBwJVkEIlZvmd5oRM2kNs+UPF0xzIQ5t2bc6BiNnw== X-Received: by 2002:a17:906:c143:b0:aa6:8cbc:8d15 with SMTP id a640c23a62f3a-ab38b10bacemr299713366b.14.1737133797895; Fri, 17 Jan 2025 09:09:57 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 09:09:57 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 17 Jan 2025 17:09:54 +0000 Subject: [PATCH v4 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: <20250117-gs101-simplefb-v4-1-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 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 Fri Jan 17 17:09:55 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: 13943659 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 4EC5F19F487 for ; Fri, 17 Jan 2025 17:10:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133802; cv=none; b=PqB7mGMMrOGjUoFB7hXScAgPWcuUqySaYOyXGEZznlMzkiLvdeDwU96Isg7LB4xOfD5bhquYjEOK2veNDNcG76Y2/sLncKXYlSCLbh2GM1UDrf4p/yU98lXUI5M+0rBJ5XwgWDHKPg6ls4hmaB81SjBeI7AJpIxgtrI89DFFJ2M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133802; c=relaxed/simple; bh=rQoO8RKg4WTsMiIUSVBxqtIekUiWXYwM6p1WeORMqYA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TCVimsGaR+/4wj+XfzCiSI68RwaWbC+ij1TXbrTYavz/d7zUWDVuoq8eZQbS+1OGH3ePmnc4CMhQjdZf+DLTB5MXm3yaiXAMC33aqnt+jdymFXt5FduKl/Qlf9sR6otRTdF1X6PwGnVjB7+UBaMMPh+y/NYL9r3s0wZXLYtd4bY= 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.46 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-f46.google.com with SMTP id a640c23a62f3a-aaf3c3c104fso452817166b.1 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=oNcliSzuSha9GcD462EkkPjrTissFBhhBfrjyxfzsix5YzDwtR7CeQ/PnycQItdg5h Bs1RwdVYpfG4E+y3t7n931pPmMcVY7VeL/ePnLWsKy+7QpkgmLUZ1Chca1SWJKx/E+Co rBY4eHvFZxKJO4jQwt3jObvJ3ubC+dcGAh/O8WSyTdBUT631CQVUiiqxXKwwKnpbIWiJ xWHLkrrixOJsRX2wRWZwM7SxcYApZOmH5hSCXXewC5SdM/0Wr4iKGE4Z3OWkh160+Szv WRBB18IXZg5QYHq4Xp/eveWJA43pqWjBpgIdO39ES1QUWdmncysq42m9sej0paUs4EpD OAAQ== X-Forwarded-Encrypted: i=1; AJvYcCUuDqiqgVJMvuMuvnJAGcRTqFwNGy00QUCP9bk/wGr2+OjQqyO/k81D7g09lwzJJQ96djUQtLJ1TeptS0CjFUB4kQ==@vger.kernel.org X-Gm-Message-State: AOJu0YyOzewiDWqoFMBnUejbfCc54w/qIKqF2TNgeOBVp/bmgaNc86Fy HZwFfLICzalGy4hW2fwkFFsT1dP1e6mHB32ZXK3jVxMEsDRlGrnV2wsnyXeSJRw= X-Gm-Gg: ASbGncvf+xJAJeYySs4/KxHXrSMkk7C1LU8kyfE18cT8CEef8cN1eYTqtFK+Iu1SGYy ni+a1uRgYH2rpjC+oDCCsS7d+/54thB4gbkY+KkCbmwzY1sQtZpaDqbks+a4dID795tXUX46QEa w/7bJg3SQAesxsh/hXgp1IXieRklDsWjPW0onQoMpiIKo+kWGgI016tCOx7qFp8o+3bqwpd1SG2 E6J5EoGwJMrlaP+zHS2GLo+QNmtltLtc2VOsgJc3QAeNzVZVKUq5FIAbq1Vr8j5LDQJCCIjoYqy ksOVdYRNn8RoGhiwwb/hOIX+3lP1fmZ1f+PpM3rU 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-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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é 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/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 Fri Jan 17 17:09:56 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: 13943660 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 9452519258B for ; Fri, 17 Jan 2025 17:10:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133809; cv=none; b=ZmC37duKhO5RZTWpjtswsISxeGLvTkkMrIk4pNRl81AdoWGg4sZuxhkkgaQG+xAq91t9rQ/36ANi9oJ9JoCSKoMk/egm1r48bzXX6SM9D/i/lvMAzKR5emSJMrmukqfEF+1SX+T1Nk2Lj+T3AqzsBBMdnNgozZfq7FiFJ1vwW1U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133809; c=relaxed/simple; bh=kx7ZAfKl58JGTsnJABVXTvUq2/3fVBMwWMuqAnQSIMw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JPLdh09YJTIFLSa438ORZ11vuaNUGRT4zpcxJNJgvXa69yMgELKVAWGlJkH1DMGPATTDwF+DvpB4THWq4dPu7j9rfEl0C92ei1AZ0rLEW//vVvSaQ9ONb3SGwR5Rh6tkjXDU6hS9B98TgJHKF9c87Qy+5KWeD6sYOl1W74rmYwo= 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=Iwm5xd8s; arc=none smtp.client-ip=209.85.218.48 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="Iwm5xd8s" Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-ab2b29dfc65so354054766b.1 for ; Fri, 17 Jan 2025 09:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737133806; x=1737738606; 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=Iwm5xd8sf7Jnkry+PBBTRjr6X2mv1oBiBwrLzZrM24YtGJHBCEWFIYXNIxpK1m+Dz3 qDh2dXZPk2hA3tkqC0bo8B/zm1uqTHWd59h8fsvBWXktD+em5kq+AKOhNzthnm9JEnDp sir+8dgStlYIBO5kkgaDDc5/uvSTSgUoEBDyw7n1UwMuSqd6A0sh//uaN8O6PSTUuMFn F/ZdgI0k9/cuu5o/EitE+OmPU7a4YezpZw1IRaF2GFV8Jewj7wN0onojRAIFW4K+q8v6 gjWasZso1to75nOCQtPdiJ0TaRCaU3/Qx5GMrx0lnJEyCpS5vnGX/uno4nZ3bUj4Z4FR 0THQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737133806; x=1737738606; 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=wGXP6EnBsGW67BL2snps3W3/o+oSwh/FZapD8+gehyZ9Zrn3Ly3bQ5JQIyBVfqEznA +Qzc/jP9stvYM1j+MG8Z6m1oMw2zj44S+vketj9jcLA4CJf254P44esLOBdSkZEenep6 3eqjW5RdEsDk0Tt8yBbM6I6Kmto/FLktYsmVluCmGf6wyfn832RykT+S6YMvfmhrmyk8 i7MIcfoEpoM9fAYI0IVIxWLAQKYuRLMrfQyrObY/FAgH8thxk+49enGL7BcZSxZf8k/x glnESinKFrDUHiH3pLQGfmJsV1mqFXj8o6dLw+SrJadtePt1s+PQdLULyU/uKWNCJHGL jUtA== X-Forwarded-Encrypted: i=1; AJvYcCUVtJdf09Zzbtymnr8OUmSr/2D5vjaWOHFS0j07Fj2SLYl2b7ehrzYM1lC40hReeV+RPxKCqZGXZZqpZQbq2jslyA==@vger.kernel.org X-Gm-Message-State: AOJu0Yx3c7eGCqHSsH4vC6rsLhyYLwCLFzMEwKmk0e7Cf2CyNF9x9rAN DFwwEJT5b1OmBw/qfmxlip7AeapQiPYTOib6Ndk+9XMxmC3+Q2OfqC8GmIaOEB8= X-Gm-Gg: ASbGncuy3ht5tyOU1+nCNnwB47aPg+Bz1C7F/KMLnxkeA92QL/UpgIVQj57vAPPEVsF +g/ccxYEZ+O5HohmEAVP9Nz6LGcOIXy8Y9n90NA3rteSR6d7UpZ87e2poMLm2+vw0ehdm2YJo1G Yh9p64kwP0sAzNiyMM5Tpy0xk4Mbjx55hWj5n5j4tDcEZ9LOkMV9kz7H85MBnh3+VOoI9j3UJ5O NFhv1BTDbkXFa7sIAJf9pcvNar4AQlCiz1XMFqwlVHpA4SPRXgQUvnpVzZ8WSA8ttD5VDYEkubN cjjZRQYnZmPATduO7xseNXVwIXuVrG7SFToIIod8 X-Google-Smtp-Source: AGHT+IGO2k9zmqpedfG17qLS9EqiIeFYPlFsb7tvN+iv0GH4peIlK9YZK62ZtqRxsVP1aji62RVIHQ== X-Received: by 2002:a17:907:706:b0:ab3:2b9a:4a5a with SMTP id a640c23a62f3a-ab38b3c6a1emr357999966b.51.1737133799124; Fri, 17 Jan 2025 09:09:59 -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:56 +0000 Subject: [PATCH v4 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: <20250117-gs101-simplefb-v4-3-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 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 Reviewed-by: Peter Griffin --- 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 Fri Jan 17 17:09:57 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: 13943661 Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.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 2BE881A073F for ; Fri, 17 Jan 2025 17:10:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133810; cv=none; b=ll+dnf+nyLfNInQPQ+Olf9TpVJqhK8fycTYnN7X/ui3DaBkc/MiOLaycEVY2ZUaFrRJHkpIVHqWzATkE3RTUrTap0+Vi+dUR6q90U/v9xP6YhSfneWwwxbuI0MUTUz6uEV1HvtIPBHQU8YYINq4qWhp0TQMrKqn7iC/egqQwEp4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737133810; c=relaxed/simple; bh=QcoBk54ADv3E4qGp07gJ7p7VjTjm6Qq94PMxOHGm3FM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GLUBOythCOvtWHpqCSvswUtao/wOcdBJMJawEP/6GnoygAbhj4WNLvsTVuRDLj6eH2pbDJXuSWwKo/wF3aVgQKFcggH5RffZjLHJTuk7wSGnc4sPbhVxtU6dm2SF2eZL/hCVwhd41aukJddSCmGL+g5PRdBs9dMM/O9iXzsE2UQ= 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=wAHE1382; arc=none smtp.client-ip=209.85.218.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="wAHE1382" Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-aae81f4fdc4so463783866b.0 for ; Fri, 17 Jan 2025 09:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737133806; x=1737738606; 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=s85R3yVSuNjwngZj8e21pKm72hiISate8KTU7XoNJnM=; b=wAHE1382O6U0c/bain428B5+ZtJlo/ffFxA4na8nGyvS4z0rQ+A4Tt43YyKtIcaI1X wc5ohDoZ5V7096YeWpxMf+n+1rg6BFMmZZillo0GO2vM/axwfnkuSGSIOo6zf9/E70Rp d7Zc1z8LcxO97M0+1CU68/MxGH7P6igXMnG4fJLgFCV6/QVKp+do2OdapgZU3ozOqNKe czvfAoXC9voxgO77/owIAH+DmBZkMvvEYU1B4Ixhlib0Af8eIXkZzJDRxSl4hJVCcwwW B06kTP79btZ8PP4LJMYtnZBQ8rZbhFGlhCsXpLMVs+8KcxGCF7qB8viVNV9qZGQTMnjo UbqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737133806; x=1737738606; 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=s85R3yVSuNjwngZj8e21pKm72hiISate8KTU7XoNJnM=; b=IouYE4wRQFW1tMgCDMNtGvoC0EF9gG1Adu60FVpQHOgV9Z9Hkhl1GgikIqrx8R+Whu BZSd8sAgxSzcxS4jwzb5yTqU7d4xIIm7VQ4ZH7kAbdfsO3GPcDolBrqYZIfdDvY6mjPZ 4eb6KKTpUHRutG1p6Sz9fEbSfNWURDQJKvPAcaF90JurCiw0Otn0YkZ1Xx/zGZVIkG1m q+oRJadg3uNH+DwjDHYgN3/2Fz+H4h9lGdT0pHPBKQZZ54C3TcOyynvPF3YH54K9G9wG 16xmPzqdjJ1fQGw+GsFJmj4KjzDJ1GpIoRd2pZb14HbPMf3e3OUqTYhB6FJIYb1YikS1 4h4A== X-Forwarded-Encrypted: i=1; AJvYcCUt2CkTlW0W7+b9dyW+UDB5TfNd67Z09S7sl4HfNJNYjcG4ejrwMJGeogrMBeNoWuspTElFcuDaei410cv9PzG1/A==@vger.kernel.org X-Gm-Message-State: AOJu0Yw+3KMUdLfK+xjjlCNn7GiktthirfR5IquYOa86q4suLdGBq4OJ oVFwsMZSvcfiwSfBgFMHDIJaYrC7J6lZ8gJX8bhXyYMnuRVgfgrsQeTkvkAg4/g= X-Gm-Gg: ASbGncut9sv5uDCHIt+GOavuT6JVNhOdDt/3QiJXSMYZi1Ud/XR3b7uD/c6cWOgM8WP 03ukFl4PdzoA2+5tiHjgdvmkodjZT/qCpEhjjQZ543vLQsUaY88OScZ9eQ5tPhLE557dXW0lS5h 1Op0MlyzhwLdL0vmh1uWl5b6y17CRqHKahb9W+IIyM+WtWWPk5IUkpVg8C6rPhWzYZ6nxscbRZA n8iT9PxwX04elwFxOUOKUOD+LBaWhJ6u2F6QgqusEGeXi8Eg3A9vr02CkjquqvktFKcG4OgXQdJ qPA8V36zIGvgoUI/xHUDhbZCb4k1tbkJJO5pUpn5 X-Google-Smtp-Source: AGHT+IF3lyD6ENeo+kfAD9mp5xyQb07iN5gPpJzGtPJfuC6X1w0JFQBCoLxFgjtL2UXjDVhReGYI4w== X-Received: by 2002:a17:907:7fab:b0:ab2:c1e2:1da9 with SMTP id a640c23a62f3a-ab38b4c6ac9mr362313366b.51.1737133806461; Fri, 17 Jan 2025 09:10:06 -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.10.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 09:10:06 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 17 Jan 2025 17:09:57 +0000 Subject: [PATCH v4 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: <20250117-gs101-simplefb-v4-4-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 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 Reviewed-by: Peter Griffin --- 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..1e7e6b34b864 --- /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"; +};