From patchwork Sat Dec 9 23:30:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13486180 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 1040BC10F05 for ; Sat, 9 Dec 2023 23:32:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=l4B0cFBqq1/1sCyHvdL2FzUU8BPjcFzn2JFRWBDQN4o=; b=4EGXi/IMzIztMK Y3VIF3FthHGMBOpsiA5NtgPn7Vk0rTpslmbCN1K6GwXnynPPOBWyEkDzKFTQuMFyF80s9pWhmNsTK Ne6IHnNbJaTmXpj2ip1rhwcfV3sw4Y/HqmYzwjyUOU5rffuYWxbVVVa2W4LUkuDTQ2eDhvqELRrgc MPjA52fmGWYY/6ImMAh5pQHeGBHuHq98RYTQEfut3KyNtgKi+6RxaDcFzSwG66m9OyZTKO2+W8WAL r+X1Q278jq5oucN/zJTMzwB6gmsRH1v1+5JbuN2XhC8E5gMDxrgKWV2mrnPvJ4c1PGtjbi81mGAaW y5uEmZqFnh2G/KDPTiZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rC6n8-000h0I-2Y; Sat, 09 Dec 2023 23:31:26 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rC6n4-000gxI-1U for linux-arm-kernel@lists.infradead.org; Sat, 09 Dec 2023 23:31:23 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40c3fe6c08fso7898795e9.1 for ; Sat, 09 Dec 2023 15:31:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702164681; x=1702769481; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ufy0nGRtp/1JIZ9psxq6/E5zOi0BD5o7YxdicbrUE94=; b=t3YEKU82szXJbIvpfVtlgoELQCTGZ+b8xFOTO7nVddz+PuQME39AKYUBNHjv9JX5z2 Lh/H/lV+w5SwSKwwuIBBevAAj6DTmowiQIsdZDidv0R8tO5Ti9E/V451WNz4YGIPpAia 5SenXPnhYI1d9ulTrJE+Qot6XOgn1T5AXuufJQf0BhunXUkID7XMOwsV98D5EURMR0pu hyycYbQBhFeiBz4iVHUEYgg6iFerAet8uDAt7BqfBoVZJyjzS8/99T+5i8vfUdN9iglB Lgof5IRfMvryYtyTiwF08C4JeHAPI6DvOtOYVapZFy2V/aEFRJUrhEXOd8ndFXZZljlW e6KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702164681; x=1702769481; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ufy0nGRtp/1JIZ9psxq6/E5zOi0BD5o7YxdicbrUE94=; b=H6eR3iU5GLJKCD+wwqpbl12oYYO9FYX6MFtsPYIRN0ITXoVFPOJ9g0b+TauxVVSEa/ 0CButZDLtg4qtvKsCFeGqgeYGX1v/+gUwR/KAH8YStvorWUVT95jYUd57SQtmYXe4ZYZ UBXpUHcTvRaWipxOPl0M6iwIa/Qn091vgFf9BdnCvBJUlbOLd7wxJ8iCswQgZsiPuBLY ZKp27Bgfi/3+fYsyBiEaJEG+aYBfCGqntdrgXM/ssw1w4DIcTj+SyRLYyyboKvoNkCiL lexq+pz9YOr2Gp8q6r3t8AvJJU7pSUBY7HugSJUTW4t4BzCBMGaKtlg3FvmCO5vlu640 EXaw== X-Gm-Message-State: AOJu0Yz2euse3actlMD4U8tFK3JdYk1o0+nwGiAsPHKylyeYVNLaf28o dYUK+ZpX3dJjRBCDz+a25oHdgQ== X-Google-Smtp-Source: AGHT+IGjfXfdEi+FC95F5SnCn1zV/uuKcGFsWqZfxOQ5CQVz10lrVJ/v+al0iR+cDIdCSxfU0CP1Rg== X-Received: by 2002:a7b:cd89:0:b0:40b:5e1e:fb94 with SMTP id y9-20020a7bcd89000000b0040b5e1efb94mr741927wmj.73.1702164681233; Sat, 09 Dec 2023 15:31:21 -0800 (PST) Received: from gpeter-l.lan (host-92-23-61-173.as13285.net. [92.23.61.173]) by smtp.gmail.com with ESMTPSA id n9-20020a05600c4f8900b0040c41846923sm1875277wmq.26.2023.12.09.15.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 15:31:20 -0800 (PST) From: Peter Griffin To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, conor+dt@kernel.org, sboyd@kernel.org, tomasz.figa@gmail.com, s.nawrocki@samsung.com, linus.walleij@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, olof@lixom.net, gregkh@linuxfoundation.org, jirislaby@kernel.org, cw00.choi@samsung.com, alim.akhtar@samsung.com Cc: peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, saravanak@google.com, willmcvicker@google.com, soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org, kernel-team@android.com, linux-serial@vger.kernel.org, Rob Herring Subject: [PATCH v6 05/20] dt-bindings: arm: google: Add bindings for Google ARM platforms Date: Sat, 9 Dec 2023 23:30:51 +0000 Message-ID: <20231209233106.147416-6-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231209233106.147416-1-peter.griffin@linaro.org> References: <20231209233106.147416-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231209_153122_501401_8B9A8869 X-CRM114-Status: GOOD ( 12.63 ) 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 This introduces bindings and dt-schema for the Google tensor SoCs. Currently just gs101 and pixel 6 are supported. Reviewed-by: Rob Herring Reviewed-by: Sam Protsenko Signed-off-by: Peter Griffin --- .../devicetree/bindings/arm/google.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/google.yaml diff --git a/Documentation/devicetree/bindings/arm/google.yaml b/Documentation/devicetree/bindings/arm/google.yaml new file mode 100644 index 000000000000..e20b5c9b16bc --- /dev/null +++ b/Documentation/devicetree/bindings/arm/google.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/google.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Tensor platforms + +maintainers: + - Peter Griffin + +description: | + ARM platforms using SoCs designed by Google branded "Tensor" used in Pixel + devices. + + Currently upstream this is devices using "gs101" SoC which is found in Pixel + 6, Pixel 6 Pro and Pixel 6a. + + Google have a few different names for the SoC: + - Marketing name ("Tensor") + - Codename ("Whitechapel") + - SoC ID ("gs101") + - Die ID ("S5P9845") + + Likewise there are a couple of names for the actual device + - Marketing name ("Pixel 6") + - Codename ("Oriole") + + Devicetrees should use the lowercased SoC ID and lowercased board codename, + e.g. gs101 and gs101-oriole. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Google Pixel 6 / Oriole + items: + - enum: + - google,gs101-oriole + - const: google,gs101 + + # Bootloader requires empty ect node to be present + ect: + type: object + additionalProperties: false + +required: + - ect + +additionalProperties: true + +...