From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBF52C433FE for ; Tue, 15 Nov 2022 10:42:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VHPZ0mcVWKj/Y1j0SOCPU4ZpGm6XBPcUA+Tkvd0fPJY=; b=nYmpAgg1dC9YEX jqYdbcoKVtNMNIl+1NisP/GrKFxUE45SwsdpRX71DSZn36lMKHzLbyKD0SewcUIrxipxQhrpWaoTF iaA/WCtNf1tOs5Oc4EpgPdlUuV3nBghE0imFAJFjQD6T+0M9+MoYsTv36cu5i06QeLo58VDmQvbpm yCNMnk9EmyY9hmBI3zhFjxPl0Ev6ccfMWrhBNfHf8z61q4SWRAs2qcGT4mQzepNY0SDmmUWeG+U8Q c5iHdD/gEzUVkUVeJuRhBwku/h+DSlUm9cp5DDtgVlV+o47GSMO43NalhRzcGOcVJFFK4frC0Hgiq LGvwN/h5K0d3Pg58OaFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1outNv-00A4S0-6O; Tue, 15 Nov 2022 10:41:44 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1out1w-009pKy-Tg for linux-arm-kernel@lists.infradead.org; Tue, 15 Nov 2022 10:19:03 +0000 Received: by mail-wm1-x329.google.com with SMTP id j5-20020a05600c410500b003cfa9c0ea76so9910517wmi.3 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=7U7D2Ia9ZuDCl9WBLMX7u6QZgISyE8wb3PSftMWFMt751N1Rl46RQdqvA0wdxnTtcG t+NGuEpfxD9BiNTEqD/yqEwkALIvs9gS2HN2NPAEnX5Zsnh+9ibQbpDEgiVLxKuPKUI3 Xu7bZcvu4bTcINcszhBEyQfAdWowIZ+52tMdp3Gt4xakU8dg1w0/Q5x5/jhZjZZnNSd/ wuy6aW5Se7wiczr2Sfl+uo3I6qnu3e/VkF/lxjGLMvjW6NpkVTi2UDDKoBCIS/b5Qdgu 5yq/8kLt4MTmFI9Dv+Y7NvnxwlT14M7l4RKbmdyZXKPWygK94aup4nsS5I5hvXbgFky2 /vNQ== X-Gm-Message-State: ANoB5pmCpmOP6vznm9Xyl+lq559fKE01ykkWc4rh95PLCvmkjckWZEfn kwtYGmodgZKfLtAVnUDDUtVnxQ== X-Google-Smtp-Source: AA0mqf4ITJ/zq/QXos6q8t7wiTwkyykTspLsX8kURJcVbV6wRrgRL+pLuPL1gqJw44YPrazacqtxSw== 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221115_021901_218137_F2E3575E X-CRM114-Status: GOOD ( 13.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Le Tue, Nov 15, 2022 at 10:03:14AM +0000, Mark Brown a =E9crit : > 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@lin= aro.org/t/#m7a2e012f4c7c7058478811929774ab2af9bfcbf6 Regards _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel