From patchwork Mon Dec 11 16:23:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13487560 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 0993FC4167B for ; Mon, 11 Dec 2023 16:25: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=A4zWfSSxQNDgYplP9cmTAG8pA7Xx9nOvM3HCiczYCQs=; b=3XnhzK4P1C7RPr /OsKvj8zCD/pYtIpqMBiM3XyqYtwm1HfnTky7aKm1UcVYGpy0rGspfSo2H/qGs4j6aWeuGY/VmQ4H +4YgbUKgjhk5OFdsX8whXOpNaaXH7IsY2Y0UHoV9wgTrqRpOFeJCRXdeSG8lhgTyi2DqpaSZY5B2H +Mrac5qN7ai8IKvDa1JqMAk1G8ePPlQeUKGdD/aX4R9hcZjwtUS3l6HOFVzM7WVd9iV5hNtblQSmf ZY4XwdX8u2MIc0EkdLr+AFfAPPyeeclKKoIjCWRtuUnovLMXNkxum2HGKQCu/VySYT1mSs/xvDGc9 xb3cP0G97mLIuhu4owng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rCj5D-005mW1-1T; Mon, 11 Dec 2023 16:24:41 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rCj4t-005mI5-30 for linux-arm-kernel@lists.infradead.org; Mon, 11 Dec 2023 16:24:23 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-33330a5617fso4916945f8f.2 for ; Mon, 11 Dec 2023 08:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702311856; x=1702916656; 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=ntQd6Owtil6YY6kfGzZXkI4IcBcs/QvakRIvV3Jrlmc=; b=Uu5F2UEJFIjFSy2VyKbBshUwx6RZvtd+cT/HELZoe3X08ooh6uDciGXax9eSqpQVTM YM7xqkeKVPTDco2930lW6VYzsmtTdEAiRCZIJdp2aPqclWH9/t8VQHKzVMIl7ozW6IRi dcEb9ONj7VV8ERbA5HIYlAL/LnvviKkaEPdum17SA2wPXmV0Aime8eG+W0n0LZKgL6DY 50IDa/ZtQkMDWj5fOux0FcOemPJ1hzS7g5iTS1T6wtP66xDENuF6WbS1+CPaDTax3Ckk zgmIrWTiZBfk4lLpcPAA8xeX77gGIgzysaz3mL+1FT8T3BcJWiS4RyKh91mr85oAobv/ IVow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702311856; x=1702916656; 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=ntQd6Owtil6YY6kfGzZXkI4IcBcs/QvakRIvV3Jrlmc=; b=aSWnhrNWtKHU0IH5HNrwmgVaAECHAn/g30GFReKMLz2qhMl8G2iWLmPvwj2+PU1cks arnppJe8Vg4L5a3f8Oo4qGXjKNyJRxIi47ueauGHZaJB15AGu1jk3y96b70O5MFOGgkA V+I6TyyHK3ndeLI8fQITcCC5fHXYIoQQiKYd41q+aurQRiPLzE+6erZUrh/UOCCrd73X 2ASxsodWJb77W748LY4YG6n96bVUQbGhNEXw99tUpqDoG+nycl4oQWwpcFuYCKQUB24O RP5756THFNUuFdfrZtHkhIct/Op1ajsOmcHWNI4T0wJ2KNk2bE2bKOtfBheq3AL1Hg7J 8IWw== X-Gm-Message-State: AOJu0YzD/UG1+5pA+AFw3JNGII1u8gb7eF9YcnMk25mohrEd/mVW/cIu 8Z7MePHESh6bdCnLyFHGEONepw== X-Google-Smtp-Source: AGHT+IERzhWDtnFYAN7fglUabpiLxWRf4WJ2G4/bvTQZRB7ZPQCtA2qqWU1Rohw/fIlMIYr7Qj/kEw== X-Received: by 2002:a5d:4412:0:b0:336:1701:f8f8 with SMTP id z18-20020a5d4412000000b003361701f8f8mr2352487wrq.52.1702311856155; Mon, 11 Dec 2023 08:24:16 -0800 (PST) Received: from gpeter-l.lan (host-92-29-28-58.as13285.net. [92.29.28.58]) by smtp.gmail.com with ESMTPSA id o4-20020a5d58c4000000b0033333bee379sm8923103wrf.107.2023.12.11.08.24.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 08:24:15 -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 Subject: [PATCH v7 02/16] dt-bindings: arm: google: Add bindings for Google ARM platforms Date: Mon, 11 Dec 2023 16:23:17 +0000 Message-ID: <20231211162331.435900-3-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231211162331.435900-1-peter.griffin@linaro.org> References: <20231211162331.435900-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-20231211_082419_971683_BD6A30D2 X-CRM114-Status: GOOD ( 14.29 ) 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. Reviewed-by: Sam Protsenko Signed-off-by: Peter Griffin Reviewed-by: Rob Herring --- @RobH I removed your 'Reviewed-by: Rob Herring ' tag as since you reviewed this I added the empty ect node. Can you please do the review again? x# Please enter the commit message for your changes. Lines starting --- .../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..e20b5c9b16bc --- /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 + +...