From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932753AbcCHLG2 (ORCPT ); Tue, 8 Mar 2016 06:06:28 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:16252 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932479AbcCHLG0 (ORCPT ); Tue, 8 Mar 2016 06:06:26 -0500 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Tue, 08 Mar 2016 03:05:53 -0800 From: Laxman Dewangan To: , , CC: , , , , Laxman Dewangan Subject: [PATCH 0/5] regulator: pwm: Add supports for multiple instance and voltage linear steps Date: Tue, 8 Mar 2016 16:23:20 +0530 Message-ID: <1457434405-30372-1-git-send-email-ldewangan@nvidia.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fix the equation for calculating the ducty cycle for PWM, add supports for multiple instances, prints the error numbers if it fails, and add Linear Equal Step mode for voltage setting. For the context: NVIDIA's Tegra210 platform Jetson-TX1 uses the two Open Voltage Regulators (OVR i.e. uP1665P) regulators for CPU and GPU rails. These regulators are controlled by the PWM controller. Laxman Dewangan (5): regulator: pwm: Fix calculation of voltage-to-duty cycle regulator: pwm: Add support to have multiple instance of pwm regulator regulator: pwm: Prints error number when it fails regulator: pwm: Add support for voltage linear steps regulator: pwm: Add DT binding details for Linear Equal Step Mode .../bindings/regulator/pwm-regulator.txt | 32 +++++- drivers/regulator/pwm-regulator.c | 109 +++++++++++++++++---- 2 files changed, 120 insertions(+), 21 deletions(-) -- 2.1.4