Re: [PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-10-17 Thread Wolfram Sang
On Mon, Sep 11, 2017 at 03:11:44PM -0500, Franklin S Cooper Jr wrote: > 66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain > unlike other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime > is required to insure the power domain used by the specific I2C instance is > proper

Re: [PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-12 Thread Sekhar Nori
On Tuesday 12 September 2017 02:44 PM, Baolin Wang wrote: > Hi, > > On 12 September 2017 at 16:48, Sekhar Nori wrote: >> On Tuesday 12 September 2017 07:28 AM, Baolin Wang wrote: @@ -802,13 +821,24 @@ static int davinci_i2c_probe(struct platform_device *pdev) dev->clk = de

Re: [PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-12 Thread Baolin Wang
Hi, On 12 September 2017 at 16:48, Sekhar Nori wrote: > On Tuesday 12 September 2017 07:28 AM, Baolin Wang wrote: >>> @@ -802,13 +821,24 @@ static int davinci_i2c_probe(struct platform_device >>> *pdev) >>> dev->clk = devm_clk_get(&pdev->dev, NULL); >>> if (IS_ERR(dev->clk)) >>>

Re: [PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-12 Thread Sekhar Nori
On Tuesday 12 September 2017 07:28 AM, Baolin Wang wrote: >> @@ -802,13 +821,24 @@ static int davinci_i2c_probe(struct platform_device >> *pdev) >> dev->clk = devm_clk_get(&pdev->dev, NULL); >> if (IS_ERR(dev->clk)) >> return PTR_ERR(dev->clk); >> - clk_prepar

Re: [PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-11 Thread Baolin Wang
Hi, On 12 September 2017 at 04:11, Franklin S Cooper Jr wrote: > 66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain > unlike other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime > is required to insure the power domain used by the specific I2C instance is > properly tu

[PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-11 Thread Franklin S Cooper Jr
66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain unlike other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime is required to insure the power domain used by the specific I2C instance is properly turned on along with its functional clock. Signed-off-by: Franklin S Coope