From nobody Wed Dec 17 19:36:07 2025 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 2BD992054F0 for ; Mon, 16 Dec 2024 13:06:28 +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=1734354391; cv=none; b=u83xCv9MBhNtDq1JbqeEfAgVv1QJNT/gVBzlsIXgI57uAhKD+cqzZMMas9vLBziS2IF7TrMK/DZp07fOxLN7NAR0B6pQFIY//Ib2KyqEJ44t0BLE6ljXYdvoERH4IPM20Yk3N/mq87gGJqiTzxZad+8XTRhUE33Mi+b4NtSX1pI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734354391; c=relaxed/simple; bh=Svf/2mTvMUzm93AJ73j/lWNGd+x0CmjdkKQDOXkCs1s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G3notXEM5yhg9b0mEOKszg2PmYaNTeEPOkDlzQrs2tAEj+EvqctuPg+oPT11Nk3XRoWA09E0SYrqTn/m0jMCPqxymGjCswUB1VZfxs65Iad5IhyczeQtns5nujnb68hRorir7FOPhs7XqPAjdY9zD5vXQcAQGIKs0ATWwPl1b8M= 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=LwsrWjjO; 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="LwsrWjjO" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-aa6997f33e4so634795766b.3 for ; Mon, 16 Dec 2024 05:06:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734354387; x=1734959187; 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=Exe9dwySnGZoKQ0X6jvc3tMxyy8NWCLxusuFPVGkXUc=; b=LwsrWjjOTWs4+8a5LK6xrzZ6Lg5HUr5s6BsWYVFTm9j1d3IEjkqz0UfWE0JmIXS+Ow l7CJhyAaQYfZrr3nl3dqhbiBhCxPw3uRFNuK+5la200MHsjxUTgcErkLmTk5YSZsmXB6 D1JDyMKMOGvASxbHHX73R6l/eZX3q7+AOJgZ7tR4uFFXmt7uYxgMvZUX/cdhFsA87O/k M5SqI2j6potMouVo4ze12cEisoSHX6BvOYwrH5sgu1Dn7hCnzDVAlmBK3WSKytFh724K T0OBgtoHKHH81W/jKDQy5lI7+6x3XYv+8fgzOeBODtSndrzYLPR5YRNN9d/N0fC/OH70 NjAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734354387; x=1734959187; 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=Exe9dwySnGZoKQ0X6jvc3tMxyy8NWCLxusuFPVGkXUc=; b=Fgj9WwfVWtH7yIAoDSpPBZYSUujsp3EZ9YlCoqAmwtJlbfzwmGDzY881xkjVcRTAsW ddAR4AI7K2int6mQa/cUofQ0Y9TmkNEUp3ebYPRUWOkH9RkxK55k7RVNtOXNCl18yAKc 6Ymiu7qFmUILHUNdk8yU3YTB89jU1ztOJrT+DqhP/lrqDrn8jsJGSKgtX42TsC4/r4w1 3mOJncTu80Cnc+arglgqYzg6fq2Gf1SUy4Ygore7KDvY9pLUcobzPi8e/54P3vssYpn5 3lSdDF0IDODFPG4wI4EeNGWFO2hde0qCiIqj4B66GO0dLmwNzGS/L4R3OqJxUA9QcLju 7opw== X-Forwarded-Encrypted: i=1; AJvYcCUdGjih3VDEO9cA5vXRITY1pnZYvNoFMPgFW5I5ob2RvugUx851D6Cfesd5MpbN83NkTht6CaeMzE7QM1g=@vger.kernel.org X-Gm-Message-State: AOJu0YwG/+6sSqCl97Rl00+iBNxe98bMmW8GeYOxA9Wywzk1610T4UAg 1LDiuENmzyJ1DU1uMMeBeUoJgck1JzKPsoqwtOH9mn/+C2/EV+czFsbsVKod8P0= X-Gm-Gg: ASbGncvEe+QK4uz3/onAobH9f8rt/5k2PrMDP1BZ+AXw2pRFnOQPLkGMUeTWcGQKvg+ +WXTSlrmWP1CBws0GGZMN1ZYY/XF9uGzbfF8RNRz3X7ONcjK2hU7N88BBmEQKjWJEGn01ojCif5 80nvwG0gX+VuQcbrP/m3oVXJ1tRGB9FnhL0JTaOeHPFZCQfOLqRgl5k9qZ8tkqrevQJ+4ReIdT3 YTy/M2wMTX9HsuLYqBj0YrB5ecDb20/KriJaVkh90EQpyDxhMdK3vWoeQi1RwqZdQD+/9V2rK80 5iwk/6JFQBIJP4Z2grQd5fah1J/tJJGh8soP/r7B X-Google-Smtp-Source: AGHT+IH7g2VjztEudNhKR5bGxsFAdjhgJPghCK5aQefPDo7GYqFTFAnMVFJ8tAQLM6OtNQ2IyoaP1Q== X-Received: by 2002:a17:907:94cd:b0:aa6:8a1b:8b74 with SMTP id a640c23a62f3a-aab77ec424cmr986404166b.53.1734354386928; Mon, 16 Dec 2024 05:06:26 -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-aab960681dbsm326648666b.52.2024.12.16.05.06.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 05:06:26 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 16 Dec 2024 13:06:26 +0000 Subject: [PATCH 1/4] dt-bindings: arm: google: add gs101-raven 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: <20241216-gs101-simplefb-v1-1-8ccad1830281@linaro.org> References: <20241216-gs101-simplefb-v1-0-8ccad1830281@linaro.org> In-Reply-To: <20241216-gs101-simplefb-v1-0-8ccad1830281@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. Signed-off-by: Andr=C3=A9 Draszik Acked-by: Rob Herring (Arm) Reviewed-by: Peter Griffin --- Documentation/devicetree/bindings/arm/google.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/google.yaml b/Documentat= ion/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 =20 # Bootloader requires empty ect node to be present --=20 2.47.1.613.gc27f4b7a9f-goog From nobody Wed Dec 17 19:36:07 2025 Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.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 93DCD2054F1 for ; Mon, 16 Dec 2024 13:06:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734354391; cv=none; b=GdkInHc8eJmyhJfytpOAycpadB2Hm8+jFCe5gUA5dlbq7Q9QIwUrDC/PPM2SFpjwrydn4nGI4Cmbwfd9NvPmAuLNd0C7b22VLr0nHSP1MthSQUQFS3cvr2qNlwelN1ylMjX+Lu7T0TY2Sl2k0mfXwZonarSEaq6XeGQ15IIRUDc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734354391; c=relaxed/simple; bh=sP9kaHRW7Lr1yZBGouXV8BgWfQ6bbZJSUKtXme/Z71U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=V2Q5kGu/Kh7srhgPIB3A3jhHZjbeZnWDu/0RudagLXOn3Od7jXTd1RjAmmAH6BVIV1vRNSVRUBIhdA/Fv4Nt5Xzhm3k/ck3hNWft7F1tNQx3/OWlk0xNiiK95O1iL+EMuTsRuhFjiJgBENkpa/u5DEDi2QxBVIK96pgLz1HQdrc= 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=iU24nqoe; arc=none smtp.client-ip=209.85.218.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="iU24nqoe" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-aa69077b93fso600556366b.0 for ; Mon, 16 Dec 2024 05:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734354388; x=1734959188; 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=0iXYAffnZPGtECXS58BWfoA0BdRGwpVmbASDvyhm7ws=; b=iU24nqoeuwIlQ1vAbTYD21Z6wuPWa6EdRzNKTtpAxkF454x7g/lKX/pdywKUYQvzq3 NKcGxKglqVchc6lbxWG1gOc2N9vTC1N8kiIoGJfdDtLZYjbBViCYsW9guyn2n8Kp8Cc4 3EpoC45YgKMYwyRWHp1MCgUK+J/JRG7vvXLxZcoCoVstnGreWFmw+dYuV4SGGfX3pvGK Pr/XhH9ovuEd+WsdeOUafb7+ILdEZQHGYCe6cdSSa0YSi9q9s+Q9HIjCRMWS582C24Hl V02FvxRq03Fb1p+d3l4968VZEfWK9h11U9qlObiWJG8zuakCv6H8fZ4/huhm0a+5cKFp ipBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734354388; x=1734959188; 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=0iXYAffnZPGtECXS58BWfoA0BdRGwpVmbASDvyhm7ws=; b=G8rr2MBiISHbafbm6CFGQGwWB6HY4zD+0MyWciVFpE9P5wWQpyNNk1xEOMJHuWMEup QTb+hfvSQQfACBa4zJQq5AAs3macLCW7mc42j1Oomie+rKHyZLadN2/kSdgujDW7fz2Y 1Iy9S9Avyw7vMxctoEaPSSIoCXfilQ9f1r5wK+6bWE+K0Su4WG+kv/jv8/iWOiLuXESx X9zb8pNkPZ1zeurjGQ4/Vwpsp/nrm7a98ljS46TK/x+aFt7ly0ysz0ldMIPkKqA9Uo5I zzC5q9ocWCyI1M3TWFku9HISdW0NJxRbsF7Ln0Lye17HHEyYNTCgv5w748jyGOpfGuTK Cfrw== X-Forwarded-Encrypted: i=1; AJvYcCVOigkZF04GYqyoIYQYKrf2kivwTyzI4ga0TihSszhy773rd6w0BBtyoXXW1LyEzJf6nr63oSRjl5hOnPQ=@vger.kernel.org X-Gm-Message-State: AOJu0YwTjPQZ8m4Nkn/xgk8t/Z5n+0NZLBgnGZOcm89gQhjXRvgrMF13 sAHc8C0zBraIiRaU2cJOLcDo602BVah+qoKktHllD23GikP/7Uae3CkoMouSQ+0= X-Gm-Gg: ASbGncvazhAn4+LCyS3i2JNevgUHTn1INyZWExrd2JJte4OzRpM7Ne2O1dhEX7P0CaK oa3YmWh2Y4tKZIvaCTnhp/DBOP+hzgV27l+qkIC7NIteEDvqImXlvqQ6QVxrc8zQRGJboBpmpEh YI5JYRz9gLAXhaWxMAi8W1tp3UC3Lhe//2oVHMmaYWJfAyASnPIsvb9ZO9+hv9bL/KgHImtkzLU Sc3XZ9+eaZdbraW1lWQRdxvI3iYzJKluBeKdXyQZAKaQJYVpP9u1xA47q90i8Gye2DGhF+OlSxz TguGtznQcttDRfGiUBD6YZ69YqRenkp8jKZy32Ox X-Google-Smtp-Source: AGHT+IHmRvbKYFM2gzJ/maU3pCLS3k+De0vwQVUzRJ/k1xRFMah4EErhor43z4R/cOK2YTYFrzuA+g== X-Received: by 2002:a17:907:86a4:b0:aa6:2bba:a1f9 with SMTP id a640c23a62f3a-aab77eda8fdmr1112929566b.59.1734354387511; Mon, 16 Dec 2024 05:06:27 -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-aab960681dbsm326648666b.52.2024.12.16.05.06.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 05:06:27 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 16 Dec 2024 13:06:27 +0000 Subject: [PATCH 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: <20241216-gs101-simplefb-v1-2-8ccad1830281@linaro.org> References: <20241216-gs101-simplefb-v1-0-8ccad1830281@linaro.org> In-Reply-To: <20241216-gs101-simplefb-v1-0-8ccad1830281@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 Tested-by: Peter Griffin --- 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 e58881c61d53..4e1625e3fbb4 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -23,9 +23,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 { @@ -69,6 +83,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.47.1.613.gc27f4b7a9f-goog From nobody Wed Dec 17 19:36:08 2025 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 DAF03205ABF for ; Mon, 16 Dec 2024 13:06:29 +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=1734354392; cv=none; b=p/aEFpoLauP9rBFqPci/+8iOLlnq7krW1hVbv3kxaBHpCsqWwCRMKuBqlK30/DvWfuqAwiyOLeYaRfWzIWDQy5vwAcRnP3QEs4Xqy+pV1mHeyEZ1CgQOPVsz+ffcB/Mjxil9hW/K86WYwNaWiOS8MKbk+hCbf28S8dv0lzOG2vs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734354392; c=relaxed/simple; bh=dW69wdGGaJJffaULTyEoO4UsQKSqs2x4lTN6HGmvILs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=owEUPA36jFtxD2BGzYLTtnX6rr73GWJhedymRjUV0msoshGbR0P4em+bU4GGVsqSVVWMb2IiWoyvSZriPMEwpw4aN6J1v9rAg2aRI1v6olQEUgojvX6xYgJgHABS2QVFHwvN0+0pWMesP0QYs+ZhnZnRvfCncLWolvoxXZhoRRM= 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=gIEpdrBP; 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="gIEpdrBP" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5d3f57582a2so9755239a12.1 for ; Mon, 16 Dec 2024 05:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734354388; x=1734959188; 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=xMJ7CrX9kIOqu3iDaYB20vU9TBUK1RF3UFshpl59L2U=; b=gIEpdrBPGhDQqh7vMIcev5wAqbwxohcIKU+RtNMS+fByeIRvNaL7at+NUyglm1LSBC nLc7zdDhZequsfNVHGHnocXhBG2rnAbxq4VQG8Dzppgeu/BQ+eQesGJrcZEb8U2TUZC9 M0jEYMkTJj7by1RUl24zUUOAU+wfdfhy8j8goYQ2jTt+snRxUUOn5PPU0k5zM2tWh36D 40kxjB9YJkcjJw9zLkeApHSuPhc9F79Jfz5gtFlj1V5nSoxcWvH86QM6OSfNPokPT30B JuOe19ecoGSy8bXnTbT/D13FJk+7NRQTfrcvnJ+l3z2gU+GAYJO2oUCCA+cd1n7HcXtP QDWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734354388; x=1734959188; 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=xMJ7CrX9kIOqu3iDaYB20vU9TBUK1RF3UFshpl59L2U=; b=oItFjp/irXcd5F0MnQaEcuJXJyou4d0HjTYNwpvgHqj4dbZkAdInI1stZiYX8nu2x5 b9g+wHwd66OOHtuG2AQ7s1Qw+IXFi8cXZONrCHAOgrtR4BbekrD24NC6TfVzPZ6muDzj L1akQqhcwNYlgU6lvY2qSTcRcKOt+O2uA/tE3pgMKpSoeuu/lbf7sEfEGoJzi8kHStsU VdCzrN5S6cETvO7m151gqgxI2StllQNbRNyJMjzu4XgdEoVMKnNtFu6/WGDf8tjpTeFw 8HlhWLc52KXw6irYhwHteTZ1gYBXfBm5Q3j5gFE9cgKv//7sBwNzkJOgAGr+L/zrNTcW 59RA== X-Forwarded-Encrypted: i=1; AJvYcCWe8Duu1OX+7IjIZ/iWtxaOmsURmr7HJHtOvCHLJcUj7qQYBEP4LhJQbz1jJO7l2ov/vNEhLimQMdTXWyU=@vger.kernel.org X-Gm-Message-State: AOJu0YxovtdRVe2Q61CJmiGDmw62OqnzH+3bXUrQ5QKp7AwiiBuBXBFJ EFNmuJYhCY85MDqKjb1wHWmGk75wOptHtsPK7/WS5OTPfOUsKHN0RwJb+NbbksU= X-Gm-Gg: ASbGnctrN30oMkj9/Jqz6xoeVM7Xl/+FpTfauiW0TaKl270uAvlOuccLOorahfNkkCt My5sW4/SWq4AMAmhVK6F2Q4Dwd5fYWlhUXblhnEgL1dergz4NfYPFImadzLcGH7sPH7MGIOvORA PHJNYqz+2OYZv3IKfHcmz0jBW+aimwNw3DqyUI3TRCKE23GErN1i98Srxk8CwiZlsBxhmvNRFA8 F/p59z/vd+NjVlqI2QzVT+oFvqjYO5wE3arck88/0eIUiK0QrFblnLj6idcFErRVlAdF6hsVk4H dKFowV2QXYN64Qx5tVOjWnjhoONAzH7bHf/aRh2A X-Google-Smtp-Source: AGHT+IEr4pMQNQbqucFCQZfc2jHAjvz/4A3/fbcu/5xQPFk07/32e+lX7UjbRG+TTnyWYHvyJgLvcw== X-Received: by 2002:a17:907:9687:b0:aa6:1afe:b0a5 with SMTP id a640c23a62f3a-aa6c40bca07mr1823335266b.2.1734354388039; Mon, 16 Dec 2024 05:06:28 -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-aab960681dbsm326648666b.52.2024.12.16.05.06.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 05:06:27 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 16 Dec 2024 13:06:28 +0000 Subject: [PATCH 3/4] arm64: dts: exynos: gs101-oriole: move common Pixel6 & 6Pro parts into a .dtsi 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: <20241216-gs101-simplefb-v1-3-8ccad1830281@linaro.org> References: <20241216-gs101-simplefb-v1-0-8ccad1830281@linaro.org> In-Reply-To: <20241216-gs101-simplefb-v1-0-8ccad1830281@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) and Pixel 6 Pro (Raven) properly, 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-raviole.dtsi, and just leave the display related things in gs101-oriole.dts. Raviole was chosen as the name because Google uses that when referring to the combination of Oriole & Raven, keeping the familiar terminology. Signed-off-by: Andr=C3=A9 Draszik Reviewed-by: Peter Griffin Tested-by: Peter Griffin --- Note: MAINTAINERS doesn't need updating, it covers this whole directory --- arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 290 +----------------= --- .../boot/dts/exynos/google/gs101-raviole.dtsi | 297 +++++++++++++++++= ++++ 2 files changed, 305 insertions(+), 282 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm6= 4/boot/dts/exynos/google/gs101-oriole.dts index 4e1625e3fbb4..2bc9371cd42e 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -8,294 +8,20 @@ =20 /dts-v1/; =20 -#include -#include -#include -#include "gs101-pinctrl.h" -#include "gs101.dtsi" +#include "gs101-raviole.dtsi" =20 / { model =3D "Oriole"; compatible =3D "google,gs101-oriole", "google,gs101"; - - aliases { - serial0 =3D &serial_0; - }; - - 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"; - }; - }; - - gpio-keys { - compatible =3D "gpio-keys"; - pinctrl-0 =3D <&key_voldown>, <&key_volup>, <&key_power>; - pinctrl-names =3D "default"; - - button-vol-down { - label =3D "KEY_VOLUMEDOWN"; - linux,code =3D ; - gpios =3D <&gpa7 3 GPIO_ACTIVE_LOW>; - wakeup-source; - }; - - button-vol-up { - label =3D "KEY_VOLUMEUP"; - linux,code =3D ; - gpios =3D <&gpa8 1 GPIO_ACTIVE_LOW>; - wakeup-source; - }; - - button-power { - label =3D "KEY_POWER"; - linux,code =3D ; - gpios =3D <&gpa10 1 GPIO_ACTIVE_LOW>; - wakeup-source; - }; - }; - - /* TODO: Remove this once PMIC is implemented */ - reg_placeholder: regulator-0 { - compatible =3D "regulator-fixed"; - regulator-name =3D "placeholder_reg"; - }; - - /* TODO: Remove this once S2MPG11 slave PMIC is implemented */ - ufs_0_fixed_vcc_reg: regulator-1 { - compatible =3D "regulator-fixed"; - regulator-name =3D "ufs-vcc"; - gpio =3D <&gpp0 1 GPIO_ACTIVE_HIGH>; - regulator-boot-on; - enable-active-high; - }; - - reserved-memory { - cont_splash_mem: splash@fac00000 { - reg =3D <0x0 0xfac00000 (1080 * 2400 * 4)>; - no-map; - }; - }; -}; - -&ext_24_5m { - clock-frequency =3D <24576000>; -}; - -&ext_200m { - clock-frequency =3D <200000000>; -}; - -&hsi2c_8 { - status =3D "okay"; - - eeprom: eeprom@50 { - compatible =3D "atmel,24c08"; - reg =3D <0x50>; - }; -}; - -&hsi2c_12 { - status =3D "okay"; - /* TODO: add the devices once drivers exist */ - - usb-typec@25 { - compatible =3D "maxim,max77759-tcpci", "maxim,max33359"; - reg =3D <0x25>; - interrupts-extended =3D <&gpa8 2 IRQ_TYPE_LEVEL_LOW>; - pinctrl-0 =3D <&typec_int>; - pinctrl-names =3D "default"; - - connector { - compatible =3D "usb-c-connector"; - label =3D "USB-C"; - data-role =3D "dual"; - power-role =3D "dual"; - self-powered; - try-power-role =3D "sink"; - op-sink-microwatt =3D <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 =3D ; - sink-pdos =3D ; - sink-vdos =3D ; - sink-vdos-v1 =3D ; - /* - * Until bootloader is updated to set those two when - * console is enabled, we disable PD here. - */ - pd-disable; - typec-power-opmode =3D "default"; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - usbc0_orien_sw: endpoint { - remote-endpoint =3D <&usbdrd31_phy_orien_switch>; - }; - }; - - port@1 { - reg =3D <1>; - - usbc0_role_sw: endpoint { - remote-endpoint =3D <&usbdrd31_dwc3_role_switch>; - }; - }; - }; - }; - }; -}; - -&pinctrl_far_alive { - key_voldown: key-voldown-pins { - samsung,pins =3D "gpa7-3"; - samsung,pin-function =3D ; - samsung,pin-pud =3D ; - samsung,pin-drv =3D ; - }; - - key_volup: key-volup-pins { - samsung,pins =3D "gpa8-1"; - samsung,pin-function =3D ; - samsung,pin-pud =3D ; - samsung,pin-drv =3D ; - }; - - typec_int: typec-int-pins { - samsung,pins =3D "gpa8-2"; - samsung,pin-function =3D ; - samsung,pin-pud =3D ; - samsung,pin-drv =3D ; - }; -}; - -&pinctrl_gpio_alive { - key_power: key-power-pins { - samsung,pins =3D "gpa10-1"; - samsung,pin-function =3D ; - samsung,pin-pud =3D ; - samsung,pin-drv =3D ; - }; -}; - -&serial_0 { - status =3D "okay"; -}; - -&ufs_0 { - status =3D "okay"; - vcc-supply =3D <&ufs_0_fixed_vcc_reg>; -}; - -&ufs_0_phy { - status =3D "okay"; -}; - -&usbdrd31 { - vdd10-supply =3D <®_placeholder>; - vdd33-supply =3D <®_placeholder>; - status =3D "okay"; -}; - -&usbdrd31_dwc3 { - dr_mode =3D "otg"; - usb-role-switch; - role-switch-default-mode =3D "peripheral"; - maximum-speed =3D "super-speed-plus"; - status =3D "okay"; - - port { - usbdrd31_dwc3_role_switch: endpoint { - remote-endpoint =3D <&usbc0_role_sw>; - }; - }; -}; - -&usbdrd31_phy { - orientation-switch; - /* TODO: Update these once PMIC is implemented */ - pll-supply =3D <®_placeholder>; - dvdd-usb20-supply =3D <®_placeholder>; - vddh-usb20-supply =3D <®_placeholder>; - vdd33-usb20-supply =3D <®_placeholder>; - vdda-usbdp-supply =3D <®_placeholder>; - vddh-usbdp-supply =3D <®_placeholder>; - status =3D "okay"; - - port { - usbdrd31_phy_orien_switch: endpoint { - remote-endpoint =3D <&usbc0_orien_sw>; - }; - }; -}; - -&usi_uart { - samsung,clkreq-on; /* needed for UART mode */ - status =3D "okay"; -}; - -&usi8 { - samsung,mode =3D ; - status =3D "okay"; }; =20 -&usi12 { - samsung,mode =3D ; - status =3D "okay"; +&framebuffer0 { + reg =3D <0x0 0xfac00000 (1080 * 2400 * 4)>; + width =3D <1080>; + height =3D <2400>; + stride =3D <(1080 * 4)>; }; =20 -&watchdog_cl0 { - timeout-sec =3D <30>; - status =3D "okay"; +&cont_splash_mem { + reg =3D <0x0 0xfac00000 (1080 * 2400 * 4)>; }; diff --git a/arch/arm64/boot/dts/exynos/google/gs101-raviole.dtsi b/arch/ar= m64/boot/dts/exynos/google/gs101-raviole.dtsi new file mode 100644 index 000000000000..90b08c1addbb --- /dev/null +++ b/arch/arm64/boot/dts/exynos/google/gs101-raviole.dtsi @@ -0,0 +1,297 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Raviole Device Tree + * + * Copyright 2021-2023 Google LLC + * Copyright 2023 Linaro Ltd - + */ + +/dts-v1/; + +#include +#include +#include +#include "gs101-pinctrl.h" +#include "gs101.dtsi" + +/ { + aliases { + serial0 =3D &serial_0; + }; + + 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"; + /* size to be updated by actual board */ + reg =3D <0x0 0xfac00000 0x100>; + format =3D "a8r8g8b8"; + }; + }; + + gpio-keys { + compatible =3D "gpio-keys"; + pinctrl-0 =3D <&key_voldown>, <&key_volup>, <&key_power>; + pinctrl-names =3D "default"; + + button-vol-down { + label =3D "KEY_VOLUMEDOWN"; + linux,code =3D ; + gpios =3D <&gpa7 3 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + button-vol-up { + label =3D "KEY_VOLUMEUP"; + linux,code =3D ; + gpios =3D <&gpa8 1 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + button-power { + label =3D "KEY_POWER"; + linux,code =3D ; + gpios =3D <&gpa10 1 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; + + /* TODO: Remove this once PMIC is implemented */ + reg_placeholder: regulator-0 { + compatible =3D "regulator-fixed"; + regulator-name =3D "placeholder_reg"; + }; + + /* TODO: Remove this once S2MPG11 slave PMIC is implemented */ + ufs_0_fixed_vcc_reg: regulator-1 { + compatible =3D "regulator-fixed"; + regulator-name =3D "ufs-vcc"; + gpio =3D <&gpp0 1 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; + + reserved-memory { + cont_splash_mem: splash@fac00000 { + /* size to be updated by actual board */ + reg =3D <0x0 0xfac00000 0x100>; + no-map; + }; + }; +}; + +&ext_24_5m { + clock-frequency =3D <24576000>; +}; + +&ext_200m { + clock-frequency =3D <200000000>; +}; + +&hsi2c_8 { + status =3D "okay"; + + eeprom: eeprom@50 { + compatible =3D "atmel,24c08"; + reg =3D <0x50>; + }; +}; + +&hsi2c_12 { + status =3D "okay"; + /* TODO: add the devices once drivers exist */ + + usb-typec@25 { + compatible =3D "maxim,max77759-tcpci", "maxim,max33359"; + reg =3D <0x25>; + interrupts-extended =3D <&gpa8 2 IRQ_TYPE_LEVEL_LOW>; + pinctrl-0 =3D <&typec_int>; + pinctrl-names =3D "default"; + + connector { + compatible =3D "usb-c-connector"; + label =3D "USB-C"; + data-role =3D "dual"; + power-role =3D "dual"; + self-powered; + try-power-role =3D "sink"; + op-sink-microwatt =3D <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 =3D ; + sink-pdos =3D ; + sink-vdos =3D ; + sink-vdos-v1 =3D ; + /* + * Until bootloader is updated to set those two when + * console is enabled, we disable PD here. + */ + pd-disable; + typec-power-opmode =3D "default"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usbc0_orien_sw: endpoint { + remote-endpoint =3D <&usbdrd31_phy_orien_switch>; + }; + }; + + port@1 { + reg =3D <1>; + + usbc0_role_sw: endpoint { + remote-endpoint =3D <&usbdrd31_dwc3_role_switch>; + }; + }; + }; + }; + }; +}; + +&pinctrl_far_alive { + key_voldown: key-voldown-pins { + samsung,pins =3D "gpa7-3"; + samsung,pin-function =3D ; + samsung,pin-pud =3D ; + samsung,pin-drv =3D ; + }; + + key_volup: key-volup-pins { + samsung,pins =3D "gpa8-1"; + samsung,pin-function =3D ; + samsung,pin-pud =3D ; + samsung,pin-drv =3D ; + }; + + typec_int: typec-int-pins { + samsung,pins =3D "gpa8-2"; + samsung,pin-function =3D ; + samsung,pin-pud =3D ; + samsung,pin-drv =3D ; + }; +}; + +&pinctrl_gpio_alive { + key_power: key-power-pins { + samsung,pins =3D "gpa10-1"; + samsung,pin-function =3D ; + samsung,pin-pud =3D ; + samsung,pin-drv =3D ; + }; +}; + +&serial_0 { + status =3D "okay"; +}; + +&ufs_0 { + status =3D "okay"; + vcc-supply =3D <&ufs_0_fixed_vcc_reg>; +}; + +&ufs_0_phy { + status =3D "okay"; +}; + +&usbdrd31 { + vdd10-supply =3D <®_placeholder>; + vdd33-supply =3D <®_placeholder>; + status =3D "okay"; +}; + +&usbdrd31_dwc3 { + dr_mode =3D "otg"; + usb-role-switch; + role-switch-default-mode =3D "peripheral"; + maximum-speed =3D "super-speed-plus"; + status =3D "okay"; + + port { + usbdrd31_dwc3_role_switch: endpoint { + remote-endpoint =3D <&usbc0_role_sw>; + }; + }; +}; + +&usbdrd31_phy { + orientation-switch; + /* TODO: Update these once PMIC is implemented */ + pll-supply =3D <®_placeholder>; + dvdd-usb20-supply =3D <®_placeholder>; + vddh-usb20-supply =3D <®_placeholder>; + vdd33-usb20-supply =3D <®_placeholder>; + vdda-usbdp-supply =3D <®_placeholder>; + vddh-usbdp-supply =3D <®_placeholder>; + status =3D "okay"; + + port { + usbdrd31_phy_orien_switch: endpoint { + remote-endpoint =3D <&usbc0_orien_sw>; + }; + }; +}; + +&usi_uart { + samsung,clkreq-on; /* needed for UART mode */ + status =3D "okay"; +}; + +&usi8 { + samsung,mode =3D ; + status =3D "okay"; +}; + +&usi12 { + samsung,mode =3D ; + status =3D "okay"; +}; + +&watchdog_cl0 { + timeout-sec =3D <30>; + status =3D "okay"; +}; --=20 2.47.1.613.gc27f4b7a9f-goog From nobody Wed Dec 17 19:36:08 2025 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 DC6ED205E04 for ; Mon, 16 Dec 2024 13:06:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734354395; cv=none; b=LYMVaKNjeEdiiOAGz8T0ezl4B7unJaRleAc/8xaIIpDZxOaQPJ0uMWN3o7viir42rWvxmDLlCB7zWUdehoxShpt5NhpsSJ0IONVvQubtgwlqv54F19LJl+c9qSCuvGuBkF032A3/OlA5g0MHr6j267jIONiKj0tfWtCWLMZoW2w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734354395; c=relaxed/simple; bh=njXkzI6vI1ZYRHwJzVfbeDQKZfu2R961r5TrXKbUMso=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IX7OUxHaq252zv05h23CwmKDNG6YI4/2k6QHq1+eZg9paF0lvnI9ZX5PHGqpqBbGuQ5HLbUrdsZGiqz3fP1EFYFP/WPTUXw67ANnWb2hR25RfTOx+Z9bties+8/B1LqDXFLCD60Lma/1zkm0VTah+ww1gbyURdbWMrCHqiwolN4= 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=CSJcBO2a; arc=none smtp.client-ip=209.85.208.181 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="CSJcBO2a" Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-3035046d4bfso11439311fa.0 for ; Mon, 16 Dec 2024 05:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734354390; x=1734959190; 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=4jHSn691OHBL23f0kkrBermuRwglSVSSGPFSIcJ/qrU=; b=CSJcBO2aN13BbnuFiNhSOnc8qKNAw1+g8ug+cEa60lejkZ2sJCLKAMW7vzSpPaVUzc /HeEeWh60nAeoNnuCMdXGa5F4+HhArO8j9B3JNT4ycKTFZudGJ5CqfEDPJcM5dyhC9Cu NqB45PxnJnbdXu5qqmsXnZRjm/cnA/J4tiTD3k3siM2hZb7qgRWAgYAegq2ghk21o392 XFMAyFkFjSx/Ij8EMSbdHXfIKEUxsSFRhRxeV87nnxw52VXsd5KMgk4v3l8dFu1P6YJq EelcOSww/bFYLb3feQOA0YHVcTB9CuTlzVTUA1f2b8IbOrfR0wT65JBDxaN1rKfZvZu5 h2cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734354390; x=1734959190; 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=4jHSn691OHBL23f0kkrBermuRwglSVSSGPFSIcJ/qrU=; b=en/OwRfCWuXKvtLSOPPg8/rwbgXIIaOoKFIbLCEZpqv2/4pzIVhDPPSlJG9JX3Gkaf anh6QGjWFRV1eDJxk9BBm0oa03ZD9eYvZzjruUrdywCqjS2nOSBwkvNhhpnY9vMAiMlH TPn4KZZv/BTxa8Q2lGERFd/jQyxA/JJF1v3pdPfRWdXoTIBB+ANEnc4kBqXapn3TFmLd PCvEMkXPyo/6QltCarRq2bYk6hbc+ptOWn3naluoHxhyMvFD1ZNliQaeZv24g9Mtk6ID nU5G2TgIIGtgdqiARre2FMborK1cLcV5CRuki1ikuPz4N9KrOdiuMUCxpxYUPqeQkNyA MuWw== X-Forwarded-Encrypted: i=1; AJvYcCVNwOwI11kEEYhziwSrTOVQ2GkFIvkkeM/1k3oYvFiHJs95J0W0T2J1iy0mGSNRE++f4kgjUuDX/CEjq+g=@vger.kernel.org X-Gm-Message-State: AOJu0Yxc7ivSFG5esOwZahOXqu9gRmgA+45ugOP0vZ5jL7t5R2uOlQnF VLYOK+pjFrwt/18ZM7gEZ1ADWJ2tM/E59YpkZp5tBxOdsrlr/wkP1krVEQipfqc= X-Gm-Gg: ASbGncsHgWAy6BQQKvVRoTKonyqdH62/CFoSXwifseehGK81FF9Qc7y/MWacNWOfPNy uAJ4FzICIbiX/qhuz+NnQU6mv+lw5f7Wj9ItLg7p8h4U6AosGAd1ZWsLcPUrkOtQpk1vzZNF46T orFk21O6hvYcpzmzYUAyDhEIJeD35lKzYY/ss19zNVcDfdzeQxfJy9qS2mQ4GgBWlfVRu21CfV4 k4jQaoHXRz9hlgJsr1mkfRhw9C/F92+feOtdo/kvmdw1NsdYUcWFmTvfNWf+hqa2+KgZDv8WqI+ 4WydWRq2AIdcku08QwornFW+W31cU9fIiYXRmwrk X-Google-Smtp-Source: AGHT+IHNVHPL9gCv6JsuwH0i+Iexhp279Myp4zBY3rnTq/iQAV9yBxFHBzZcKLky1N6tgEJkpPmDvg== X-Received: by 2002:a2e:a58e:0:b0:300:ef4b:d820 with SMTP id 38308e7fff4ca-302544e3930mr46051511fa.38.1734354388504; Mon, 16 Dec 2024 05:06:28 -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-aab960681dbsm326648666b.52.2024.12.16.05.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 05:06:28 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 16 Dec 2024 13:06:29 +0000 Subject: [PATCH 4/4] arm64: dts: exynos: gs101-raven: add new board file 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: <20241216-gs101-simplefb-v1-4-8ccad1830281@linaro.org> References: <20241216-gs101-simplefb-v1-0-8ccad1830281@linaro.org> In-Reply-To: <20241216-gs101-simplefb-v1-0-8ccad1830281@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=C3=A9 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 | 27 +++++++++++++++++++= ++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/Makefile b/arch/arm64/boot/d= ts/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 @@ =20 dtb-$(CONFIG_ARCH_EXYNOS) +=3D \ 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..75fd34797fa9 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/google/gs101-raven.dts @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Raven Device Tree + * + * Copyright 2021-2023 Google LLC + * Copyright 2023-2024 Linaro Ltd + */ + +/dts-v1/; + +#include "gs101-raviole.dtsi" + +/ { + model =3D "Raven"; + compatible =3D "google,gs101-raven", "google,gs101"; +}; + +&framebuffer0 { + reg =3D <0x0 0xfac00000 (1440 * 3120 * 4)>; + width =3D <1440>; + height =3D <3120>; + stride =3D <(1440 * 4)>; +}; + +&cont_splash_mem { + reg =3D <0x0 0xfac00000 (1440 * 3120 * 4)>; +}; --=20 2.47.1.613.gc27f4b7a9f-goog