From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753903Ab3LQNth (ORCPT ); Tue, 17 Dec 2013 08:49:37 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:37146 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753839Ab3LQNtf (ORCPT ); Tue, 17 Dec 2013 08:49:35 -0500 Date: Tue, 17 Dec 2013 13:49:28 +0000 From: Lee Jones To: Krzysztof Kozlowski Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley , Sangbeom Kim , Samuel Ortiz , Liam Girdwood , Mark Brown , Grant Likely , Sachin Kamat , Thomas Abraham , Amit Daniel Kachhap , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Kyungmin Park , Marek Szyprowski Subject: Re: [PATCH 4/5] regulator: s5m8767: Use GPIO for controlling Buck9/eMMC Message-ID: <20131217134928.GH19810@lee--X1> References: <1387286601-21646-1-git-send-email-k.kozlowski@samsung.com> <1387286601-21646-5-git-send-email-k.kozlowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1387286601-21646-5-git-send-email-k.kozlowski@samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Dec 2013, Krzysztof Kozlowski wrote: > Add support for GPIO control (enable/disable) over Buck9. The Buck9 > Converter is used as a supply for eMMC Host Controller. > > BUCK9EN GPIO of S5M8767 chip may be used by application processor to > enable or disable the Buck9. This has two benefits: > - It is faster than toggling it over I2C bus. > - It allows disabling the regulator during suspend to RAM; The AP will > enable it during resume; Without the patch the regulator supplying > eMMC must be defined as fixed-regulator. > > Signed-off-by: Krzysztof Kozlowski > Cc: Kyungmin Park > Cc: Marek Szyprowski > --- > drivers/regulator/s5m8767.c | 120 ++++++++++++++++++++++++++++++++++- > include/linux/mfd/samsung/core.h | 2 + > include/linux/mfd/samsung/s5m8767.h | 7 ++ So long as they fit in with the rest of the changes, the MFD adaptions look fine to me: Acked-by: Lee Jones -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog