Re: [PATCH v3 02/04] OMAP4: PMIC: Add support for twl6030 RTC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



balajitk@xxxxxx writes:

> From: Balaji T K <balajitk@xxxxxx>
>
> This version of patch series enables RUN TIME selection of TWL4030 or TWL6030.
>
> This patch adds support for RTC in phoenix TWL6030.
> Register offset addresses have changed in TWL6030
> rtc-twl.c will hence forth support all twl RTC (4030, 5030, 6030 ..)
>
> Signed-off-by: Balaji T K <balajitk@xxxxxx>
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
> Reviewed-by: Tony Lindgren <tony@xxxxxxxxxxx>

[...]

> @@ -352,6 +401,7 @@ static irqreturn_t twl_rtc_interrupt(int irq, void *rtc)
>  	if (res)
>  		goto out;
>  
> +if (twl_class_is_4030()) {

indentation?

>  	/* Clear on Read enabled. RTC_IT bit of TWL4030_INT_PWR_ISR1
>  	 * needs 2 reads to clear the interrupt. One read is done in
>  	 * do_twl_pwrirq(). Doing the second read, to clear
> @@ -367,6 +417,7 @@ static irqreturn_t twl_rtc_interrupt(int irq, void *rtc)
>  			&rd_reg, TWL4030_INT_PWR_ISR1);
>  	if (res)
>  		goto out;
> +}

and here?

after that,

Reviewed-by: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux