From patchwork Wed Oct 11 18:48:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13417788 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 98667CDB479 for ; Wed, 11 Oct 2023 18:50:03 +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=oKzHZODwWtDaOcNwWVviuoK1r0l0GfGuimOzd+KD0EU=; b=ejG0nhlZ0n+NlI oIc4vrVeKA7LsmYqUXrjdublE8SWufbkQk3IGdl4kHN88IftAh+H/2QsRViAjU8x9GaEOEp8AoZrA /3kf/68mUFeTVsgsDiW1X+X6egKGxLumxposJ2fu8u7HlMUAKg2wi3ZV99wtHV2yzONKszraIbIz+ zoSyOJ3mIQTpmLzTDAASZqj+LE860nkV5uWw/x3KKwWaY8ElV6L27nvHrMyXn/5nH7bI0kkV5g4jx S7H/kHiKolEgs//Z1vZiF96gx7V9/RFSLmRluQs4EB0y/KRtiDIxAn82UFxqNwCq07FvRY/CQCLSu tIvh/wPOT2dJTAuVvYtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqeGr-00GT06-26; Wed, 11 Oct 2023 18:49:25 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqeGl-00GSvR-2k for linux-arm-kernel@lists.infradead.org; Wed, 11 Oct 2023 18:49:22 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-32caaa1c493so121374f8f.3 for ; Wed, 11 Oct 2023 11:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697050158; x=1697654958; 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=SpmvATsaTcMJ19Dm+6zr7DE57EEBi8DlV0ssb1TyaVI=; b=cXX0mwyEyKKYuHEWCS/bshF749RXE+2939sVukHYoMwAk8Y2IOzlWsD1MXTew7Obhc YqksJ9Ns5pF6P8F1SW2I1xBe42/tcblVQc2BM1li7GhrhlgsuS/eXCoqv9as2L7NIc46 0Vh3gDe9dxC53/dy/EjMV42i7ykXzPYC48VRThg0+xVaW2cx1yk82Jp8p1Ntd5oz6A1y 9Zo2tuNYWDaWVpki7k2SPFq3hQw+On3TVGRymuaaYqD6u4p9G//RVlBxtT79an6s0FP5 nb9YtkuuQsoKTBNJFr5Otc8HlL2R6gPuKa8e+OLwUHfxXBHcF1vjr1pAdCLMockgs6sc r+7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697050158; x=1697654958; 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=SpmvATsaTcMJ19Dm+6zr7DE57EEBi8DlV0ssb1TyaVI=; b=jlUqpPPLue9uQ5l9eY9TPhLmr5kjvgIeqKQ5Rn6hCB29vKpWFpP7fyuH6g800XOHBF +XWkuXKxDlU258TDuWJYbWTL8yLArPbrZ+RRRKw4Tt2Ru0+1KYIFG78bNKj1bnpMDDyU 3AE5/e1JSvlB8vN9WHmC3onNOCYPcuFO+9FW085oW2Y0emq30X05BBcM99dyVrnfUXg9 Y5d8jt+hQM8EayHnuT785o0PlSLxpCwrzKSUGwTGRfWggEARO+B2XbZaJW5dMGuGFJ9q G7l2k9syDsbZ0q2xgC7B/re4jFcJz6EEwilOvAfaRz5nvwouT2hcKE8lJAu2fi2Bx65k my8Q== X-Gm-Message-State: AOJu0YxUMQXzVl8U3xAOI4qZ+ZrOum6dfI0XOdvwOrszDjcGLRlN2NpM N81ZLWQZfhV8QuSsDPaUDsnovA== X-Google-Smtp-Source: AGHT+IHAy75oAsFakfAP4prwtA4lP8VergujqRJdjvDK4geKc35P1aWpL2Iak1gQMuJSm2FE2tk89Q== X-Received: by 2002:a5d:568e:0:b0:319:867e:97d7 with SMTP id f14-20020a5d568e000000b00319867e97d7mr19718489wrv.52.1697050158598; Wed, 11 Oct 2023 11:49:18 -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 v6-20020adff686000000b0031980294e9fsm16003875wrp.116.2023.10.11.11.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 11:49:18 -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, gregkh@linuxfoundation.org, cw00.choi@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 v3 05/20] dt-bindings: arm: google: Add bindings for Google ARM platforms Date: Wed, 11 Oct 2023 19:48:08 +0100 Message-ID: <20231011184823.443959-6-peter.griffin@linaro.org> X-Mailer: git-send-email 2.42.0.655.g421f12c284-goog In-Reply-To: <20231011184823.443959-1-peter.griffin@linaro.org> References: <20231011184823.443959-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-20231011_114919_907423_069016A6 X-CRM114-Status: GOOD ( 13.11 ) 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..167945e4d5ee --- /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 + +...