Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp117867lqo; Tue, 7 May 2024 14:11:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5Oi+LyC4z6VZQ9PvbVhiJrBAqz4S9Hy5GIKb94g7uRI/JN9Xiw/8MocX/niSeY1ftdduI2JvdVaIgb0UQpmN8kAx+0m1V9PJMmPrSzA== X-Google-Smtp-Source: AGHT+IGG5vaOFIblS/IP6fDKBGHG0SEUUhmqoVQz4zfDoJ90fzHi8QsqTgap19Y/5CR/ZuhwpNUz X-Received: by 2002:a17:906:ef08:b0:a59:afdd:590a with SMTP id a640c23a62f3a-a59fb9c6b4emr51213366b.56.1715116303582; Tue, 07 May 2024 14:11:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715116303; cv=pass; d=google.com; s=arc-20160816; b=jtYj8J/lI/cwHIt6Qjdrq9BM0n0OEloXnoCyvRAO/bsGQqU9sSA10h8//c1KCeSGor Z4fZXH+1FP6jMU1Ut1f3BgbuwplMePsvH3+qjbsyQg9TWsFmXVA/5eK238cqAGdDOve8 lmfbm8qY7mpom8MqZenMV2VhouacfQC0CBC3zuUxpl3k+wazIUCglIFO0kTrctPNTmVk 1A7BS2NY42ZmA4xogIywGbE6MfCAQb38oJ2dofJqO1O28Krjff8tydd1TxjGIsUKXOyT +segFkwg4QFwW45WAIo3rBuFdr36BucfOsCqT/a6IgPRLJMQYC6HIMmAgZrGe7CPKA4e Uvcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6lJOJxeMV3/dL5gcqKtx2esx5I175BQ3OhYY/ixIx0s=; fh=Ep8jLwvcTijUvUdRm97I1zNhwaC5A1PuPeyBzzBkFJs=; b=sTXTeR8jXike+LAY+pcktJXAjh/qFhNSbMTyk3o/Jq9tSBuKjk81GetsfaRz45ESkp egm6vpHQv9kiicFnzgnb3OtwvkOpwfJHboZ/vwcx3SA+Ot8oy4lN+vWj3SA9AIOkO+ys T4/Pn5Q8iJrXRxnBo1lvFUj9O/Fl4jYAk72Y0ENSFhbsCquIkf34EcS09ZB5Y3VWheHu f7ToXQxoS9WEJEj7BUxcBg7hfrHrjOyiB/9IDPV06P8am8/yJnu4V81KZq7HO12ySi1N 9G6d+c/ZB94R1hOJml+vNHWfOmPF1SvAV2bACopuZcYJKyvEpj/TBOc1u8oHMtfK+jI6 JkRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DPoixQPz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172207-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172207-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gt39-20020a1709072da700b00a59b1d81f72si4066359ejc.700.2024.05.07.14.11.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 14:11:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172207-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DPoixQPz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172207-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172207-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4F7CC1F2621A for ; Tue, 7 May 2024 21:11:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A19D414B960; Tue, 7 May 2024 21:11:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DPoixQPz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C37A478276; Tue, 7 May 2024 21:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715116274; cv=none; b=CWMnjstTZ3oqhU++PtSsQpgclOEumXFSJlRogEt14cLblYND4eOo7YLvvfiSsaxLP60cxOwH+iTkheUnGtR0nvC7NvV/cpNkhFSrAXbvAqH1u9QU23YN+ecGW4JKVTPWS6vmk/YLxrHUGORlMrod1xIkl1gRrGso1CujixrcKxE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715116274; c=relaxed/simple; bh=XdUodymdRB65eR7Rdr7ZYq48VpisLuK+dc2m5P9E1jE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i36OYuSNmVAjxXl5UMkuOb/bVB1aEayawOhHpvBneKNN1Gs6OrfqT1xO8W0jP7hDkkEcqL7QQ+1yFRGpeUESKIe6heVOTffTb/DowKUSTo7EGvzGIHpPFMt0Ex5UlEANK2KpSOcFwDR0J4k8R5DzQnlDxpf9kO9HPNHI1QT378o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DPoixQPz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EA90C2BBFC; Tue, 7 May 2024 21:11:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715116274; bh=XdUodymdRB65eR7Rdr7ZYq48VpisLuK+dc2m5P9E1jE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DPoixQPzNU6IyEpl+1YPBIPcbPSW507umWTlrI87a+x4ukswKKUhIL4Q0tRb2K7wO IFP7pGSsVDKfjN37CWzJquawoaZWDAv85aLKLe7xLaQd10BP2V4RNp1nOM6NaqiF/o r4dQhUZXgOSCQubJAGqRHk0H0jq7+iajzL/B3Xd1zbjZztZz0VMKknBZDgIF1W5qnW I5wDyluT2wYzMzLXt5wZx/gx8OycdII7C2YTyFnc3ElG1WwAHQLqizRTu2BQmSzgqa H7gDOx4K9VHZunRE+ELBhHsitZ1CMcbSW/c5dBS5X+fJl0RiJMtgzWwXjqxhmO0Ksr H4n86KutFUOUw== Date: Tue, 7 May 2024 16:11:12 -0500 From: Rob Herring To: Neha Malcom Francis Cc: conor+dt@kernel.org, krzk+dt@kernel.org, kristo@kernel.org, vigneshr@ti.com, nm@ti.com, broonie@kernel.org, lgirdwood@gmail.com, marten.lindahl@axis.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, u-kumar1@ti.com Subject: Re: [PATCH 1/5] regulator: dt-bindings: Unify compatible Message-ID: <20240507211112.GA1053164-robh@kernel.org> References: <20240507122158.3739291-1-n-francis@ti.com> <20240507122158.3739291-2-n-francis@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240507122158.3739291-2-n-francis@ti.com> On Tue, May 07, 2024 at 05:51:54PM +0530, Neha Malcom Francis wrote: > TPS62870/1/2/3 devices have different output currents (6A/9A/12A/15A) of > the TPS6287x family. The I2C addresses are the same between them. There > is no need for different compatibles for each for these devices so drop > them and add a unified "ti,tps6287x" compatible. And s/w will never need to know what the max output current is? Same i2c address has no bearing. That's usually not even fixed for 1 device. > > Signed-off-by: Neha Malcom Francis > --- > .../devicetree/bindings/regulator/ti,tps62870.yaml | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/regulator/ti,tps62870.yaml b/Documentation/devicetree/bindings/regulator/ti,tps62870.yaml > index 386989544dac..2998773db990 100644 > --- a/Documentation/devicetree/bindings/regulator/ti,tps62870.yaml > +++ b/Documentation/devicetree/bindings/regulator/ti,tps62870.yaml > @@ -15,10 +15,7 @@ allOf: > properties: > compatible: > enum: > - - ti,tps62870 > - - ti,tps62871 > - - ti,tps62872 > - - ti,tps62873 > + - ti,tps6287x You just broke the existing users. Wildcards in compatible names are generally discouraged. Maybe if this was a new binding and had sufficient justification why we don't need to distinguish parts, but this is an ABI and we're stuck with them. If you are doing this to support more versions, then feel free to use an existing string. It's just a unique identifier. You have 4 to choose from. Rob