From patchwork Thu Oct 5 15:56:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13410230 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 35918E9270D for ; Thu, 5 Oct 2023 15:58:14 +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=32NhyQkW8AQeX2Xt19q2LbFpwgyQKUJKuYeNnVousaE=; b=g+2x18P3zvksIH tFc1hVcs8gZHa6Hi2OmdQo3GsUdfnc84GbYYSNxE3I5vAU6cvQQlrnmFyT5sK+bNH8+jUOMT1l7dz QRBFJMKG3qDNLNcQKl5L8dbrg9XnC7QFn9Qzp2pQn6L8WpjS7pwcRRs1Te0H89c7uZ1rwB26NKX+y H6uSKljORrFos+uckYBaKKt9LVbgvx16iFSYzViSkaRYFdJMmeUrt//JIh/3+Q/uZTDYOfteGkvpu h6KcXJvgKELlzNggaw9yIyT5BczIaSvkoQwqdKqOZjwjHh/nDFx0qf7x5ooTwnW80TY1biw64cves 4i/tb14mFNEt3hVFKH5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoQjI-003xKf-1k; Thu, 05 Oct 2023 15:57:36 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoQjC-003xFJ-2q for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 15:57:32 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-32487efc319so1184062f8f.1 for ; Thu, 05 Oct 2023 08:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696521448; x=1697126248; 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=yMWnJU8MsW38YqwezPXC42C6b/YrhBHi3/ZxSDJgFAQ=; b=jFFEOqpsb3HbF0BJ7JUwNSStzMGWfPzqLnoLGNGkAWEk7lBbiVFy3I9pW5al9Bvu+u mVBB7xsDv0VidtvesV6P+BWDuMeKfBDFnVhmqrC7jzybeibqpCK+LHyUkwn9sWjIWRW7 G/kWU3XEEhAUqLIROTbFPUDjSfJ9GgKPcdbkQkmdEieGjDgPDdOjhLXzNUfY3O33FrI1 SVxxX8appVlA2HaP8UOSQLROxFZMAg/qT36Eq8ZnX7tXxJT8HvFoZK04KBHkzjHNdNTb iMurrtZJ7NsBjPwc5TfvEow9GAxbtheF5NL1X34k9i4emim5c1G/wB4JY4SWlCK9r4lN h/KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696521448; x=1697126248; 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=yMWnJU8MsW38YqwezPXC42C6b/YrhBHi3/ZxSDJgFAQ=; b=LRICS3yeOThjjhLf0gGCNJfKFbtyqgl94/ktgRImXQZTyvptkXa5IgTioUSNuEA1fM uAXk4B2cAH5zAWVGlGr5fMH+IUJQbMtn0sgC7dSZCdDfFhrUYv+QsHRFfI5xuazvO+vW o3WsrQ8dL/u8FozfhJQfW0iw2Re62alzR5lMLf1Qs9MDZ0fqF1dwoVnQVEFtT1vB2kpH HcvICIiQK99IA7EPHsAMhPLIPITxJLu1PcG6ZqJwHpMnDUEbABYRJuoCMLBN4l/BjPfH I9fiEIP8aAMXS/jwHGsEHekBGoCKg2DA/l5s8Ni4q9sVTJBGx1UUR6FqvbOSRNHxurTv V64A== X-Gm-Message-State: AOJu0Yyw7CZJ3PAKDZQHbJhqM+VZ4fC0V8ekJ797ci7b4Fjdlyyyg34k LPk62yueosEK/iKu911ovDWtYg== X-Google-Smtp-Source: AGHT+IElw6k3YNkDW9u8nFOA5PsXxz5xE+xMGpuB2fgKZPK0gtuloOqBwjzaNH/QHLmyKFBNlfOM0g== X-Received: by 2002:a5d:4286:0:b0:321:651b:4651 with SMTP id k6-20020a5d4286000000b00321651b4651mr5358186wrq.29.1696521448129; Thu, 05 Oct 2023 08:57:28 -0700 (PDT) Received: from gpeter-l.lan (host-92-12-225-146.as13285.net. [92.12.225.146]) by smtp.gmail.com with ESMTPSA id t9-20020a5d4609000000b0031f8a59dbeasm2084336wrq.62.2023.10.05.08.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:57:27 -0700 (PDT) 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, cw00.choi@samsung.com Cc: peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, 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 Subject: [PATCH 06/21] dt-bindings: arm: google: Add bindings for Google ARM platforms Date: Thu, 5 Oct 2023 16:56:03 +0100 Message-ID: <20231005155618.700312-7-peter.griffin@linaro.org> X-Mailer: git-send-email 2.42.0.582.g8ccd20d70d-goog In-Reply-To: <20231005155618.700312-1-peter.griffin@linaro.org> References: <20231005155618.700312-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-20231005_085730_938540_6477C7B8 X-CRM114-Status: GOOD ( 13.51 ) 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 | 46 +++++++++++++++++++ 1 file changed, 46 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..3759d423d9cb --- /dev/null +++ b/Documentation/devicetree/bindings/arm/google.yaml @@ -0,0 +1,46 @@ +# 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 + +...