From patchwork Mon Nov 20 21:20:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13462017 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 8F3D2C197A0 for ; Mon, 20 Nov 2023 21:21:57 +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=gzpeV45lfTs7iDYJeeVAm7yip4ppB9VoTnypkNtdC1o=; b=wekQ9mHtekNlH0 +nzBKehInQA1B1IIzAXt9b7S3wZ+ZAuMaYvzt/YDhc7h7xG41qodmkTM80UK0xuuk7ehzGeg4yCU1 Q9U4Kb1VW7YJv3Iq9efJz85yX6drm/G9kb50K6dHserDazKqfC0N/Fkgnkpo7XkxmfQFd9lckhng1 bIrd07cYxu0KPUIcpe+q59z7e60yGuQm0icxxeNqPJw73YkYggbHA1cSAziNPJw4rRVIkRZqN4y/d DqHbCmafZOgyR0EImtSJVZb7sf+IiVkxuihkAdHd7HQk9ppwog/2vdVQiNMmoYiBWDOQSkl8gphqi 0lIMGTztguo/Y05OLApg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r5Bhu-00Er1I-2M; Mon, 20 Nov 2023 21:21:26 +0000 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r5Bhj-00Equg-1Y for linux-arm-kernel@lists.infradead.org; Mon, 20 Nov 2023 21:21:17 +0000 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2c87acba73bso24303781fa.1 for ; Mon, 20 Nov 2023 13:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700515273; x=1701120073; 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=NPrhMgiNguGxrbIvdeLHcyqlQe/MyMdJk9mAGos3v4M=; b=VGjcbqc30ZgMHA6hLwnDvgFcpHmbnRiAxFkbQjXOSSDtd8i45/TGu9nuenvh+/Ed5t Uoq5aNbI0gIdKNOdFTr22XXPwWXMiXznffGYExkQtIrxBNlFavbfzJJh1qjwLIggFoKr LWDl2eX1Otc3UYqLw2K7M2Rx0dy0Zi6ircfELnjmvGQHaaQ4rYsvfUUixWQqEQY66XQG IRW/awfRPcGSyDgCR7felNU4U74CW2snZ3FG1fEfGUcgCtiL9Y/tVJB1nWV2aMXEgXj+ mo1DnaHDEngMNHVxvy7VXa8yOmQhs7CiEIo0qm/FwlRwfZxINP7eyzAVMQ4DugDoJ4xg +5Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700515273; x=1701120073; 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=NPrhMgiNguGxrbIvdeLHcyqlQe/MyMdJk9mAGos3v4M=; b=aFkFi5gQdlJo3tRTLHRK/bx+RGJCSPFus/9yJEAMoAq2Prq9uI6omR3SqlEkqLHRx1 s2yrrENFzdqcHMXigkbvH+RLcfAzjvwA7B7RBakKsh26OyagOLYuyR2wY0Nqu/S4W9tn ewnPU59MzQfpuYZSo+cWXQ2P+Z6NkDgQk3hROOGuYJ0mRTcO1A85k3xg3ZdUhleiJwVg IgcUYIi1Sb//9aONyav0vKm3FHKe9kV1n6pLfHsUI+98z/0yKWZZ5kY4J2O7uM/LzMvE 0nUOdVo4nk+zrSntcwrx1hw9IgTAP+xYn9drys6TOmdUteHmkxWqO/ziDbqmtYHqaaYW Q9SA== X-Gm-Message-State: AOJu0YzN3urhOgoElvT/Wy7ah5aRxTHh6oTDjey45T9RzCkmjAuExx2G RFaFiU8PsjxyEXTEuvcScsgtww== X-Google-Smtp-Source: AGHT+IE/JKzpTwMnQTxuReZhJ11l4AHB9TdiKw1LttbX0YcLxLFVDCxuFEkk2KCs0cS0JmaV5wy8gQ== X-Received: by 2002:a2e:81cf:0:b0:2b6:a804:4cc with SMTP id s15-20020a2e81cf000000b002b6a80404ccmr4975927ljg.53.1700515273249; Mon, 20 Nov 2023 13:21:13 -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 je14-20020a05600c1f8e00b0040596352951sm19518451wmb.5.2023.11.20.13.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 13:21:12 -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 v4 05/19] dt-bindings: arm: google: Add bindings for Google ARM platforms Date: Mon, 20 Nov 2023 21:20:23 +0000 Message-ID: <20231120212037.911774-6-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.rc1.413.gea7ed67945-goog In-Reply-To: <20231120212037.911774-1-peter.griffin@linaro.org> References: <20231120212037.911774-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-20231120_132115_515550_3772E1BB X-CRM114-Status: GOOD ( 12.74 ) 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 --- .../devicetree/bindings/arm/google.yaml | 45 +++++++++++++++++++ 1 file changed, 45 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..0e987fecb2cf --- /dev/null +++ b/Documentation/devicetree/bindings/arm/google.yaml @@ -0,0 +1,45 @@ +# 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 + +additionalProperties: true + +...