From patchwork Fri Dec 1 16:09:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13476045 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 3651EC10DC1 for ; Fri, 1 Dec 2023 16:11:50 +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=7rq48hUoFgvbHe4jvEpeY0iVnbb2OYPrkUAQ2NYzDoc=; b=kAzADoUxRmr2bm cMxH53pNm4jg3PnBgG3B9uWUDU7tvXy+8Miesbv8tdvuyUCueYI/uid5PSwdx25gZaHzi/ZS2rArD iAQSD6kAQz1zKAH+sNUMj/8rW6U2qlOhFWem5GpjjSOiFuczWfuDFmjtHlyQemL2rAJojZdYYbZqt 2XYirD2WJ3SenVmYhGylIouOIgQxkGLHPRl0yo6jX5K+ftADsAzL98HZ2Ftgd+cuanUgig0YELkU/ GxN4+qAGtNcGlIzOa3SnPf01L5FsuyACPgUqox/HZ2doL32YlFrpw5+vNFlcDqNx2VvxuhfKAIZzY 9B8JQ4yaeiqT8Q2bNYiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r966X-00E7m4-1c; Fri, 01 Dec 2023 16:11:01 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r966U-00E7jE-0d for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2023 16:10:59 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40b4a8db331so21848345e9.3 for ; Fri, 01 Dec 2023 08:10:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701447056; x=1702051856; 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=RqUq8HgRrGxmt9Sh9WkyxYYOgIWePrhLH04C32o9WIM=; b=VMOx1xIouBdqY6Z9n/Zp+yCmuI1vsny/xGR6g3hwgFqvaAc2iE53JZMNEnx7v3DnOG z7cNU7KYHL6euaGtrbQpg7qMNz1xZxj7uiAyv0Z9DipwSGBlSdxoOVPQobKZZWBLB3m/ ITsX7QIFViRDIJctlWOKwxxG0xvak05cty18Y7apJYGjcWxJWLv/UHXB/rejtwpVduci OtOJuqYsHQoZVZJIgc1jEW940XbKwDLEn4NIhsYp2h9FZaPhRN7rVmAr7lSrSoY2o2sR BIyQWJh+OjGnRmYI99l/zOwInDqW+U30KjuyGFP40HWUyQ8zqdwdgtH3VNVaABxb+P8c zuCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701447056; x=1702051856; 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=RqUq8HgRrGxmt9Sh9WkyxYYOgIWePrhLH04C32o9WIM=; b=s4OzfmLg19GZ+/H+LXPdGMjP3JoVPFqU+FfkfldvwKbV3PhEoU9Bi4kvZyoW9c6wuo s/jeVDfuSetG4hE6cZOcAJw5LmT5FbYxNk2uItohh/S+xRYEMOJs4zLYtZax6H/CygsP /dB3lRFzubG00ePrE1ZtSkPO628hzd117cGv5XBbMbQYn2Z3oyWeZnzuIqtwqz/FlqQv 32z2PqGyAiKFB0OU8Xq8CB/g8AtgUBlIbFl1s1MsmuH3AXV6RkXj+P779VTsrjpOgnQJ kaSYdlAzBi0DigNlZtsXhcdFMMzC6Nk+BfcUnH8SYzc6mmcwGbzsIKakAmzPEPZpM2hJ PZ+Q== X-Gm-Message-State: AOJu0Yznld/3Uk8U/Q/LoSGlhBP+Senbo7H9cZk37xepKpYdsgfGmfua fDnty+4WyNSzb6s+PLwMStXkfg== X-Google-Smtp-Source: AGHT+IGxH3HZRD9B1F0nvSoZso66FA8TLrJx4cs/LpqBZQYZyLd3azB4kfjBGCl5Q90eurcfEWOWWg== X-Received: by 2002:adf:ef83:0:b0:333:2fd2:51fa with SMTP id d3-20020adfef83000000b003332fd251famr1015597wro.115.1701447055983; Fri, 01 Dec 2023 08:10:55 -0800 (PST) Received: from gpeter-l.lan (host-92-29-24-243.as13285.net. [92.29.24.243]) by smtp.gmail.com with ESMTPSA id cg16-20020a5d5cd0000000b003332656cd73sm3907386wrb.105.2023.12.01.08.10.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:10:55 -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 v5 05/20] dt-bindings: arm: google: Add bindings for Google ARM platforms Date: Fri, 1 Dec 2023 16:09:10 +0000 Message-ID: <20231201160925.3136868-6-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog In-Reply-To: <20231201160925.3136868-1-peter.griffin@linaro.org> References: <20231201160925.3136868-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-20231201_081058_230775_83CB8067 X-CRM114-Status: GOOD ( 12.56 ) 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. Signed-off-by: Peter Griffin Reviewed-by: Rob Herring Reviewed-by: Sam Protsenko --- .../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..be191e70192d --- /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 + +...