From patchwork Tue Nov 8 23:22:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 13036962 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 C0D6AC4332F for ; Tue, 8 Nov 2022 23:25:15 +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=EEIreHwaSgSx/s6xvV/w48HSwcT63rKXjCb8Cw6cOEc=; b=vDMJs0ig65aWbC wpWdcFlS9JCGTl0UR1CpFuQzCUkaD2QfoQ6PifNf+SlmAytIHF12ITSxFRfEAS27D2OSGpMZizTgC GqZGW6TSo59QukjaU6/xnSUfXwSVh6VxOJQwLVkjTYrXzqZoRXTVm3y9/B1xhIAKXTAdyF59zX/iq GR4+dgArphrMTvnxwe6ItqBBPVuNh+M9HEdy9oSOjcooUpQ6h0ocY6NGlFr97JYp1V5RDTPVT1DIP DXNp5s9S98HcscYH1HVb4hErdwWaiSqEKCjPM7Ep4EgYgwl4MdhQIOUeO4YuuTA7an9fLLmtI1d6j oZpEYun/TxGjqdkbrGDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osXx1-0094sA-00; Tue, 08 Nov 2022 23:24:15 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osXvl-0094HC-AM for linux-arm-kernel@lists.infradead.org; Tue, 08 Nov 2022 23:22:58 +0000 Received: from notapiano.myfiosgateway.com (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id BB79A66029B1; Tue, 8 Nov 2022 23:22:53 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667949776; bh=w2Tw9BNtdcNeeTvJ45kVRaX/QNBeZnEddMsQkOLxDYI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DdBorP2WuTPXQho8lUeITOeCKocfexTzWIn/Nxd5ydEXdokKAOCTjHrlPMp2oOgzV MXUhCukwL+PVDqcMFSRuEYN54Mzvr0e53KLx3ffnqfvjawADinSo5/lcoSlqtJUwtU /BNQKJ+e3HvJkTx19mdqMMOcDPqrcdC9GUvV2jdIotPeDiX+qip3oH2jby+SSPqi20 yQcBFsPmTmfz/0B1WExVfG8Y6i+Z9JD6QcgbUsRgeqP0i4i8X7ha4MCyDYpknEaaYz KFGg5h84QC61/Vm5ZqIfP4hjNC8UUnRZqrva3C76zQe801ojp6QMqmLep35pK6CTYu U3F+AQ4YEcgng== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Arnd Bergmann , Bjorn Andersson , Catalin Marinas , Dmitry Baryshkov , Krzysztof Kozlowski , Marcel Ziswiler , Mark Brown , Shawn Guo , Vinod Koul , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/13] arm64: defconfig: Enable CR50 TPMs Date: Tue, 8 Nov 2022 18:22:23 -0500 Message-Id: <20221108232228.1177199-9-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221108232228.1177199-1-nfraprado@collabora.com> References: <20221108232228.1177199-1-nfraprado@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221108_152257_518421_0E1E15EE X-CRM114-Status: GOOD ( 11.17 ) 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 Enable support for the CR50 TPMs present on Chromebooks. They can be connected through SPI or I2C, and there's a different driver for each case, so enable both. By enabling this on the defconfig we make it effortless to test the relevant hardware on CI systems like KernelCI. Signed-off-by: NĂ­colas F. R. A. Prado --- arch/arm64/configs/defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 9fe43387d83f..c54a85679d40 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -464,6 +464,10 @@ CONFIG_IPMI_HANDLER=m CONFIG_IPMI_DEVICE_INTERFACE=m CONFIG_IPMI_SI=m CONFIG_TCG_TPM=y +CONFIG_TCG_TIS=m +CONFIG_TCG_TIS_SPI=m +CONFIG_TCG_TIS_SPI_CR50=y +CONFIG_TCG_TIS_I2C_CR50=m CONFIG_TCG_TIS_I2C_INFINEON=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_MUX=y