Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp427900lqp; Sat, 13 Apr 2024 03:24:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3y8uflsgpXGzkoJ4e9ahgaXWE7siUlZNfDz1uLLoQYWO2AnF6DsVtc4/vzG/lQk6RN8ajoLGA8kTnIREFpnAP71NsoEyklE6XXzLyrQ== X-Google-Smtp-Source: AGHT+IE3GkYbz8+tl9fCu1uxK/vWIrMmFP1PVqYgXHg7EvQ7SAOuqCGQeDgAIOveu+EZNfgcrlDo X-Received: by 2002:a05:6e02:1a29:b0:36a:ed0:ca0d with SMTP id g9-20020a056e021a2900b0036a0ed0ca0dmr5340130ile.25.1713003845401; Sat, 13 Apr 2024 03:24:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713003845; cv=pass; d=google.com; s=arc-20160816; b=H3wtn3obcoqVCR9DnBzeNu55CKNFqv5U61EnOsjqjkRYMfasBhKp5fQMqdM8a2m6+Y pBqqdDcIcNcfbMs3d0Pgllj3VuI/A3OSiyKltxub1sqY6Q3QCct2r96fZiMJXClftk72 lXT/f8/XaJpF/nKz7LD4nqiQ/m7LmqWqR6duENf/2Dx9ksCPmF43oPck5740yZgdwyYk 9YNzJqqFcUvLAt+YZ1EIXcgd8bJfGAWMEZcX0nRH4ZkljDZ8LQ54HP8iL+sgLzRdJGDu nIn94TJf1d5yke2F9U1kBQwQDe6Q3+ctg2aD0uz86IvkdORp9RBv9T+3B0nqD5nyRgeu oJ6g== 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=PjfN/F1LHae6ZY2eA/wyPK9x2rm3pwkiPSCXj9C6JO8=; fh=RUjaijI/IZ6+ofmg02JDvUF0YaInvRgUeXDPS8hxpgM=; b=03wtUgo/4U44BZ2Z1w8gqSpqM5FBjmO0n9F0047NeCG1kRKs/PRFqhyLlfxEb+PSDt Q/F0MVFMgUAVLvQxw2OXOYmVD4zbfAjwWg5ZCtaE3mxKFs1VLWGKp9ISSAW7BaAx64vZ 9u7yq+iUWa4c2e97mMxvgK5TikiWLN+zJPJD6a8W7xIcP5nDw0d8blgH7p3G7otEdAHI vyWymEZuh4JB02wQSviddNZOUETmxX2icLbt6KgoaZSzz/R+rVLRIlJ0gPu/DZZ0jklw 3QD8dJmFVMTO9n5hMDwB5ELDEx1BH5Q8dudOZgUj6T1o5SmqYDeSX21Kw6k+IaS7aDwK beSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vXiBDsx3; 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-143675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143675-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x68-20020a636347000000b005f0bc94c041si4820999pgb.861.2024.04.13.03.24.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 03:24:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vXiBDsx3; 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-143675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143675-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 92C26B2188D for ; Sat, 13 Apr 2024 10:24:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 022513D57A; Sat, 13 Apr 2024 10:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vXiBDsx3" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 63543381B1 for ; Sat, 13 Apr 2024 10:23:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713003833; cv=none; b=a8NHAQXIkLF8V2Nkj63rXb6qWXVpaCVGhhQQFZ0cMncAMPGQojt6uFWoUupSiAOAR8XeoVKX3P44toG6wUGBqZ86rK02ulDyGawfZiTDJfGBZZxW8sCYTE7ZF2HtHqvJ+OGe27g7Rt6XrIUDkUaJ16GUdN018G9kzyQK5t0DPcI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713003833; c=relaxed/simple; bh=k5zyZfhYtfNvSuxbELHZzcvrFsMbypvZgHyRD9jk0Ug=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gYZ6pNaoeMX6fpYm1Nx6bDIn0UrkeKFpFlsag394JRTtHC6+tqvWS+K7bAxih8vtbEjPH6JyETuvAcc1gJoLl4jgMU+URJcE3vzbHrXta8lhZi69afS0zuiYIWr/ziEXrrLSDULXzghtErDcphI7RgxCyVPjrimtZG96gN9Gs8E= 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=vXiBDsx3; arc=none smtp.client-ip=209.85.128.50 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-wm1-f50.google.com with SMTP id 5b1f17b1804b1-417e327773cso12328535e9.1 for ; Sat, 13 Apr 2024 03:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713003830; x=1713608630; 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=PjfN/F1LHae6ZY2eA/wyPK9x2rm3pwkiPSCXj9C6JO8=; b=vXiBDsx3EGsP0GXBxKRXUZVDrAAy8AFzT/Wf+UC9bA72ipBAEMq/CFxPeieynRer3o 58gze2gYjRAQyigTAJ4sawad2n7d3juN6nWtYrBGZL76VjW80jYds1OMJtV13QS0GbSz poKIxBW/AtG3tucfBMMgfMnFQZmgQCFNtaTHh1bC1XMRKru5SHt4YvlGbu3dLZ3g4ZcN UaBbtz4bdisNDLUTNJCWic4eo9qgUeF5xwnstsncplHkqZamH0ptJZFqLCgcpqU6O7rh 8hmS8CyZJZOS0UxFrPJ5aB1HuIpfypfPYAxlEnj7dbfSl8ZJlAUNHMI9Q7fvXHki3ZHM 0Pxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713003830; x=1713608630; 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=PjfN/F1LHae6ZY2eA/wyPK9x2rm3pwkiPSCXj9C6JO8=; b=o61DhC29dDENoSDkycJStA6XQMt6Xwdf26fjNT8lx6VNItowGLn9rws6WgN6pKBxTl plTezJPELQ6x49Gv8nH4M/3W9xe5izdlXveYMxXcelUmvmwKX9FmosoIu7W6kUCITfJi 5qqXxGVSK0aOqHUKpSoz51pxelWW3Rd1k+69DQI3VPnpa2yZNQpmg192A56rwYmzVVVY dE9OgNmXk9urFE+vYfKnf+XKWx9t2wyG66NYy98cQXhYenPCVMENyOqOiccKkvMqImlB g9PTDfKN/6+kIp2P2TvmNkw+Bou24WLUHL7wZWnKbGE5cOfzwPjJwrQ3l2F361z49IZw sQGQ== X-Forwarded-Encrypted: i=1; AJvYcCVDmL2qKbWqNLILp9HPLbYkcPU15huaMq/4f/j25nKwrIKP1Nw/Nf2TrrdFAQGuS5DHZViRpuy+GuwaOD2v5GafBfNGKmR3yKGvvjFL X-Gm-Message-State: AOJu0YxFHyNFwBPQ9zOXfJF9pjK+fJktjc9uQGKlgz94BhUSjbTfneB9 Bi2o6x03MU1dbm4+f99KjysEdGENBbZV206Fq7FR/k4Xo0hb5l5nJCXC5qC1k/M= X-Received: by 2002:a05:6000:2c5:b0:343:cee1:cbc1 with SMTP id o5-20020a05600002c500b00343cee1cbc1mr8966338wry.14.1713003829602; Sat, 13 Apr 2024 03:23:49 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id v17-20020a05600c471100b00417ee784fcasm6112833wmo.45.2024.04.13.03.23.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Apr 2024 03:23:49 -0700 (PDT) Message-ID: <3d08cf54-f58f-446f-977e-21ba65986924@linaro.org> Date: Sat, 13 Apr 2024 12:23:47 +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> 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/zfG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6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+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:18, Lukas Wunner wrote: > On Sat, Apr 13, 2024 at 10:10:49AM +0200, Krzysztof Kozlowski wrote: >> Please use subject prefixes matching the subsystem. You can get them for >> example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory >> your patch is touching. > > To be fair, "dt-bindings: tpm: " is actually the only prefix used > so far for the file that's touched here: > > $ git log --oneline Documentation/devicetree/bindings/tpm/tcg,tpm-tis-i2c.yaml > 26c9d15 dt-bindings: tpm: Consolidate TCG TIS bindings Command should be run on the directory, but anyway you are right. So it's fine. > > Personally I don't think we need to differentiate between spi/i2c/mmio > bindings in the prefix, so the prefix used by Michael seems fine. > > >> A nit, subject: drop second/last, redundant "binding". The "dt-bindings" >> prefix is already stating that these are bindings. >> See also: >> https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18 > > Right, so maybe just: > > dt-bindings: tpm: Add st,st33ktpm2xi2c > > ? > > >> I got only one patch, but if these are compatible, why do you need >> second patch? Plus binding come before users. > > Right, the order of the patches needs to be reversed it seems. What is the second patch? Device is or is not compatible? Best regards, Krzysztof