[PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-06-09 Thread Sascha Hauer
This adds support for some miscellaneous bits of the infracfg controller. The mtk_infracfg_set/clear_bus_protection functions are necessary for the scpsys power domain driver to handle the bus protection bits which are contained in the infacfg register space. Signed-off-by: Sascha Hauer --- driv

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-27 Thread Sascha Hauer
On Tue, May 26, 2015 at 04:12:06PM -0700, Kevin Hilman wrote: > Sascha Hauer writes: > > > This adds support for some miscellaneous bits of the infracfg controller. > > The mtk_infracfg_set/clear_bus_protection functions are necessary for > > the scpsys power domain driver to handle the bus prote

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-26 Thread Kevin Hilman
Sascha Hauer writes: > This adds support for some miscellaneous bits of the infracfg controller. > The mtk_infracfg_set/clear_bus_protection functions are necessary for > the scpsys power domain driver to handle the bus protection bits which > are contained in the infacfg register space. > > Sign

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-21 Thread Paul Bolle
Just a nit: an unneeded macro. On Wed, 2015-05-20 at 16:18 +0200, Sascha Hauer wrote: > --- a/drivers/soc/mediatek/Kconfig > +++ b/drivers/soc/mediatek/Kconfig > +config MTK_INFRACFG > + bool "MediaTek INFRACFG Support" > + depends on ARCH_MEDIATEK > + select REGMAP > + help > +

[PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-20 Thread Sascha Hauer
This adds support for some miscellaneous bits of the infracfg controller. The mtk_infracfg_set/clear_bus_protection functions are necessary for the scpsys power domain driver to handle the bus protection bits which are contained in the infacfg register space. Signed-off-by: Sascha Hauer --- driv

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-19 Thread Daniel Kurtz
On Tue, May 19, 2015 at 3:45 PM, Sascha Hauer wrote: > On Tue, May 19, 2015 at 02:54:41PM +0800, Daniel Kurtz wrote: >> >> > + while (1) { >> >> > + ret = regmap_read(infracfg, INFRA_TOPAXI_PROTECTSTA1, >> >> > &val); >> >> > + if (ret) >> >> > +

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-19 Thread Sascha Hauer
On Tue, May 19, 2015 at 02:54:41PM +0800, Daniel Kurtz wrote: > >> > + while (1) { > >> > + ret = regmap_read(infracfg, INFRA_TOPAXI_PROTECTSTA1, > >> > &val); > >> > + if (ret) > >> > + return ret; > >> > + > >> > + if ((val &

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-18 Thread Daniel Kurtz
On Mon, May 18, 2015 at 4:16 PM, Sascha Hauer wrote: > Hi Daniel, > > On Fri, May 15, 2015 at 10:17:33PM +0800, Daniel Kurtz wrote: >> Hi Sascha, >> >> On Tue, May 12, 2015 at 3:23 AM, Sascha Hauer wrote: >> > This adds support for some miscellaneous bits of the infracfg controller. >> > The mtk_

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-18 Thread Sascha Hauer
Hi Daniel, On Fri, May 15, 2015 at 10:17:33PM +0800, Daniel Kurtz wrote: > Hi Sascha, > > On Tue, May 12, 2015 at 3:23 AM, Sascha Hauer wrote: > > This adds support for some miscellaneous bits of the infracfg controller. > > The mtk_infracfg_set/clear_bus_protection functions are necessary for >

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-15 Thread Daniel Kurtz
Hi Sascha, On Tue, May 12, 2015 at 3:23 AM, Sascha Hauer wrote: > This adds support for some miscellaneous bits of the infracfg controller. > The mtk_infracfg_set/clear_bus_protection functions are necessary for > the scpsys power domain driver to handle the bus protection bits which > are contai

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-12 Thread Sascha Hauer
Hi Paul, On Tue, May 12, 2015 at 11:24:31AM +0200, Paul Bolle wrote: > On Mon, 2015-05-11 at 21:23 +0200, Sascha Hauer wrote: > > --- a/drivers/soc/mediatek/Kconfig > > +++ b/drivers/soc/mediatek/Kconfig > > > +config MTK_INFRACFG > > + tristate "MediaTek INFRACFG Support" > > + depends on AR

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-12 Thread Paul Bolle
On Mon, 2015-05-11 at 21:23 +0200, Sascha Hauer wrote: > --- a/drivers/soc/mediatek/Kconfig > +++ b/drivers/soc/mediatek/Kconfig > +config MTK_INFRACFG > + tristate "MediaTek INFRACFG Support" > + depends on ARCH_MEDIATEK > + select REGMAP > + help > + Say yes here to add sup

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-12 Thread Sascha Hauer
On Mon, May 11, 2015 at 09:23:22PM +0200, Sascha Hauer wrote: > This adds support for some miscellaneous bits of the infracfg controller. > The mtk_infracfg_set/clear_bus_protection functions are necessary for > the scpsys power domain driver to handle the bus protection bits which > are contained

[PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-11 Thread Sascha Hauer
This adds support for some miscellaneous bits of the infracfg controller. The mtk_infracfg_set/clear_bus_protection functions are necessary for the scpsys power domain driver to handle the bus protection bits which are contained in the infacfg register space. Signed-off-by: Sascha Hauer --- driv