Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753772AbcDOLPY (ORCPT ); Fri, 15 Apr 2016 07:15:24 -0400 Received: from mail-ob0-f181.google.com ([209.85.214.181]:34788 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754129AbcDOLPR (ORCPT ); Fri, 15 Apr 2016 07:15:17 -0400 MIME-Version: 1.0 In-Reply-To: <5710BA75.2010503@nvidia.com> References: <1460473007-11535-1-git-send-email-ldewangan@nvidia.com> <1460473007-11535-8-git-send-email-ldewangan@nvidia.com> <5710A8A4.90309@nvidia.com> <5710BA75.2010503@nvidia.com> Date: Fri, 15 Apr 2016 13:15:16 +0200 Message-ID: Subject: Re: [PATCH 7/7] pinctrl: tegra: Add driver to configure voltage and power state of io pads From: Linus Walleij To: Laxman Dewangan Cc: Stephen Warren , Thierry Reding , Alexandre Courbot , Rob Herring , Mark Rutland , Jon Hunter , "linux-tegra@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 26 On Fri, Apr 15, 2016 at 11:55 AM, Laxman Dewangan wrote: > On Friday 15 April 2016 02:55 PM, Linus Walleij wrote: >> If the pin could actually set a voltage level it would have a regulator. >> I don't believe that. I think it is selecting one of two rails which >> could theoretically hold two totally different voltages. >> >> And that is what power-source is about. > > The IO rails connected to PMIC rail and connection does not get change. > We change the voltage of PMIC rails via regulator calls. And then configure > pads for the new voltage. Aha I get it! So you adjust something in the I/O-cell so that it is adapted for the new voltage. OK that seems to be something new. I suspect power-voltage-select = ; where N i in uV would solve this? (We should use uV since regulators use this.) But to be sure we would like to know what is actually happening, electronically speaking, when you set this up. Do you have any idea? Yours, Linus Walleij