Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1226205rdd; Wed, 10 Jan 2024 12:37:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGanNXqX1MO17ZM231a/MrsnyL/+48N/mmKeHSGC6/K4LeKnpWBOasxJKwOdsVa2TAaa126 X-Received: by 2002:a05:620a:1369:b0:783:237e:ba08 with SMTP id d9-20020a05620a136900b00783237eba08mr235071qkl.32.1704919030129; Wed, 10 Jan 2024 12:37:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704919030; cv=none; d=google.com; s=arc-20160816; b=Wo2wLF5UHxmNB3F8GnxSqMBr71IMfvInFibUOo8kbNyT5ehZkB2gX2sxysb2pHTE5l xnEXe39o+xe2F716zsUcjBcRSqTQ9rccAHDuDkLRSKozG1z7ml5UdJHj39JgQ5OD2tbe cH8UKCW288XGy6QNhr7ntO8iS5PB261+jRevsCtfnIx7OgYy9BJdSJhfoUON/VI2yHhd v9nYFWfQZQiniBzPv4DNemqS0ivkp7H7iO61sl3XT2BxtHN0DeVMhMVpcAkMeEEXbM36 aSc6anX3vbVt7j3j8bWTVi8nKVhN2vkickSeAjNCURIXV7+D7D9hcRVLQrqDKWfreuzS f3eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=vF5tupcUeWkTYyiJxCJd6V7g3X/1lq74f/KLJG4DSME=; fh=aVdmQ4buSIaY7qswen3MzeD3EQ74O5GlFUnrfsynFpg=; b=XBLoXtr2xiFtEFHjrjXIo5ExMHBDZxK3DnfogSKBLf2ojvJMSv572lDmVIG4Ka5r3c 6BaOrGNjPLscge//+GAIf6VmLeMKEg4LyIx0WvuczfiZrMYGgLqHQLsfhVtLOnwob193 bllMlfcS9cjfc5wgT1np1ywvwUbIrdvP/Fy0CPc8pB8QDV9NGX++UVXY1yZ2kIGfCpsP 8shejOhn1E9kIGIUV3TanDC1P3Z9wfBBZ7r362rf3wgPgyKTEEycIUdDJSYOVwS7x0Uk fs2pFvmDCMS+9mz9C3rEKT7QLo5J8oVdxvk3Yd3mcsvZwRZI3cqkd1Ay3z90Sfuhys48 dq7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RWDOoiej; spf=pass (google.com: domain of linux-kernel+bounces-22742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i13-20020a05620a404d00b007832edea049si4049586qko.373.2024.01.10.12.37.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 12:37:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22742-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; dkim=pass header.i=@linaro.org header.s=google header.b=RWDOoiej; spf=pass (google.com: domain of linux-kernel+bounces-22742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22742-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CECCE1C21AF2 for ; Wed, 10 Jan 2024 20:37:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5ABA4EB42; Wed, 10 Jan 2024 20:36:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RWDOoiej" Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 F418B4F616 for ; Wed, 10 Jan 2024 20:36:51 +0000 (UTC) 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-lj1-f178.google.com with SMTP id 38308e7fff4ca-2ccec119587so54997801fa.0 for ; Wed, 10 Jan 2024 12:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704919010; x=1705523810; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=vF5tupcUeWkTYyiJxCJd6V7g3X/1lq74f/KLJG4DSME=; b=RWDOoiejsAFcdf8v1ZYntNf1rd6XfTEBytbDRiC6MfM3OcatmvV2LIv2plTkzTTU7b axYxjFbUiVO+8NqDpN4FovfmHaE8C+yl8VjXbNJaAUzSevEhcvCf18Ql1seBvZezKsca whCxd1opn0mVa0RtBCnf3MLPlcR7x5a5aPQOywq54AiB5q+VRDn+GtKScKu3XJJmJSRa nxrvYo5PMuqwrJu8CVz0Ft5ZradpN/rCm6ICaU/n7vQ/nJeS02LXSwZZ9I1U3jeadqZD Kn+pXJ01APUuEwi4y5lVv+3kUeAtddclSrYupbYDSYwHRqf69wcIFd+wHTAUuJ0jQteM 0/TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704919010; x=1705523810; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vF5tupcUeWkTYyiJxCJd6V7g3X/1lq74f/KLJG4DSME=; b=nfgId+SaSDMseik5+m4HSnLhiQCpfvS8Oudx/8o18FzUdPyMiuCmL/kA3CG3mwcfzm b//opl9HG3BX7pn8nhqbhdU5VBnf7MibhZspHWjOzyObnB9QF0/J7SM7N1ja/8e3O+h0 D7zpDl8YQ2bz2HFpDB5VNTI8pbs9hQU7zlQljiZFwWBWVupx9C8CeZdO8LE1C2nTL1cF 13sDwNOmWUtQccx/La8BsC4Ts5tjkO3wvXZgjTvFhvGYZbKnafs1m1nfU7m12iko490p jtNEVk3bnF49Q/Ust8BmSseRZLOC+g+bzQqeBwJvVeta7ofZIHmXfot0NouekXfUjlSy 3dnA== X-Gm-Message-State: AOJu0YzFPquH9u9pmLE3vYNg2eLg2HgT3yLilemEW2MYoIxcMq6Ga6d8 lW/G8rIo/iAr8+kH8eM8dMJQbb8VRj068Q== X-Received: by 2002:a2e:8205:0:b0:2cd:690d:5d37 with SMTP id w5-20020a2e8205000000b002cd690d5d37mr76802ljg.29.1704919009786; Wed, 10 Jan 2024 12:36:49 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id x17-20020aa7d391000000b00556cf695da0sm2310685edq.78.2024.01.10.12.36.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 12:36:48 -0800 (PST) Message-ID: Date: Wed, 10 Jan 2024 21:36:45 +0100 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 v1 7/8] tpm: tis-i2c: Add more compatible strings Content-Language: en-US From: Krzysztof Kozlowski To: Guenter Roeck , Ninad Palsule , Conor Dooley Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, johannes.holland@infineon.com, broonie@kernel.org, patrick.rudolph@9elements.com, vincent@vtremblay.dev, peteryin.openbmc@gmail.com, lakshmiy@us.ibm.com, bhelgaas@google.com, naresh.solanki@9elements.com, alexander.stein@ew.tq-group.com, festevam@denx.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-hardening@vger.kernel.org, geissonator@yahoo.com References: <20231212164004.1683589-1-ninad@linux.ibm.com> <20231212164004.1683589-8-ninad@linux.ibm.com> <20231212-avid-grill-dbead068fac8@spud> <73381bb0-7fa7-4a9e-88df-ab0063058e26@roeck-us.net> <20231212-mouth-choice-40a83caa34ec@spud> <2946fbb1-2a47-4d21-83dc-8e45bf6ba5a9@roeck-us.net> <60c8bbdb-4e08-44f0-88d4-ab164d4843b5@linux.ibm.com> <20240109-pep-coerce-2a86ae88753d@spud> <01974929-dfbf-4989-ba39-369e521827d0@linux.ibm.com> <3d194e84-bf1a-48e4-a376-e5c327c6508d@linaro.org> <2dd37d2b-28da-4e73-9047-61ec5d64bdb5@linux.ibm.com> <385b06e9-1daa-408a-a0ed-7b09d7d539df@linux.ibm.com> <3830c26d-96be-4084-a04d-8edb9ccbab5e@roeck-us.net> <32d46b64-d4a5-437a-8737-c2d172608559@linaro.org> Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6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GbRA/ABEBAAHCwXwEGAEKACYCGwwWIQSb0H4O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <32d46b64-d4a5-437a-8737-c2d172608559@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/01/2024 21:34, Krzysztof Kozlowski wrote: >>>>>>>>>> I have send it as a separate commit. https://lore.kernel.org/linux-kernel/20231214144954.3833998-1-ninad@linux.ibm.com/ >>>>>>>>> Why did you do that? It now just adds undocumented compatibles to the >>>>>>>>> driver. Please, as Rob requested, work with Lukas on his series to make >>>>>>>>> sure that these devices are documented. >>>>>>>> I think krzysztof kozlowski suggested to send these patches separately: >>>>>>>> https://lore.kernel.org/linux-kernel/1c5ace65-2fd8-4503-b22f-e0f564d1c83f@linaro.org/ >>>>>>>> >>>>>>>> Did I misunderstood it? Do you guys want me to include that commit again? >>>>>>> My comment was in DTS thread under specific DTS patch. How did you >>>>>>> figure out it applies to driver and bindings? This does not make sense. >>>>>> Sorry for the misunderstanding. Where do you want me to add driver >>>>>> patch? Before all DTS patches or after all DTS patches? >>>>> Does not matter, why do you insist on combining them with DTS? Drivers >>>>> and bindings are going together. DTS better separate, although depending >>>>> on the case can be together. >>>>> >>>> I have combined DTS and Driver because DTS was using compatibility >>>> string which is not upstream yet hence I thought it is logical to send >>>> it under same patchset. >>> >>> Sometimes yes, sometimes not. DTS must not go via driver subsystem, so >>> sending it in the same patchset has implications on maintainers applying >>> it. Some like it, some don't and you will be nagged for combining them. >>> >> >> "DTS must not go via driver subsystem" >> >> I always thought the guideline was to submit separate _patches_ for dts >> and driver changes, but as part of a single series. I didn't know that >> there is a rule to submit separate patch _series_. I also didn't know >> (and as far as I know no one called me on it) that I am not supposed >> to _apply_ dts changes. So far, I typically applied dts changes together >> with driver patches after receiving an Acked-by: or Reviewed-by: >> from a devicetree maintainer. > > I did not notice you applying them, but such guideline - DTS must go via > respective SoC tree - was always repeated by me and SoC maintainers. > Just like gazillion other things probably was not documented... or even > if it was documented, it would be so deep among hundreds of other rules > nobody would find it. :) > >> >> This exchange suggests that I did it all wrong. Should I reject devicetree >> patches submitted as part of a driver patch series going forward ? > > I propose: just ignore them. The SoC maintainer will pick them up. > >> Should I not apply dts patches submitted as part of a patch series ? > > No, please do not apply them. Eh, English can be confusing. Let's make it easier to grasp: "Please do not apply DTS patches to a driver subsystem." Best regards, Krzysztof