[PATCH v4 0/4] power_supply: Introduce power supply charging driver

2014-01-30 Thread Jenny TC
v1: introduced feature as a framework within power supply class driver with separate files for battid framework and charging framework v2: fixed review comments, moved macros and inline functions to power_supply.h v3: moved the feature as a separate driver, combined battid framework and

[PATCH 1/4] power_supply: Add inlmt,iterm, min/max temp props

2014-01-30 Thread Jenny TC
Add new power supply properties for input current, charge termination current, min and max temperature POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperature POWER_SUPPLY_PROP_INLMT - input current limit programmed by charger.

[PATCH 4/4] power_supply: bq24261 charger driver

2014-01-30 Thread Jenny TC
This patch introduces BQ24261 charger driver. The driver makes use of power supply charging driver to setup charging. So the driver does hardware abstraction and handles h/w specific corner cases. The charging logic resides with power supply charging driver Signed-off-by: Jenny TC

[PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-01-30 Thread Jenny TC
As per Product Safety Engineering (PSE) specification for battery charging, the battery characteristics and thereby the charging rates can vary on different temperature zones. This patch introduces a PSE compliant charging algorithm with maintenance charging support. The algorithm can be selected

power_supply mailing list

2014-01-30 Thread Jenny Tc
Hi, Do we have any mailing list for power_supply subsystem? If not what about having one - linux-power-sup...@vger.kernel.org? Thanks Jenny -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH] ARM: OMAP2+: clock: fix clkoutx2 with CLK_SET_RATE_PARENT

2014-01-30 Thread Tomi Valkeinen
If CLK_SET_RATE_PARENT is set for a clkoutx2 clock, calling clk_set_rate() on the clock skips the x2 multiplier as there are no set_rate and round_rate functions defined for the clkoutx2. This results in getting double the requested clock rates, breaking the display on omap3430 based devices.

Re: [patch] mmc: omap_hsmmc: precedence bug in omap_hsmmc_context_restore()

2014-01-30 Thread Dan Carpenter
On Thu, Aug 22, 2013 at 08:16:28PM +0530, Balaji T K wrote: On Thursday 22 August 2013 06:26 PM, Dan Carpenter wrote: '!' has higher precedence than '' so this doesn't work as intended although since RESETDONE is 1 it would work if none of the other bits are set. Hi Dan, Thanks for the

[patch 1/2] mmc: omap_hsmmc: remove a duplicative test

2014-01-30 Thread Dan Carpenter
Static checkers complain that testing for both next and !next is duplicative. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 2a629fbde613..bfb0dbd052c0 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++

[patch 2/2] mmc: omap_hsmmc: checking for ERR_PTR instead of NULL

2014-01-30 Thread Dan Carpenter
The of_get_hsmmc_pdata() function returns NULL on error, it doesn't return ERR_PTRs. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index bfb0dbd052c0..76dbc7b759c2 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-30 Thread Jyri Sarha
On 01/28/2014 11:23 AM, Jean-Francois Moine wrote: On Mon, 27 Jan 2014 21:31:59 +0200 Jyri Sarha jsa...@ti.com wrote: I would suggest to leave the CTS_N_K to the current setting (3), unless we can change the CTS_N_K on the fly according to the used sample format. Yes, this is possible: -

Re: [patch 1/2] mmc: omap_hsmmc: remove a duplicative test

2014-01-30 Thread Balaji T K
On Thursday 30 January 2014 05:45 PM, Dan Carpenter wrote: Static checkers complain that testing for both next and !next is duplicative. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Looks good to me Acked-by: Balaji T K balaj...@ti.com diff --git a/drivers/mmc/host/omap_hsmmc.c

Re: [patch 2/2] mmc: omap_hsmmc: checking for ERR_PTR instead of NULL

2014-01-30 Thread Balaji T K
On Thursday 30 January 2014 05:45 PM, Dan Carpenter wrote: The of_get_hsmmc_pdata() function returns NULL on error, it doesn't return ERR_PTRs. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index

Re: [patch] mmc: omap_hsmmc: precedence bug in omap_hsmmc_context_restore()

2014-01-30 Thread Balaji T K
On Thursday 30 January 2014 05:45 PM, Dan Carpenter wrote: On Thu, Aug 22, 2013 at 08:16:28PM +0530, Balaji T K wrote: On Thursday 22 August 2013 06:26 PM, Dan Carpenter wrote: '!' has higher precedence than '' so this doesn't work as intended although since RESETDONE is 1 it would work if

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM NxP SC phy driver

2014-01-30 Thread Greg KH
On Thu, Jan 30, 2014 at 11:22:48AM +0530, Satish Patel wrote: On 1/20/2014 10:03 AM, Satish Patel wrote: Changes from v1: * RFC(v1) comments are fixed ** removed gpio_to_irq as GPIO controller process cell from DT and give it to DT node ** comments on documentation ** few other

Re: [PATCH 4/4] power_supply: bq24261 charger driver

2014-01-30 Thread Pavel Machek
Hi! diff --git a/drivers/power/Makefile b/drivers/power/Makefile index 77535fd..6d184c8 100644 --- a/drivers/power/Makefile +++ b/drivers/power/Makefile @@ -59,4 +59,5 @@ obj-$(CONFIG_CHARGER_BQ24735) += bq24735-charger.o obj-$(CONFIG_POWER_AVS) += avs/

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-30 Thread Jean-Francois Moine
On Thu, 30 Jan 2014 14:20:56 +0200 Jyri Sarha jsa...@ti.com wrote: I am having trouble getting the tda998x-codec working on BBB. The problem is I do not have a DT node for the tda998x driver. Instead I have tilcdc-slave node that provides pdata for the tda-driver. I am thinking of solving

Re: [PATCH 4/4] power_supply: bq24261 charger driver

2014-01-30 Thread Jenny Tc
On Thu, Jan 30, 2014 at 06:01:54PM +0100, Pavel Machek wrote: Hi! diff --git a/drivers/power/Makefile b/drivers/power/Makefile index 77535fd..6d184c8 100644 --- a/drivers/power/Makefile +++ b/drivers/power/Makefile @@ -59,4 +59,5 @@ obj-$(CONFIG_CHARGER_BQ24735) +=