From patchwork Mon Dec 10 18:42:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Priit Laes X-Patchwork-Id: 10722303 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 74A09159A for ; Mon, 10 Dec 2018 19:31:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62BF82AA80 for ; Mon, 10 Dec 2018 19:31:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 554222AAA3; Mon, 10 Dec 2018 19:31:35 +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 C96FE2AA80 for ; Mon, 10 Dec 2018 19:31:34 +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=8Eq/2XQ6fbibIQLVYEY2YIH7X2oQoZ/ukikKMqQjWaE=; b=uB7J5O+WoMwpHg D8Bv6GyR/P6lZQnj7qy8GT6MspHqxoZHnN6kcVngdpVjZ4T3v2jtEnTq1FTekT8EQF+8imS+LeB88 r9FugY6iHUftqPcIGcbl0jw+Gli3s74CIi42oC1nt91CAjqW7SD2SbpMhH8+Illi3L82WQUS6HvwW 9v2SrI2FcEX2tgxDDIwluPxGwhmc2D+xkYBza+esRRGHgBJRWZSEydSUXrrvER5DWuuaSPvwmO+dp qJWgqrHH+Jh8X612ZDabm84qfVSMXfQJVQEHr15kK/ky6CGy0d9PfgiNs9BEoBPqjQvDQTJip+uLB JZ1QUbJniw813YaJXOHQ==; 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 1gWRH6-00005t-2H; Mon, 10 Dec 2018 19:31:28 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWRH3-0008WA-UM for linux-arm-kernel@bombadil.infradead.org; Mon, 10 Dec 2018 19:31:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=R3vckfbKaGOFqre3VzpA++cmfXTh2HrU7ttVPE4Ted4=; b=cPLOobsCp1AWm2s2P6NI3rReAf OYXuPOJoUpK86I7QFUxkIbU5brC3XtGzoCiG12/NrV5r/2w8O0THreLXosEBc39Id/63R17EKOcka T3qoZ25wuqc1eP0NsaVMroJ2piZWDK6Pn07IpSbZ5W18G0VmSVSeA5lamVy0NhpsRB8MQtWTq87b1 uhlxb1HuEMDvJtEbb4yBwiHS5vZijdAzqaAEjSaNNAONNjSu6Bbhd9TKh6vVxw01dqvSSRJ5huLzc cMu/VBIFVrSV0vm3Lm303GIJKtDj5mMhX/o3rb98si9FxP0qBgVIz6Y94funHu4OuSCxDx5hyt6VQ rb6D+DRA==; Received: from plaes.org ([188.166.43.21]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWQWe-0006fe-56 for linux-arm-kernel@lists.infradead.org; Mon, 10 Dec 2018 18:43:29 +0000 Received: from localhost (unknown [213.204.46.240]) by plaes.org (Postfix) with ESMTPSA id 287604195C; Mon, 10 Dec 2018 18:42:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1544467348; bh=rL1R6deG8R4m86FOSDKOCU7rxrxi6SE5YJnbhqg7w48=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SyfUTFucZNxHfb6zdMH+nBz7AF5svNHDzNRiiTY4Sz9vRSBQlkK6da+gAnMUei6+B cllyP3Xlc1/FqQ48+2yGeUTubaVoVdaYtzN5pHc6tj0tBTxfMxpNjCnZ+C7OYihnSE 1MT30MRD2wWYTG6V2ZItqx89sUyQ09VTCSUub/CneifpKrNKeAfkVs7fRts3UbsmdQ Cn1cLj+vKMJVoaJrEh9sKz+68FFZqTnPrg/oq26QqG4p9Q+VNGCrMv/qaugKH0jajz aNPGZPw3QAoNsOwCg5z1UR64LBDTgvia75OP4haDR2ryy7fSWN4cQ1kqIO77dnb7Uo dM37smIMKCmhw== 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 Subject: [PATCH 6/8] regulator: dts: enable soft-start and ramp delay for the OLinuXino Lime2 Date: Mon, 10 Dec 2018 20:42:17 +0200 Message-Id: X-Mailer: git-send-email 2.19.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_134328_305026_A46A1B98 X-CRM114-Status: UNSURE ( 9.97 ) 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: 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 55c9086..4e1c590 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -232,6 +232,8 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; regulator-name = "vddio-csi0"; + regulator-soft-start; + regulator-ramp-delay = <1600>; }; ®_ldo4 {