Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1225382rdd; Wed, 10 Jan 2024 12:35:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWklfv7p01OJxDggMYqmlSvecTTpd23noKv2IkdXKtFfVOecHiyJVDH6l57BAqwet5WCFO X-Received: by 2002:a19:5e56:0:b0:50e:d514:77bd with SMTP id z22-20020a195e56000000b0050ed51477bdmr5833lfi.18.1704918912350; Wed, 10 Jan 2024 12:35:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704918912; cv=none; d=google.com; s=arc-20160816; b=0PCcFOln7zfgmbEqT/OYk0A6tCv4CJZoY5JpVhr8+fbjaA6SzLTEbHA16DeM+N5VfP V1EbxhiALllNRNe4nrBzuiIouKHbd9gO9gZCNTD8vhlX2cSTBQdefXttHrt8uy/cipGi GiTw/+OInmvYDdtvzN5RA/LBc/v2wf6J9JCBrxmhxUklhyw3Agu5X2z6DnOW8rTsJqSR VE8UiA7fyrUUy6Y++Z3PU2hp6FKDR0+3LgZsGGShyMRjEfvYDx36Q3Fdfwj7Oa/i4/hx B0k2FBHYV+wFMal1iPvVwEvnJjniMKR3jqzx5NXNG4Qk0UqR9NARDk/KG1yaYCkERIBx wh4Q== 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 :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=cG5TS7jiRBzka4KOCkj5yKF26OcvPSo8/7HLaJO0co4=; fh=aVdmQ4buSIaY7qswen3MzeD3EQ74O5GlFUnrfsynFpg=; b=aOQ3toyHT3ydqWrGqscqKxyuUb6uObpVna9oiny9xlpYzb7z0sMfdm4zvAvbBaUplC 35cogNrmpj+Zpyv1KaiEbAjHKyAPNb4yzIK4WCqINexnug7JFZm4hWtbsNkMe62waNUf RqMcWrG3WIhPOUleEayHbHyBgZol9On3K0DWsDQ7YLTcCD+mbYkS2kayWsdL2HIqOOuG 6EAamws5hCwbpk35UOGO3Hm4jYsr0833DyJi9ia50ybr0gpGNbNMFkVpmRqoz1sVhZEQ cXEFle8/MSRvVjCAPfgoRPJB5DvNX853vP0jYXwG0S9PvKUTETOXdpMVRM1/Vq9Zu0kn +Ptg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LbVpedX8; spf=pass (google.com: domain of linux-kernel+bounces-22737-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22737-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h4-20020a17090634c400b00a2b9498888esi1199086ejb.405.2024.01.10.12.35.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 12:35:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22737-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LbVpedX8; spf=pass (google.com: domain of linux-kernel+bounces-22737-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22737-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E2ECB1F2264D for ; Wed, 10 Jan 2024 20:35:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DC7D4177C; Wed, 10 Jan 2024 20:35:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LbVpedX8" Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.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 8BBDE22063 for ; Wed, 10 Jan 2024 20:34:59 +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-ej1-f50.google.com with SMTP id a640c23a62f3a-a2b6593ae10so235705266b.2 for ; Wed, 10 Jan 2024 12:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704918898; x=1705523698; 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=cG5TS7jiRBzka4KOCkj5yKF26OcvPSo8/7HLaJO0co4=; b=LbVpedX8+x/kphqc028LaZchOVUsC1NNuqDghxDUTtCWSNJo4bBpkkSkr5YDQi9HmS zvh9MfUfQY6fgsR/XqG9EPpmb/XH58yFq4cpIcy/nQvr6HNsL4wyBrFuV7URfvPYGFCQ Re3PZ1Qc+rhdrphES3de0v0OCtcCiakIfs5QpGX2RGaurw3aBcU1PEl6vnmCZ+98DIyc Pr+1HPcsIpHqC9VZFVRuehdvB22PvzREG8kY0Fjj83T0sor01G+EjWON9VGtTINN9pdu XdMYmhluQ76UfkCK2EICC10RiInr4MfM/BVBjWV7Ha9OCMZo+lnzN6a5l1QjuM+AL75C 0+wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704918898; x=1705523698; 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=cG5TS7jiRBzka4KOCkj5yKF26OcvPSo8/7HLaJO0co4=; b=NLW3D2p1t4dEtCb1QSLM4nw0v/IjeKKPneo8dggM3XrhWXgxmbPIMZUJMfxbstI0fN Do24zdE3reKoJ7bMIkM8QfzLGYVqttw5nXVBThxxJP+vemxLbt/JobGRzOD/h4CCHcPw Sn6rwBs/oqbApdeaXOtuKXaTL3ceVVWK+qW0ycNOUa8W+JWg4NBuv+wR69JVpShdBpNo 7uTfiCPJI0hllkvmnzX/7tXOB3SK7Cnqs25K4c+G23ojAyiYnbxo0PPjT2pXZAX/DNTZ DDHDsJITG9vubi7oLE2zqGm9Y3Ib7zDVB0Z9Sko58a/ki3t6l7qsRIRLxwD5V5UHCOGs 4PHw== X-Gm-Message-State: AOJu0Yw8j+eT/TErwdI6reOu1s/9SSm2YadA0MauFtVOlDuLlxT+KFJk jzgyvEqF4AI7pz/uTnhiLBfV+Wy2yGkCjw== X-Received: by 2002:a17:907:6d10:b0:a2c:17cb:8f21 with SMTP id sa16-20020a1709076d1000b00a2c17cb8f21mr51828ejc.145.1704918897787; Wed, 10 Jan 2024 12:34:57 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id dt13-20020a170906b78d00b00a26b057df46sm2392480ejb.126.2024.01.10.12.34.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 12:34:56 -0800 (PST) Message-ID: <32d46b64-d4a5-437a-8737-c2d172608559@linaro.org> Date: Wed, 10 Jan 2024 21:34:53 +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 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> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObY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aa7i9dUUFggaanI09jNGbRA/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: <3830c26d-96be-4084-a04d-8edb9ccbab5e@roeck-us.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. The DTS must be independent from driver changes. If synchronization is needed, it means it is not independent. It happens from time to time, kind of expected exception, with proper justifications. In such case, recommendation is to send DTS for the next kernel release, so after the driver changes hit rc1. > > FWIW, if dts changes are sent as separate series, I don't know how I would > be able to review driver changes/submissions without being copied on the > associated dts changes. People are also encouraged to provide links between them. One lore link is required: the DTS patchset, if sent in parallel, should have a link to the thread with the bindings being reviewed on the list. Of course if bindings are already accepted (in linux-next), then it's not necessary. We all know how to use git grep. Now about your specific question: As a driver subsystem maintainer you are not expected, as a requirement, to review DTS code. You can, you are welcomed, but don't you have already too much stuff to review? Why would like to jump to DTS? If you do, your help is appreciated, though. However think for a sec how would it even work? Imagine we send new driver + bindings + DTS for OMAP in one thread, so you see the DTS for your review. Now 2 months later I send DTS for Qualcomm using that driver. You would never be Cc-ed on this second submission. It wouldn't be even possible: get_maintainers.pl would not print your email. Why would you be expected to be CCed on first DTS to review and not on all others/further ones? This does not make sense, really. BTW, I am not saying here anything new. I was babbling about this every second month since few years. :) Best regards, Krzysztof