Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp436855lqp; Sat, 13 Apr 2024 03:53:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUR7bFmArDvqP5RjzqgBC4s179Me/8nmQbf4hnNb2mKpGYiMHibshdp9LZ5rjrEis7VRH/m+i9HjU8MTr6XYOOD0kBDvHt0ZlrfdboF2g== X-Google-Smtp-Source: AGHT+IFRYCtpmL7zWja3NDwr/wZHrClATMFvIKbCVdfLX4sPGJdc/0xYQk+5Kobo0pC6mQaw/MR+ X-Received: by 2002:a05:6a20:d495:b0:1a9:db07:82ee with SMTP id im21-20020a056a20d49500b001a9db0782eemr851574pzb.44.1713005622577; Sat, 13 Apr 2024 03:53:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713005622; cv=pass; d=google.com; s=arc-20160816; b=gKW9NqPDVq4tUEF2mWzQF8zWmiyvjesRmge+PU5YAAQcni5hK9fvxApe7trjha0sfb W1qe+xkhA03Xy1b84IchSKBs0Qty3k/R4GR9u0ssT7fwr9mZ+dWPUzMVEv8BquMZkfks bNbU3Ldry13q1SvBb9T9pnYkgZPNwF6jTnZ71iLsVyLdJZivh2ZvDNs839+omFD/zfBL Y1omzPoP5taWjCp043a1d8YDNDNbzqFE5bajaF14PYMBsZcW8Y48ovrk1+o1lpuUHCIF HBgea535XN9xwBdMogAxEeBCSNtzks2L2wVsJ1V5YL4LtndEMUbTL7PrGhiGeQnX+4Lu QCAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=tp3V5G3bWrspZApW8t6O6GCOiJicNYvqdlqoQdt7zEc=; fh=f17kEpzH7KpiggRX7Lxw8SIe8eSOQU/Q8Tuhl0d+uNA=; b=reEQzQsB0b7CUQIbrqLbojtbTVLkrSi8YsIe7ErellTF+YUKEVyMORWr4dU7lmcK29 rd8M3wGKbREbd7wj9WKY1KhW343CBzSs1u/YgyG3cfHw0DzZeppJCJ9QoYisy5w0MbvJ YpZvsxtbaRjeNNN5t3GNnGZ1TmAkIrE0AUOlPZSDgRLX5QeCgyD64i0Sn4aokkhIQO1w Sfh6cZfY7p5txdrRjCd/5m8iL2YfHEihQGoKdSRwQBUZX+nttrhGGf/fK6gZmSLEVcAl 5YWiJhU1YtOKtJ9oaDuBvVw/SGIhxeU3urjm/m43wromdWA8kE9B1LQDMwvCZtU5/40e 9QUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JGPWL1iA; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-143693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id go17-20020a17090b03d100b002a23cda1a8esi4253293pjb.19.2024.04.13.03.53.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 03:53:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JGPWL1iA; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-143693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D60F0B21887 for ; Sat, 13 Apr 2024 10:53:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A1CA3C46B; Sat, 13 Apr 2024 10:53:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JGPWL1iA" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 10D221C6AF for ; Sat, 13 Apr 2024 10:53:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713005610; cv=none; b=rAI9O0WJ4K7UStJ8WkUXSsQoneyj7hfa0mQHsCgOx7fH83xLnVpINJ1wvJxUbdMF99b/rMPZIhAK3VTe3wMUFnN7pzYXnoq3PByNyoA/nY03qgYI8WRJx9Z6eTR60KV+IoMB9WS7HDsSouQBlx+525sBhZaz//QeuATm1uVNUNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713005610; c=relaxed/simple; bh=HR3cVbKUF8BvB6Cv/ei+Pn0cas5cm34XU5Q7MNbQh9k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pUck4CKQYlC4ZMIHrl6ImQ4oBjBBNrpsHK5Q3QLPyLCmHn/9U+zc4dR0AOvgXLdpapqDUyL5iVQsVsq7iZXbfpZcU8zC1xwduKDAA03c0Rwfs34K4B1tzxuo/F7RcbtnaE0tr70p555GSXSZ7Kxbh1K/+55AEwdWptZuAMqgl30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=JGPWL1iA; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-516ef30b16eso1996178e87.3 for ; Sat, 13 Apr 2024 03:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713005607; x=1713610407; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=tp3V5G3bWrspZApW8t6O6GCOiJicNYvqdlqoQdt7zEc=; b=JGPWL1iAcH7HYBks4U72auxkNsU0p/KHme1T9PZ2hf46vWb6+mDTpEpUGTc0zClsN4 3JSfVvXKOhyoa9GZf7YS1HFJhsbO4eNjDFK0uz5zS2Urfj0x0YUtqKBGcry9Q82AQbNb OPq4nvEEssEe78g7vm2gcN3vzqQ3dxQr0sigjlkVvGwX+h5mwxljIldR2WOAzH/MZ9q6 lsoo+37xvUi028HQwBDM4+VanhjIolpAL812WnK+n6YRzonjEtudYg7IGWw2po6/xx6D juEFwCTG3ayII8ZSb8+i53ZXANKqNloqIjO8hMU6XG37znZWGWxKmQQ1VQrZDwhXsPGc JVHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713005607; x=1713610407; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tp3V5G3bWrspZApW8t6O6GCOiJicNYvqdlqoQdt7zEc=; b=W5rtSBW9a34fN7I2ZJIWFco3Pl9iTZKcagS1qWJ+Tpiq2so4BoT3C+CKXCHyCaoTBn 9iKTp1yM36RjlHNtZhkNl2ddKR7pPxy2MlErq3gTTysdCMElRhrdNFEVYbFlWTMv6Rgr h+nLCUDusvm7Agmz5Hb65MdtXTIMx6FwBWG8Gqgj+nHnCWtm8rLMT59zKUSJMeMKdk6F fAp87iT1kjB6K97k1bcZWcKEhfmVaV4F5Rg6NoE1PbGiG5AcvQRYliv+AT59fW2iWyNp puqKMbX7aTiwnDD4JaPb7lBG9HNfn6obn7RGwMCUqKBpiTjPAYxrDzOQuRqZBQfolUB/ MIiw== X-Forwarded-Encrypted: i=1; AJvYcCUNaLXgdNuHmxQaLyS0R4ArA1eMLugW8NQWwxSHWN1pju45E5B6c+++wId95nuGcLIqcSOAH2lUGHSUe/nWjx1yaizPNlq2LQy6AXWU X-Gm-Message-State: AOJu0Yx6Ntd5c1TE/4VkxNKLQT8w2tNoGGKG+X62l5B5e8ouQKcsjcWN 2SvCdFZSjODq7Qdke7+UUetnZDAe1Tb3qLC7JYmW5WzVPuqlIw2/2jrUHmj2SCs= X-Received: by 2002:a05:6512:e95:b0:518:8d5b:d44b with SMTP id bi21-20020a0565120e9500b005188d5bd44bmr3196326lfb.38.1713005607098; Sat, 13 Apr 2024 03:53:27 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id sa41-20020a1709076d2900b00a4e03823107sm2841723ejc.210.2024.04.13.03.53.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Apr 2024 03:53:26 -0700 (PDT) Message-ID: Date: Sat, 13 Apr 2024 12:53:25 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] dt-bindings: tpm: Add st,st33ktpm2xi2c to TCG TIS binding To: Lukas Wunner Cc: "M. Haener" , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Sverdlin References: <20240413071621.12509-1-michael.haener@siemens.com> <20240413071621.12509-3-michael.haener@siemens.com> <8c13a349-a721-44d3-9e23-2e01f4c2ca4d@linaro.org> <3d08cf54-f58f-446f-977e-21ba65986924@linaro.org> <889ca65c-c9c7-4658-9c34-5d89774218cc@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+Wm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EFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 13/04/2024 12:51, Lukas Wunner wrote: > On Sat, Apr 13, 2024 at 12:43:38PM +0200, Krzysztof Kozlowski wrote: >> On 13/04/2024 12:34, Lukas Wunner wrote: >>> The other patch just adds an entry to of_tis_i2c_match[] in the driver, >>> pretty unspectacular: >>> >>> https://lore.kernel.org/all/20240413071621.12509-2-michael.haener@siemens.com/ >> >> Then why is it needed? > > The binding requires two entries in the compatible string used in the DT, > the chip name followed by the generic string: > > items: > - enum: > - infineon,slb9673 > - nuvoton,npct75x > - const: tcg,tpm-tis-i2c > > This allows us to deal with device-specific quirks, should they pop up > (e.g. special timing requirements, hardware bugs). We don't know in > advance if they will be discovered, but if they are, it's cumbersome > to determine after the fact which products (and thus DTs) are affected. > So having the name of the actual chip used on the board has value. So you say devices are compatible. Then the second patch is wrong. I cannot respond to it, though... so NAK-here-for-second-patch. Best regards, Krzysztof