Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp437496lqp; Sat, 13 Apr 2024 03:56:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGTLZNxGjxrCWfn2hN86b6ZO/icDJrAWYSCYf0GcWxbEQMDp2awucjvL7gptUXCXcUNi4B9ZCifg4rcH7QN4QJHfOIC8CgZZPOtlRTRQ== X-Google-Smtp-Source: AGHT+IGUslUfa/Knw29/dCG2JneAn+ulORB2IlvoAxugzKjxVZGBseMobvvnvQxLhDu8Va9pKxPs X-Received: by 2002:a05:620a:12fa:b0:78d:6b38:c975 with SMTP id f26-20020a05620a12fa00b0078d6b38c975mr5162388qkl.32.1713005784521; Sat, 13 Apr 2024 03:56:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713005784; cv=pass; d=google.com; s=arc-20160816; b=gDC8m1gNzrVSiXFc3u78LYB10N9r516voqNu6Hq3JgT41zFwrY6gl52hy3Khvih7TK t1hQ/87urDN7dfGjwmQ/hbb9d+H3AwYtDNlDYFFPj8Bxn/tRBC7HEqerVyuN/vwkEjeM gmW2bgyM69Hfi7ld122GEc5OQEG3HT+fc4vTyBTfBjEZRaBP+BZ9pCtOMM7mu9+BYdi4 bYNHRpwUoOKCgvvB0PjYyxtZmFJZIBoKqDcJYXjBA4OvIQA+sE2BwDPqRgqwoyaBBdWQ kXDr2dX15XjcliYa8fJ9R98j4iAp9+437FwrKUBkw8p+V1OqvtKKf8ArvtXqXdL3Ll+6 WayQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=bMCcgFj3Y2mKzdk15CFCc0BDUgIrBDRCaO7BYiT03LU=; fh=L8BZ/sHTgxFMMlTvx+yYXgnJhvMa/c2jcowxapngQSw=; b=sBSatu65eOpyOwg9j7sq8SgZbVsGrSdpDbHVt4NjiRk4yxrNwgpFDbByp6jLa7YRmF rPw5ZfRiaPswSb2vzv5+cOrnPFhwYa4BBpE1nx/YxBBbHxGh2WUlpPKHvTS9wk9gurK7 S/9cDKY+NMaIDWt46fvD10c3DasX/fjMw8IWfxT2qFE+CIYYJqg0f6j5EzQWWvSqGDnR NrYHxlh4DKuVvfw3ontOSIFjouKT+z6m5oc+gBcyD92Y1LjLbJNICYCQ4W/9bLCK2bIL AYFqW+6fVct18DO/6ouaE/J1uBdTZw1ZYQ+bNNDO3y1lCzeAYgDYCYF00mnyf/MFQEj3 +V9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-143695-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143695-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id vr20-20020a05620a55b400b0078d6b9ec511si5382468qkn.648.2024.04.13.03.56.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 03:56:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143695-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-143695-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143695-linux.lists.archive=gmail.com@vger.kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 412341C21648 for ; Sat, 13 Apr 2024 10:56:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8BC03D57A; Sat, 13 Apr 2024 10:56:17 +0000 (UTC) Received: from bmailout2.hostsharing.net (bmailout2.hostsharing.net [83.223.78.240]) (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 5C04E32C8E; Sat, 13 Apr 2024 10:56:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.223.78.240 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713005777; cv=none; b=m2Z2zFjZSGoWQTbjiF1SzzWIbkMf4nxmVFBhayYzQynw4Xdip7IBFh92GIN8Fgg9SXxrY/0vy1dzjsdmhGf6KwKYm07nPW6mBZMT092uMThQ9xykMLeKaco15Mv3IpmEQBDOjAceoCU7SKtyuH0oXeEIis+NeT8N7sZkD3sFKvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713005777; c=relaxed/simple; bh=i4dRBcoOhEifKzQLdb6ZPJ/GvNemhgZuPFYuS2Xg6rQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ajluBsDywHGsM6RXX2DpsMRhLp8FClzLg+AJ63RNXqUjt/0P/eqK3MW5N7oZ4zuRaHE7FmuLgVU1BBK7n9PZ5arcEoYV1a4/nxKHef33ZGTDTajD/Gi2BEyv+Hwc7fb4Uu3PyY1CBgp7+4TahpNtapEUNzUnI/DnV6fV4t4Pdf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=none smtp.mailfrom=h08.hostsharing.net; arc=none smtp.client-ip=83.223.78.240 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout2.hostsharing.net (Postfix) with ESMTPS id 5C0EA280269B9; Sat, 13 Apr 2024 12:56:13 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 4908A48444; Sat, 13 Apr 2024 12:56:13 +0200 (CEST) Date: Sat, 13 Apr 2024 12:56:13 +0200 From: Lukas Wunner To: Krzysztof Kozlowski 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 Subject: Re: [PATCH 2/2] dt-bindings: tpm: Add st,st33ktpm2xi2c to TCG TIS binding Message-ID: 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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. Thanks, Lukas