Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp801926rwb; Fri, 18 Nov 2022 08:24:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf6IILsQMjQWvgW6TIblDMjeo8fKbWfF59frChqoiCz5rZeicG3b8JY9gRYFzDcbzCu36BHN X-Received: by 2002:a17:902:efcf:b0:186:9cce:c59 with SMTP id ja15-20020a170902efcf00b001869cce0c59mr188571plb.120.1668788675330; Fri, 18 Nov 2022 08:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668788675; cv=none; d=google.com; s=arc-20160816; b=ipDUmd2crjW12SIUeGZvk5RqRF75Xe4bM9SkVrBzX1EQknKc8RpKpo+0/n63mwY/Qb qipVOoa+XgND8+Ef5IOalJd40H2RCON2gyepRlMb88Ntpx8Gi6DjbC8Pev/UglwFw0mN 4E3nvxtMU6Wp1xyLbAWAn1z8ook6UmKRnUkYgf5Fd4vGlY+pvnz41cnv9aenFOmPqbLg KziaATlGkHRa/tungCCrIRyrO7oSxAJuPyBKD/KrKQiMq+qIvlanCvpf5aXHgKeTEtDf +jKmymPvAu73fYndgaULIRYC9lOycKn9mbX2kxyi9DrhWMAt8ZFVFa4kZak17rTDheEb RghA== 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=Ejn3+MlwRoTFsnES4CJK2kWemNzc85tc5y9Nn0ui5Ks=; b=VpI4gVgoPQRcgncIQd4ym9L0QmdYiPDMSW1EPxIugQi/e3jde3Lisn0np0DELWYqbO gBfuA/WCSsf4P3qkBjbDS4JfNRFztSuYV96EK6JFlyayQEa1xRBIyUbDKp8dXtE4UZhy 2WhGQ6tXOgUFl94GIUlXl0MP7lfUFjNOPy/oi1bM2GMxoIEnjQbuCVnzmzyRm9Um3OBn Qacxz/slkXIaCZuT5xPPg035ZuCbtDL83Sm9XmYVBe63XZ6dBNhUBkNDXWZTSRBExVgj rT4IR/Kb/uRHwotldG76Z2To9RwiYwQxiYaHd3N3BQnUZnYFg495JNWtQpkNVwMhUC3N 2pUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eUYwVCxr; 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 p67-20020a634246000000b0046ef5b3572fsi4125001pga.562.2022.11.18.08.24.22; Fri, 18 Nov 2022 08:24:35 -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=eUYwVCxr; 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 S242011AbiKRQOo (ORCPT + 91 others); Fri, 18 Nov 2022 11:14:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235165AbiKRQOl (ORCPT ); Fri, 18 Nov 2022 11:14:41 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06CE8E0D4; Fri, 18 Nov 2022 08:14:41 -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 dfw.source.kernel.org (Postfix) with ESMTPS id A176E62605; Fri, 18 Nov 2022 16:14:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69566C433C1; Fri, 18 Nov 2022 16:14:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668788080; bh=kpKu/c9BWXRel1V/AWJLvQR+q/X8pLWSB+6SkGCg9f0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eUYwVCxrLpTFAFmyfiVKEVLalU/mClbJ2liZ/IzpK/QF45IPJnQEWgfkjwfWST9/y cXQUijC+2qhBZjnVql346XaLv6vulxsl4BL0hTrJcK5l6b3x0lFIxAa6xG2eV9EwIK tjhxSmHm2z0SYEpi5F93w9E0MAYqlM9FWvgoBp7Qo4UH2imxR+7fgvdYtfYyjmLCk8 uVmoeb9B6/O2yxwHGrMO+mt92bSh9C3do3+2sxsYAL6xGodLPV5Aw/WtWOjh1uukpa STD8JCi4FjG/dqnEWB7Kc+zAtuVWXfPx6T5xnUfzaHp86x5AswlLstVE7LjX/iR+Ed ayII11ONy8JEg== Date: Fri, 18 Nov 2022 16:14:37 +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="DJFv/5IyQrUvDztj" 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 --DJFv/5IyQrUvDztj 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. The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/of_regulator_bulk_get_all for you to fetch changes up to 27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7: regulator: Add of_regulator_bulk_get_all (2022-11-18 15:13:34 +0000) ---------------------------------------------------------------- regulator: Add of_regulator_bulk_get_all() This adds a new of_regulator_bulk_get_all() which grab all supplies properties in a DT node, for use in implementing generic handling for things like MDIO PHYs where the physical standardisation of the bus does not extend to power supplies. ---------------------------------------------------------------- Corentin Labbe (1): regulator: Add of_regulator_bulk_get_all drivers/regulator/of_regulator.c | 92 ++++++++++++++++++++++++++++++++++++++ include/linux/regulator/consumer.h | 8 ++++ 2 files changed, 100 insertions(+) --DJFv/5IyQrUvDztj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmN3r2wACgkQJNaLcl1U h9CEOQf/U2ff5jdqmcVQLYGSojvvtxIkUDdM8+kofOodWraaYzvkggTTav+lly2R bzFgqC0N49PIzS0I+jHP7KUD5tdKi8Mg6bdjEIEOjB7rx6QHuHHeeg6KA93iTH5m rFIL2nbGA/x0awGN6VJUmz+ov1Ve6rixWwx6DOpteeiegTKPWsYi6S/IFIeZTVdn 1KnO+9XmdKzpwNXzInBFExi4H+y++MjfwYhv/m/GmGZllyBDh9P/qp5kFTkUS0nY mgzg/okKLtcCNtgDBH0rZG3YNJjPRiR+6GTGD7phfwhQbl9WM7m+mZ8rAeb4ms/e RdvpZsg88t548AY76WBGDUXngBwgLQ== =M0l3 -----END PGP SIGNATURE----- --DJFv/5IyQrUvDztj--