Re: [Meego-kernel] [PATCH] TI WL1273 drivers for WLAN

2010-10-20 Thread Jacob Pan
Brouat, Claude Tue, 19 Oct 2010 00:09:35 +0100 >Hi, > >Here is a patch that provides support for the TI WL1273 WLAN chipset on Intel >platform. >It also includes an mmc workaround on 2.6.35 version. A clean implementation >of this workaround was submitted/accepted to 2.6.36 kernel. >The current w

Re: [Meego-kernel] patch [4/4] medfield DTS driver

2010-10-21 Thread Jacob Pan
R, Durgadoss Thu, 21 Oct 2010 11:01:13 +0530 >Hi Arjan, > >This patch, the final one, enables monitoring Digital Temperature >Sensor on the medfield platform. > >This driver, registers itself with the generic thermal sysfs framework. >It monitors the dts temperature and sends out a notification whe

Re: [Meego-kernel] patch [4/4] medfield dts driver patch

2010-10-21 Thread Jacob Pan
R, Durgadoss Thu, 21 Oct 2010 18:13:39 +0530 >+extern int (*platform_thermal_notify)(__u64 msr_val); >+/*platform thermal notifier */ >+int (*platform_thermal_notify)(__u64 msr_val) = NULL; I did not see anywhere else this function pointer is used other than > + platform_thermal_no

Re: [Meego-kernel] APIC Timer

2011-02-22 Thread Jacob Pan
On Tue, 22 Feb 2011 11:27:29 +0530 Tom wrote: > Got it... > > Regards, > Tom > > On Tue, Feb 22, 2011 at 9:48 AM, Arjan van de Ven > wrote: > > > On 2/21/2011 8:01 PM, Tom wrote: > > > >> Hi, > >> > >> Kernel Oops on MRST CDK after changing the clock source from APB > >> timers to APIC. > >> A

Re: [Meego-kernel] APIC Timer

2011-02-23 Thread Jacob Pan
on Tue, 22 Feb 2011 15:42:26 -0800 Jacob Pan wrote: >On Tue, 22 Feb 2011 11:27:29 +0530 >Tom wrote: > >> Got it... >> >> Regards, >> Tom >> >> On Tue, Feb 22, 2011 at 9:48 AM, Arjan van de Ven >> wrote: >> >> > On 2/21/2011 8:01

Re: [Meego-kernel] [RFC/PATCH] langwell_otg: runtime pm support

2011-03-16 Thread jacob pan
On Wed, 16 Mar 2011 13:32:47 + Alan Cox wrote: > On Wed, 16 Mar 2011 09:18:13 +0800 > wrote: > > > Hi, Alan > > > > For hardware design of the platform which in my hand, there is no > > charging by USB. > > Should I empty the code of langwell_otg_chrg_vbus() when there is > > charging by A

Re: [Meego-kernel] [RFC/PATCH] langwell_otg: runtime pm support

2011-03-17 Thread Jacob Pan
On Wed, 16 Mar 2011 17:42:36 +0800 "Wu, Hao" wrote: > langwell_otg_chrg_vbus() is mainly for SRP (Vbus pulse), I think the > resistor is used to protect Vbus pulsing current as mentioned in OTG > 1.3 Spec. So you can ignore this function for charging. > Based on the 2.0 OTG spec. 5.1.4, vbus pul

Re: [Meego-kernel] [RFC/PATCH] langwell_otg: runtime pm support

2011-03-17 Thread Jacob Pan
On Thu, 17 Mar 2011 09:00:48 -0700 Jacob Pan wrote: > On Wed, 16 Mar 2011 17:42:36 +0800 > "Wu, Hao" wrote: > > > langwell_otg_chrg_vbus() is mainly for SRP (Vbus pulse), I think the > > resistor is used to protect Vbus pulsing current as mentioned in OTG >

Re: [Meego-kernel] [RFC/PATCH] langwell_otg: runtime pm support

2011-03-18 Thread jacob pan
On Fri, 18 Mar 2011 10:56:19 +0800 "Wu, Hao" wrote: > >On Thu, 17 Mar 2011 09:00:48 -0700 > >Jacob Pan wrote: > > > >> On Wed, 16 Mar 2011 17:42:36 +0800 > >> "Wu, Hao" wrote: > >> > >> > langwell_otg_chrg_vbus() i

Re: [Meego-kernel] [PATCH] langwell_otg: allow for wakeups while suspended

2011-05-02 Thread jacob pan
_resume(struct pc > goto error; > } > > - if (request_irq(pdev->irq, otg_irq, IRQF_SHARED, > + if (request_threaded_irq(pdev->irq, NULL, otg_irq, > IRQF_SHARED, driver_name, lnw) != 0) { > dev_dbg(&pdev->dev, &q

Re: [Meego-kernel] [PATCH] langwell_otg: add pci_dev_run_wake on probe/remove

2011-05-12 Thread Jacob Pan
On Thu, 12 May 2011 21:21:48 +0800 Jekyll Lai wrote: > Fixed the system crash when inserting or removing otg cable. > > Signed-off-by: Jekyll Lai > --- > drivers/usb/otg/langwell_otg.c |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/otg/langwell_

Re: [Meego-kernel] [PATCH] langwell_otg: add pci_dev_run_wake on probe/remove

2011-05-13 Thread Jacob Pan
On Fri, 13 May 2011 18:37:01 +0800 jekyll wrote: > 2011/5/13 Jacob Pan > > > On Thu, 12 May 2011 21:21:48 +0800 > > Jekyll Lai wrote: > > > > > - pm_runtime_put_noidle(&pdev->dev); > > > + if (pci_dev_run_wake(&pdev->de

Re: [Meego-kernel] [PATCH] langwell_otg: add pci_dev_run_wake on probe/remove

2011-05-13 Thread Jacob Pan
On Fri, 13 May 2011 18:39:34 +0800 jekyll wrote: > 2011/5/13 Alan Cox > > > On Thu, 12 May 2011 21:21:48 +0800 > > Jekyll Lai wrote: > > > > > Fixed the system crash when inserting or removing otg cable. > > > > Can you explain what the crash looks like and why it crashes ? > > > > No message

[Meego-kernel] [PATCH 0/5] otg runtime pm and hotplug related fixes

2011-06-09 Thread Jacob Pan
_USB_GADGET=y < CONFIG_USB_GADGET_VBUS_DRAW=2 < CONFIG_USB_GADGET_SELECTED=y < CONFIG_USB_GADGET_LANGWELL=y < CONFIG_USB_LANGWELL=y < CONFIG_USB_GADGET_DUALSPEED=y < CONFIG_USB_ETH_RNDIS=y < CONFIG_USB_FUNCTIONFS=m < CONFIG_USB_FUNCTIONFS_ETH=y < CONFIG_USB_FUNCTIONFS_RNDIS

[Meego-kernel] [PATCH 1/5] usb/otg/langwell: ignore data pulse interrupt

2011-06-09 Thread Jacob Pan
pulse = 1 Signed-off-by: Jacob Pan --- include/linux/usb/langwell_otg.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/usb/langwell_otg.h b/include/linux/usb/langwell_otg.h index 51f17b1..bafec80 100644 --- a/include/linux/usb/langwell_otg.h +++ b/include

[Meego-kernel] [PATCH 2/5] x86/pci/mrst: mark otg runwake

2011-06-09 Thread Jacob Pan
Signed-off-by: Jacob Pan --- arch/x86/pci/mrst.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/pci/mrst.c b/arch/x86/pci/mrst.c index 4767350..0c9dded 100644 --- a/arch/x86/pci/mrst.c +++ b/arch/x86/pci/mrst.c @@ -350,3 +350,4 @@ static void __devinit

[Meego-kernel] [PATCH 3/5] x86/mrst/pci: assign d3_delay to 0 for langwell devices

2011-06-09 Thread Jacob Pan
Langwell devices are not true pci devices, they are not subject to the 10 ms d3 to d0 delay required by pci spec. This patch assigns d3_delay to 0 for all langwell pci devices. Signed-off-by: Jacob Pan --- arch/x86/pci/mrst.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions

[Meego-kernel] [PATCH 4/5] Revert "linux-2.6.37-otg-threaded-irq"

2011-06-09 Thread Jacob Pan
rantee of ordering. It may also burden runtime pm wq under certain cases. SCU FW with otg irq fix must be used after reverting this patch. Signed-off-by: Jacob Pan --- drivers/usb/otg/langwell_otg.c | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/u

[Meego-kernel] [PATCH 5/5] usb/otg/lanwell: balance runtime pm and misc clean ups

2011-06-09 Thread Jacob Pan
will fail when the two registers are not in sync. Signed-off-by: Jacob Pan --- drivers/usb/gadget/langwell_udc.c | 14 ++ drivers/usb/otg/langwell_otg.c|7 +++ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb

Re: [Meego-kernel] [RFC/PATCH] intel_mid_battery/intel_pmic_battery: Fix over battery charge current exception

2011-06-21 Thread jacob pan
ap_is_present = PMIC_ADAP_PRESENT; > + pbi->dclmt_excpt_log_flag = 0; > } else { > pbi->adap_is_present = PMIC_ADAP_NOT_PRESENT; > pbi->adap_health = POWER_SUPPLY_HEALTH_UNKNOWN; > @@ -867,6 +873,11 @@ static void pmic_battery_han