From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752622AbcEDLwJ (ORCPT ); Wed, 4 May 2016 07:52:09 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:11162 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751239AbcEDLwG (ORCPT ); Wed, 4 May 2016 07:52:06 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Wed, 04 May 2016 04:51:27 -0700 From: Laxman Dewangan To: , , , CC: , , , , "Laxman Dewangan" Subject: [PATCH V3 0/4] soc/tegra: Add support for IO pads power and voltage control Date: Wed, 4 May 2016 17:09:29 +0530 Message-ID: <1462361973-27990-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 The IO pins of Tegra SoCs are grouped for common control of IO interface like setting voltage signal levels and power state of the interface. The group is generally referred as IO pads. The power state and voltage control of IO pins can be done at IO pads level. Tegra124 onwards IO pads support the power down state when system is active. The voltage levels on IO pads are auto detected on Tegra124/ Tegra132 but it is not in Tegra210. For Tegra210, the SW need to explicitly configure the voltage levels of IO pads This series add the interface for the IO pad power state and voltage configurations. Modifies the client to use new APIs. Register the child devices to provide the client interface to configure IO pads power state and voltage from Device tree. --- Changes from V2: - Drop the pinctrl driver from series till pmc interfce is finalise. - Move client to use the new APIs. - Remove older APIs to configure IO rail and related macros. Laxman Dewangan (4): soc/tegra: pmc: Use BIT macro for register field definition soc/tegra: pmc: Correct type of variable for tegra_pmc_readl() soc/tegra: pmc: Add support for IO pads power state and voltage soc/tegra: pmc: Register PMC child devices as platform device drivers/gpu/drm/tegra/sor.c | 8 +- drivers/soc/tegra/pmc.c | 382 +++++++++++++++++++++++++++++++++++++------- include/soc/tegra/pmc.h | 116 +++++++++----- 3 files changed, 410 insertions(+), 96 deletions(-) -- 2.1.4