RE: [PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-03 Thread li.xi...@freescale.com
> > This is caused by not compiling the regmap core. > > > > Could you add the following patch to have a try ? > > == > > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > > index 79d2589..3e55fa9 100644 > > --- a/drivers/watchdog/Kconfig > > +++ b/drivers/w

Re: [PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-03 Thread Guenter Roeck
On 04/03/2014 06:13 PM, li.xi...@freescale.com wrote: + base = devm_ioremap_resource(&pdev->dev, res); + if (IS_ERR(base)) + return PTR_ERR(base); + + imx2_wdt.regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, base, +

RE: [PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-03 Thread li.xi...@freescale.com
> > + base = devm_ioremap_resource(&pdev->dev, res); > > + if (IS_ERR(base)) > > + return PTR_ERR(base); > > + > > + imx2_wdt.regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, base, > > + &imx2_wdt_regmap_config); > > This patch caus

Re: [PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-03 Thread Guenter Roeck
On Thu, Apr 03, 2014 at 09:04:19AM +0800, Xiubo Li wrote: > This watchdog driver will be working on IMX2+, Vybrid, LS1, LS2+ > platforms, and will be in different endianness mode in those SoCs: > > SoCs CPU endian mode WDT endian mode >

[PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-02 Thread Xiubo Li
This watchdog driver will be working on IMX2+, Vybrid, LS1, LS2+ platforms, and will be in different endianness mode in those SoCs: SoCs CPU endian mode WDT endian mode IMX2+LELE Vybird LE