Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp29093imu; Mon, 26 Nov 2018 07:33:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/XYyBpZ+ppqeJaqCTEIeYRnkUREksXvEoJ6PDKU0bz5D+w3cUQpG3NaozwpL2fVr6RiDl56 X-Received: by 2002:a17:902:7e0d:: with SMTP id b13mr28506592plm.154.1543246396004; Mon, 26 Nov 2018 07:33:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543246395; cv=none; d=google.com; s=arc-20160816; b=ZaF+0fpdVP9dId2zclCYIM5CyUMUAsCEPeDJtsL1jxY8id0tSwocK2R7oePl0ztWLY p+EnrixcKZf1G3KA/tOP8HIhCScY1N1S6mY9vqzkil2V1km3qw3YDKCyKPcYco7Uj59I LOkucBjecb3L7Jvhh7JZ32yNfUjJvBoJ+Jg6bjSUakVAhpLpaf6XnCPekzoML2sIKkmL 0MCZisFSHkil/Ib4MbCZbAjTuNr00dDdBSwOG4HW823ePqMEwtKWqrgsjnPfWgSHSrUJ bnGU8f5FMiuvPDD5xXnFLTtH7Qizm1nMJPaQ42m5JfTYKbFE4mLIm88/ZbG4BBNs1Ck4 EbRQ== 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=0C4dD9v0NCwDEFPnXwd2nUtOYOg6X9lBRZjR49FOlQ4=; b=cyhv4yvoO9cbsJ7g9BgyrrDkWbtpTTX5Aphe2M9UPJOr+jzf4hZKjwONIK2bTJPYnh slT+YAnizRknA7fJ4HjybzVloGX1ftiU/rYRxkHRWEa0rxq29g1G+NKYy09dnH+uf/lq 1YSZ/YD9dybaw+9wFkqFyUzOapznXvBJbF/GXPqOQdZRUMCt3x3OTIAG73x6MwQB6gY9 MBCy9W2wvDHAEB9CBLLhS+w6GV9C756CRQz2FFSMUT2OwBk2Tu4qG/eBPKUcnNVc1K9E CNOKEZhp4ruDB9Fsvwi38h9uOK/0c9uD28mW+WHiNWVxasyeTh9t60TPBNa3UySJzcLR F6PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@plaes.org header.s=mail header.b=DAeLnSct; 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 i2si631948pfi.125.2018.11.26.07.32.12; Mon, 26 Nov 2018 07:33:15 -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=DAeLnSct; 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 S1726903AbeK0CWl (ORCPT + 99 others); Mon, 26 Nov 2018 21:22:41 -0500 Received: from plaes.org ([188.166.43.21]:49992 "EHLO plaes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbeK0CWk (ORCPT ); Mon, 26 Nov 2018 21:22:40 -0500 Received: from localhost (85.253.196.132.cable.starman.ee [85.253.196.132]) by plaes.org (Postfix) with ESMTPSA id 5660841437; Mon, 26 Nov 2018 15:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1543246092; bh=6EKNczPzAeRmYVbTYMAGxPpSb8ylewUfArbtCQEqQ8k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DAeLnSctjEHrv0VtbEodU5v6ZrERG4na7i1pWutAANPvY8uotH+LpBiYIfhhBvSZl 3D0le5p2qa9Eb0EU3tcKuSNWtlC9KsK+GZlZeEKm4m2IrnFI3E2GHcXND3eurvrIWb V0rYeR2B4LF//dWntXY1yIW1GulN0NjbS9nATXJru8AQQqcJQOx1iu+8TBl3HIUqmy 8TRGQAn9JUDoMFufdJbT0tlxixqCATFJZGCk0lyX9zmN8N6Cj+UXec6+zqI0/znr/6 tSPTMofvVoDfg4dDB/GuJBayXiCdcs4wJXWYrKXLNJOe630B6QTFW69fMskb/FULCl zgJADnjpHevrg== From: Priit Laes To: Lee Jones , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Sebastian Reichel , Hans de Goede , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Cc: Priit Laes , Olliver Schinagl Subject: [PATCH 05/14] dt-bindings: mfd: axp20x: add support for regulator-ramp-delay for AXP209 Date: Mon, 26 Nov 2018 17:27:46 +0200 Message-Id: <4333f81dfa1d9be082b09ab9ddf2694cb56285e2.1543245984.git-series.plaes@plaes.org> X-Mailer: git-send-email 2.19.1 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 --- Documentation/devicetree/bindings/mfd/axp20x.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt b/Documentation/devicetree/bindings/mfd/axp20x.txt index 188f037..5542212 100644 --- a/Documentation/devicetree/bindings/mfd/axp20x.txt +++ b/Documentation/devicetree/bindings/mfd/axp20x.txt @@ -32,6 +32,11 @@ Required properties: - interrupt-controller: The PMIC has its own internal IRQs - #interrupt-cells: Should be set to 1 +Supported common regulator properties, see 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