Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp155433lqs; Thu, 13 Jun 2024 06:45:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfKe+6HKzjV56HMuRbdMW8AgwdH5oV5752P3Q7WoN5ezHNfZ9nLCXXCe4SgimUHw/iNGRALUKlqNuVvdOLWPFvty/+U5eXJkTiveBmPA== X-Google-Smtp-Source: AGHT+IGVqqwl3i5Zcrlj7Jp9A8VnrksUCiCHqnCF8V8oDJXf4ovxemEAzwWBxaqj6I/ahmAfdPJk X-Received: by 2002:a17:906:a859:b0:a6f:f32:f014 with SMTP id a640c23a62f3a-a6f47cbe077mr332576766b.26.1718286349914; Thu, 13 Jun 2024 06:45:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718286349; cv=pass; d=google.com; s=arc-20160816; b=ZSxJvPMAt/EwoAvuuCQTFxk3Vkm4zBhlfJlz5ut9huqQyO3iHxpfvkMlmSpnG0WqWF 9DLKO2Bmsh1T6yGZMG8CjfhQsLNdjD6Z0Ay3SXEVO5j8qXTdr9+z/NE5yL6svG4P5TdO RKstQKdw7SgHxBkMPI6Nd8dMzzd4QqTQVtDmgTyHUigS7DdDsP/pE7wL6T/0Ni7zpLUp UQeCseojoDTvqXFFXNBx0G0PB8c865ePlqh4e5997Fy07cERzxywSeVLF2uC2WgxEegB KK/zp311bqCnRhHmOVzu5MqzSrh8whSg62gWReRJKITQXq+WQUX9wux5ajtRyvcL0Bl5 Qpmw== 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=vYHhc1a1NIocUbOh/siDCMmg5S6tVrIAIaT7dIMvaRE=; fh=1kuVeVtVSFzKIwP8HNAn8stG22YiGcbRZ+QepxiLklc=; b=ZjPnwr65UuEyHjMmPhsQEzhXSEZgXeFvYWN4wQGxr0+n1vBu5kp3R9vZsWuDNg8HB5 9Y0TgzcWw/CoEE6C8I6nT3Mqkwxej53qUl9Y4efxzfSQru258bINVPosd4+uIkeu/zAn 3UgFHdwefg3fidV55fr1lHP+k2R2jFvui83B+gJjC6xB6Gmjx59O8wYpnBRyqJLuEseg MWl60oLLmfkNPvjSATIVcX9iZ2G1cq5sairj7us6eZaO7/BaPDTh18GS1Xq9NfjHUbzh rtFIa2YecsymKmokbjEHXAc+n3qgVUqi4lzgNJwpZerxsdjyhVTSzf6W76daGlf8aE3s cMUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TDb7IeDh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213356-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213356-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 a640c23a62f3a-a6f56e3cd29si68578666b.866.2024.06.13.06.45.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 06:45:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213356-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=TDb7IeDh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213356-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213356-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 A214B1F22971 for ; Thu, 13 Jun 2024 13:45:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE0CA14431F; Thu, 13 Jun 2024 13:45:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TDb7IeDh" 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 13FF610FF; Thu, 13 Jun 2024 13:45:39 +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=1718286340; cv=none; b=rtxTqUYm6teLS24zxJZbgyn/uvyk5H5G+Nc6h8+mVmc/6gFUSKf9YxeIisgjeS4ZgRwisYnm71k0/FWrA/PLZERPdU1Nwf00Jc7Ahp2P4N4DcFlCdJYd/0yeFh3arHdFnBDxt/XknRKOzrQNGAKEscRqc+nfoKpDY7VVVlPdgHI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718286340; c=relaxed/simple; bh=BADMAGvyZtj+GsRfT/NDr2Jvk9KXxvpLyvmYPtJjSAY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TLc8Tl0z7sAtagPGdQ6ky9qIItxhmKIXJ0e+tT2/T4N1xYi/L8SwEbinSKbc3De1YxFZA7QF9kSbtNbz7C6mam9kctjUNr4m6lcGWaPahLdDUBnG/dLdgVGrPkciB+BR4IlFrdS90WdKxNI6SfZWMv+dzodK/72pssjuGf3BwbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TDb7IeDh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 158F1C2BBFC; Thu, 13 Jun 2024 13:45:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718286339; bh=BADMAGvyZtj+GsRfT/NDr2Jvk9KXxvpLyvmYPtJjSAY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TDb7IeDhIRZlRAwjN4O9eeUdvNarZGkmUanL2dReujN3n4jgUgZrFfff+4cgjhhb4 h6BiHUHjvOGNs/5l0eGs54fVRaWmPL08N5/eCrNtIYSOI0hZPwv6jzwcrVnbvKYK6g 4TCeZZZHpJHOJZ9RK+eMYj9B+3TR/tHdGwfpHdWsOyhqKZ2KRHn8QvtJHRt1YN8wj9 N/swWlg2lAoJ8ZnQM9JDvGW7OyZsYAPH1C7e2Pcdf+MVLzU7x1cJDt7ZfKYNzta8Wy 7LhBi++W/G/igZ1SNghloo1y/OOW4mfAVa1pK1tX10cXV1x48oJ44GW9KeuwDtIzvY 8D2gty4PyMrkg== Date: Thu, 13 Jun 2024 14:45:34 +0100 From: Lee Jones To: Karel Balej Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Duje =?utf-8?Q?Mihanovi=C4=87?= , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: Re: [PATCH v7 3/5] regulator: add regulators driver for Marvell 88PM886 PMIC Message-ID: <20240613134534.GB2561462@google.com> References: <20240531175109.15599-1-balejk@matfyz.cz> <20240531175109.15599-4-balejk@matfyz.cz> 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: <20240531175109.15599-4-balejk@matfyz.cz> On Fri, 31 May 2024, Karel Balej wrote: > Support the LDO and buck regulators of the Marvell 88PM886 PMIC. > > Signed-off-by: Karel Balej > --- > > Notes: > v7: > - Address Mark's feedback: > - Drop get_current_limit op, max_uA values and thus unneeded struct > pm886_regulator and adapt the code accordingly. > v6: > - Remove all definitions (now present in the header). > v5: > - Add remaining regulators. > - Clean up includes. > - Address Mark's feedback: > - Use dedicated regmap config. > RFC v4: > - Initialize regulators regmap in the regulators driver. > - Register all regulators at once. > - Drop regulator IDs. > - Add missing '\n' to dev_err_probe message. > - Fix includes. > - Add ID table. > RFC v3: > - Do not have a variable for each regulator -- define them all in the > pm886_regulators array. > - Use new regulators regmap index name. > - Use dev_err_probe. > RFC v2: > - Drop of_compatible and related code. > - Drop unused include. > - Remove some abstraction: use only one regmap for all regulators and > only mention 88PM886 in Kconfig description. > - Reword commit message. > > drivers/regulator/88pm886-regulator.c | 392 ++++++++++++++++++++++++++ > drivers/regulator/Kconfig | 6 + > drivers/regulator/Makefile | 1 + > 3 files changed, 399 insertions(+) > create mode 100644 drivers/regulator/88pm886-regulator.c I'm fine with this set - just waiting for Mark to review. -- Lee Jones [李琼斯]