From patchwork Mon Nov 26 15:27:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Priit Laes X-Patchwork-Id: 10698505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1A58113BB for ; Mon, 26 Nov 2018 15:29:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08CB529C68 for ; Mon, 26 Nov 2018 15:29:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0E6729E8D; Mon, 26 Nov 2018 15:29:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0548129C68 for ; Mon, 26 Nov 2018 15:29:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XYOohSC24AKWhtuxx6K6VdrspkL2fE8NFOkV1k3tw4g=; b=JtCBWl/cK53Ee4 0aojt3k+924kQASkJny/lgbJ2v841tVar0srOmEz9xdMby3k6CT2hH9bH3y8TdwVYm7W/TxuWU9v2 Z2NVs04VK3AhCW1F0nrPQ9dMsqVuZA5zV+Oi/CZKV224JTS1HoZfFGZUsVpasqvmFx0TuwXVsMWEt c3XU+3gDoufjmWKgxUN0936zgcCN+5cCaN4ajtaDHb4a52zypR+r+yGcCqeWwk3G4VOItGEio0BJN +nvPbSdlVrdEvIdvHJ3miESBFJHRXfy1M/sr0v5B7gJPTOPRwBxHTjmVt0FL1+UcjolvE6jPqKqHg /rgKCYCi0Fo5NSid03RQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRIp9-0005rX-6q; Mon, 26 Nov 2018 15:29:23 +0000 Received: from plaes.org ([188.166.43.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRIoP-00056h-Sv for linux-arm-kernel@lists.infradead.org; Mon, 26 Nov 2018 15:28:47 +0000 Received: from localhost (85.253.196.132.cable.starman.ee [85.253.196.132]) by plaes.org (Postfix) with ESMTPSA id 6440E41BE1; Mon, 26 Nov 2018 15:28:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1543246094; bh=Am9rnwVkIRMruDgJGJutI3eHepJo6vST87U9/F3qG7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ijvUyNCmU5cW+nEuAmw8BOCRuMCHoAmgP6YO0PQGbO350bjO528YhDYzAOZfw3jES zM5u7t1XXAL2Z2giEU0XfTzoBahEfxjZLt0J0RXbaVBXuP7eDtty+uc2i8Y1vcpkMx XFM9fwaYUiUmAWpEyQUB9Yrt/mlFzWiCQYil353USzL+fwHkr8NjZ4CSzlyyOHfWe8 JwP5tHziDLiBqbNlF1LCXScLe0mLzMJFmYIgxf2BZbNgq0bH/6hssxsvGg+CSV6FEg 6sfeq5Ul1VOOdghwtzShKuysy0/QVztGYC6RDtyFMhpIb3DuQCTHjRsrjHWxw3Xou6 tWgUUiTjqk7Zw== 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 Subject: [PATCH 08/14] regulator: dts: enable soft-start and ramp delay for the OLinuXino Lime2 Date: Mon, 26 Nov 2018 17:27:49 +0200 Message-Id: <3fd79fcb96c8ead9fa5a3a85a080caf00f186e36.1543245984.git-series.plaes@plaes.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181126_072838_639726_2D9947D7 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olliver Schinagl , Priit Laes Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Olliver Schinagl The OLinuXino Lime2 has a big capacitor on its LDO3 output. It is actually too large, causing the PMIC to shutdown when toggling the LDO3. By enabling soft-start and ramp delay we increase the time for the capacitor to charge lowering the current drain on the power regulator. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index b828677..ffafe97 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -245,6 +245,8 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; regulator-name = "vddio-csi0"; + regulator-soft-start; + regulator-ramp-delay = <1600>; }; ®_ldo4 {