Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755240AbcCaB5y (ORCPT ); Wed, 30 Mar 2016 21:57:54 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:33145 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750704AbcCaB5w (ORCPT ); Wed, 30 Mar 2016 21:57:52 -0400 From: Stephen Boyd To: Mark Brown Cc: linux-arm@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Georgi Djakov , David Collins Subject: [PATCH v2 0/2] Proper slewing delays for qcom spmi regulators Date: Wed, 30 Mar 2016 18:57:48 -0700 Message-Id: <1459389470-29365-1-git-send-email-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.8.0.rc4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 863 Lines: 21 This patch series adds proper slewing delays for qcom spmi regulators by adding more slewing attributes for other types of regulators besides FT SMPS and then making all the regulator ops selector based so that the delays actually take place in the regulator core. I've tested this by confirming we get proper delays when changing voltages on PM8916's S2 ULT SMPS regulator and also confirmed the voltage values by reading raw SPMI registers to confirm voltages are switching correctly. Changes since v1: * Second patch is new to make first patch actually do something Stephen Boyd (2): regulator: qcom_spmi: Add slewing delays for all SMPS types regulator: qcom_spmi: Only use selector based regulator ops drivers/regulator/qcom_spmi-regulator.c | 218 ++++++++++++++++++++------------ 1 file changed, 137 insertions(+), 81 deletions(-) -- 2.8.0.rc4