Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6710508rwb; Tue, 15 Nov 2022 02:35:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf56N05orXyQIMkGuvUokQ6n5CQFlVNewTIleXpbnf6UzgRdKzdPupT4+YTkNaT2jGaPCBet X-Received: by 2002:a17:902:b488:b0:188:bc8f:5fb2 with SMTP id y8-20020a170902b48800b00188bc8f5fb2mr3500257plr.48.1668508507765; Tue, 15 Nov 2022 02:35:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668508507; cv=none; d=google.com; s=arc-20160816; b=xm1kZhYwshAfy2El1C5B5B2WrHuP8qv2et1m39wFS6c9M0q/ef6UG2DAea3+xY5SoM 3Dbqu8FCTV/38KivriWncUvx6cva5dbn+Q78mOf+J/i81+yBYM0gz9ATkTsufwOX4T/6 kAYWkGkTxYuwzLG2juXSKdN2/91uZIMeoVg149lVAPWe/xmAcNtP24TqJGQPazHvMhka LAAmsfvlpwv/WHmJCXJzZcahPBIoVUpRMIxF4nR86itCErERVGgw3NYJpxZMjE7nrBY9 f22Mwp6CPP47OJj61GBCsRvFkdoD9X7LGud6U+LFTvynY0W74VvUSaNlivEAS0vOsnzs Uknw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bWOJmN1eksXeaSx8TxmG/1Urcdg5aefqkaVJAFR2rBU=; b=Ab16Kie3s+NvE6P0TwjtniyXO2Q0QfjFJfaL5eeUWMCWUstXJLG92U0Cbm98bz4Zwh gAhFMsm6oNc5oSkYKiLBqsh/IcML5BOlCarnpXrtAd40ligHYNO/ERnYtse3+ElkTBco wIjCeBAQU3cQqLe7/Ip6RFwCxIlACXSlC8UNQYNnkbjdfSAHXUZKLGNUO7U1lqhD1Y+V 0fmf7QBhlnCtFz4asO99SotubI+l5AFsPu4BlSQ+9w8IPuhAgGYHN5rPeTx5Z3/KJCkF 4Sm4FBSUaDORTkgJKuhEpc1Z2XYVTYd9drDCuBAND9ISrpcuSAEs7DCvRDGUGK3XLCkS RYJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZSH5w6UH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 14-20020a63020e000000b0045466821a09si12154666pgc.371.2022.11.15.02.34.55; Tue, 15 Nov 2022 02:35:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZSH5w6UH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238272AbiKOKDe (ORCPT + 88 others); Tue, 15 Nov 2022 05:03:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238228AbiKOKDV (ORCPT ); Tue, 15 Nov 2022 05:03:21 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ADAD240A2; Tue, 15 Nov 2022 02:03:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 425EDB81714; Tue, 15 Nov 2022 10:03:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A8C1C433B5; Tue, 15 Nov 2022 10:03:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668506597; bh=WyPRetAl/Vae/HPH9Ll9K6wRyR4YuEk9GYqHudIFD7E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZSH5w6UHCZJqfjXX1TAxdENWVSC0VrMs5cyNszWmX0cyKpH128gdzkuzDnuP0jyLt f46acOtrQR1hrU4556xcm4l0/fyCgveXlXkmQKNY/KfZcBOpyssgoRdPMeVF9W3Yaj xtziwgM7NoZRsGD3aWwB97+KKD3G5bQyhMpyRQly6hFgvvkHoGC5R9Y80/GHbUKwYr g9kpkt8c4dKx7Ro2C94QqUIkpaB7TFzKM9HKsI412ie5tQDf9gzpqHNouCPye9W6F0 iFg/oLOVRxJfn3W9PwbMdw3p/ilaS/K6AuFQNILMCGXsLovc7xYZqBhW2n9Ei6MX8Q ATwVH06dv1iOg== Date: Tue, 15 Nov 2022 10:03:14 +0000 From: Mark Brown To: Corentin Labbe Cc: andrew@lunn.ch, calvin.johnson@oss.nxp.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, lgirdwood@gmail.com, linux@armlinux.org.uk, pabeni@redhat.com, robh+dt@kernel.org, samuel@sholland.org, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v4 1/3] regulator: Add of_regulator_bulk_get_all Message-ID: References: <20221115073603.3425396-1-clabbe@baylibre.com> <20221115073603.3425396-2-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="E5+2TnzAyurkPAg9" Content-Disposition: inline In-Reply-To: <20221115073603.3425396-2-clabbe@baylibre.com> X-Cookie: Ego sum ens omnipotens. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --E5+2TnzAyurkPAg9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 15, 2022 at 07:36:01AM +0000, Corentin Labbe wrote: > It work exactly like regulator_bulk_get() but instead of working on a > provided list of names, it seek all consumers properties matching > xxx-supply. What's the use case - why would a device not know which supplies it requires? This just looks like an invitation to badly written consumers TBH. --E5+2TnzAyurkPAg9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNzY+EACgkQJNaLcl1U h9DJ5wf/YCSejgcjszC0Ec4QlSsXfOv1ET9BGiUz8TuNUGAQThsYlKX5Bbk5nfki PP3uLpGppXYtVoAprGXivsFMtoMGjaC124+Ixo2dxAQNsvx0w6EeFcIVQByrADs6 tE3s1jKNq4UPco+DzYAEbQEvIv00aabm1PdbOp3RrrlDwSWgD5Sb8TllN3ulJ2+s R9//sUxhyaFM894wpnU2zyUL05Dp+maPYrdt81nz0l5+vAORk8P3L2X69wWlvkrB 5moncC/AwzJ0mmIIvY5E78cv2vK40BbBJyv61OllcNjErCpxFKO2V64n2Ij5H4Ov oCL2X1HnI7kLEXeOWxJ95Wo2gGPGtg== =Ax15 -----END PGP SIGNATURE----- --E5+2TnzAyurkPAg9--