Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp933401lqh; Sun, 5 May 2024 08:15:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKdYsYhkCdR8tRCTmhf/kuFXZrSpDqaMIAdkGrtr+zrCUV7vQPITDwZCc23Q86WcRA8S/bOESUkAmQbaeG/Gdy7I0Bzm3cg3Q5qQvnWg== X-Google-Smtp-Source: AGHT+IFO36K1hy6YOHUnRIJe9oX9YDD0Xs5VT5juYzgEnPv6FYUu/CpCAVGuuFAk2ayWeOJD4Jfd X-Received: by 2002:a05:622a:1a29:b0:439:d07d:e25f with SMTP id f41-20020a05622a1a2900b00439d07de25fmr13436110qtb.16.1714922113153; Sun, 05 May 2024 08:15:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714922113; cv=pass; d=google.com; s=arc-20160816; b=bSQnLWeGqDgPNLw4p5byNLF42vXtsNMh7libtZOTorvbbZKcRQouXEiF1qFVl6fYkg e99aMU4W/Tz2X1Zg7jAy2lbmpHid5wTqqV37hesFWLwifRe7XFM7SUoQiQzXqVUaLhiP 3RJjZBmA26eumIJG7jeJszMMjFVpEC9xw9dxk2MsSQyPchvSe6tpDM/b2RY4QurNUqT7 G05c0OPfmmV2u5dygtTrUpOlhJYZfOqw824swRiZgjfGnt8bBwqgTHKK/DpXnvJX/hcm hM4Th6cw7HaQ0Z9Ud1C7kOhxpQzvRrPKEZSJfvHhcd9ZV74/mzGMS492ftKJmfb/a1rP s8fw== 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=ADUS4+pdCx7bZDeIG6b1UohV7YlnYvDiVLgk+SHif9k=; fh=7ql9WosnH1scKD6TCLQtRsKA0XeQ4QV0ex0ETHzHqMY=; b=ESDA/y9sabk9ib+/6UZXLBpFXQLbRAG3FnEQzBu1yL7nsAS0xhXTBiGSZB8mXBaWYJ EUWAILJ+hLQLPd1xt6MyvtsDIr9JVX+mLOOiHnNTGTlCW/3PCsr1IkhyYYKNVnfr0iML 9iOqmZkFrM9G0j8OB8ZqRuAGmUcygx1DyXrQkXsirljpvvKQYe9A/a8/yStMInnMesT1 /G+5ld73vSlyKrnwP114yLr45hxMUfKgEZ5jR1i5Z+sFmUY+4bDKXODvdlUP0+YCaOoe LlFjq14A/DYjTrYGJ9ZKlpDGGk9aRzZIaZBLFeanS/Rt+om6ASlMgngpfy2rNR5k+8g9 TDxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="k/ELJ4Lr"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d15-20020ac85d8f000000b0043ae5f1a53bsi7737051qtx.61.2024.05.05.08.15.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 08:15:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169028-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=@kernel.org header.s=k20201202 header.b="k/ELJ4Lr"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169028-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CB1C81C20976 for ; Sun, 5 May 2024 15:15:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BD01374DB; Sun, 5 May 2024 15:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k/ELJ4Lr" 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 760B91CD38; Sun, 5 May 2024 15:15:05 +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=1714922105; cv=none; b=MdllWUOuVBq+U0j4qkQjkUZwJzAbsFzpXPZzWOoOYWog8n2KXHNUEJTPxChsEAv10XAUv0M2ghdGsqqWswjlbDVeA1xbG2bJx8X9tHqM7D3YJXWEL5z7Qpy699N4HDWnOXTp1ZUXTGGOdyaKBODe7gJkPIij+ZGkoNx8JrU9nPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714922105; c=relaxed/simple; bh=3Y6Ya7aQNSsFwpYMxH3lYUB7Xh+C9ZSem7RoTyTrDho=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=msz0VijYbOxRY2uLRyu0UkhT55+d6/LxcL51DqB018SjKGB8TTuuxnC7GbDiUst8LwlgmStavtCQOEOwGrkX+5+KnXjeV0OQw5AEy1uBU/KEexaNDjwdFrcOoASaVTz0ote1+KtzLfrmzRF67wggGTf4sIbwtzSirUpU22TZebo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k/ELJ4Lr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68A44C113CC; Sun, 5 May 2024 15:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714922104; bh=3Y6Ya7aQNSsFwpYMxH3lYUB7Xh+C9ZSem7RoTyTrDho=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k/ELJ4LrM9ORUxUqlCfMupo9YSZBMJECkHdD9BMAJ61a8YQLlQovmZ9IG0suZpLdK seN/esI+XuR80NrjWv46kFX+1WF5S6x1wHdvh6KWH2FwUn2p6lZc4GLKh72hQgv6yd qYLulpsOSazFXaMtz7IphDmMB2iJ8zjbIMDHkZuKERPKqYjTYR4eNInve65ppqjuiz g1FOnhJnfyCXdszGCw3/jKoYtDLyQIT9SpsVrBZR4TOl9DEZcBCOanqnLFVhCcHGPD X5/BmO1i68hD6mi6Jn6RpxHmt6q4Ox5iRkQInwl0uRJnxQ0I984o/54Qpqe+K3GM+/ a3/ug+jEOxpKw== Date: Mon, 6 May 2024 00:15:01 +0900 From: Mark Brown To: Karel Balej Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Liam Girdwood , 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 v6 3/5] regulator: add regulators driver for Marvell 88PM886 PMIC Message-ID: References: <20240504194632.2456-1-balejk@matfyz.cz> <20240504194632.2456-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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uRnS6SowswNDaOxE" Content-Disposition: inline In-Reply-To: <20240504194632.2456-4-balejk@matfyz.cz> X-Cookie: lisp, v.: --uRnS6SowswNDaOxE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, May 04, 2024 at 09:37:06PM +0200, Karel Balej wrote: > +static const struct regulator_ops pm886_ldo_ops = { > + .list_voltage = regulator_list_voltage_table, > + .map_voltage = regulator_map_voltage_iterate, > + .set_voltage_sel = regulator_set_voltage_sel_regmap, > + .get_voltage_sel = regulator_get_voltage_sel_regmap, > + .enable = regulator_enable_regmap, > + .disable = regulator_disable_regmap, > + .is_enabled = regulator_is_enabled_regmap, > + .get_current_limit = pm886_regulator_get_ilim, Do these regulators actually enforce this limit or is this just a spec limit beyond which regulation may fail? If it's just a spec limit I'd not expect this operation to be provided, it's more for a hard limit where the regulator will detect and act on issues. I don't see an error interrupt or anything and this would be an unusual feature for a LDO. --uRnS6SowswNDaOxE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmY3onUACgkQJNaLcl1U h9BvkQf/TjTKRxV/vksAq6WKXBKwSrc1pWsXIi51Exrv1IpdrCb58IvaAuFOykV8 NZABo6A/hS4k1XF7IppT4XInmZj31Og0LnSXgF0VMe3NsM+plc1Wd50KogVI6zQw S4cyXayPYmuG1tr1MB2saXTsvKhmCLRsr3zfqcLrti77mX+qdr2Z35VC5zepXZdg +Dmbu8mYqbX6uW1vOn8DS9msb1FXeVAQKiQUoFd1cMe7/3EpzgOGZKE+FdIzBy2D Og0MXH689pniCS0lkbzTnnpq+q1GQqeIwgmqRXprHnnJKhbB6bOoRaK8+NAginEv 8MMfIZqNOxcXrhh08DXhuUEc5mGgbg== =R4Zq -----END PGP SIGNATURE----- --uRnS6SowswNDaOxE--