Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4371903rwb; Tue, 8 Nov 2022 16:23:30 -0800 (PST) X-Google-Smtp-Source: AMsMyM7sK3wgA9ysstbVZGxd1MOuJTyG1/O4wL9wXE9r5v9nzwJ0WFhTAXZrE85nXlIxkuxdM3/A X-Received: by 2002:a50:85ca:0:b0:461:168c:83ab with SMTP id q10-20020a5085ca000000b00461168c83abmr58156733edh.359.1667953409882; Tue, 08 Nov 2022 16:23:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667953409; cv=none; d=google.com; s=arc-20160816; b=psa1w8k/MIeQt1NRxK+M87Z35kSVYDP3IqhgELU5075BUG03jLpqM7aiwWGhgoyT2Y zBazpcl/EEx/a1CyBf68rkd95x6k49zqlHtFLd/hZJKom26JelAZ79fJP0eS3zk4+zru /ZPET+7MCr6HdAJIgA6z4DVQ8kFmRbwtLedKIxks1SnTH3kJgjrmmKB4BiqYpZKAH02F cRsuherJCeqwrBHCWl5/cp1TVk3n6b4pzcBRal1BZAzIzSgf8FkBwUzyPlWBcaFgB36z ZTHJoYbXj+mljpewhdg2yUgyi2utf6CnlbhN9VbTJ6XGzUyRVm92SjilLX/R91G4y1tk 0zPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=l/bjeWF4PPewI02Tj7A+x14mB1Nh1MMrw1kelSBUdYs=; b=UoKfOB17e7lR946uEfsdaxj9EcNm0aZwUDDQ1qMOcxaDKjN5uEcFR51mGsRNw4Lv0L 1W9Bqbspr7Tm0o7Pw88pWop5W5I4kWvaEcf0xhiAZwT385SNj+Pun2Kt0RwmK3jj9k9t Lm/HQ9Dd3Z7WR03se9/OFPqPzj9K8GtU/FIgP+l+J1oOrMfmLGV3UEtgeMkcwwSN1tpd xFFO/Qn9s+P0f3A53I5yUz/l4svSL6k5uAijr1oe9fJyr2KazIBhdkfffscFeWzQ3+AK T1p5vd/Z9aHzjOB0iOOQnynzCchlnr8tyfTcp/sSIUrQiSS7UaoVQeOIyoRs27XkkZ4q cYag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DdBorP2W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tz14-20020a170907c78e00b00780a882d337si10436138ejc.480.2022.11.08.16.23.07; Tue, 08 Nov 2022 16:23:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DdBorP2W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbiKHXXY (ORCPT + 92 others); Tue, 8 Nov 2022 18:23:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbiKHXXC (ORCPT ); Tue, 8 Nov 2022 18:23:02 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C45925985A for ; Tue, 8 Nov 2022 15:22:57 -0800 (PST) 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?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Matthias Brugger Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 -- 2.38.1