Re: [PATCH resend] mfd/rtc: s5m: Do not allocate RTC I2C dummy and regmap for unsupported chipsets

2014-04-23 Thread Lee Jones
 The rtc-s5m driver does not support all of S2M and S5M chipsets
 supported by main MFD sec-core driver. For such chipsets unsupported by
 rtc-s5m, the MFD sec-core driver initialized regmap with default config.
 This config in such cases wouldn't work at all.
 
 The main MFD sec-core driver shouldn't initialize regmap for child
 drivers which is not used by them and even not valid.
 
 Move the allocation of RTC I2C dummy device and initialization of RTC
 regmap from main MFD sec-core driver to the rtc-s5m driver. The rtc-s5m
 driver will use proper regmap config for supported devices.
 
 Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
 ---
  drivers/mfd/sec-core.c   | 53 +---
  drivers/rtc/rtc-s5m.c| 75 
 +---
  include/linux/mfd/samsung/core.h |  3 --
  3 files changed, 71 insertions(+), 60 deletions(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH resend] mfd/rtc: s5m: Do not allocate RTC I2C dummy and regmap for unsupported chipsets

2014-04-17 Thread Lee Jones
 The rtc-s5m driver does not support all of S2M and S5M chipsets
 supported by main MFD sec-core driver. For such chipsets unsupported by
 rtc-s5m, the MFD sec-core driver initialized regmap with default config.
 This config in such cases wouldn't work at all.
 
 The main MFD sec-core driver shouldn't initialize regmap for child
 drivers which is not used by them and even not valid.
 
 Move the allocation of RTC I2C dummy device and initialization of RTC
 regmap from main MFD sec-core driver to the rtc-s5m driver. The rtc-s5m
 driver will use proper regmap config for supported devices.
 
 Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
 ---
  drivers/mfd/sec-core.c   | 53 +---
  drivers/rtc/rtc-s5m.c| 75 
 +---
  include/linux/mfd/samsung/core.h |  3 --
  3 files changed, 71 insertions(+), 60 deletions(-)

MFD changes look good to me. If Alessandro provides his Ack for the
RTC adaptions I can setup an MFD-RTC branch for him to pull from in
order to save conflicts at merge time.

Acked-by: Lee Jones lee.jo...@linaro.org

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [rtc-linux] Re: [PATCH resend] mfd/rtc: s5m: Do not allocate RTC I2C dummy and regmap for unsupported chipsets

2014-04-17 Thread Alessandro Zummo
On Thu, 17 Apr 2014 09:08:47 +0100
Lee Jones lee.jo...@linaro.org wrote:

 MFD changes look good to me. If Alessandro provides his Ack for the
 RTC adaptions I can setup an MFD-RTC branch for him to pull from in
 order to save conflicts at merge time.

 Hello,
   I do not keep an rtc git, so please add it to mfd
 or via another tree / next. The patch looks good to m.
 
 Acked-by: Alessandro Zummo a.zu...@towertech.it
  

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html