Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3552864pxb; Mon, 25 Jan 2021 21:08:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDJ+FjR+MEIRHfR4rXv+eX0/gWUVFIthLFQ1GsoGm6Co5Tsr6Ad0/HfVz2xjCRXb43fJwu X-Received: by 2002:a17:906:748:: with SMTP id z8mr2322605ejb.233.1611637692539; Mon, 25 Jan 2021 21:08:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611637692; cv=none; d=google.com; s=arc-20160816; b=h0RoN3NIxWdckeP3QRyL1gcNPd3rebXYba9sRTG0XsR4Z8VhYj7494N8wwhpW+m+yp 9o79ogi03l49EDU+FRSvpZQsQy0kdgh38GyeWEA7QUPy8gsJE8h5JKwXnq4pw+dcAvlH IO1ptwIekBWT8RwUexESUuQw3neUpWwbocX266DRo9HCx1JW6jmowfrZUxQ9oB84pA2T 7NKF/kp71JL1JwNy1walCq83z8YRxfWNjDvm/x55BeIaBz+t3JcwA6Kp0Vlu0J1Kx8AK VYuf0kc9OsxGa9j/n+4poMFmDe8LTisxDPqvJClNlYCkIUBt6oogIngaRes9xXLbk15K jDrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:reply-to:from:subject :message-id:dkim-signature; bh=sBSJE/VQs+urDGRZoMN/fPwNsUAQG3TV8aFrYnnJyfs=; b=BKVWcoLECHfR6gPjEEzTEHUz0syJ0fngc0EzVtuvBFvbdDREjBN7HAONahpqSqAA5J MDyByOxnmrpgN9FIRRZnrZZTSdBoArz/vm1M8hhnemfMJgbsdox3URWuzTsVjLtp80SV kwAgt/4HhUzQmagjGq50ENhE4d+8Pvzqol2dgHoADpsh+0QY4P7Zx8YUalrXPyrva1iw omnr7YvlJxZyErKhQu/3NV7Z3URlaLKcxlSK3FLw4BUqJfdBMS7ffrtewsHnlxjW/89Y 8QhwLQ6HTsbnKz06MNHr6ttIuyA1kZ3ZrWdDoTxG80WA+hU/V64AgK3XBLgkeFORlqxu Dfbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=SP0RwF8O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si7148726ejd.80.2021.01.25.21.07.48; Mon, 25 Jan 2021 21:08:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=SP0RwF8O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727351AbhAZFDc (ORCPT + 99 others); Tue, 26 Jan 2021 00:03:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726592AbhAYJ1o (ORCPT ); Mon, 25 Jan 2021 04:27:44 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF106C06174A for ; Mon, 25 Jan 2021 01:27:02 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id l9so17000153ejx.3 for ; Mon, 25 Jan 2021 01:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=message-id:subject:from:reply-to:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=sBSJE/VQs+urDGRZoMN/fPwNsUAQG3TV8aFrYnnJyfs=; b=SP0RwF8OziTWkJh7GHLpDZWEi+ZwjKAlCiGsHzyuYHGeavvVO3SLzEefFPDqWJRbA3 GiK9bN7MjJ1XOP1JjiX+LfpP3hBklqscZMt/MWpZ0w/D1+icbVmCN3Mlk90DyENww+wC RJkomSL/NNTSWomZaW9HcnVBpcqWX1KsqPl93VbohBrToiVGXL4efBIRo5btqkgcdgi9 ZwgO7vIVewjKvOCqdfld5CNk44cP4nDfrre5NONZM3Y8Lf9/q9wHngisQhMME2TmmmoK bTzsD+74H0rwCdha7ipSBz8ovc7ri53AvNNz+wc17qvxrcE6o0ewYsov6r+0mB8Z+Iby NJMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :in-reply-to:references:user-agent:mime-version :content-transfer-encoding; bh=sBSJE/VQs+urDGRZoMN/fPwNsUAQG3TV8aFrYnnJyfs=; b=Z6hr94W/GSg6QN/j4UCMBoKXMHUNPN9ZyavM1P3wpfE/MP/+vqJwb90QD24mcl3mIn vHSYUi+vttNlz3EKa/CIR2coAVuKSauFLEb9w/2jIfC68/PDkrfPCtXNOtPDOVvF++f2 E0a4Dfq5VZtgL6coy2aJybjD5bfNtDVKLz4bA7R4uKeS3h6nCwvVHzGLjz090dSA6AmH pkRsjXkoz88zPRF7FEyRxTBfwE1IUXIUbUQ31baQD2/UNLa0ro48wwnjXeLfAvxC0PmI 6kLazxZb2m9/UBLgPqgmowem9pDMp2yvJeJil04xSiVT4dAcp61K3wkTA7oKAReHAos0 KXHA== X-Gm-Message-State: AOAM530I8NwMmLjRX3/sj/VD0Qfz/JK1D7m5eHb7EbKhKOe5QOAL72sh uAFCBe+Zp6XCj53cgh1NFWAagr6yqBDkGQ== X-Received: by 2002:a17:906:c793:: with SMTP id cw19mr1469795ejb.246.1611566821653; Mon, 25 Jan 2021 01:27:01 -0800 (PST) Received: from mars.fritz.box ([2a02:8070:b9d:f200:6139:400d:8db4:21a5]) by smtp.gmail.com with ESMTPSA id u17sm10112218edr.0.2021.01.25.01.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 01:27:01 -0800 (PST) Message-ID: <3753ba4c92fda75e646ccf629bb95e9d692ddbdb.camel@googlemail.com> Subject: [PATCH] regulator: pf8x00: set ramp_delay for bucks From: Christoph Fritz Reply-To: chf.fritz@googlemail.com To: Jagan Teki , Mark Brown Cc: Adrien Grassein , Liam Girdwood , linux-kernel Date: Mon, 25 Jan 2021 10:27:00 +0100 In-Reply-To: <1611222152.1561.5.camel@googlemail.com> References: <4c2e79d4fa96befdc9a6c59c3ff27b0a34f9fb56.camel@googlemail.com> <1611222152.1561.5.camel@googlemail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch sets ramp_delay for bucks to the max value given by the datasheet. Signed-off-by: Christoph Fritz --- drivers/regulator/pf8x00-regulator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/pf8x00-regulator.c b/drivers/regulator/pf8x00-regulator.c index 1e5582d73405..edf5c88bf43e 100644 --- a/drivers/regulator/pf8x00-regulator.c +++ b/drivers/regulator/pf8x00-regulator.c @@ -351,6 +351,7 @@ static const struct regulator_ops pf8x00_vsnvs_ops = { .type = REGULATOR_VOLTAGE, \ .id = PF8X00_BUCK ## _id, \ .owner = THIS_MODULE, \ + .ramp_delay = 19000, \ .linear_ranges = pf8x00_sw1_to_6_voltages, \ .n_linear_ranges = \ ARRAY_SIZE(pf8x00_sw1_to_6_voltages), \ @@ -381,6 +382,7 @@ static const struct regulator_ops pf8x00_vsnvs_ops = { .type = REGULATOR_VOLTAGE, \ .id = PF8X00_BUCK7, \ .owner = THIS_MODULE, \ + .ramp_delay = 19000, \ .volt_table = voltages, \ .vsel_reg = (base) + SW_RUN_VOLT, \ .vsel_mask = 0xff, \ -- 2.29.2