From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henry Chen Subject: Add support for regulator operation mode of mt6397 Date: Wed, 11 May 2016 17:12:07 +0800 Message-ID: <1462957929-20105-1-git-send-email-henryc.chen@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring , Liam Girdwood , Mark Brown , Matthias Brugger Cc: Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Stephen Boyd , Henry Chen , Bjorn Andersson , Laxman Dewangan , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-mediatek@lists.infradead.org Some regulators support different operating modes, but there is no suitable property that can pass the opeation mode constraints on runtime at present. This series making the change to specify supported modes as a devicetree list. Consumers can change or get the regulator operation mode by regulator_set_mode /regulator_get_mode and define the support operating mode on devicetree. There is a requirement from SVS driver. SVS calibartion requires that the regulator be in its low-noise (pwm mode) state at boot, but at all other times it can be normal mode for power saving. http://www.spinics.net/lists/devicetree/msg111204.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: henryc.chen@mediatek.com (Henry Chen) Date: Wed, 11 May 2016 17:12:07 +0800 Subject: Add support for regulator operation mode of mt6397 Message-ID: <1462957929-20105-1-git-send-email-henryc.chen@mediatek.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Some regulators support different operating modes, but there is no suitable property that can pass the opeation mode constraints on runtime at present. This series making the change to specify supported modes as a devicetree list. Consumers can change or get the regulator operation mode by regulator_set_mode /regulator_get_mode and define the support operating mode on devicetree. There is a requirement from SVS driver. SVS calibartion requires that the regulator be in its low-noise (pwm mode) state at boot, but at all other times it can be normal mode for power saving. http://www.spinics.net/lists/devicetree/msg111204.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbcEKJM6 (ORCPT ); Wed, 11 May 2016 05:12:58 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:20063 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932150AbcEKJMy (ORCPT ); Wed, 11 May 2016 05:12:54 -0400 From: Henry Chen To: Rob Herring , Liam Girdwood , Mark Brown , Matthias Brugger CC: Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Stephen Boyd , Henry Chen , Bjorn Andersson , Laxman Dewangan , , , , Subject: Add support for regulator operation mode of mt6397 Date: Wed, 11 May 2016 17:12:07 +0800 Message-ID: <1462957929-20105-1-git-send-email-henryc.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some regulators support different operating modes, but there is no suitable property that can pass the opeation mode constraints on runtime at present. This series making the change to specify supported modes as a devicetree list. Consumers can change or get the regulator operation mode by regulator_set_mode /regulator_get_mode and define the support operating mode on devicetree. There is a requirement from SVS driver. SVS calibartion requires that the regulator be in its low-noise (pwm mode) state at boot, but at all other times it can be normal mode for power saving. http://www.spinics.net/lists/devicetree/msg111204.html