Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4300966rba; Tue, 2 Apr 2024 12:52:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDHbhhfGM2EBeQZSl56nzUczzgP7qOOU5Et57MjDhxtex/FPl6Rn+8G/Itto6fmyTG/0rCl+MUptmh+PU4TwO21sgUmIBOa48XzkuSdw== X-Google-Smtp-Source: AGHT+IHu8ggsjB8cM7K/0sfJ1NkJVhPlL+iWTs4RqLS3GlOcrx5Pld++YAnLsD2Md+uLmSgos9Zk X-Received: by 2002:a05:6358:9217:b0:183:f0e8:b625 with SMTP id d23-20020a056358921700b00183f0e8b625mr479184rwb.16.1712087545258; Tue, 02 Apr 2024 12:52:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712087545; cv=pass; d=google.com; s=arc-20160816; b=nz/MRZuil+3Oh9jPI0Yh6xqAQ2nuPywE0euXt17MN5v1VNrU52xdK7FlWSziHnjk5f H87nssRWvE9hLwRdCVpaZEvZZBn1yqGPaXioy76XFp/69seh+xfqnQNV/C1FeqXUlVbf OsvMZChYXGWzKdb2sOfTUfkZnNg62mPqchofgF/9sgHq/OWM8o1JfVt5ih0R78pKPL2P ITU4IOppnXzpd/ZNLXJt0RBmPR81nmgQOjbdhC1nn42/SGXZazW26eBsxhb9wQC48LaT n2MtRIYYYWGeHF8eqtoQbpy5v2uP25G1Koap+sqPEQEuO/NUvBlnkjKFJ89RnWMI3f9C 4svw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=pXXDyERYzoQ6e2JK2ogtEExnW94fSfXE0T5+nD73Hrg=; fh=MAfH1II4t99J25DHjxAH92j7bKD5GQZ8ClDG543qxQk=; b=lDElwWqFF1RPwGIf8qqhcb6cEWrqLb6NDkd5VPu6M78tOHVARyWOgJo9wWzg17EaTJ qD1vwLvjprdFBxCnsJyY4/K7waM8Erz2QsFpm8JuhwLPgojD2VxqHJyXeRWKtJZgsmj7 HW+EpTvWvs7pwlE6aeW9oJCkaWEq6qWCvXPplN6JrmeQk3M+rQuN7x2RXgh5NQn/wIuk /e6Jy5MQ5lsFGmUXGXEpLwddDGTw4wiiY+mcb1kC0qVzk74eTeQfXe3n/z24Kk+4l3mS /44j/U+8XFL/llCnOnvPS9oJoC11ZlnGFs4PCxreNnNT1T6Uxwgl09gXTWnpVeRjGJTF JWvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gateworks.com dmarc=pass fromdomain=gateworks.com); spf=pass (google.com: domain of linux-kernel+bounces-128607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gateworks.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b3-20020a6541c3000000b005dc4baf54desi11671120pgq.769.2024.04.02.12.52.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 12:52:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gateworks.com dmarc=pass fromdomain=gateworks.com); spf=pass (google.com: domain of linux-kernel+bounces-128607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gateworks.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D4EEB28660A for ; Tue, 2 Apr 2024 19:52:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92DCD15CD62; Tue, 2 Apr 2024 19:52:18 +0000 (UTC) Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 687F415AAAA; Tue, 2 Apr 2024 19:52:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=108.161.129.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712087538; cv=none; b=azoT5H8sA1Rq7l8C3Nt6auw4IP8tvoGWrKg2e335hEzT1Uz1XpWGrLVlVwAK17Qqfn4Q+QiG6jb7ak4NlAVCALE9V0DstB8LXIc9PXxFCbepCYnm2Vetalpi+gviK7cjST2wViponlA3dxjyqsJII2m3IlRf5pL2CzvlasAps2U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712087538; c=relaxed/simple; bh=zVrwAjUcGsk/Gvd0IQbWlkXCkBrhd705XLqPbvC6bLI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=W7Et+TADx9XYY3jKrTXrVgFyI796Qip4wrJKcVIygXImrQwzpvAMKOKthDs9lCvD2esZ5MngTqheNXE1sGsmCBpvkwUIZgUsy8Y309qOnaPYjRYdf8mgNPtSOg3vfUfsj6RuKk6eguzD9Oa8W3MznQzURZv9pJrLtF/Br9mne+Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gateworks.com; spf=pass smtp.mailfrom=gateworks.com; arc=none smtp.client-ip=108.161.129.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gateworks.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gateworks.com Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.95) (envelope-from ) id 1rrjtR-000HwR-Jr; Tue, 02 Apr 2024 19:34:01 +0000 From: Tim Harvey To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tim Harvey , Lukas Wunner Subject: [PATCH] arm64: dts: imx8m*-venice-gw7: Fix TPM schema violations Date: Tue, 2 Apr 2024 12:33:55 -0700 Message-Id: <20240402193355.2333597-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Since commit 26c9d152ebf3 ("dt-bindings: tpm: Consolidate TCG TIS bindings"), several issues are reported by "make dtbs_check" for arm64 devicetrees: The compatible property needs to contain the chip's name in addition to the generic "tcg,tpm_tis-spi". tpm@1: compatible: ['tcg,tpm_tis-spi'] is too short from schema $id: http://devicetree.org/schemas/tpm/tcg,tpm_tis-spi.yaml# Fix these schema violations. Gateworks Venice uses an Atmel ATTPM20P: https://trac.gateworks.com/wiki/tpm Cc: Lukas Wunner Signed-off-by: Tim Harvey --- arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx.dtsi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi index 41c966147b94..429be2bab8a2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi @@ -57,7 +57,7 @@ &ecspi2 { status = "okay"; tpm@1 { - compatible = "tcg,tpm_tis-spi"; + compatible = "atmel,attpm20p", "tcg,tpm_tis-spi"; reg = <0x1>; spi-max-frequency = <36000000>; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts index 5e2cbaf27e0f..35ae0faa815b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts @@ -297,7 +297,7 @@ flash@0 { }; tpm@1 { - compatible = "tcg,tpm_tis-spi"; + compatible = "atmel,attpm20p", "tcg,tpm_tis-spi"; reg = <0x1>; spi-max-frequency = <36000000>; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx.dtsi index e7bf032265e0..2f740d74707b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx.dtsi @@ -68,7 +68,7 @@ &ecspi2 { status = "okay"; tpm@1 { - compatible = "tcg,tpm_tis-spi"; + compatible = "atmel,attpm20p", "tcg,tpm_tis-spi"; reg = <0x1>; spi-max-frequency = <36000000>; }; -- 2.25.1