Re: [rtc-linux] Re: [PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Krzysztof Kozlowski
On Mon, Dec 12, 2016 at 02:28:11PM +0100, Bartlomiej Zolnierkiewicz wrote: > > @@ -259,6 +262,32 @@ static const struct max77686_rtc_driver_data > > max77802_drv_data = { > > .rtc_irq_chip = _rtc_irq_chip, > > }; > > > > +static inline int _regmap_bulk_write(struct max77686_rtc_info *info,

Re: [rtc-linux] Re: [PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Krzysztof Kozlowski
On Mon, Dec 12, 2016 at 02:28:11PM +0100, Bartlomiej Zolnierkiewicz wrote: > > @@ -259,6 +262,32 @@ static const struct max77686_rtc_driver_data > > max77802_drv_data = { > > .rtc_irq_chip = _rtc_irq_chip, > > }; > > > > +static inline int _regmap_bulk_write(struct max77686_rtc_info *info,

Re: [PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, December 12, 2016 05:14:45 PM Venkat Reddy Talla wrote: > Adding support to avoid regmap bulk write for the > devices which are not supported register bulk write. What about register bulk reads done by the driver? Do they also need a fixup? > Max77620 RTC device does not

Re: [PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, December 12, 2016 05:14:45 PM Venkat Reddy Talla wrote: > Adding support to avoid regmap bulk write for the > devices which are not supported register bulk write. What about register bulk reads done by the driver? Do they also need a fixup? > Max77620 RTC device does not

[PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Venkat Reddy Talla
Adding support to avoid regmap bulk write for the devices which are not supported register bulk write. Max77620 RTC device does not support register bulk write so disabling regmap bulk write for max77620 rtc device and enabling only for max77683. Signed-off-by: Venkat Reddy Talla

[PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Venkat Reddy Talla
Adding support to avoid regmap bulk write for the devices which are not supported register bulk write. Max77620 RTC device does not support register bulk write so disabling regmap bulk write for max77620 rtc device and enabling only for max77683. Signed-off-by: Venkat Reddy Talla ---