Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6061554ybe; Tue, 17 Sep 2019 19:15:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0mPp8NySD42lgJc+w0CQrZQzh/MtorTVbxH2dQpHDI42ryNMRDozWVqn3CtEssDvf2/19 X-Received: by 2002:a17:906:eb86:: with SMTP id mh6mr6702615ejb.171.1568772907070; Tue, 17 Sep 2019 19:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568772907; cv=none; d=google.com; s=arc-20160816; b=Sj2dGZ4BEHgqWXVbW+xWMpUD+LHJ72xAVMKlzSVWx23iXdT9JUmpF32wWiQSS+hckO olBQiFp55brftoOlE8BHID5ujPLd/KStAgrrLyQOG3fJNc+FM57MAqenIFgxwkbsGpgG H8WeMZSHGcqukcd3nMddMIevzBT6nHLaeNHfWNL9tP6t5ZX0v2jJd5VyijbHV7lif+qL hHofdPTHF5hAEGr4ombjwdu6ElG+XOqKGNtS12X33FPu50cPW6RUz2uWfM10vksO0g5Q /9kJ9fXRGWtWr1h7RsMENack1pKPLpiDLZsbZtG7HcKQrhSSPlqXjpFiz1Bzh1sa1eOk i4Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=doUsbRsj3bVZkPzAUtuXY9clno5PzK8VZTptedoaGhs=; b=P7+e3V4Hf3OJ3AwCdWNdWDZIknH8d7MRKxv1y1YQfxGOaZKFIEDt2TxkOAoVBy5Tw4 /GJYJhEP2MjHsoBtCCZ2hwxi6+v79SeT8nsn6XNdO246bb6b4YyTudZCHOVJl1a09Ce4 Rz/7CdRnsPc7p0nay52EwLWjKpiybydJCe7IAE1j87S5wUmKGmzBPjxJrWPF/x+oVWU0 9D96PEuPUlUL/FOXbrZhRuxF6JOoV/EgnugfoiWItEFMQSeDuvaB1HUBDihdOZPJFSDJ LrZKhwzwCA/PL6EyzRyh4TjqLkHy7GfpLX8ieZr3hJc4pgGkrvJotV6vgy0A4ntqOwNU fOGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d27si2546216ede.381.2019.09.17.19.14.26; Tue, 17 Sep 2019 19:15:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729724AbfIQPk3 (ORCPT + 99 others); Tue, 17 Sep 2019 11:40:29 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:42415 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729703AbfIQPk2 (ORCPT ); Tue, 17 Sep 2019 11:40:28 -0400 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iAFaZ-0003ZY-HW; Tue, 17 Sep 2019 17:40:23 +0200 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iAFaY-0003yZ-Ex; Tue, 17 Sep 2019 17:40:22 +0200 From: Marco Felsch To: zhang.chunyan@linaro.org, dianders@chromium.org, lgirdwood@gmail.com, broonie@kernel.org, ckeepax@opensource.cirrus.com Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 0/3] Regulator core fixes Date: Tue, 17 Sep 2019 17:40:18 +0200 Message-Id: <20190917154021.14693-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this series address several improvements I found during devel a battery-powered device. The first one address the usage count. IMHO it should be possible to disable a boot-on marked regulator because the regulator can be left on by the fw but it isn't forbidden to disable it. The 2nd address a probe failure. I found that the only dts using regulator-suspend-min/max-microvolt is the at91-sama5d2_xplained.dts and this dt use the binding as described in the documentation. Unfortunately the doc and the implementation are different. The 3rd adds the support for EPROBE_DEFER. Regards, Marco Marco Felsch (3): regulator: core: fix boot-on regulators use_count usage regulator: of: fix suspend-min/max-voltage parsing regulator: core: make regulator_register() EPROBE_DEFER aware drivers/regulator/core.c | 18 ++++++++++++++++++ drivers/regulator/of_regulator.c | 27 ++++++++++++++++++--------- 2 files changed, 36 insertions(+), 9 deletions(-) -- 2.20.1