Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp4105557pxm; Tue, 1 Mar 2022 11:19:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzMYoO0IwuriAsIWU4bCthfzbaPV2nzPbvbCHGTU8C2l1GOr0keOO8eVwTMqYaAhFGDrWES X-Received: by 2002:a17:90a:7085:b0:1bd:3db8:6597 with SMTP id g5-20020a17090a708500b001bd3db86597mr13071519pjk.86.1646162393134; Tue, 01 Mar 2022 11:19:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646162393; cv=none; d=google.com; s=arc-20160816; b=PmzYC7IICbq++hMLEaKHA9+njl4LrqoVGdi5zQHickiYMzgTEKVHeoGIfTHQSq0Xkv Br3aWNDG6euG+hgUhYbQUp2i/+KVxVCfTfUR2kpyRTfkVo5ySBiAIfaBn5Y0cKzwxj/k WnIS6zRd2DMDskc0ceguCLDRLaBH7wis7nTygLkRDGnuxhW9PUDqlgqJcRjkDE5PXBto sFweSVN3u5TnJ2iQevzbsAOQonDpgQQkK1FAm8p6yXvU3VFTWwk6bk1BvEIwNA6KXSlg aUJI3zHR5jmXqJRNzG6I7D30CFNyM2+3HGFRFAVQGv0yClFVq9YADLOQ76DM07ujGbEC /ucA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UAGqPULHqhfB5VjEcyxTRMu/w+nN0gZA/W+LmKLFMVc=; b=u0mezCDBnERkB74MRD8qTcx8gw60PAzGUl52ib0NdHkrUeXpEc0E7Xoz/OkekE5uWG tYXf4rADoMOFHw+HD+wpNIFNkQX/wgaR6zdoV2mYRNMQLzEH7ZZs1Ti+4MQkHViohxIb kejP7HRkm9l6gXVWy0bBumGprkULfFOdfB121xtYKdrlE9GQEkAX8jDLKalDbjQKiXet DDS1jQlClfEgwtRn99ArNj7ZA5DjLbgIFcxF490nNclB3qyWnTWNX3bwsNn4pAhPHqAL JtINr7qVzPeaG0iTgwul8T7HDYoLsWXpEWnxFmX/6jCgjHnABBMFDCGDV4DrIgNzGn8x g9FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=JkxLntas; 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=axis.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fh2-20020a17090b034200b001b97e6dd95csi3158210pjb.1.2022.03.01.11.19.34; Tue, 01 Mar 2022 11:19:53 -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 (test mode) header.i=@axis.com header.s=axis-central1 header.b=JkxLntas; 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=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234400AbiCALTc (ORCPT + 99 others); Tue, 1 Mar 2022 06:19:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233330AbiCALTX (ORCPT ); Tue, 1 Mar 2022 06:19:23 -0500 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 360901DA5F; Tue, 1 Mar 2022 03:18:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1646133521; x=1677669521; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=UAGqPULHqhfB5VjEcyxTRMu/w+nN0gZA/W+LmKLFMVc=; b=JkxLntasRggkjg75kNnCwArLVAlBSsBI+Cbiom9JTFVsV/8rb+rRRViT NH9ayCUzhbn691JB/Y5fOIcoXxaH816EPh2PchIV8RL/0xwczbwp8SD8h cH1eU52Y/bdfSvcYc6deY6iOH6q0Q4PLxlB+BNmH3ktQOKxEdFqwFPOt2 eeBWiXisw7k4D/RWzMsPHcSqqj13qXjCNDgWqVwAix9ykBQk/rVmcC+Ai 6guXZu98EzsLJrZpSkJyrZg/r4pp3xsd4SEFhe1MbH4Z6WAxyZJVLClhT 6C+2iwxy/nZgJPKanhvTdP6TX3NXg1MPFm1aQNpfKrXCy3/6i9Us6qRWa Q==; From: Vincent Whitchurch To: , CC: , , , Vincent Whitchurch Subject: [PATCH v2 0/3] Devicetree support for regulator-virtual-consumer Date: Tue, 1 Mar 2022 12:18:28 +0100 Message-ID: <20220301111831.3742383-1-vincent.whitchurch@axis.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This series adds devicetree support for drivers/regulator/virtual.c which is useful for development and testing of regulator drivers. v2: - Only use the "default" supply name if dt - Add a comment explaining the "default" supply name - Add patch which warns against production use of this driver - Add patch to use dev_err_probe Vincent Whitchurch (3): regulator: virtual: use dev_err_probe() regulator: virtual: warn against production use regulator: virtual: add devicetree support drivers/regulator/virtual.c | 41 +++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) -- 2.34.1