Re: [PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-03-10 Thread Sascha Hauer
On Tue, Mar 10, 2015 at 07:21:59PM +0800, fan.chen wrote: > On Mon, 2015-03-09 at 11:38 +0100, Sascha Hauer wrote: > > > > + > > > > + switch (ck_mhz) { > > > > + case 18: > > > > + if (pwrap_is_mt8135(wrp)) > > > > + pwrap_writel(wrp, 0xc,

Re: [PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-03-10 Thread Sascha Hauer
On Tue, Mar 10, 2015 at 07:21:59PM +0800, fan.chen wrote: On Mon, 2015-03-09 at 11:38 +0100, Sascha Hauer wrote: + + switch (ck_mhz) { + case 18: + if (pwrap_is_mt8135(wrp)) + pwrap_writel(wrp, 0xc, PWRAP_CSHEXT); If the

Re: [PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-03-09 Thread Sascha Hauer
On Mon, Mar 09, 2015 at 09:53:31AM +0100, Matthias Brugger wrote: > 2015-02-22 13:02 GMT+01:00 Sascha Hauer : > > From: Flora Fu > > > > new file mode 100644 > > index 000..b91665a > > --- /dev/null > > +++ b/drivers/soc/mediatek/Kconfig > > @@ -0,0 +1,11 @@ > > +# > > +# MediaTek SoC drivers

Re: [PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-03-09 Thread Matthias Brugger
2015-02-22 13:02 GMT+01:00 Sascha Hauer : > From: Flora Fu > > This adds support for the PMIC wrapper found on MediaTek MT8135 and > MT8173 SoCs. > > On MediaTek MT8135, MT8173 and other SoCs the PMIC is connected via > SPI. The SPI master interface is not directly visible to the CPU, but > only

Re: [PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-03-09 Thread Sascha Hauer
On Mon, Mar 09, 2015 at 09:53:31AM +0100, Matthias Brugger wrote: 2015-02-22 13:02 GMT+01:00 Sascha Hauer s.ha...@pengutronix.de: From: Flora Fu flora...@mediatek.com new file mode 100644 index 000..b91665a --- /dev/null +++ b/drivers/soc/mediatek/Kconfig @@ -0,0 +1,11 @@ +#

Re: [PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-03-09 Thread Matthias Brugger
2015-02-22 13:02 GMT+01:00 Sascha Hauer s.ha...@pengutronix.de: From: Flora Fu flora...@mediatek.com This adds support for the PMIC wrapper found on MediaTek MT8135 and MT8173 SoCs. On MediaTek MT8135, MT8173 and other SoCs the PMIC is connected via SPI. The SPI master interface is not

[PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-02-22 Thread Sascha Hauer
From: Flora Fu This adds support for the PMIC wrapper found on MediaTek MT8135 and MT8173 SoCs. On MediaTek MT8135, MT8173 and other SoCs the PMIC is connected via SPI. The SPI master interface is not directly visible to the CPU, but only through the PMIC wrapper inside the SoC. The

[PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-02-22 Thread Sascha Hauer
From: Flora Fu flora...@mediatek.com This adds support for the PMIC wrapper found on MediaTek MT8135 and MT8173 SoCs. On MediaTek MT8135, MT8173 and other SoCs the PMIC is connected via SPI. The SPI master interface is not directly visible to the CPU, but only through the PMIC wrapper inside the