On 6/12/2018 6:39 PM, Linus Walleij wrote:
On Wed, Jun 6, 2018 at 11:18 AM, Keerthy wrote:
Currently IRQ resource fetching is done at the very end of probe.
In case the of IRQ resource not being ready, we defer probe
and need to revert prior changes. Hence move it to the beginning of
the
This is needed in case of PROBE_DEFER if IRQ resource is not yet ready.
Signed-off-by: Keerthy
---
Tested for GPIO Interrupts on da850-lcdk board.
Changes in v3:
Changed type of bank_irq to int from unsigned
* Changed irqs type from unsigned to int
drivers/gpio/gpio-davinci.c | 29
Currently the driver assumes that the interrupts are continuous
and does platform_get_irq only once and assumes the rest are continuous,
instead call platform_get_irq for all the interrupts and store them
in an array for later use.
Signed-off-by: Keerthy
---
Tested for GPIO Interrupts on da850
On Tuesday 12 June 2018 11:15 AM, Alexander Stein wrote:
> On Tuesday, June 12, 2018, 7:27:52 AM CEST Keerthy wrote:
>> This is needed in case of PROBE_DEFER if IRQ resource is not yet ready.
>>
>> Signed-off-by: Keerthy
>> ---
>> [...]
>> --- a/drive
Currently the driver assumes that the interrupts are continuous
and does platform_get_irq only once and assumes the rest are continuous,
instead call platform_get_irq for all the interrupts and store them
in an array for later use.
Signed-off-by: Keerthy
---
Tested for GPIO Interrupts on da850
This is needed in case of PROBE_DEFER if IRQ resource is not yet ready.
Signed-off-by: Keerthy
---
Tested for GPIO Interrupts on da850-lcdk and keystone-k2g-evm boards.
No Changes in v2
drivers/gpio/gpio-davinci.c | 29 +++--
1 file changed, 11 insertions(+), 18
Currently the driver assumes that the interrupts are continuous
and does platform_get_irq only once and assumes the rest are continuous,
instead call platform_get_irq for all the interrupts and store them
in an array for later use.
Signed-off-by: Keerthy
---
Tested for GPIO Interrupts on da850
Currently IRQ resource fetching is done at the very end of probe.
In case the of IRQ resource not being ready, we defer probe
and need to revert prior changes. Hence move it to the beginning of
the probe so as to avoid reverting.
Signed-off-by: Keerthy
---
Tested for GPIO Interrupts on da850
The intc #interrupt-cells is equal to 1. Currently gpio
node has 2 cells per IRQ which is wrong. Remove the additional
cell for each of the interrupts.
Signed-off-by: Keerthy
Fixes: 2e38b946dc54 ("ARM: davinci: da850: add GPIO DT node")
---
Changes in v2:
* Fixed $Subject
arch/ar
On Tuesday 05 June 2018 03:35 PM, Keerthy wrote:
> The intc #interrupt-cells is equal to 1. Currently gpio
> node has 2 cells per IRQ which is wrong. Remove the additional
> cell for each of the interrupts.
Just noticed $Subject is not quite right. I will fix and send a v2
The intc #interrupt-cells is equal to 1. Currently gpio
node has 2 cells per IRQ which is wrong. Remove the additional
cell for each of the interrupts.
Signed-off-by: Keerthy
Fixes: 2e38b946dc54 ("ARM: davinci: da850: add GPIO DT node")
---
arch/arm/boot/dts/da850.dtsi | 6 +---
On Monday 16 April 2018 03:59 PM, Keerthy wrote:
>
>
> On Thursday 12 April 2018 10:14 PM, santosh.shilim...@oracle.com wrote:
>> On 4/11/18 9:53 PM, Keerthy wrote:
>>> From: Dave Gerlach
>>>
>>> After an RTC+DDR cycle we lose sram context so emif pm
On Thursday 12 April 2018 07:57 PM, Tony Lindgren wrote:
> * Keerthy [180412 03:56]:
>> Add the save and restore for clksrc as part of suspend and resume
>> so that it saves the counter value and restores. This is needed in
>> modes like rtc+ddr in self-refresh not doing
On Tuesday 08 May 2018 07:46 PM, Tony Lindgren wrote:
> * Peter Ujfalusi [180508 13:22]:
>> Hi,
>>
>> While based on the datasheet of tps65218 the INT is low active, the GIC_SPI
>> does not support anythin but IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING:
>>
>> [2.761814] genirq: Setting trig
On Wednesday 02 May 2018 07:44 PM, Bartlomiej Zolnierkiewicz wrote:
> Entry for Index 941 has one zero too much. Fix it.
>
Acked-by: Keerthy
> Signed-off-by: Bartlomiej Zolnierkiewicz
> ---
> v2:
> - Fix patch description.
>
> drivers/thermal/ti-soc-thermal/oma
stingly the am437x-sk-evm had IRQ_TYPE_LEVEL_HIGH, which is not matching
> with the datasheet.
>
> [1] http://www.ti.com/lit/ds/symlink/tps65218.pdf, page 8.
For the series:
Reviewed-by: Keerthy
Also Boot tested on AM437X-GP-EVM with the patch 1 of the series and i
do not see the erro
On Thursday 12 April 2018 10:14 PM, santosh.shilim...@oracle.com wrote:
> On 4/11/18 9:53 PM, Keerthy wrote:
>> From: Dave Gerlach
>>
>> After an RTC+DDR cycle we lose sram context so emif pm functions present
>> in sram are lost. We can check if the first byte of
Buck10 is a multi(dual) phase regulator. So as part of enabling it
turn on the LP87565_BUCK_CTRL_1_FPWM_MP_0_2 bit which forces it to
operate always in multiphase and forced-PWM operation mode.
This helps improve the transient voltage response while switching OPP.
Signed-off-by: Keerthy
reduce the default ramp_delay
populated in the descriptors also by 15%.
Signed-off-by: Keerthy
---
drivers/regulator/lp87565-regulator.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/regulator/lp87565-regulator.c
b/drivers/regulator/lp87565
On Thursday 12 April 2018 10:14 PM, santosh.shilim...@oracle.com wrote:
> On 4/11/18 9:53 PM, Keerthy wrote:
>> From: Dave Gerlach
>>
>> After an RTC+DDR cycle we lose sram context so emif pm functions present
>> in sram are lost. We can check if the first byte of
On Thursday 12 April 2018 07:46 PM, Tony Lindgren wrote:
> Hi,
>
> * Keerthy [180412 03:56]:
>> From: Russ Dill
>>
>> This adds a pair of context save/restore functions to save/restore the
>> state of a set of pinctrl registers. This simplifies some of the
removed to avoid any conflicts and allow the proper pm layer to handle
things when a driver is present.
Signed-off-by: Dave Gerlach
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/omap_device.c | 50
arch/arm/mach-omap2/omap_device.h | 1 +
arch/arm
functions to the previous address to maintain PM functionality.
Signed-off-by: Dave Gerlach
Signed-off-by: Keerthy
---
drivers/memory/ti-emif-pm.c | 24
1 file changed, 24 insertions(+)
diff --git a/drivers/memory/ti-emif-pm.c b/drivers/memory/ti-emif-pm.c
index 632651f
need to change memory retention states, so make
sure the restored state is different from the current state before we wait
for a transition.
Signed-off-by: Keerthy
Signed-off-by: Dave Gerlach
Signed-off-by: Russ Dill
---
arch/arm/mach-omap2/powerdomain.c | 60
/restore.
This will also be necessary for hibernation and RTC only sleep, as all
pinctrl registers all lost.
Signed-off-by: Russ Dill
Signed-off-by: Keerthy
---
drivers/pinctrl/core.c | 1 +
drivers/pinctrl/core.h | 1 -
drivers/pinctrl/pinctrl-single.c | 50
From: Russ Dill
It isn't much of a win, and with hibernation, everything loses context.
So Drop the concept of certain power domains not being able to lose
context.
Signed-off-by: Russ Dill
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/powerdomain.c
From: Russ Dill
These registers are part of the wkup domain and are lost during RTC only
suspend and also hibernation, so storing/restoring their state is
necessary.
Signed-off-by: Russ Dill
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/control.c | 84
Add the save and restore for clksrc as part of suspend and resume
so that it saves the counter value and restores. This is needed in
modes like rtc+ddr in self-refresh not doing this stalls the time.
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/timer.c | 37
red
during non off-mode operation.
Signed-off-by: Dave Gerlach
Signed-off-by: Keerthy
---
drivers/gpio/gpio-omap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index 34fde30..84d664b 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers
the proper IRQ configuration is maintained.
Signed-off-by: Dave Gerlach
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/omap_hwmod_reset.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_reset.c
b/arch/arm/mach-omap2
From: Russ Dill
It isn't much of a win, and with hibernation, everything loses context.
Signed-off-by: Russ Dill
Signed-off-by: Keerthy
---
drivers/gpio/gpio-omap.c| 38 -
include/linux/platform_data/gpio-omap.h | 1 -
2 files change
DeepSleep
after resuming.
Signed-off-by: Dave Gerlach
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/prm.h | 2 ++
arch/arm/mach-omap2/prm44xx.c | 29 +
2 files changed, 31 insertions(+)
diff --git a/arch/arm/mach-omap2/prm.h b/arch/arm/mach-omap2/prm.h
index f0fb508
From: Russ Dill
This is used to support suspend modes like RTC-only and hibernate where
the state of the registers controlling clockdomains is lost.
Signed-off-by: Russ Dill
Signed-off-by: Dave Gerlach
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/clockdomain.c | 46
From: Tero Kristo
These registers are part of the wkup domain and are lost during RTC only
suspend and also hibernation, so storing/restoring their state is
necessary.
Signed-off-by: Tero Kristo
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/control.c | 94
CM IO
Keerthy (1):
OMAP: CLK: CLKSRC: Add suspend resume hooks
Russ Dill (7):
ARM: OMAP2: Add functions to save and restore clockdomain context
en-masse.
ARM: OMAP2: Add functions to save and restore omap hwmod context
en-masse.
ARM: OMAP2: Add functions to save and restore powerd
described above. This can be prevented by
calling _reidle on all hwmods that need it for any module that is being
disabled to return to it's previous state.
Signed-off-by: Dave Gerlach
Signed-off-by: Russ Dill
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/omap_hwmod.c
On Friday 23 February 2018 12:15 AM, Tony Lindgren wrote:
> * Ladislav Michl [180222 10:58]:
>> On Thu, Feb 15, 2018 at 11:31:45AM +0530, Keerthy wrote:
>>> Replace architecture specific guard with clocksource guard.
>>>
>>> Signed-off-by: Keerthy
>>&g
rong regulator ID. This causes LDO1 to fail to
> suspend in tps65218_pmic_set_suspend_disable due to not having anything
> probes for its strobe value. Fix the order in the enum so the probe
> function works as the update intended.
Reviewed-by: Keerthy
>
> Fixes: 2dc4940360d4 ("
Wrap the inline functions under OMAP2PLUS/OMAP1 defines.
This patch also inlines omap_dm_timer_get_fclk function
for non OMAP1 Config.
Signed-off-by: Keerthy
Tested-by: Ladislav Michl
Reviewed-by: Sebastian Reichel
---
arch/arm/plat-omap/include/plat/dmtimer.h | 17 -
1 file
Remove unused timer pdata.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/mach-omap2/pdata-quirks.c | 32
1 file changed, 32 deletions(-)
diff --git a/arch/arm/mach-omap2/pdata-quirks.c
b/arch/arm/mach-omap2
Add timer ops to the platform data structure
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
include/linux/platform_data/dmtimer-omap.h | 38 ++
1 file changed, 38 insertions(+)
diff --git a/include/linux/platform_data/dmtimer
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy
Acked-by: Neil Armstrong
Reviewed-by: Claudiu Beznea
---
drivers/pwm/pwm-omap-dmtimer.c | 68 ++
1 file changed, 42 insertions(+), 26 deletions(-)
diff --git a
From: Ladislav Michl
In the case of device tree boot the device platform data is usually
NULL so hook the platform data obtained from the match.
As part of un-constify the platform_data pointer.
Signed-off-by: Ladislav Michl
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
---
drivers
Move the dmtimer driver out of plat-omap to clocksource.
So that non-omap devices also could use this.
No Code changes done to the driver file only renamed to timer-ti-dm.c.
Also removed the config dependencies for OMAP_DM_TIMER.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by
Remove all the unwanted exports from the driver
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/plat-omap/dmtimer.c | 27 ---
1 file changed, 27 deletions(-)
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap
The header file is currently under plat-omap directory
under arch/omap. Move this out to an accessible place.
No Code changes done to the header file and renamed to timer-ti-dm.h.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/mach-omap1/pm.c
Add the timer ops to the platform data
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
drivers/clocksource/timer-ti-dm.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/clocksource/timer-ti-dm.c
b/drivers/clocksource
Replace architecture specific guard with clocksource guard.
Signed-off-by: Keerthy
Replace architecture specific defines with clocksource
---
include/clocksource/timer-ti-dm.h | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/include/clocksource/timer-ti-dm.h
b
header file under OMAP2PLUS
* Added a new of helper function to fetch plat_data from of node.
Keerthy (9):
clocksource: dmtimer: Remove all the exports
arm: omap: timer: Wrap the inline functions under OMAP2PLUS define
arm: omap: Move dmtimer.h out of plat-omap
clocksource: timer-ti-dm
On Tuesday 13 February 2018 08:16 AM, Suman Anna wrote:
> On 01/09/2018 12:23 AM, J, KEERTHY wrote:
>> Add timer ops to the platform data structure
>>
>> Signed-off-by: Keerthy
>> Reviewed-by: Sebastian Reichel
>> Tested-by: Ladislav Michl
>> ---
&
On Tuesday 13 February 2018 07:54 AM, Suman Anna wrote:
> Hi Keerthy,
>
> On 01/09/2018 12:23 AM, J, KEERTHY wrote:
>> Move the dmtimer driver out of plat-omap to clocksource.
>> So that non-omap devices also could use this.
>
> What non-omap devices do you have
On Tuesday 13 February 2018 07:36 AM, Suman Anna wrote:
> Hi Keerthy,
>
> On 01/09/2018 12:23 AM, J, KEERTHY wrote:
>> The header file is currently under plat-omap directory
>> under arch/omap. Move this out to an accessible place.
>>
>> No Code changes done to
On Tuesday 13 February 2018 08:39 PM, Tony Lindgren wrote:
> * Suman Anna [180213 02:07]:
>> On 01/09/2018 12:23 AM, J, KEERTHY wrote:
>>> The header file is currently under plat-omap directory
>>> under arch/omap. Move this out to an accessible place.
>>&
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy
Acked-by: Neil Armstrong
Reviewed-by: Claudiu Beznea
---
Changes in v10:
* Corrected a return variable.
Changes in v9:
* Reorganized the place where of_node_put was called.
Changes in v8
On Wednesday 24 January 2018 04:49 PM, Keerthy wrote:
> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
>
> Signed-off-by: Keerthy
> Acked-by: Neil Armstrong
> Reviewed-by: Claudiu Beznea
> ---
> Changes in v9:
>
> * Reorganized the place w
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy
Acked-by: Neil Armstrong
Reviewed-by: Claudiu Beznea
---
Changes in v9:
* Reorganized the place where of_node_put was called.
Changes in v8:
* Added of_node_put call in success case of probe.
Boot
On Wednesday 24 January 2018 12:54 PM, Ladislav Michl wrote:
> Keerthy,
>
> On Wed, Jan 24, 2018 at 11:14:40AM +0530, Keerthy wrote:
>> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
>>
>> Signed-off-by: Keerthy
>> Acked-by: Neil Armstron
On Wednesday 24 January 2018 10:56 AM, Keerthy wrote:
>
>
> On Monday 22 January 2018 04:23 PM, Ladislav Michl wrote:
>> Dear Claudiu,
>>
>> On Mon, Jan 22, 2018 at 11:17:08AM +0200, Claudiu Beznea wrote:
>>> On 17.01.2018 23:47, Ladislav Michl wrote:
&
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy
Acked-by: Neil Armstrong
Reviewed-by: Claudiu Beznea
---
Changes in v8:
* Added of_node_put call in success case of probe.
Boot tested on am437x-gp-evm and dra7xx-evm.
Also compile tested
see.
>
> Based on you previous suggestions found here:
> https://patchwork.kernel.org/patch/10140209/
> I'd say this fix belongs to patch which introduces of_node_put() in the error
> path. I'll then rebase this patches on top of the fix.
Agreed. I missed the success path as i assumed only error paths needed
te of_node_put(). I will post v8 of this patch alone as other patches
can be left untouched. Hope that is okay.
Regards,
Keerthy
>
> Thank you,
> ladis
>
On 1/13/2018 2:47 AM, Grygorii Strashko wrote:
On 01/12/2018 03:08 PM, Tony Lindgren wrote:
* Grygorii Strashko [180112 20:36]:
Hi
On 01/10/2018 10:54 PM, Qi Hou wrote:
When more than one GP timers are used as kernel system timers and the
corresponding nodes in device-tree are marked wit
f that doesn't help you.
>
> OK great, thanks for the update. I'll test again tomorrow and will
> whine again if I'm seeing issues :)
This fixes nfs boot for me on dra7-evm.
Regards,
Keerthy
>
> Regards,
>
> Tony
> --
> To unsubscribe from this list: se
Add timer ops to the platform data structure
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
include/linux/platform_data/dmtimer-omap.h | 38 ++
1 file changed, 38 insertions(+)
diff --git a/include/linux/platform_data/dmtimer
Move the dmtimer driver out of plat-omap to clocksource.
So that non-omap devices also could use this.
No Code changes done to the driver file only renamed to timer-dm.c.
Also removed the config dependencies for OMAP_DM_TIMER.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by
Add the timer ops to the platform data
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
drivers/clocksource/timer-dm.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/clocksource/timer-dm.c b/drivers/clocksource/timer
The header file is currently under plat-omap directory
under arch/omap. Move this out to an accessible place.
No Code changes done to the header file.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/mach-omap1/pm.c
Remove unused timer pdata.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/mach-omap2/pdata-quirks.c | 32
1 file changed, 32 deletions(-)
diff --git a/arch/arm/mach-omap2/pdata-quirks.c
b/arch/arm/mach-omap2
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy
Acked-by: Neil Armstrong
Reviewed-by: Claudiu Beznea
---
drivers/pwm/pwm-omap-dmtimer.c | 68 ++
1 file changed, 43 insertions(+), 25 deletions(-)
diff --git a
Remove all the unwanted exports from the driver
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/plat-omap/dmtimer.c | 27 ---
1 file changed, 27 deletions(-)
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap
* Added a new of helper function to fetch plat_data from of node.
Keerthy (8):
clocksource: dmtimer: Remove all the exports
arm: omap: timer: Wrap the inline functions under OMAP2PLUS define
arm: omap: Move dmtimer.h out of plat-omap
arm: OMAP: Move dmtimer driver out of plat-omap to
Wrap the inline functions under OMAP2PLUS/OMAP1 defines.
Signed-off-by: Keerthy
Tested-by: Ladislav Michl
---
arch/arm/plat-omap/include/plat/dmtimer.h | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h
b/arch/arm/plat-omap
From: Ladislav Michl
In the case of device tree boot the device platform data is usually
NULL so hook the platform data obtained from the match.
As part of un-constify the platform_data pointer.
Signed-off-by: Ladislav Michl
Signed-off-by: Keerthy
---
drivers/clocksource/timer-dm.c | 10
On 1/8/2018 8:17 PM, Claudiu Beznea wrote:
On 08.01.2018 16:44, Neil Armstrong wrote:
On 08/01/2018 15:33, Keerthy wrote:
On Monday 08 January 2018 02:14 PM, Claudiu Beznea wrote:
On 02.01.2018 12:09, Keerthy wrote:
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks
On Monday 08 January 2018 02:14 PM, Claudiu Beznea wrote:
>
>
> On 02.01.2018 12:09, Keerthy wrote:
>> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
>>
>> Signed-off-by: Keerthy
>> Tested-by: Ladislav Michl
>> ---
On 1/2/2018 3:39 PM, Keerthy wrote:
The series moves dmtimer out of plat-omap to drivers/clocksource.
The series also does a bunch of changes to pwm-omap-dmtimer code
to adapt to the driver migration and clean up plat specific
pdata-quirks and use the dmtimer platform data.
Boot tested on
On 1/5/2018 4:17 AM, Ladislav Michl wrote:
On Tue, Jan 02, 2018 at 03:39:59PM +0530, Keerthy wrote:
From: Ladislav Michl
Invalid prescaler value is silently ignored. Fix that
by returning -EINVAL in such case. As invalid value
disabled use of the prescaler, use -1 explicitely for
that
From: Ladislav Michl
Invalid prescaler value is silently ignored. Fix that
by returning -EINVAL in such case. As invalid value
disabled use of the prescaler, use -1 explicitely for
that purpose.
Signed-off-by: Ladislav Michl
---
drivers/clocksource/timer-dm.c | 3 +++
1 file changed, 3 inserti
Add the timer ops to the platform data
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
drivers/clocksource/timer-dm.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/clocksource/timer-dm.c b/drivers/clocksource/timer
The header file is currently under plat-omap directory
under arch/omap. Move this out to an accessible place.
No Code changes done to the header file.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/mach-omap1/pm.c
Remove all the unwanted exports from the driver
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/plat-omap/dmtimer.c | 27 ---
1 file changed, 27 deletions(-)
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap
Remove unused timer pdata.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
arch/arm/mach-omap2/pdata-quirks.c | 32
1 file changed, 32 deletions(-)
diff --git a/arch/arm/mach-omap2/pdata-quirks.c
b/arch/arm/mach-omap2
Move the dmtimer driver out of plat-omap to clocksource.
So that non-omap devices also could use this.
No Code changes done to the driver file only renamed to timer-dm.c.
Also removed the config dependencies for OMAP_DM_TIMER.
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy
Tested-by: Ladislav Michl
---
drivers/pwm/pwm-omap-dmtimer.c | 39 ++-
1 file changed, 22 insertions(+), 17 deletions(-)
diff --git a/drivers/pwm/pwm-omap-dmtimer.c b
From: Ladislav Michl
In the case of device tree boot the device platform data is usually
NULL so hook the platform data obtained from the match.
As part of un-constify the platform_data pointer.
Signed-off-by: Ladislav Michl
Signed-off-by: Keerthy
---
drivers/clocksource/timer-dm.c | 10
Add timer ops to the platform data structure
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
Tested-by: Ladislav Michl
---
include/linux/platform_data/dmtimer-omap.h | 38 ++
1 file changed, 38 insertions(+)
diff --git a/include/linux/platform_data/dmtimer
Changes from v3:
* Reverted to v2 approach of using dev_get_platdata to fetch dmtimer ops.
Changes from V2:
* Wrapped the inline functions in header file under OMAP2PLUS
* Added a new of helper function to fetch plat_data from of node.
Keerthy (8):
clocksource: dmtimer: Remove all the
Wrap the inline functions under OMAP2PLUS/OMAP1 defines.
Signed-off-by: Keerthy
Tested-by: Ladislav Michl
---
arch/arm/plat-omap/include/plat/dmtimer.h | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h
b/arch/arm/plat-omap
On Wednesday 20 December 2017 03:59 PM, Lorenzo Pieralisi wrote:
> On Fri, Dec 01, 2017 at 04:53:14PM +, Lorenzo Pieralisi wrote:
>> On Fri, Dec 01, 2017 at 10:43:53AM +0530, Keerthy wrote:
>>>
>>>
>>> On Friday 01 December 2017 10:36 AM, Vignesh R wrot
On Tuesday 19 December 2017 08:51 PM, Ladislav Michl wrote:
> On Tue, Dec 19, 2017 at 01:55:48PM +0530, Keerthy wrote:
>> On Tuesday 19 December 2017 10:28 AM, Keerthy wrote:
>>> On Monday 18 December 2017 06:25 PM, Keerthy wrote:
>>>> On Monday 18 December 2017
or now want to keep the changes minimal.
Some of the functions that you are removing in this patch might be
needed and can be added for ops in future.
So i will let this be separate patch.
Thanks,
Keerthy
>
> Signed-off-by: Ladislav Michl
> ---
> drivers/clocksourc
On Monday 18 December 2017 05:01 PM, Ladislav Michl wrote:
> Invalid prescaler value is silently ignored. Fix that
> by returning -EINVAL in such case. As invalid value
> disabled use of the prescaler, use -1 explicitely for
> that purpose.
Thanks. I will post this as part of my migration series
On Tuesday 19 December 2017 10:28 AM, Keerthy wrote:
>
>
> On Monday 18 December 2017 06:25 PM, Keerthy wrote:
>>
>>
>> On Monday 18 December 2017 03:01 PM, Ladislav Michl wrote:
>>> Keerthy,
>>>
>>> On Tue, Dec 12, 2017 at 11:42:16AM +053
On Monday 18 December 2017 06:25 PM, Keerthy wrote:
>
>
> On Monday 18 December 2017 03:01 PM, Ladislav Michl wrote:
>> Keerthy,
>>
>> On Tue, Dec 12, 2017 at 11:42:16AM +0530, Keerthy wrote:
>>> Adapt driver to utilize dmtimer pdata ops instead of pdata-qu
On Monday 18 December 2017 03:01 PM, Ladislav Michl wrote:
> Keerthy,
>
> On Tue, Dec 12, 2017 at 11:42:16AM +0530, Keerthy wrote:
>> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
>>
>> Signed-off-by: Keerthy
>> ---
>>
On Monday 18 December 2017 04:46 PM, Ladislav Michl wrote:
> Keerthy,
>
> On Tue, Dec 12, 2017 at 11:42:09AM +0530, Keerthy wrote:
>> The series moves dmtimer out of plat-omap to drivers/clocksource.
>> The series also does a bunch of changes to pwm-omap-dmtimer code
>
On Tuesday 12 December 2017 01:49 PM, Ladislav Michl wrote:
> On Tue, Dec 12, 2017 at 01:38:04PM +0530, Keerthy wrote:
>> On Tuesday 12 December 2017 01:31 PM, Ladislav Michl wrote:
>>> On Tue, Dec 12, 2017 at 01:01:51PM +0530, Keerthy wrote:
>>>>
>>>>
On Tuesday 12 December 2017 01:31 PM, Ladislav Michl wrote:
> On Tue, Dec 12, 2017 at 01:01:51PM +0530, Keerthy wrote:
>>
>>
>> On Tuesday 12 December 2017 12:46 PM, Ladislav Michl wrote:
>>> Keerthy,
>>>
>>> On Tue, Dec 12, 2017 at 11:42:10AM +0
On Tuesday 12 December 2017 12:46 PM, Ladislav Michl wrote:
> Keerthy,
>
> On Tue, Dec 12, 2017 at 11:42:10AM +0530, Keerthy wrote:
>> Remove all the unwanted exports from the driver
>
> I'm adding event capture capability to the pwm-omap driver and so far us
inline functions in header file under OMAP2PLUS
* Added a new of helper function to fetch plat_data from of node.
Keerthy (8):
clocksource: dmtimer: Remove all the exports
arm: omap: timer: Wrap the inline functions under OMAP2PLUS define
arm: omap: Move dmtimer.h out of plat-omap
arm: OMAP
Add timer ops to the platform data structure
Signed-off-by: Keerthy
Reviewed-by: Sebastian Reichel
---
Changes in v3:
* Added Sebastian's Reviewed-by.
Changes in v2:
* No code changes in this v2 version. Only enhanced patch
statistics for renames.
include/linux/platform
201 - 300 of 1001 matches
Mail list logo