RE: [PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-18 Thread Premi, Sanjeev
> -Original Message- > From: Hilman, Kevin > Sent: Friday, November 18, 2011 12:51 AM > To: Premi, Sanjeev > Cc: linux-omap@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; Koyamangalath, Abhilash > Subject: Re: [PATCH] ARM: OMAP: PM: only register TWL with

Re: [PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-17 Thread Kevin Hilman
"Premi, Sanjeev" writes: [...] >> >> If PMIC is not TWL family, then I don't expect any functions in >> twl_common.c to be called. > > This is the reason I wanted to know if the check on ".irq" in the > patch is sufficient. If any PMIC requires & sets "pmic_i2c_board_info.irq" > then both omap3

RE: [PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-17 Thread Premi, Sanjeev
Cc: linux-omap@vger.kernel.org; > >> linux-arm-ker...@lists.infradead.org; Koyamangalath, Abhilash > >> Subject: Re: [PATCH] ARM: OMAP: PM: only register TWL with > >> voltage layer when device is present > >> > >> "Premi, Sanjeev" writes

Re: [PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-16 Thread Kevin Hilman
Abhilash >> Subject: Re: [PATCH] ARM: OMAP: PM: only register TWL with >> voltage layer when device is present >> >> "Premi, Sanjeev" writes: >> >> >> Current code registers voltage layer details for TWL PMIC >> even when a >>

RE: [PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-11 Thread Premi, Sanjeev
> -Original Message- > From: Hilman, Kevin > Sent: Friday, November 11, 2011 12:04 AM > To: Premi, Sanjeev > Cc: linux-omap@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; Koyamangalath, Abhilash > Subject: Re: [PATCH] ARM: OMAP: PM: only register TWL

Re: [PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-10 Thread Kevin Hilman
"Premi, Sanjeev" writes: >> Current code registers voltage layer details for TWL PMIC even when a >> TWL has not been registered. Fix this to only register the TWL with >> voltage layer when the TWL PMIC is initialized by board-level code. >> >> Signed-off-by: Kevin Hilman [...] > I have bee

RE: [PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-09 Thread Premi, Sanjeev
Abhilash > Subject: [PATCH] ARM: OMAP: PM: only register TWL with > voltage layer when device is present > > Current code registers voltage layer details for TWL PMIC > even when a TWL > has not been registered. Fix this to only register the TWL > with voltage > layer

[PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-08 Thread Kevin Hilman
Current code registers voltage layer details for TWL PMIC even when a TWL has not been registered. Fix this to only register the TWL with voltage layer when the TWL PMIC is initialized by board-level code. Signed-off-by: Kevin Hilman --- Barring any objections, will be queued as a fix for v3.2-r