Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2970571rdb; Tue, 6 Feb 2024 03:27:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHMwyAglJ1M9l5/lK5w3cGWva0NV9KrYQ3YHF8KJMCitJQ+zyeKCXVm28Afn27xudZquP8V X-Received: by 2002:a05:620a:10b6:b0:783:d7af:63c6 with SMTP id h22-20020a05620a10b600b00783d7af63c6mr2223489qkk.28.1707218866666; Tue, 06 Feb 2024 03:27:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707218866; cv=pass; d=google.com; s=arc-20160816; b=sGXY5DG3LJcx7bT29aRNv08t3S0QOFT9jb5BjQtfDeLIDKd2VAU/wB9GICCV9Qqe9D u/e592uITLmM7QXwKKPFQA85dr14FX7IpolJSJmh3oHL/H7rTZANizAF4M30TjQuohfa K/nZM1zGqlKOC+YO4mch1d7jzT8fBaMdmODT1O2wEGiKaabJOOTtDs0BDvhcTA9hTGZw tcxkdB2uYSCLwPRKouRYgrXBVkdfcIDP/0FbkrRR3sSNFcI1PCuxeXcF9h9PUn65ZmaC 2FJXxYyjACclTHqcRmdUdE0a2d80aHj4ACmDXrLGXM81zN+h/O0VeWrWrpVx70MLtST0 u1uQ== 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:content-language :references:cc:to:from:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=YL20oyCUSOrX5NeAsflMjElvQDqC4Fvyflz7/WjWFXQ=; fh=K0x0ulBlJGI3f3Uq/04K6nkKXMU/bTUJ68Wh66Lgyk8=; b=bekw2psX5IY8HZZeFQpd9mCqPKZJMABc3ifcY018hs9MFgPYpe+ut+ld0z3F1UWwQq FIy/ahgeCDMxJdlFJd6/4bxN2YEGp1xnVLEVSlzvTc5lN+CUbk9zxR7sZ51IHAaicIUl BqzIDaUF7kzGpkLclg9lsR/0MqDFkkhw5fwDYAf13sNDvod9imoxTcRG77mEzlp525CV HtBD5zwZVlsGV/LXIWdUVq0V0MG90VymWvXo6xo3aoclMbetrKiqxzcg2wsyUw+Uwlri 2TZB9Z8aCgRJ+xf/AaYb4EtmYk92veoUE2fl9TaDs+rwzolwKVbZpnAHCB8zR/Z2UpBj /LuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x+6+Pol1; 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-54767-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54767-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCV5FpDnaXnguI6QQTqCDw4lhp7dRxx1UQah79IGeZmH92ruHcbNEtW/sQZRRDGUED7ZPCSJ3AZz6ds/k8jFqHknQW8ij6r1M+PyW1FQ4A== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c1-20020a37e101000000b00785937aff0bsi427910qkm.553.2024.02.06.03.27.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 03:27:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54767-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x+6+Pol1; 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-54767-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54767-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 5F8921C242F0 for ; Tue, 6 Feb 2024 11:27:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6A7E12E1D8; Tue, 6 Feb 2024 11:27:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="x+6+Pol1" Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 E9DAE12B14E for ; Tue, 6 Feb 2024 11:27:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707218856; cv=none; b=XllLt1xTUr/obknr/UJnXq7NjCusU+Ie+XHyFXNsgRPkPtRBdPG8lWv5ymc5Jgtwe6enhmzCtM4pV9GMaFX53QInR0YCW2isKJp3U+Bxftkal1VHzOta0LGiCDlMh1DMdUrj3jgQ4/4E1QwJpbUTFBVb+PP97+zCEuOdKKXdiUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707218856; c=relaxed/simple; bh=gXN7kMUWDno01YMrPfKX1MLl3Rs+yrfkwTb+tydc39A=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=TBQInSpVCpREmYs7zwNdXyRSU8TMjTsgmatz7o0IuUpMuqHHFv9i1izTXHnI3grwQxWiNTOrHb0ON9aOYZ726znJNfx3jJTXUJpTVmqIfmoTFlYNvNuk0dhIrKLt6kt4mGW2F5zmsX4RTbI8oawBK9KqC/bdJ2L2zGyRUd76mZs= 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=x+6+Pol1; arc=none smtp.client-ip=209.85.128.42 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-f42.google.com with SMTP id 5b1f17b1804b1-40fe282b8adso3916555e9.2 for ; Tue, 06 Feb 2024 03:27:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707218853; x=1707823653; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=YL20oyCUSOrX5NeAsflMjElvQDqC4Fvyflz7/WjWFXQ=; b=x+6+Pol1cUkKgrS7wu2gnt6qw/VtNMg/UFj6Nmtzug4UKnpVRs1IFfwWiqX47YECmG ghqUO+RBd4HtFD0W/HL41814oU0xxUe6sPqxqvQiZyhQMpMKH3NmN+3NRxP1kQq32ddA QenSqvcYqsDfKRYIeSFqGCArdb/HXh2u6DNfxh27R5TAVkhgiZyMhmN/i/BOzRqobjQJ qlvvCe68Msr7Gc8n7xFAOm91zxR20/B0SxKcnKaWYgpse0lH60Z+qz7IwpWbWdCUl2jM grIj02eGnF169aKh8OypgC3BQjEzqgBcHG/kY0sHTb8/OkPiL6SiugBVGAUG8/wQBKKZ jrow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707218853; x=1707823653; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YL20oyCUSOrX5NeAsflMjElvQDqC4Fvyflz7/WjWFXQ=; b=drLWUrb0UNWLXjQZawivN8/p8spZXcvFZLLbtUKfuAekwxbH5j4870lWbaAqGrgtxb zrvdO0V2BxAOY8DQi1lTtcIMIlRud3qcIZz0JQnr+Q3gwnqtBDJaayRFIwljy/Jlh/Dh zC0wDSziSuIHgdopCV0houwC79+T6dscotp43hAdr8QfPZw7ny6G2woCVK5y1scxNdxU k7Q1MakYyJWJE5Z9nxg5asTDBNKmKpMnBKM8V+AvmE+EWBXmQhMRwNYuOAikCyS5awIj FtFOOhAxwaLUtHKzJxAro6whbzUox7RaXTkRzzrOW3B1S3F/ZpXnn2HvHMQtOu8qGVeH IIcA== X-Gm-Message-State: AOJu0YyGAgqipmD2EIuBLshfeCXnvwCo/sMg4Vyxj1HMDcnbx54nS/g3 6FRJoTv3sPSLkWPVfcM8kahdZDXeThOY6wadBuyEN0NRGT7Bqn59wXkwKJazetM= X-Received: by 2002:a05:600c:12c2:b0:40e:55ca:5a48 with SMTP id v2-20020a05600c12c200b0040e55ca5a48mr2016841wmd.16.1707218853181; Tue, 06 Feb 2024 03:27:33 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCV5ek4Ikf2wgrRNKkJUghWAgoIpRRJ0Mud9KPtDl9F+gnZzKCLCabu6rBlm7qgvf/tmbazcR/Mv/11crA/K7BqnKxw9shHu7ekYKEel1rTvSqbGWrYu/A0EfD2eV0UYG88RoB+iZigOpRcXaebCX952XrTIuwLuTvXVXzG9CeRgquFVOAqGB6HOFJXkyfBforc+Y/oiAgZRA7a6qh4Njjzpgmk6PI8M40vGdY+LYsndupbELQjeMbrWAvBUdsO89D1vdiFhb0z+nsGzD/8T+MAAQlBf50UPPU2pveihfSqBx9WMmPI5et4anJKp/D4= Received: from [192.168.1.20] ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id f17-20020a05600c4e9100b0040ec66021a7sm1695964wmq.1.2024.02.06.03.27.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Feb 2024 03:27:32 -0800 (PST) Message-ID: <0e44a868-0f2f-449d-9520-2ee34dc0ef93@linaro.org> Date: Tue, 6 Feb 2024 12:27:30 +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] dt-bindings: mfd: Update pattern property case From: Krzysztof Kozlowski To: Naresh Solanki Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Patrick Rudolph , mazziesaccount@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240205110244.676779-1-naresh.solanki@9elements.com> <8714b420-58b9-4d5b-a489-31670c8d325f@linaro.org> <47d66b4a-5608-4fc9-88bc-911f74d62819@linaro.org> <803fd797-50d7-42a6-8723-6d001f80f7bf@linaro.org> Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypT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6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <803fd797-50d7-42a6-8723-6d001f80f7bf@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 06/02/2024 12:11, Krzysztof Kozlowski wrote: > On 06/02/2024 12:07, Naresh Solanki wrote: >> Hi Krzysztof, >> >> >> On Tue, 6 Feb 2024 at 13:06, Krzysztof Kozlowski >> wrote: >>> >>> On 05/02/2024 15:00, Naresh Solanki wrote: >>>> Hi Krzysztof, >>>> >>>> >>>> On Mon, 5 Feb 2024 at 18:38, Krzysztof Kozlowski >>>> wrote: >>>>> >>>>> On 05/02/2024 12:02, Naresh Solanki wrote: >>>>>> Driver expects regulator child node in upper case. >>>>>> Hence align with the same. >>>>> >>>>> Did the driver have DT support before? I think no, so why aligning that >>>>> way? I would argue that driver should be aligned with bindings, the >>>>> moment you add DT for the first time. >>>> Yes the driver has DT support already. >>>> This patch is to align with driver: >>>> https://github.com/torvalds/linux/blob/master/drivers/regulator/max5970-regulator.c#L381 >>> >>> That's not support for DT, but just naming regulators. >> I'm not sure if I get your perspective right & please correct me if I'm wrong, >> I'm just trying to adjust the dt binding of max5970 because found >> errors related to >> regulator child node SW0/SW1. >> Regulator driver expects to have regulators child nodes as SW0/1(upper case) >> But dt binding expects it to be lower case. >> Thus there is misalignment & due to which, when running CHECK_DTBS for my >> mainboard DTS, I see some errors. > > I understood that, no need to clarify, it is kind of obvious. I still > claim the same: When the binding was added? Mid 2023. When the driver > was added? Much earlier. So someone posted driver bypassing DT > documentation and review and now you claim we need to accept the driver > choice. Do you think this is correct process? > > If so, what stops people from sending all the driver changes without DT > and documenting whatever they had post-factum? I would like to add that OF probing for MFD driver was added the same time as bindings, so that's the time when OF was added. Therefore you cannot use excuse "there is ABI", because your commits added both OF support and non-matching documentation. My stance is: fix the driver, not the binding. Best regards, Krzysztof