Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp794132lqp; Sat, 13 Apr 2024 22:52:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXadxAd3rUpKdYOcbH400+1r+yIiA75vnx6ZEJ2et/aI5FC/bDd0EXkA5WQs10cfjX+KXDuWFK/BtcJ6sFuvdioJ2KXbzpqA17D/0fN4g== X-Google-Smtp-Source: AGHT+IHOgvfxo6nUTXemX1HwK05/d7DnwFJ6w788sQ24aWjSYvpDhOI8lTxPIh12JdU9rq6MpY6A X-Received: by 2002:a05:6a20:2d24:b0:1a9:cd98:5cd7 with SMTP id g36-20020a056a202d2400b001a9cd985cd7mr4964666pzl.39.1713073941828; Sat, 13 Apr 2024 22:52:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713073941; cv=pass; d=google.com; s=arc-20160816; b=l1e0G6FkyPjMuH+OWrhktRDh3MnTEge4Z9+8PEk52nl0fGBw6jBVCGkTbubsc9DaON 7evqL1TyUYOID/FfOdEu22fM3AsTTPGDFkEVy5jLk1wjyPc5V2xFmfaQb8VPJOUicSZ+ IkRO9kiiH7cw4iaswV//s1oG/vQg4OeI0V8Jv5kiFSBTVJibzHGlgHebi2BgCv42WbIS gqp5rBGs03J+IggV7SlnyPBFEmLSh1ga9IEsaTLAYhSHc4+ogpv97zeOEcQy/iT8aLgr /tqhXqGd0XqzJpBfd8Vd2Q8ajBN20HZMtlIU6ZmTObiH/J4Nb2qosXM849BwlxQkDCZG ZGkg== 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=+BIcKwkF8WH4Du8nK3Cmra0ZAndhivR3Sa8HBz2YQiQ=; fh=DAHlx2PPSop11j+6QRbGClnY1JhYCXimsH745IOaiaI=; b=ovYsJnOp4CP9R6WzzIavuIXnfxGbDH4uOdXorXHJeHbCJ92yxjp+9RG9+WBsTyDIxN 2E22Dt6OtflARwObV2UyjbIPa3/KS0APQDgOTFkVN5XLxM/DABGxbkh0M5lUU8fD8yrU kCnVq6LVLc8U8tNm8j07nQEw+OdBffCTgUZ24+FthbQ3cq8hAOyercsEX23Z4a0Tcm28 Vy2B6u7XS/qmDxtDu+Iq+7GfyUDnMvHHe93l/W8aiqEaBaDXbZC2/OnrKH7d339/sAAx nOOn0bDhLBHDbmjP/ugb0La9dpw6qSQ9K5Ncx0bnphME1bGFNRzigWm6HPnb90cBvIWJ yOuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ehZV8xsd; 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-143987-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143987-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c24-20020a63ef58000000b005dc956b1631si5870699pgk.371.2024.04.13.22.52.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 22:52:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143987-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=@linaro.org header.s=google header.b=ehZV8xsd; 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-143987-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143987-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7873C281BF6 for ; Sun, 14 Apr 2024 05:52:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 527571BF54; Sun, 14 Apr 2024 05:52:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ehZV8xsd" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 8AED11B94F for ; Sun, 14 Apr 2024 05:52:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713073934; cv=none; b=uifE6FI4F87+iGIWnHJo8Qfpe8rbDwOzd5XAhVH8ZO5VusXfJnabrQbZjV4DXQOJ5TmsZ24qhNq8zZ0V5OahMoH8c4tlBmT2+QqGEsrwdJW/ys4nI4iDvtoeQZj5tQbTyOAh2F4CA/GKnG3cSY5syfq+S9HuXGV6P8bbRBwkOnE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713073934; c=relaxed/simple; bh=gkFjdp4a1rNpx/+zlzyEZoGADjSfZU3nNZhtvmvrq3E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Xje32592FOgSmGjMrNZ052Qr1RI07n6kCotJLnLrGlsioToG6DTVraCF+hRwe5/NDfXczFTGnVj1unIEc7VA+H7vht7ZikyKsCdsGwpFQgUegBOqoqUlwy/NI5i5L34FKDIm0XB+eBLAhfv29b4tn8KIkRl6y+niwCULXs18n34= 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=ehZV8xsd; arc=none smtp.client-ip=209.85.208.45 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-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-565c6cf4819so5367134a12.1 for ; Sat, 13 Apr 2024 22:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713073931; x=1713678731; 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=+BIcKwkF8WH4Du8nK3Cmra0ZAndhivR3Sa8HBz2YQiQ=; b=ehZV8xsd3ixjCCzalP1Q2su0Pb1iW/ni1oOSvfC4rb2zJktYeM+7zOJS2MXmh/mIDt 3Ec9jMnWd0wpSxGUSCV/s9xN2AqpeYDmodzt8UiOIXx1H2cKofw31JpZgSmsUnTSMrgI dXWlU+N5JQz1/laxFO7wKbrkpaea9Rg5o7gDNTFFdSu1fEJo5g0B+y84n1qkSEP6+nJQ XBIp770lEX2VsmREuEdxHHQ0INegPI6px46z5AXMfp7tR/zXteQMr0JJDXrACX8BOI85 B4dnU3InFdZZaexcR5E7K8xfuoqYb3kX2HZ5Xuzy3sUJ0LsT9bo1jZ43GXcQkRJb25DK H03Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713073931; x=1713678731; 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=+BIcKwkF8WH4Du8nK3Cmra0ZAndhivR3Sa8HBz2YQiQ=; b=ftUkeFTLJvmzwYv+LzSavMzrVSOYuITVsbxQrZ+cD9WUOvYqpKvpzoOb6pzuuL4AII HiMGmW8ZG34wKC/ET1iWwEWzmc/rzmdG0y1jUyyQsnJ+GeU9oV3w+4U9OQSoH2JtDLD7 HYPAEzpxVMmNL1EE503Rm4AOx7ulStjDRsqtsMe8EJ7RuEwg2tvzukmDZzNmkr9192O4 dSI8fU7v5Q984JRMEbkjrY7SE6L3xEMvA6DDigAtDCZrCkcrGzhYctuTzKJw+VOhYCq4 CepcPHvU5pNhBauwawgFaabYMfyQ9jow+qP5roLMaK55kfyFtlvzFvKBpMKOhu8k1iA/ q1kw== X-Forwarded-Encrypted: i=1; AJvYcCX00NmT7rssFmMno4kEehzXM2qqK7qRvW0xwAMiiEFBqp2bseqHFEcEizHUo8ukSeFb6z+YyoigOGNm0yxyEjbitn1VUO+b8BLM6JFP X-Gm-Message-State: AOJu0YyqxCS9Pmn3vpHhzbmLyXEkSyFbqrNYh13cqChhkKsHct5xI+0F WAKahNH00W1xWctXuEJxzYTqU2H/t1G/2eRHoGnc+QuEmwuzQpo/HnrBIPuzZoA= X-Received: by 2002:a17:907:7da4:b0:a52:5827:fb9 with SMTP id oz36-20020a1709077da400b00a5258270fb9mr1347004ejc.27.1713073930868; Sat, 13 Apr 2024 22:52:10 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id x26-20020a170906711a00b00a521591ffacsm3798407ejj.34.2024.04.13.22.52.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Apr 2024 22:52:10 -0700 (PDT) Message-ID: <8de8590f-0ed3-4fd1-82a3-96b5fb767e48@linaro.org> Date: Sun, 14 Apr 2024 07:52:08 +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: "Haener, Michael" , "lukas@wunner.de" Cc: "jgg@ziepe.ca" , "jarkko@kernel.org" , "peterhuewe@gmx.de" , "linux-integrity@vger.kernel.org" , "robh@kernel.org" , "linux-kernel@vger.kernel.org" , "conor+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "Sverdlin, Alexander" 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> <548b7a66-9a56-4971-89eb-1a147d658f0f@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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uXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 14/04/2024 07:42, Haener, Michael wrote: > On Sat, 2024-04-13 at 13:01 +0200, Krzysztof Kozlowski wrote: >> On 13/04/2024 12:56, Lukas Wunner wrote: >>> On Sat, Apr 13, 2024 at 12:53:25PM +0200, Krzysztof Kozlowski >>> wrote: >>>> On 13/04/2024 12:51, Lukas Wunner wrote: >>>>> 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. >>> >>> I disagree.  It's ugly to have inconsistencies between the DT >>> bindings >>> and the driver.  So I think patch [1/2] in this series is fine. >> >> You are mixing different things. This patchset creates inconsistency. >> You even refer here to bindings while we discuss the driver... >> >> Why this one driver is different than all other Linux drivers? Why do >> you keep pushing here entirely different behavior? >> >> The devices are compatible, so growing match table is both redundant >> and >> confusing. That's everywhere. TPM is not different. >> >> Best regards, >> Krzysztof >> > > Sorry for the mistakes made (kernel noob). > I made the patch for the driver analogous to the i2c-tpm of > infineon,slb9673 and nuvoton,npct75x. In the discussion I realize that > the compatibility is a duplication and should not be extended. > > I now adjust the following in the series: > - correct cc receiver list > - delete driver patch with compatibility extension > - change commit title to "dt-bindings: tpm: Add st,st33ktpm2xi2c" Thanks. Best regards, Krzysztof