Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1706506rdd; Thu, 11 Jan 2024 07:06:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFRS4YxrjpYEQl/6rpsmo7hO5s1YM3DOGE3JJImseCfOaYFG1+hmcV7CwKhIUO2YLbFxWnK X-Received: by 2002:a05:6a20:bd19:b0:19a:38b9:b67 with SMTP id fy25-20020a056a20bd1900b0019a38b90b67mr770252pzb.49.1704985566168; Thu, 11 Jan 2024 07:06:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704985566; cv=none; d=google.com; s=arc-20160816; b=nvATPBxsIpDiCQPebDT3V7hrog5I+2oO4trO9lAhiGRzWzEevVFw5BKgdQEJlcugqN eJlIHMtjqto2tL6E6jqQhXyG3iu8HfespwVzrf5HPa0RzzLeGnZ5aGhuH7G8NNkCOozx PUSJ1u2eYAx+/Z9i8+9vQgMhQc+ffEEzyQZUYpeDLucTmkYpLBQooSLB6TrYtUX//gpV todabyUfdj4QOC9T75nPuSYjV6g3PeGCu+z94Hqhh2kFAssz/E8Fp7fvZpQfBw9PTM2/ 9eGBh1SwfgkTItyVPEtj3k75d5ICGAiIqVVQByD8qIfXBPynScUWp81dZER8F9lyc9/g 9xAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:from:to:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=ZJ3MP6ATmvee28CObuFouN18d3lCLkbJd16SrYyeonk=; fh=Q5WYN2AfYBpeJR19bCejw4xiQYtc+nQP5C+FQXhrsM8=; b=FWlaTkkhoXkJI5neyJEuZOvHaaSxyLb0qWqp6vHILqusYv+iBe85ZmQ+7VIOrS6Eyr HWdlME10GWMoUcoJ1CJIECTukx3WfpyNB0tpmBE8ZCpqCrJfbGz6ZQy49K2yuWRnX29H btAoWpyaZq8mUDM/zdUHXRApZ7o7FjWv1f9HaDniF/6mzbVeVyma2WBW+0bGkxqLm9S3 GcktV0iHb0WM6rZ9DiEpK1llRLTBL3FXLFwv7qdciEdw7IGdHeUmBr1VclFr/AOhOQNC 00TBItfNJm9ofOKljVFNk6wM0H6JF37Bns4HYkb1jCl/1HLDZbedi7hkZARl+/QyxomW mANw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=LSfLUfNV; spf=pass (google.com: domain of linux-kernel+bounces-23759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x21-20020a056a00189500b006cb6fc94847si1211777pfh.172.2024.01.11.07.06.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 07:06:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23759-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=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=LSfLUfNV; spf=pass (google.com: domain of linux-kernel+bounces-23759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz 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 40E0AB218E3 for ; Thu, 11 Jan 2024 15:06:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 927A04BAB0; Thu, 11 Jan 2024 15:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gimli.ms.mff.cuni.cz header.i=@gimli.ms.mff.cuni.cz header.b="LSfLUfNV" Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) (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 3CE611F191; Thu, 11 Jan 2024 15:05:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gimli.ms.mff.cuni.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gimli.ms.mff.cuni.cz Received: from gimli.ms.mff.cuni.cz (gimli.ms.mff.cuni.cz [195.113.20.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by nikam.ms.mff.cuni.cz (Postfix) with ESMTPS id EAEEE28392C; Thu, 11 Jan 2024 16:05:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1704985540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZJ3MP6ATmvee28CObuFouN18d3lCLkbJd16SrYyeonk=; b=LSfLUfNV6FS3rNsONNFy0FXSj3mOj2FBxr/EgsZ+iudAxmjFiq4Utko0tJmeXez/fWMtM0 NJokRw/VcfHfibWYXOoakmWD0Tz3yYUaxulozEj3SqD2DuNUSsfZzBnCcdIuwBrqrOw26h jnW022+Yha8CbbFCL2nbtwGDRMX2Kys= Received: from localhost (185-58-42-206.static.masterinter.net [185.58.42.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: karelb) by gimli.ms.mff.cuni.cz (Postfix) with ESMTPSA id A3EB8454CF6; Thu, 11 Jan 2024 16:05:40 +0100 (CET) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 11 Jan 2024 16:06:08 +0100 Message-Id: Cc: "Karel Balej" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Liam Girdwood" , "Mark Brown" , , , =?utf-8?q?Duje_Mihanovi=C4=87?= , <~postmarketos/upstreaming@lists.sr.ht>, Subject: Re: [RFC PATCH 1/5] mfd: 88pm88x: differences with respect to the PMIC RFC series To: "Lee Jones" From: "Karel Balej" References: <20231228100208.2932-1-karelb@gimli.ms.mff.cuni.cz> <20231228100208.2932-2-karelb@gimli.ms.mff.cuni.cz> <20240111105426.GA1678981@google.com> In-Reply-To: <20240111105426.GA1678981@google.com> Lee, On Thu Jan 11, 2024 at 11:54 AM CET, Lee Jones wrote: > The subject needs work. Please tell us what the patches is doing. > > On Thu, 28 Dec 2023, Karel Balej wrote: > > > From: Karel Balej > > A full an complete commit message is a must. I have not provided a detailed description here because as I have noted in the cover letter, this patch will be squashed into the MFD series. I sent it only as a bridge between the two series, sorry for the confusion. > > diff --git a/include/linux/mfd/88pm88x.h b/include/linux/mfd/88pm88x.h > > index a34c57447827..9a335f6b9c07 100644 > > --- a/include/linux/mfd/88pm88x.h > > +++ b/include/linux/mfd/88pm88x.h > > @@ -49,6 +49,8 @@ struct pm88x_data { > > unsigned int whoami; > > struct reg_sequence *presets; > > unsigned int num_presets; > > + struct mfd_cell *devs; > > + unsigned int num_devs; > > Why are you adding extra abstraction? Right, this is probably not necessary now since I'm only implementing support for one of the chips - it's just that I keep thinking about it as a driver for both of them and thus tend to write it a bit more abstractly. Shall I then drop this and also the `presets` member which is also chip-specific? Thank you, best regards, K. B.