Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp508965lqp; Thu, 4 Apr 2024 23:36:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7Qm2rpeWUkunOkhDgL1aBlvXWxcn+qvRk1Ir4y82i5BxkUICdRQ++96J5l9anxsGKnorLoLE8sPIj8hgZ2GXmsDyDAgy0/vwYVsQgPA== X-Google-Smtp-Source: AGHT+IFJOGnGAfMPpeqN/MQzjOb/OicBD2zFeilfQSG5acU/uTR+XZm4c23NPWMtFWe6DpJKDYXC X-Received: by 2002:a05:6a00:1888:b0:6ea:db09:1a23 with SMTP id x8-20020a056a00188800b006eadb091a23mr899267pfh.10.1712298973781; Thu, 04 Apr 2024 23:36:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712298973; cv=pass; d=google.com; s=arc-20160816; b=l9NEqCf6laLyvmdz6hRKcE68BUah5N86ZjvQobX8j3OAr8ULEokg7hgoVjHn3+3krg o0UikrX7CkQznS+1OWcGnUp3T7mlVVzBoyh9EDG2H2ePNLKZXNBbM4IR2POAsMzGTx2X TmIKpockJ8Nwz/Vjry07PFvwQSOmu/IlYv7KUTwz95Xs+ezDkkKjZ0jpOGKrKDOF97Oj rJ4vtrBxYbbR5aEatLvzP9Rv/taiLfwilhO1liv+usrgqLPKT2xpUMFXywT0UFe4FNmx qsVTGzxnVnyXsWbcNPPeyiF3DaS5d9Li4KfmZLzdHl0LOIwVaWHTQ1C8FHaUhcHJfEHL iYRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6jw/ZW3eCng2Qo+v63eJLva5tIHUbtfhCc8EVrfo6DU=; fh=efnkGM3BubCK/0kMhvavACwi7nwK5yGMZ/uMNDvEfgU=; b=KJ1tiiola602QV5H2EHuBpnzVU8LDLqf4cWYG5IGZ4GwP5ufG0bzBj1GYwZGpwMmeX Ggdt3QjkVxW//3MxEFwciCWk2OH6s2D5vTLOSQ3fcNqFw7VcYivbRIBoC96V/upoJvet FOZM7nqh7Wyxzauhdq+Bc7od8zc0hiXl5kuEbsoNJmfKUMLVAaayrxVNDJvh1+ISLBcW E/xbV4FDgzyxXS3Gye43TyZn3myo9rQ8XtX+4RHxOugPfttU5tt/PMX+3/EnRpEZB3lL Z8rXr7kZdabpbZ/2fhjAPTfOUls+cTLFC+MVUSOsqltAwC2pWR0aVYgzRuLHi5xUIlsC BfHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z2fzG6jg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-132473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id r7-20020a62e407000000b006ecfa1f4c39si805222pfh.169.2024.04.04.23.36.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 23:36:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z2fzG6jg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-132473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132473-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5DCD1B236BA for ; Fri, 5 Apr 2024 06:35:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BA8B1EB2A; Fri, 5 Apr 2024 06:35:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z2fzG6jg" 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 4CC1A18659; Fri, 5 Apr 2024 06:35:24 +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=1712298924; cv=none; b=M5PBd5+r7/uo13EGArq5EkWYugqER3rPMDGkulZWF9HhHkqM4q3oA6HM4jNc2+JAIon5dCMFY9ssDWuVYrtIjrL9qngpyYTlkuUGRHEbBJ0gF4IEcPi0OmUqfrCQkuId3wfYs8JBOSy+heDQE7NgaYJ1bSdz3cxaC4JjC8Cj8lo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712298924; c=relaxed/simple; bh=pPuorhFj3frbjHffgW3nUZmzMcIbkT7Hc32VnpOtYAs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cr3FRZfww+rw5ukgSkUASrJttm/cI+mCI9SHjx4A+iSEjsPYA0M843ufhQKUnc340+cS53+6EcQ4cPnZdMs35B/sC068XoIjpE9aPfvcb50jw7a05gx2ta5iYi4tV1OkHeahn8/huIkRVhWg+9uEOCgd8vFJFBJNNwQA85w0JD8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z2fzG6jg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F942C433F1; Fri, 5 Apr 2024 06:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712298924; bh=pPuorhFj3frbjHffgW3nUZmzMcIbkT7Hc32VnpOtYAs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z2fzG6jg9t4Tl3X4STbtCcI1ZjrJsefdAPWvz3dfNLJ7MSyy7MRySvyZk5hJsFO1y kBzWfW4p3fzrGqWzkEtegu1zDt73H+Amh8QpB+Zw80VHh6yEI7obbX/TXvVFR2bewU LM5jTtqWsq0qmYZPsU3RVA3DPLvslMhmvl03Hm6YRsvhQJjQ1bP1yYu849DYiDZ+3O JnCx8j4oY1LRl/7RCwmonssPrV4PFv/a3g1PbdGgtpxuCMXXsGMARBDkKTr+ErQNs9 QW2b8fwXynV1BW24TOzalroJSVqG0W/d8M7Bgijga6kjDBhjjFF2CXtyC84Np2uVjd W7Fdw2wnhFLmg== Date: Fri, 5 Apr 2024 07:35:18 +0100 From: Lee Jones To: Andreas Kemnade Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mazziesaccount@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] mfd: rohm-bd71828: Add software-compatible variant BD71879 Message-ID: <20240405063518.GA6194@google.com> References: <20240402193515.513713-1-andreas@kemnade.info> <20240402193515.513713-3-andreas@kemnade.info> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240402193515.513713-3-andreas@kemnade.info> On Tue, 02 Apr 2024, Andreas Kemnade wrote: > Add the BD71879 PMIC which is software-compatible to the BD71828, so reuse > the same device_type enum. > > Signed-off-by: Andreas Kemnade > Suggested-by: Matti Vaittinen > --- > drivers/mfd/rohm-bd71828.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/mfd/rohm-bd71828.c b/drivers/mfd/rohm-bd71828.c > index 4a1fa8a0d76a..f0b444690d4d 100644 > --- a/drivers/mfd/rohm-bd71828.c > +++ b/drivers/mfd/rohm-bd71828.c > @@ -585,6 +585,10 @@ static const struct of_device_id bd71828_of_match[] = { > { > .compatible = "rohm,bd71828", > .data = (void *)ROHM_CHIP_TYPE_BD71828, > + }, { > + .compatible = "rohm,bd71879", > + /* equivalent from a software point of view */ Nit: Sentences start with capital letters. > + .data = (void *)ROHM_CHIP_TYPE_BD71828, > }, { > .compatible = "rohm,bd71815", > .data = (void *)ROHM_CHIP_TYPE_BD71815, > -- > 2.39.2 > -- Lee Jones [李琼斯]