Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1255436rdd; Wed, 10 Jan 2024 13:42:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IG40BcjQqgds2Oi1yVkaRfCMmZayLAluarkwmIlgxI3BKJx1Lo6CTCJC6NFtjNEafgkkm91 X-Received: by 2002:ac8:5987:0:b0:429:b64f:3e1e with SMTP id e7-20020ac85987000000b00429b64f3e1emr158562qte.2.1704922920963; Wed, 10 Jan 2024 13:42:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704922920; cv=none; d=google.com; s=arc-20160816; b=nFgae7t97ApzUYQqMItFwEMVpbxZoN1tDhZxw3ch2QafLw9P9MCCMxWp7/kl+8e7Ck Sk04vFBpDiyoOjldnhxZSExIBikE8IB4TCr3ySqdCqvrCDHtTtMe2Ru4IZTrB1izRrlC cj7Wmo/GjgcQUlwy/3c9IIvDnf+l1NYonEgCRm23Oec+BbhKxDOD4DeWk+UNk+JX8acv xxJP7nsaxZ+zVxP/YmD0AJeYBf992uLpAQlsWde08W6ualCXeSIcZiFYA8PI6YlzH7fK 7fpYjq6dgubA55pjkAtZ1KLg4h7cAjNK+iqAQlEAWbKaOZ2KyaRgrZnU7SzSR6k9lpqW WOGA== 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:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=HId8f3hkvGtnDismZhBcVXhWd29HmilwtOOYjG3JP0w=; fh=gdoba7F48DRgWVPBFPOwcTKYkLJtnkQwIPLj3rKcDHk=; b=uDvXaqZo5jCMf/s2iMzgzt/MzttCE9Z0pPaU8IryKkLsAdaHDKsd97W2pcK3gPPRRc JOn/6IXWnMbmjyRJ3/F8UzTfpi8cpeYsdjEKzFUl6VKK706JN23KTNaJN0qXTx9tN6cH 3vPzlp0RtpA5omvOBrau8WeJJ3B231UqRyIfJCqrESUiLM5RVm2TVqMziJBY5imgGpTA 9+9PvIR1O86ZIllWxoS1Dn0FEi/gsLlPp8CvGz5S5AgApENhR99i5gvZ97XjUKucf/9f SHdlFDXWZ/HQKKMrSssyNZ0ltHBZF3KeuaPtiw5zGqz6pWxJCIZLEowW0Xx81Yptg1RT JnGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Kz/HacDN"; spf=pass (google.com: domain of linux-kernel+bounces-22828-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22828-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 e2-20020ac84e42000000b00429b5b85c04si1844065qtw.602.2024.01.10.13.42.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 13:42:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22828-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=@gmail.com header.s=20230601 header.b="Kz/HacDN"; spf=pass (google.com: domain of linux-kernel+bounces-22828-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22828-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 A108B1C229F9 for ; Wed, 10 Jan 2024 21:42:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 492874F884; Wed, 10 Jan 2024 21:41:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Kz/HacDN" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 A04D82AE69; Wed, 10 Jan 2024 21:41:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1d3ed1ca402so42090065ad.2; Wed, 10 Jan 2024 13:41:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704922909; x=1705527709; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=HId8f3hkvGtnDismZhBcVXhWd29HmilwtOOYjG3JP0w=; b=Kz/HacDNbt/0Q6FD3hgLYDM22yMP5h0bcCn8b12Ebr9YMjn2ZvxtsXJFvz5ocUVc4Q sSwWln1I2SAL/D7kue/ad3AtE6EJ3bdvLYddOXoR8UYKBkPIuhc1kb/ww+od/mvo0am0 qi3HxJO+D8/gBvQK768A3jCAlliuTGgxIy7FaZFNNSdsGOfD8VbhGDJ1Gjui/hvLiECa 8rY4QbtFeJbnP4JVvPiWtviGMPouLNpMMBxeExPeJtSrSlnthqwK/ar26rbh8jKERiV0 /DNPhPHdBBM0+bK5UOipcaGbzg03kpM9nEMV1Rad/273kZ6eT1T5eWlG1FvIWG+SDoET ftBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704922909; x=1705527709; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HId8f3hkvGtnDismZhBcVXhWd29HmilwtOOYjG3JP0w=; b=jnX39YKR5RQhph7yTuXE9Ke++ID3VQMk3JjxyiuCMqRjN1tc+s09L1YAuaZdBF0cFp cieSXAvWlMGzP7wWeW0wqplC/GE+SXri+lr/vCI+7f9ew1ohPth4DanlWbt1kzttr3oy PZym7yqKReLqNgi8V9SBTxsBT5k2DHTtcPXcR1yFVf7QTk7gO9XAe4C+Spaka3JJgsUD mU0704ZVilJUlT32mzlxXdIUP1BDw1tq3nPW27R0Xm/rPE0xBYUebLHl+7KwxLtmOkUY ASMMumFSEZKin1jlQFTv6OenpmGngzT+3k3uo0P1TuYC+MimLibQUq6OJ5fLnA3K/Pyo elrg== X-Gm-Message-State: AOJu0YwSpIoJ60i9w2zi8kZREA4A1jvqjj2dBN+hFwxICx3PF2gPKeVE iAxwZzalMnhQMttkm8lSl4U= X-Received: by 2002:a17:902:f54a:b0:1d0:7535:8b94 with SMTP id h10-20020a170902f54a00b001d075358b94mr231266plf.97.1704922908844; Wed, 10 Jan 2024 13:41:48 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id q22-20020a170902789600b001cfcc10491fsm4121526pll.161.2024.01.10.13.41.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 13:41:47 -0800 (PST) Sender: Guenter Roeck Message-ID: <92625821-d79d-4aba-9bef-148f154be427@roeck-us.net> Date: Wed, 10 Jan 2024 13:41:45 -0800 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 To: Krzysztof Kozlowski , 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> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC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ocnQQX JqvvP09whbqrABEBAAHCwWUEGAECAA8CGwwFAlVcpi8FCRmg08MACgkQyx8mb86fmYHNRQ/+ J0OZsBYP4leJvQF8lx9zif+v4ZY/6C9tTcUv/KNAE5leyrD4IKbnV4PnbrVhjq861it/zRQW cFpWQszZyWRwNPWUUz7ejmm9lAwPbr8xWT4qMSA43VKQ7ZCeTQJ4TC8kjqtcbw41SjkjrcTG wF52zFO4bOWyovVAPncvV9eGA/vtnd3xEZXQiSt91kBSqK28yjxAqK/c3G6i7IX2rg6pzgqh hiH3/1qM2M/LSuqAv0Rwrt/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <32d46b64-d4a5-437a-8737-c2d172608559@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/10/24 12:34, Krzysztof Kozlowski wrote: > On 10/01/2024 20:06, Guenter Roeck wrote: >> On 1/10/24 09:54, Krzysztof Kozlowski wrote: >>> On 10/01/2024 16:54, Ninad Palsule wrote: >>>> Hello Krzysztof, >>>> >>>> >>>> On 1/10/24 09:37, Krzysztof Kozlowski wrote: >>>>> On 10/01/2024 15:31, Ninad Palsule wrote: >>>>>> Hello Krzysztof, >>>>>> >>>>>> >>>>>> >>>>>>>>>> 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. > >> If so, it would help to have some documentation I can point to to explain >> the rationale to submitters (and myself). Also, in that case, how is the > > Yes, it would. I can try to create something. > >> synchronization between device tree patches and driver patches supposed >> to happen ? > > There should not be synchronization. Just to remind: we talk about DTS > (so also DTSI and DTSO), thus everything being in arch/*/boot/dts/. We > do not talk about DT bindings, right? The bindings are obvious (and > documented): preferably go via driver subsystem, with fallback/special > cases via SoC tree and fallback to Rob. > Sorry, misunderstanding on my side. I do not and never did apply patches in arch/*/boot/dts/. I referred to patches in Documentation/devicetree/ Sorry, I though you also referred to bindings. My bad. Guenter