Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp369758lqp; Sat, 13 Apr 2024 00:17:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVggJ0Bheci3BT2vTwT7sdvk9+CdFoVU2SE/o55Jiu5On9BnJutlY1QfV9X3XTSe7PL9xojOQI6BiPIG6RLKzgyltYnON9Icp9rHwbCvA== X-Google-Smtp-Source: AGHT+IHRiIqVoGmrTbo+dVZB8n8XY9BSJzOVizdFWaa1EV4ZDwSPm7nMemEzNf8s9H7rBAZgRzjN X-Received: by 2002:a05:6a20:72a2:b0:1a3:c4f8:7710 with SMTP id o34-20020a056a2072a200b001a3c4f87710mr6689969pzk.4.1712992656948; Sat, 13 Apr 2024 00:17:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712992656; cv=pass; d=google.com; s=arc-20160816; b=vELhN4b9EJZkC+eL58TzBOeymIOPPw2FJn/67v/fOSWBOlB6O2CTDWl6uCJJKyRlVG dcWJO04UZImV8GEDZi52Wf9/3NEDExe83cOlvtSMX81HPQ+OlDsB5nV/1OunttC5YZuv WvDQ8unXsjUZ5WTSqJuoN3k2MF0kytHmFy5NINKTEnpwIeVbvv9rUZVqpYX3MiD9L27R x0d5q1hlTNBZll1YLyCu49UABXnFahRgOOJY/CeaCkk0AciT3E+9H2JxB8dGBoAYmjtA Tev3nRkOx71KNEMKWg6BW2pIItT04EGX7TnKwraQiVzfiply1S9K5MLiWjXEj5MrQZ3M o1fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=xsKJ0SsOx0zGh02X8aXwuRhZZ+HQQlUaqaI2dbR4X/I=; fh=EmJPKBF5y7R4M1e6l1irREsNrnWyYPi+tmWrZG0wu9s=; b=plt47u3ZfI/cKSIYB9Ix2r2DJhrcdWRTh6pLp/AoDJphpjc9/mcm50oc2p2ncOY/xD oyOa1vWjlAS/LyY9Ze993D9uLTNwoKKx2lj9MdD1J72PYlY6Th2Q/G5aG7lf6Ch5H7YE XfxFnaQ/ovlYyQ8+8RNheoH1p0K57Jz/TgPicODxWVhhNEhYA/ZcSuYhg4/LFNmSepp7 n/4mQE07dOJWYvEQQBb0RCYfgQTu0t8PZJy4baPzehCpxssAtaoP+agaWvLKsWXWWtNr kwfyMxrKBwvIZ5YHcAevc3pDWjLOPafjFxq23i2g/likj1YEyVWR7WZzkzQTohaX8HWn rkVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=noGgncqN; arc=pass (i=1 spf=pass spfdomain=rts-flowmailer.siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of linux-kernel+bounces-143613-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w4-20020a634904000000b005dc422577a9si4474593pga.209.2024.04.13.00.17.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 00:17:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143613-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=noGgncqN; arc=pass (i=1 spf=pass spfdomain=rts-flowmailer.siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of linux-kernel+bounces-143613-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.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 3908C285A84 for ; Sat, 13 Apr 2024 07:17:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7C5C210E4; Sat, 13 Apr 2024 07:16:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=siemens.com header.i=michael.haener@siemens.com header.b="noGgncqN" Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net [185.136.64.228]) (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 2513A1802B for ; Sat, 13 Apr 2024 07:16:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.136.64.228 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712992611; cv=none; b=GfexaIgZ46fBRd7ib8cHne+WshWTQuWTDd4nVh42z/pCAXFq5QhEjQTtubTToaOcbWRcFieVHEcVsbTwGotkDopMIHNfdp2xB6YVjxB1rN/0Jl7ESdq7RkiM3RqQqSIR6kOlwp+FZ7eswzTh2aB4DUQPS8V7qxF608NfX+OzhFQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712992611; c=relaxed/simple; bh=VYCAoTa/V/nFhj2VwkHIfOAHACMhnfVxJTdBdmtICIs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OoC8bVEfcJ0bIYv4WGFdk35G1Vog2C4bjXJ4qbhwDIKI+TMsTb7hMELdTb6ZRmKFC9LvTg57INY/ISgkbG3ha36Ra5dJfzRrhbW6Xp1oBcIb9+iJA5zJ3sj+iTztOJvrAPpnJB7lNFIB3sMk8FVzEEkGZpfysbEAfyoYceZ9AOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=siemens.com; spf=pass smtp.mailfrom=rts-flowmailer.siemens.com; dkim=pass (1024-bit key) header.d=siemens.com header.i=michael.haener@siemens.com header.b=noGgncqN; arc=none smtp.client-ip=185.136.64.228 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=siemens.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rts-flowmailer.siemens.com Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 2024041307164199bd038270c0ede9ea for ; Sat, 13 Apr 2024 09:16:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=michael.haener@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=xsKJ0SsOx0zGh02X8aXwuRhZZ+HQQlUaqaI2dbR4X/I=; b=noGgncqNdEsXeWDcacL14GwgaeyD+T1mxWVXmnyzB4xmZLjcth+8P5P77Y6h+MpKcPXB0b L+4e1VGW8osEPc9bpI3KNtr9vuX/GuMc9oOQtkBjPHn7ZczoFtOfmmVL1U2Tv/CNEpLePqcr QxsuDpsZxov3LaTr5xlxj7DSxESUQ=; From: "M. Haener" To: linux-integrity@vger.kernel.org Cc: Michael Haener , linux-kernel@vger.kernel.org, Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , Alexander Sverdlin Subject: [PATCH 1/2] tpm: tis_i2c: Add compatible string st,st33ktpm2xi2c Date: Sat, 13 Apr 2024 09:15:06 +0200 Message-ID: <20240413071621.12509-2-michael.haener@siemens.com> In-Reply-To: <20240413071621.12509-1-michael.haener@siemens.com> References: <20240413071621.12509-1-michael.haener@siemens.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-664519:519-21489:flowmailer From: Michael Haener Add "st,st33ktpm2xi2c" to the TPM TIS I2C driver. The Chip is compliant with the TCG PC Client TPM Profile specification. For reference, a datasheet is available at: https://www.st.com/resource/en/data_brief/st33ktpm2xi2c.pdf Reviewed-by: Alexander Sverdlin Signed-off-by: Michael Haener --- drivers/char/tpm/tpm_tis_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/tpm/tpm_tis_i2c.c b/drivers/char/tpm/tpm_tis_i2c.c index 9511c0d50185..1f277c34e6da 100644 --- a/drivers/char/tpm/tpm_tis_i2c.c +++ b/drivers/char/tpm/tpm_tis_i2c.c @@ -384,6 +384,7 @@ MODULE_DEVICE_TABLE(i2c, tpm_tis_i2c_id); static const struct of_device_id of_tis_i2c_match[] = { { .compatible = "infineon,slb9673", }, { .compatible = "nuvoton,npct75x", }, + { .compatible = "st,st33ktpm2xi2c", }, { .compatible = "tcg,tpm-tis-i2c", }, {} }; -- 2.44.0