From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933541AbcKINZj (ORCPT ); Wed, 9 Nov 2016 08:25:39 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:19116 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932676AbcKINZf (ORCPT ); Wed, 9 Nov 2016 08:25:35 -0500 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 09 Nov 2016 05:25:33 -0800 From: Laxman Dewangan To: , CC: , , , , Laxman Dewangan Subject: [PATCH V2 0/4] soc/tegra: pmc: Add support for IO pad configuration and sub-driver Date: Wed, 9 Nov 2016 18:39:18 +0530 Message-ID: <1478696962-11831-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 Tegra SoC support the configutaion of IO pads to multi-level voltage and low power state. The conifguration is done via pictrl framework and the io pad driver in pinctrl frameowrk uses the APIs from pmc to access PMC registers. his series add the API to get the IO pad power status and register the pmc child devices like IO pad drvier. The patches were send earlier part of different series but applied partially in the Thierry's t186 branch https://github.com/thierryreding/linux/tree/tegra186. Resending the patches as the new start to avoid any confusion. This need to be applied in https://github.com/thierryreding/linux/tree/tegra186 --- Changes from V1: - make the IO pad votlage configurations to the atomic context as 4th patch of series. Laxman Dewangan (4): soc/tegra: pmc: Remove legacy Tegra I/O rail API soc/tegra: pmc: Add interface to get IO pad power status soc/tegra: pmc: Register PMC child devices as platform device soc/tegra: pmc: Make configuration of IO pads in atomic context drivers/soc/tegra/pmc.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++-- include/soc/tegra/pmc.h | 14 +++----- 2 files changed, 91 insertions(+), 11 deletions(-) -- 2.1.4