Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6709064rwb; Tue, 15 Nov 2022 02:33:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ga/rfPMwNcQXNb0VoVJq3rjU96QqF3zzDumqJBjJ4v7GKY/+sreE+zLFrPMphjMao33QR X-Received: by 2002:a05:6a00:1893:b0:563:4e9:5342 with SMTP id x19-20020a056a00189300b0056304e95342mr17510969pfh.56.1668508427154; Tue, 15 Nov 2022 02:33:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668508427; cv=none; d=google.com; s=arc-20160816; b=uhhW3s7MrFFY2N9zcr9HO4eC7ksNC9c4hMdXpZBM6QGVfr42wSXBKUNrfX10Wd73vm WUS4iEmtYmqIpMiNPXy3GAmFWWuzlN4PyAp2x/uGSeTg3x4fUb8MeNSsOJ5Vt3oXMu+E HV/u9M3QkJUA1Ed5bbb2OIRSkXZcKwR0vLGmqQXMuyXzXdYOkTfTqJ4Sg7fSWp8Zc/Q/ StoipIgBXX8EWY6EL9wcixSISyFH0euiONtGiukQ4jW0/VZnV5lnrF8thnARNvIWv+lH nsRPIFJDk93+y+1uoXXY9pIAanccjhho+re0Uiqg+4XrE7XwsJ/hF0RYlXgPz41BiO8h AVQA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=y0jhQ5wWDkw9YieqTPmmqrGIOhq9gcBh4/aIkZ5lXzM=; b=scLN00/PKUIRSWdKfm3R5pPOqiTAC6pL0Omtv8du5+Qp3HTHttQLqc2AcbMQJbdfJS BBc8aIzsvKnbRvf68pbuWH7LHfj1WWzlE0cS/BWYXPUrhfnml3lVt2vdpRSmMJmh+3Gg je/l20u679Zc5c1WfytpJKXHj6uqYyjouu0y5zcja3+L83QT6E9s/UFdgTfN+/AR+q61 +nUTWROpliWCa/BVhL4UlHJRPX4ykcjP9UzBsomyYmqsTYejCT6ITN9Zv0NoNktHEgL4 b+OtlVCChhxR2IR9yM7s1yyQV6ddKkCyM7L5T1Fklg+HKH2P7f28uUh/hyB0gs4TFcZL RCtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=57noagd9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t203-20020a635fd4000000b0044601bb2f96si11968774pgb.221.2022.11.15.02.33.35; Tue, 15 Nov 2022 02:33:47 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=57noagd9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232569AbiKOKTF (ORCPT + 89 others); Tue, 15 Nov 2022 05:19:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232776AbiKOKTA (ORCPT ); Tue, 15 Nov 2022 05:19:00 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1EDE11A0A for ; Tue, 15 Nov 2022 02:18:57 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id fn7-20020a05600c688700b003b4fb113b86so9920496wmb.0 for ; Tue, 15 Nov 2022 02:18:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=y0jhQ5wWDkw9YieqTPmmqrGIOhq9gcBh4/aIkZ5lXzM=; b=57noagd9/+GLWjNU9l6zkY9huepwbD69VwGHB+sQGnTHr1xZHyfKABbg4l4A4KRW5k ruJ0W7plLAqEVfC09oNuWRQrNTDypUejVAyHQIkLAnJCp74Khfg64VJUWos7+NcX6iLa gnpsgeEnzLVmexr7TFZoqkPbevxOTsmvfyDZNkQcpy4hgkvg6yV4FixJKueRVN9ew+RH k3JhIE9cHIfqpGyzVApsoLHiZyKF1/AROnnTIWkNvB+JDtHB2g6fC+7RSqNn6EbGLU0t E+q80oRh3vJmfeGrdASC8eTGBIOumDLS/VfT5BhurOOvdpPDzwq/M/wQqZKiRX2G3SeS M+OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y0jhQ5wWDkw9YieqTPmmqrGIOhq9gcBh4/aIkZ5lXzM=; b=Ha4P2/NEHy6HRFwb08mZnX07sSXJVQNDbFhFUAepUwSVq4hpOWgDBOq16/Zh60u2IG l5OGydP6ZszInaStnpe7MDXJ542DYOk2plOMpw5HMB+4beAVKOLNimGELk7ZGdCkvG84 MwSAOAAsTeB6Y9nVJ9FCoiPj9BhUnl/icD+m/Nb5QwSjRIfrTG9d8rHb4beY3MngZKY5 RfZWcO/Elx7Kc4MA4tKrzQMH6djn+yFQT5q85CMA2JSS6CdfLemccMaAUk34vtatYxVg 5+HXd88MjKU2ytZUzTLGnhBrBJAM2Uv7DGcSDsnnCuqSSurcG15XVRNgRMkimDIMfTNS p/OA== X-Gm-Message-State: ANoB5plin51DFxYKpl1PJz79nQI98MmFTcWwbjjLS9oGHBkT+47/Xmmv vl88eqIgo7hBlJ0ZrttT6qRh1Q== X-Received: by 2002:a05:600c:314a:b0:3cf:7dc1:f432 with SMTP id h10-20020a05600c314a00b003cf7dc1f432mr791063wmo.148.1668507536327; Tue, 15 Nov 2022 02:18:56 -0800 (PST) Received: from Red ([2a01:cb1d:3d5:a100:4a02:2aff:fe07:1efc]) by smtp.googlemail.com with ESMTPSA id f7-20020adfe907000000b0023677081f3asm11717345wrm.42.2022.11.15.02.18.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 02:18:55 -0800 (PST) Date: Tue, 15 Nov 2022 11:18:50 +0100 From: Corentin LABBE To: Mark Brown 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: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Le Tue, Nov 15, 2022 at 10:03:14AM +0000, Mark Brown a ?crit : > 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. Hello The device know which supply it have, but I found only this way to made all maintainers happy. See https://lore.kernel.org/netdev/0518eef1-75a6-fbfe-96d8-bb1fc4e5178a@linaro.org/t/#m7a2e012f4c7c7058478811929774ab2af9bfcbf6 Regards