From patchwork Tue Oct 10 22:49:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13416252 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 27BDACD98D6 for ; Tue, 10 Oct 2023 22:50:42 +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=3JTVwWaHamts3gFNFv/StAXGsEM/nEBeBZeZTnr1BM0=; b=aRapXNxUy2Ztpb Dvt1MUfe2wbiuyuOXUmNyYPyKqguuCIIoeHYuPvyqjXFwDmUG/wCt50RsTtiEzjQoGpWGlvrIyx5w pdRp5O++AfhR14SmNFTozM+XFkX0lGd2Mprf1bOzIL8pOdtRA0pDvNXeHLbfGFCgCcBke33TNdstt ks9h8F9mbZdrSdkeubZZfuQCYbePMI84CYq/Y7zeewYLDTM/eBQWGMqYCTCGTXba2d+7VU478Zxke lL71l8Om7kDqczGmUvwpf811PrQG17R2EKzK1tvICKuw3CSJUPeZ7kcjXtu7M+SqAJ5uSiVXiGX1G 1ppap49vtB4BGYeMT8XA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqLYJ-00EIcX-2u; Tue, 10 Oct 2023 22:50:11 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqLY5-00EIQM-0E for linux-arm-kernel@lists.infradead.org; Tue, 10 Oct 2023 22:49:59 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-32d3755214dso959853f8f.0 for ; Tue, 10 Oct 2023 15:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696978193; x=1697582993; 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=XJ74cedc8GAeBZmTMzF3JIrX0TJ1DJCXAuIkw6TmlM0=; b=gkeiYCfpFomZyc9ncei5XQAsqF/EP2F5nMhBH11mFiYhLa7R8m859PybXaEyKxmhSk 0G5rf8rd/oWQoc+S/BNrcDvh3O6k6omBQGw6cEMRf8PcQ+QI4pp3LYGatF3lVJXDx/Yo GkzyNCcVkXbecRwPxUte2YdyZ+XB16KsZL2tMUPtQmdI647pR5/9X/xNhPEm+QaEWzNn Dn9OFNPStY53MZNitdrN96UQqCCmPBC68Wp+vTFytVqOaYSabTjUaK580w2crHHkl1TR f93Bhmnptd+b+EVghkpps4OLQPAR9bfm7xBCYL9aYdiNfpd8IisgKqjpvtwSChNttHng s6ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696978193; x=1697582993; 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=XJ74cedc8GAeBZmTMzF3JIrX0TJ1DJCXAuIkw6TmlM0=; b=MzI/csI61pixGA0bf5ZkFhg/nxpUm/CHxQ4zfkVqmGMPClIJwXMavv0n2dWoJp3zm5 OXpzZRjttJDttjfAEv5P4ZqfOzksZfD3uL25jQ1Kzjepnn6VildOIqsm5Wbit1BRneu2 HArZnJX4qIwutT0QtniYdZCn2oiI+jmchYEe1mU53LoRaxi2gh1Tjc6o0u7dKlYBH5IU YyxYenrpbNqJ3ejM69d3NUCDTXd8XFodHQ/DSeDBsh9TeXiVSPvgFWShrC57PaKbhQ4w 29lG1JQKVrQKqYKDvvmmsBN8CpIjbTUIPoUQ6ghIe/BKbK3jKINlX1UIvu2OhtiPiutr 4Qdw== X-Gm-Message-State: AOJu0Yx+3ftrSDSKLh1WGbsRI8LjzwWHpPS1hlc0OyKN3e2Q+H1fjQiM 7pCAX89B+dgOMyUpcTA+Mp7T6A== X-Google-Smtp-Source: AGHT+IHFt44IvIgGbFix0PK/p+OZEdJuoaRo0Ks4rXQWEu9pD0qfPoVh/wjSuvtPwm9PDp+J2Wwexw== X-Received: by 2002:a5d:4cc1:0:b0:324:885f:f7fd with SMTP id c1-20020a5d4cc1000000b00324885ff7fdmr17262662wrt.15.1696978193218; Tue, 10 Oct 2023 15:49:53 -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 j13-20020adfe50d000000b003196b1bb528sm13689547wrm.64.2023.10.10.15.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 15:49:52 -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, 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 v2 05/20] dt-bindings: arm: google: Add bindings for Google ARM platforms Date: Tue, 10 Oct 2023 23:49:13 +0100 Message-ID: <20231010224928.2296997-6-peter.griffin@linaro.org> X-Mailer: git-send-email 2.42.0.609.gbb76f46606-goog In-Reply-To: <20231010224928.2296997-1-peter.griffin@linaro.org> References: <20231010224928.2296997-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-20231010_154957_109524_6A4A12AB X-CRM114-Status: GOOD ( 13.75 ) 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 + +...