From patchwork Mon Dec 16 13:06:26 2024 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: 13909709 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 018B8E77180 for ; Mon, 16 Dec 2024 13:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Exe9dwySnGZoKQ0X6jvc3tMxyy8NWCLxusuFPVGkXUc=; b=WlDzehdUbaMHRVTUqs5475w6Xd W1dhHRqzmW1pUYiV1JWv6wVgF3MqIjaBmMijXFFzrJ5bexvIf6ZOGc6wzxTYzak3Ivwv2gjkIj4ua VXj+44n4BaNfrSl7Vd1avBopd5iK1nJQgcFmA+agBjF1v2SsaVEKbknAGExnVVXbtUOn3AmjQquLj NQ/YvPBMwgDRIARVZh4SK3ilKo6hGY4PpDee2vMcwjLl9brwyA7nHL20hT4hHf4EePmHy9Fkd3ILU qRqXf+NDxiLE0Ad5hhqtV29RCwEBZ4D3Ye5VqU/pYuwMIaFejKbxARSTunCOos+Ljjdobrdqpq7ES yvaTmO/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNApy-0000000A3U3-3qTr; Mon, 16 Dec 2024 13:08:38 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNAnt-0000000A2u9-2MgX for linux-arm-kernel@lists.infradead.org; Mon, 16 Dec 2024 13:06:30 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a9f1d76dab1so844208066b.0 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=lists.infradead.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=TM1SFvwtkINpNlSZ+koj+x+t5vswyjCzBzwX2MnEVk6wjDax9oj/6bGMH/wVwzYLI9 0jtoim2ueQgafN6cJ6Zc6PHGYi0RXX+ILSCf0BtO66YS7WfiBCqw03K+wDW0Qhs7jgme sUG4cm9K/qWXtGZCswnZwtqKmf4iKsv0TjNY9tXfOomKdd3QXCop3aXFIj/s3ayI6Nov O1pV7V/AylPxP+NoHFQVGzRmFWEEK1rZXCnwNvcH0kv6ynm8HvySyW+FMsPFuDaZ0VJW MyqonhD8jrA4bjt1Xj6mpR5kGF/kfTG48TwQhn7V3zEd7SBghKWTn1oDm0rvU1R+M8JK dyrg== 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=XNQQLKRkSNfXNfbJgwuXMaZy1JxKSliyyGe1NOgZFoUIxBM2pjQs2Fej4sxoXthfu5 nhoJWUSOx0YnwEiIGCBHFM3rneBAdhBgkeJYK1/uJUYWytDABxLMn0E/2PRl8JakHVml MUBj0t79Q0w9bSY9qyX4K5EpOOCC5blMqk+XW52aLCZKaHkxlgtO6bV/fNEdqPrQo3cn dVYeCyM3arqU0/NXLKIJjPNWQEx4C+0GspTFUl+E8H6maNbpEf/khZqAYEjvuOVULWb2 lNt+kB3iqY49KzJBRCkkwQ2cufbzBRrxDQmjwyVR6j4IZeqzi3rTpsnesRZzxdMJV5wi zlxA== X-Forwarded-Encrypted: i=1; AJvYcCVDJ1a0qzmg/G5VXlsrKLkwL2MMYqLWHYxgvYwxCtQSawLSQvJKlkwrCHmQXMQvy1LjT8wPOacEPNRcg36pqE53@lists.infradead.org X-Gm-Message-State: AOJu0YwilYvgJuOn9mbOzitprRbrUtFBG6pt0BVphOfDyenO+Rw30eYd r4z2i25lbIRnhl2QxT6eVjt+R0AZZbXdNr9J5vVHvqBEie0z5raH+kUcw4pP/V4ET6ntWZSpt7Q RAIc= X-Gm-Gg: ASbGnctT4CQzdCIIq4tPdlsAMEnwG5yCu3sSEK2tKfCsniLnx3BBaOGBI3Lh7bJCLou VLQ34HJ7b1OsWn1b2a/lBa6xPM79nJOZOszaGjS9c7yM8NLlIBAIHPFZKIGPcYfLjz6I3Tyf+CO adNDu7UVxc63KOvOhmsDRA4eEZ+09s57koCLzyNRkfgTZFMepONCnvG4fPMUkzbEirxpcnGWMNB 9Wenc+IzfUAMoZ1tZSBcVASgWvepqy8ELsjvPW3q6OrGf+RcqdbmMY9VRC3wCprO0bRDuBYWYMW KC/AstcxQy2YXKNtjvgh4z3gcQ8gsxvi82Aq0Tuy 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 MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241216_050629_606520_7416249D X-CRM114-Status: GOOD ( 10.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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é Draszik Reviewed-by: Peter Griffin Acked-by: Rob Herring (Arm) --- 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 Mon Dec 16 13:06:27 2024 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: 13909721 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 86BA0E77184 for ; Mon, 16 Dec 2024 13:11:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0iXYAffnZPGtECXS58BWfoA0BdRGwpVmbASDvyhm7ws=; b=ImQf3yLp0570h27MIWRxcHyARx iUXHC4dJwpxm+Ap+3ExIpxldwVAAJUpFbnT2sYwyLCRtyJrUea5HhZkFVWOuDJ8ueJZmvwlJxiFF0 RN+PCvE860iklqXs1hPQS2FZ09Jb9UrMdtboO1MqLR3GxpPVS89H3XbtnC9wgFMLBYVvRjAkG916w BrI66Gq0gIwyizLXilIsvkHeAua8Zxbltwv5xNwlFbXaFyFZZ+q//VnNuyFb7EXJIcX5G4Q1RaGRY McmHJerduGkxf7s/cFkaaUHrXL98a5DxK5j5uLNfh4nfGUsTk5R3A7IwYUixCayVoQnJk+bWmxe8u wGL1Ou2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNAs9-0000000A41z-1FZf; Mon, 16 Dec 2024 13:10:53 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNAnt-0000000A2uB-31Uk for linux-arm-kernel@lists.infradead.org; Mon, 16 Dec 2024 13:06:31 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a9a0ec0a94fso632327366b.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=lists.infradead.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=Ix6F4EYEzmkADAM3B5v0kJ4F6vC4/PTuysB80gyCoX0aCgF2IbT5/heGBadKWslXde Nh3bY0Cm6MR3ag92qsG8vXo4K2ubq2wwxpUbvyU1Lcl0t4Gu8pE/37OjypaDxm8keBTE rIEtjBshnCKXGh47GpI2LNY+peEZPCwJuH9G59H/J0uFiR7IEg2/0nLd1C0q+G1UjD9L wKyXPOZ94oRnTTOrvWlCrsUgDTlqyyodYWgrAPvKTTrdcZBfcx39IGqBo/gLpeHQdWs2 CGmtJH4E0YFSutiNNX7J/uIAfgQ8VGsj5LnCUQzl4E18h6DQqluuk1aUrmBUfJfoUTCC gmgw== 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=ntZxaQQ5WecnAeBrW39nVLYncyUkZWScUT5l4z3Qwwr9md5Dpe0Qoicicxca4FpTGd yss4HGzufPGUxWuLoe5IbaKgaOYesHkqXFxVfB7iq4sT1oqce+BxR435Sk57fSex8eDR 1D9uo4ZxtizLLfFh7v7P8ujlrR4N8FRYk7JdokDMhuKSjirpL6Knq8Ln+c/u/bAjjcc1 7Z0+NXx26/7OIXgRvUq5XwAZbDqvxBEpoAsk7Nj9rrlhKyki70qD4odsYUxpTNADpoix N5vowQ6bX5nP+fG+23yE1y40pXuPCzs9ur71L5/T0FxWFbkTjDoR82fdTcyYxHiajvu2 XeIw== X-Forwarded-Encrypted: i=1; AJvYcCXNr0fvaSXcM1Mo+bCyHW2rYF94kZdimQL33+Gt1fBPCzRC4AlzAWaWhqpz18WOW/179QHOJbon5JNUZNvJAw6v@lists.infradead.org X-Gm-Message-State: AOJu0YzgFCMmcgwZOCPhzoyKRSow1s+krMo3apAghZXcDceHc9g2Mpie 5eYRze4U/b9/0N3vzu2yVFHSnu85qbYYwoVTsnsIlQQU5B7xsQ9QRdkTjwAryy8uwDq8c1KDV7F zVHw= X-Gm-Gg: ASbGncsigwHMfNMqkWjFgtV9o5gSYDS62mARtuwxdWn3bvGEdAnRbu11NkPOgzuzVhy bcH/Rz429iUC2de73Dxl34rsCVrpawnIctn75Gt2S7MxS7Nw96evOut/xsrSUEHNhoFNMIYuQmE ygfJM5xf/5Sh/UGHXvePOXHBjrTnnR0x1e8gWcTqeN/YYp2IELMeZbuqBCWUXVi8A9CVgyrJZfq iQTHcpON+6XiOa65eepRedyDZ+T+vR5D4m4vObZNl8/gzMlZB9j7Hsz9i0VM9b4IKoKFhZL2DrN WG60IxP3WNgf+YewqKKectsP9mQZ635YVYI48NS9 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 MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241216_050629_785348_C92494E9 X-CRM114-Status: GOOD ( 11.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 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/arm64/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 { }; chosen { + #address-cells = <2>; + #size-cells = <1>; + ranges; + /* Bootloader expects bootargs specified otherwise it crashes */ bootargs = ""; stdout-path = &serial_0; + + /* Use display framebuffer as setup by bootloader */ + framebuffer0: framebuffer@fac00000 { + compatible = "simple-framebuffer"; + reg = <0x0 0xfac00000 (1080 * 2400 * 4)>; + width = <1080>; + height = <2400>; + stride = <(1080 * 4)>; + format = "a8r8g8b8"; + }; }; 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 = <0x0 0xfac00000 (1080 * 2400 * 4)>; + no-map; + }; + }; }; &ext_24_5m { From patchwork Mon Dec 16 13:06:28 2024 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: 13909722 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E2908E77184 for ; Mon, 16 Dec 2024 13:12:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xMJ7CrX9kIOqu3iDaYB20vU9TBUK1RF3UFshpl59L2U=; b=jEE6+mUItk2R6ewtO8P14lL+vk UUnDtIQNAmK9SyTWMKa1lKjXTHio+4xJyzZ+L30hZ+GsSpssPam8tu0A8Q5IkknCXAp3MciXHESPs 3POLwe/CEVrsRV12SpBrI+8o3+C8OXoBStTWqWhC8r51qT4blRSCbA96sRcqzw8dIrpfLK91CEaCj WEY1DDtke7YKSd+Qxm0aseUzVo44QLu+0sVT+vLrCRqA4l7xDYpoLaPgBIWzar1Y45rHZHEYPLoPz URAR25kbd/vpM4QgB24p/PshGMHpocPwn9p1GBMY7nB4MTbR/g4B5AvTE3NZlZiHIYofcn+QjqvIu ClcGwp5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNAtC-0000000A4BU-3tOD; Mon, 16 Dec 2024 13:11:58 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNAnu-0000000A2uH-0Xk7 for linux-arm-kernel@lists.infradead.org; Mon, 16 Dec 2024 13:06:32 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-aa6a3c42400so710833566b.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=lists.infradead.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=GMLFayWPEPJRTQUlhB9/v2EQZoJu0cPSDNYehZlBG3TyFoVFAO0FrXBwna4vYQIDEu sgjVbho52BBtxRFDQtJbCvbJoa/yqazw9SLo1CI4Iwg8ZY9eRkirzGYaBSiQ27rW9C/1 C2jWUVUsyf4LQczSQvMlpu6V25vvtanZhwBB+3UvkVvZiQqwJjK/UMwXyc7sjvBisdz0 CdgWwSRu6Satnaflk+Ejr3gbwz3Lx+iD3VNIdU3j+MR2r+2iSS8feDaarZu71ZMOQZRt 5nGQtpq4H8/0X3BJylyqrbW7a4ePVoSHbKfOJG12FPFzwvRCL6KFaU1rdGALDwSFnO1c Aj1Q== 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=azxLPKmDhXR59wmqLRtSaJbcM3XuKNlTecgoJbE0qjlk+4ebu3b79gPWvarEt+fVE6 DI50mjkXGqfD4OQPoJvzdU8qlGYBpaCwhf/DGnms67NxfBPJhsST7hxlBNqevZFMD5jC 5q0KvpIoLI9nMQHyyLnKoLeFARnrmkPm59lw69A7wyKXb0xoEqBKhhhL2m/p7dr1WLI/ fJhKFKwaChS8Z7krDKs4LHGdaVd1tYv0wN4KrC6aGwBxp/K47FiupXyRhFklp21tOKBf 00SawYEWyDMkxA0f0Ds+L3cIXW1z/9O0ZChoiEO8XOicy6iYEV1E5VXqKTWdbjb930Ya EXtQ== X-Forwarded-Encrypted: i=1; AJvYcCUFX15lU/VHofNKYGK4TO067Q3Y07HWhCpuBhmtkdQkMbnTEWKiQOkMELUXn6tRYIREV3M50Jg5g6MyjXuTmoqY@lists.infradead.org X-Gm-Message-State: AOJu0Yw6dBeQESq/BhTw7qJbG8zT/iUAjQ6Bt7u48Vo5KNvnisrr61W4 /uMGBNtprd315YgrGYVBv9/d6q4SQiiw5TUyNJ5/mgHkBhoUufC1zgkXa4tzl2jS3tSmBPkJdVL BV0A= X-Gm-Gg: ASbGnctoke5AlOgu91k5yP4gs0HdzyeLJ6mk9mSuXSkNE45IqqCF47bV7UXIcbcI1uy DeKNfmVXy0/oHRbUoPRUtOVN5GLFQsQ80+7RjDMFe6lIZGXW7g00zhbLPqYNbrY2T1Byq7o079e GLFsRjoYJEYxHIZLgIDLmYPNWTelpRFZNnkHZC6QXajGc82aadj96L8V6Fw1+YUzp0V/g8wHBUw T3wOy0yt/ZjLC0vFHlTY6aHzUdHhyDJExv486wQhNtpoTu5A5seADWbOZA1GXe4VvN6DFecIM1e +ScqGvkJ1RDeb8AnR0wiJbl2rA7yJZaWFsR7Hqpr 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 MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241216_050630_177586_35C9A686 X-CRM114-Status: GOOD ( 20.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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é 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/arm64/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 @@ /dts-v1/; -#include -#include -#include -#include "gs101-pinctrl.h" -#include "gs101.dtsi" +#include "gs101-raviole.dtsi" / { model = "Oriole"; compatible = "google,gs101-oriole", "google,gs101"; - - aliases { - serial0 = &serial_0; - }; - - chosen { - #address-cells = <2>; - #size-cells = <1>; - ranges; - - /* Bootloader expects bootargs specified otherwise it crashes */ - bootargs = ""; - stdout-path = &serial_0; - - /* Use display framebuffer as setup by bootloader */ - framebuffer0: framebuffer@fac00000 { - compatible = "simple-framebuffer"; - reg = <0x0 0xfac00000 (1080 * 2400 * 4)>; - 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 = ; - status = "okay"; +&framebuffer0 { + reg = <0x0 0xfac00000 (1080 * 2400 * 4)>; + width = <1080>; + height = <2400>; + stride = <(1080 * 4)>; }; -&watchdog_cl0 { - timeout-sec = <30>; - status = "okay"; +&cont_splash_mem { + reg = <0x0 0xfac00000 (1080 * 2400 * 4)>; }; diff --git a/arch/arm64/boot/dts/exynos/google/gs101-raviole.dtsi b/arch/arm64/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 = &serial_0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + /* Bootloader expects bootargs specified otherwise it crashes */ + bootargs = ""; + stdout-path = &serial_0; + + /* Use display framebuffer as setup by bootloader */ + framebuffer0: framebuffer@fac00000 { + compatible = "simple-framebuffer"; + /* size to be updated by actual board */ + reg = <0x0 0xfac00000 0x100>; + 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 { + /* size to be updated by actual board */ + reg = <0x0 0xfac00000 0x100>; + 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 = ; + status = "okay"; +}; + +&watchdog_cl0 { + timeout-sec = <30>; + status = "okay"; +}; From patchwork Mon Dec 16 13:06:29 2024 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: 13909723 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0C372E77183 for ; Mon, 16 Dec 2024 13:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4jHSn691OHBL23f0kkrBermuRwglSVSSGPFSIcJ/qrU=; b=l6tu/6cjX0Ly/JLfQbqI/tY5uv 0SpJFsvA6EDZ1pF5Kmq6YOqsM9YyRGceryV2FYOmG0NSGkkZfX7Uz6huiy/63/Jsh1AeXFB+1jFXb z03in0E7vJUs6lr0uChRZWaqwKgTWAAuXinPhe3Tb2gCoFiIwmDeB/7waRpQ2kMgjYUEQN/CYEgKb Ir24TamWCnW3H09vh+hYHlw1HITJ/oQhw3INnNFtW4sj6ZY5hoJqXb7c/PuvF7epsUN8o7iyA3d16 DGSvsoj9BYg0jUNxuzZhrwg/YkWRHNKhJVtlKEX48uo0grA+fMxkCpEKT9RIH9gFJjuCMeeFQdMGc 3Oc2yopg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNAuH-0000000A4Lf-2FCi; Mon, 16 Dec 2024 13:13:06 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNAnw-0000000A2vW-0cVJ for linux-arm-kernel@lists.infradead.org; Mon, 16 Dec 2024 13:06:33 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2ffdbc0c103so37073961fa.3 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=lists.infradead.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=gZUOJrxxjxTpx8g25/BPoPEYppigOxAlbQ8TjjrPJu/jZtdyGzVUbIyrvAbtFRrpZn 2aIuxsPxJp8I07N4nVPlhrU6N6z1a2hcZ9KT0r0i/WKNwzIrKuj8szvECi60oOaZsZGB auEJW0aN2aM/50lOJjKm9b+8WQ/NLZi3bKsaOYlM2APCOdIyIRhq6nd7WPnOavQBtRZR EqTOu2Pmf6emZrwOu3632lI4pwtEjBhbuZWbZ2m+fjuidS8RSW+agUc73n8wVBKqSGwj kFT4iY6lgIBhvGQFlvq6tiIORYTy+M7OTrNDhR9uov14DTnRKNzWsDXtjrzDd4roLNBV eW3A== 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=lP4efBCe//rjGcAMhH3Pric7YpYubwC9ym3phbP1dYQqTKkXvpbUcICzUF7nRKrht3 SBZxKAHqRqLP1s040lh4VhFcnHiJDzeTf/Uv8p+Du8aM5d5mPFHCZnFC7NcZCGElUgUj uH9CxMkiInf5cZQNE5FqeGBhtYn9O3wknLxkLg590sFvHZ26/PzpGXMFdeFZnzaj2t6I zbSUOLxQiU8c9lYHxtMTo26wRcnYC5p/Oytyv4wTRlC8vnrIkQ0zvzk9OVy9XvGmuZUq 7mEa9hjghppPHD3DwepmIBCnGKQs2GFXFIvqrG//oZAPGGp3LruN+6D5h6XiYUtaM5Vm 6RFA== X-Forwarded-Encrypted: i=1; AJvYcCU179jgHvFzqvWTCiQk+k6ryDiinnEeycCT57V4R5tuOUv0cD8ps9pYVRuvMMD36YQE5Sd2ATOlV2zyjg/iIqZK@lists.infradead.org X-Gm-Message-State: AOJu0Yz7pkPvCw/xr4uBtTU7mfWXDTeVJ0w2qTJbxydK/DdflehrayYV tG6OSZFU/FVvB71eETVOchApBX+MUnqqfT7P3JqakuqE7p0KWWeu8vZ0grXPvnl/JL9j/Mn/fGP y2HI= X-Gm-Gg: ASbGnctnEsNnERja13z/bFuVaBfTj9w68nJvmxuWK0fkz1Tt+e9rW0XMaRj0iS+pAGx ep8n60z6I0f5HXNGxrKP+IPmBtqrdHNZna7kT/t0GiFrNwu5RhqDxtxmzrO03oT2V/bE8gB3nQ3 MrjC0oOyMlgEhrqRR2ACPPbQ1S7Qavu7e+mvcTeX6aDjCS35/odGEkALUAI3EkLNWZR6JU2GMOS B8bmDBf7PTJKXZnujGX4FZQGJqCKHYHdF5rDt8e03RlNFcpiYsnLWvjLm56DNYcOSmn0WC/ZFdv CJ5MtBFcvW7aEwRBmzSyev/i9sjAxJE8YMP919kD 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 MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241216_050632_187548_8A4111F9 X-CRM114-Status: GOOD ( 13.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 | 27 +++++++++++++++++++++++ 2 files changed, 28 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..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 = "Raven"; + compatible = "google,gs101-raven", "google,gs101"; +}; + +&framebuffer0 { + reg = <0x0 0xfac00000 (1440 * 3120 * 4)>; + width = <1440>; + height = <3120>; + stride = <(1440 * 4)>; +}; + +&cont_splash_mem { + reg = <0x0 0xfac00000 (1440 * 3120 * 4)>; +};