Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3968763imu; Mon, 10 Dec 2018 10:44:39 -0800 (PST) X-Google-Smtp-Source: AFSGD/UJ+WS9u8nokEMIY72lnfnN3GenWFN8tNd+vu/Qu2d+vAlD4OzdEXVJbH5WQOcatkhcPd8Q X-Received: by 2002:a62:6408:: with SMTP id y8mr13296484pfb.202.1544467479444; Mon, 10 Dec 2018 10:44:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544467479; cv=none; d=google.com; s=arc-20160816; b=fzjzSJrkxSSS9zUJTRQftt6pIm6QoNa3q8eDEhYeu9fO/Yh3bWSE+HrYOLU2hXMhcF ABeCSGMYJxgTTchF7pUmyXN4MASZtyWTPbGLn8XFtJkkauzDXs8SoOelrpdMZISTs4MV v9JIVmdbIQcW5k+anwtyEauV7Yhs3YsTl4PBkN9JHzlSoGLFp5nnH55/ugxmRECObyHE n9VuKW4PdCNRYrP7TfYuG1iBSKQHbncEiD3S5qDiyDhTGsT7H1Ya+Ci+WU4KwN9wsH8k BfycScKwJNlvjhV2xGLsRpq1ehEn7FsQ2BydOaqaDOPJPCZZptp294GMcbh6tk4UTOXf JLsg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=anu25rOdB3eYN81TM0B6XbKLAUKlEbE7JmslCCJGMMs=; b=XOcrAajHgTPfjS9H2Mw0YUNlnnEYY6iYmkV8LvxYwqeQxs21+Sj6lNmKrmfQj6TuUu c05bJzgTHd6wp+e36DML0bAH+ezxjVTvYF+yX7LZWSsRv3eMHWplGx8B2UczpI9pHZpG er7FVn2/hBj71607hIwqZFtXkvekdpf8EOJZbOOnpAzuSygAPMN1Fo6nqUgHuIoPwhYD VjfA1eQYSWbvyT6Bv6yCTrSnCqrYgEgSM2xVHaAnT6baQknOJVRdR9jeY9vLLtke8eTk 4tm5vTJlPPpDtgqvtQ4cUzaymUClVPostdMpsLwq5GnNPAzIJmBYF+ajnzUqxrh6VAMv /TWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@plaes.org header.s=mail header.b=VrM8NZ6y; 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 l4si10211026pgr.346.2018.12.10.10.44.23; Mon, 10 Dec 2018 10:44:39 -0800 (PST) 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; dkim=fail header.i=@plaes.org header.s=mail header.b=VrM8NZ6y; 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 S1728617AbeLJSmb (ORCPT + 99 others); Mon, 10 Dec 2018 13:42:31 -0500 Received: from plaes.org ([188.166.43.21]:55126 "EHLO plaes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728404AbeLJSm2 (ORCPT ); Mon, 10 Dec 2018 13:42:28 -0500 Received: from localhost (unknown [213.204.46.240]) by plaes.org (Postfix) with ESMTPSA id 730F2418A8; Mon, 10 Dec 2018 18:42:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1544467346; bh=WJHmPRGpzdjRM9E54gWuAmfTil1kkRXpmiRybmesfIc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VrM8NZ6yzq2c2812K0TUVY3+m0ogRnsglxCeCOA4rUW5t2vx72RGUlJy9lO0pDpRo f85Rkc+rCLxkhXQLDiVZ9wmFqORHJqsalffvRj+oUJtK5MuybhOt2g/GN/TIB0LRtU fPjD4dT/YZKLHUEtnUEr7nyUy3dIg+H+TlDUDvtw7XlOnS3QA50IDnqkDqQqI3CegB FujHyNkqfaLjZVeLHOSVJVcUaPi7MB+Lx3+VtDhpZfaWff6Hecz9B4SfOnCTz+qmGD HRBSn8UR0HY+2mXlJnRpadqXggcqOFtmO5r6LVPzoHluP9Y896sLJrLziTR3gFfG5T 9QkhHHi3iL3FQ== From: Priit Laes To: Lee Jones , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Olliver Schinagl , linux-sunxi Cc: Priit Laes Subject: [PATCH 3/8] dt-bindings: mfd: axp20x: add support for regulator-ramp-delay for AXP209 Date: Mon, 10 Dec 2018 20:42:14 +0200 Message-Id: <78eafc64831c50005fe5d186c174440d48a865e3.1544466940.git-series.plaes@plaes.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Olliver Schinagl The AXP209 supports ramping up voltages on several regulators such as DCDC2 and LDO3, therefore we can use the standard 'regulator-ramp-delay' property for those 2 regulators. Note that the voltage ramp only works when the regulator is already enabled. E.g. when going from say 0.7 V to 3.6 V. When turning on the regulator, no voltage ramp is performed in hardware. What this means, is that if the bootloader brings up the voltage at 0.7 V, the ramp delay property is properly applied. If however, the bootloader leaves the power off, no ramp delay is applied when the power is enabled by the regulator framework. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes Acked-for-MFD-by: Lee Jones --- Documentation/devicetree/bindings/mfd/axp20x.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt b/Documentation/devicetree/bindings/mfd/axp20x.txt index 188f037..c626605 100644 --- a/Documentation/devicetree/bindings/mfd/axp20x.txt +++ b/Documentation/devicetree/bindings/mfd/axp20x.txt @@ -32,6 +32,12 @@ Required properties: - interrupt-controller: The PMIC has its own internal IRQs - #interrupt-cells: Should be set to 1 +Supported common regulator properties, see ../regulator/regulator.txt for +more information: +- regulator-ramp-delay: sets the ramp up delay in uV/us + AXP20x/DCDC2: 1600, 800 + AXP20x/LDO3: 1600, 800 + Optional properties: - x-powers,dcdc-freq: defines the work frequency of DC-DC in KHz AXP152/20X: range: 750-1875, Default: 1.5 MHz -- git-series 0.9.1