Hi Thomas,
Thomas Gleixner <t...@linutronix.de> writes:
> On Tue, 29 Dec 2015, Felipe Balbi wrote:
>> Anyway, the interesting part is that PRUSS has 64 events (on current
>> incarnations at least) and PRUSS has 10 physical IRQ lines to the ARM
>> land. Each of th
Hi,
Thomas Gleixner <t...@linutronix.de> writes:
> Felipe,
>
> On Wed, 30 Dec 2015, Felipe Balbi wrote:
>> Thomas Gleixner <t...@linutronix.de> writes:
>> > - Is there a "mapping" block between PRUSS and the host interrupt
>> > cont
t;
>>> On Fri, Aug 7, 2015 at 12:57 PM, Yegor Yefremov
>>> <yegorsli...@googlemail.com> wrote:
>>> > On Fri, Aug 7, 2015 at 12:16 PM, Yegor Yefremov
>>> > <yegorsli...@googlemail.com> wrote:
>>> >> On Thu, Aug 6, 2015 at 4:21 PM, Felip
Hi Thomas & Jason,
I'm dealing with an interesting situation which I'm wondering if Linux
already support for.
Basically, in some TI SoCs we have what's referred to as Programmable
Real-Time Unit SubSystem (PRUSS). That's essentially a really simple,
low latency, single cycle architecture which
Hi,
Ryan <ryanphilip...@googlemail.com> writes:
> Hi Felipe,
>
> On Thu, Dec 10, 2015 at 3:17 AM, Felipe Balbi <ba...@ti.com> wrote:
>>
>> Hi,
>>
>> (please avoid top-posting)
>>
>> Ryan <ryanphilip...@googlemail.com> writes:
>&
Hi,
(please avoid top-posting)
Ryan writes:
> Hi Tony,
>
> Thanks for your response. I dont see any prints. I suspect that it
> might be hanging before the serial port is initialized
>
> All i see is after arch_reset is called. I can see that is mmc clk and
> data
Hi,
Sekhar Nori writes:
> Under some conditions, irq sorting procedure used
> by INTC can go wrong resulting in a spurious irq
> getting reported.
>
> If this condition is not handled, it results in
> endless stream of:
>
> unexpected IRQ trap at vector 00
>
> messages from
eep 5" will take 10 sec instead of 5.
>
> Hence, fix it by adding mpu_periphclk ("fixed-factor-clock") and use
> it for clocking ARM TWD and Global timer (same way as on OMAP4).
>
> Cc: Tony Lindgren <t...@atomide.com>
> Cc: Felipe Balbi <ba...@ti.com>
&
Hi,
Peter Ujfalusi writes:
> @@ -174,12 +182,44 @@
> };
>
> edma: edma@4900 {
> - compatible = "ti,edma3";
> - ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
> - reg =
Hi,
Vignesh R writes:
> ti-qspi controller provides mmap port to read data from SPI flashes.
> mmap port is enabled in QSPI_SPI_SWITCH_REG. ctrl module register may
> also need to be accessed for some SoCs. The QSPI_SPI_SETUP_REGx needs to
> be populated with flash specific
Hi Chanwoo,
Chanwoo Choi <cw00.c...@samsung.com> writes:
> Hi Felipe,
>
> On 2015년 11월 20일 14:33, Chanwoo Choi wrote:
>> Hi Felipe,
>>
>> Looks good to me. But I have one comment.
>>
>> On 2015년 11월 13일 02:57, Felipe Balbi wrote:
>>> TPS65
nings.
>
> After this change, all counter_32k's platform code can be removed
> once all OMAP boards will be converted to DT.
>
> Cc: Tony Lindgren <t...@atomide.com>
> Cc: Felipe Balbi <ba...@ti.com>
> Signed-off-by: Grygorii Strashko <grygorii.stras...@ti.com>
Hi,
Arnd Bergmann <a...@arndb.de> writes:
> On Monday 16 November 2015 15:13:55 Felipe Balbi wrote:
>> Arnd Bergmann <a...@arndb.de> writes:
>> > AM43XX and TI81XX use omap3_gptimer_timer_init(), but that is only
>> > built into the kernel for OMAP3 and A
Hi,
Arnd Bergmann writes:
> AM43XX and TI81XX use omap3_gptimer_timer_init(), but that is only
> built into the kernel for OMAP3 and AM33XX, otherwise we get:
>
> arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x124): undefined reference
> to `omap3_gptimer_timer_init'
>
> This
gt;
> CC: Arnd Bergmann <a...@arndb.de>
> Cc: John Stultz <john.stu...@linaro.org>
> Cc: Felipe Balbi <ba...@ti.com>
> Cc: Tony Lindgren <t...@atomide.com>
> Signed-off-by: Grygorii Strashko <grygorii.stras...@ti.com>
> ---
> drivers/clocksource/ar
Hi,
Grygorii Strashko <grygorii.stras...@ti.com> writes:
> On 11/13/2015 06:43 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Grygorii Strashko <grygorii.stras...@ti.com> writes:
>>> Now the System stall is observed on TI AM437x based board
>>>
Hi,
Grygorii Strashko <grygorii.stras...@ti.com> writes:
> On 11/13/2015 07:40 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Grygorii Strashko <grygorii.stras...@ti.com> writes:
>>> On 11/13/2015 06:43 PM, Felipe Balbi wrote:
>>>>
>>&g
Hi,
Grygorii Strashko <grygorii.stras...@ti.com> writes:
> On 11/13/2015 08:15 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Grygorii Strashko <grygorii.stras...@ti.com> writes:
>>> On 11/13/2015 07:40 PM, Felipe Balbi wrote:
>>>>
>>&g
Hi,
Grygorii Strashko <grygorii.stras...@ti.com> writes:
> On 11/12/2015 08:09 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Grygorii Strashko <grygorii.stras...@ti.com> writes:
>>> On 11/12/2015 07:50 PM, Felipe Balbi wrote:
>&g
According to TRM, debounce is measured in periods of
the functional clock of the GPIO IP. This means that
we should divide by the rate of functional clock.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
drivers/gpio/gpio-omap.c | 24 +---
1 file changed, 17 insertions
According to latest schematics [1], this board
leaves ID pin floating. It's not connected to
anything at all.
So let's remove it.
[1]
https://github.com/beagleboard/beagleboard-x15/blob/master/BeagleBoard-X15_RevA2.pdf
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/boot/dts/
Hi,
with the following patches I can get USB Gadget working
with my beagle x15 with today's Linus' tree.
regards
Felipe Balbi (2):
arm: boot: dts: beaglex15: Remove ID GPIO
arm: boot: beaglex15: pass correct interrupt
arch/arm/boot/dts/am57xx-beagle-x15.dts | 3 +--
1 file changed, 1
mechanism for notifying about
VBUS.
[1]
https://github.com/beagleboard/beagleboard-x15/blob/master/BeagleBoard-X15_RevA2.pdf
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/boot/dts/am57xx-beagle-x15.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/am57xx-beagle-x
Hi,
Felipe Balbi <ba...@ti.com> writes:
> Hi,
>
> with the following patches I can get USB Gadget working
> with my beagle x15 with today's Linus' tree.
>
> regards
>
> Felipe Balbi (2):
> arm: boot: dts: beaglex15: Remove ID GPIO
> arm: boot: beaglex15: p
TPS659038 can remux its GPIO_1 as VBUSDET output,
which can be tied to a SoC GPIO and used as a VBUS
interrupt.
Beagle X15 uses that, in fact, and without it, I
could not get USB peripheral working with that
board.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
drivers/extcon/extcon-pa
Make sure to tell the kernel that AM437x has
TWD and global timers.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
Hi Tony,
now that all dependencies are in place, we can
finally enable twd and global_timer for AM437x.
cheers
arch/arm/mach-omap2/Kconfig | 3 +++
1 file changed, 3 inse
Hi,
Grygorii Strashko <grygorii.stras...@ti.com> writes:
> On 11/12/2015 07:50 PM, Felipe Balbi wrote:
>> According to TRM, debounce is measured in periods of
>> the functional clock of the GPIO IP. This means that
>
>
> What TRM? link pls.
>
> http://www
01
[ 11.207863] 3fe0: b6ddb4e0 be8db180 b6d46a47 b6d46a50 6030
[ 11.207866] ---[ end trace 7d8de48d1bc8fbac ]---
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/omap_hwm
1 PID: 263 at
linux/drivers/base/power/wakeirq.c:43 dev_pm_attach_wake_irq+0xbc/0xd4()
[ 10.359244] rtc-ds1307 2-006f: wake irq already initialized
Cc: Tony Lindgren <t...@atomide.com>
Cc: Nishanth Menon <n...@ti.com>
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/bo
de with the fclk clock.
>
> Regards,
> Peter
> ---
> Peter Ujfalusi (3):
> ARM: DTS: dra7: Fix McASP3 node regarding to clocks
> ARM: OMAP2+: hwmod: Add hwmod flag for HWMOD_OPT_CLKS_NEEDED
> ARM: OMAP: DRA7: hwmod: Add data for McASP3
I have tested these patches with to
Hi,
Peter Ujfalusi <peter.ujfal...@ti.com> writes:
> Felipe,
>
> On 11/11/2015 07:07 PM, Felipe Balbi wrote:
>> From: Peter Ujfalusi <peter.ujfal...@ti.com>
>>
>> McASP3 is used by default on DRA7x based boards for audio.
>
> While this patch
Hi again,
Felipe Balbi <ba...@ti.com> writes:
> Hi Marek,
>
> your commit af19161aaed7 ("ARM: dts: twl4030: Add iio properties for bci
> subnode") breaks build on current linus/master (which current sits in
this commit cannot be found in next. How come it's in li
Hi,
Belisko Marek <marek.beli...@gmail.com> writes:
> Hi,
>
> On Fri, Nov 6, 2015 at 3:24 PM, Felipe Balbi <ba...@ti.com> wrote:
>>
>> Hi again,
>>
>> Felipe Balbi <ba...@ti.com> writes:
>>> Hi Marek,
>>>
>>> your c
y device tree files assuming none have changed by me.
>
> Signed-off-by: Sebastian Reichel <s...@kernel.org>
Reported-by: Felipe Balbi <ba...@ti.com>
Tested-by: Felipe Balbi <ba...@ti.com>
Acked-by: Felipe Balbi <ba...@ti.com>
> ---
> arch/arm/boot/dts/twl4030.dt
Hi Marek,
your commit af19161aaed7 ("ARM: dts: twl4030: Add iio properties for bci
subnode") breaks build on current linus/master (which current sits in
d1e41ff11941 Merge tag 'platform-drivers-x86-v4.4-1' of
git://git.infradead.org/users/dvhart/linux-platform-drivers-x86) for
anybody including
Hi,
Lokesh Vutla <a0131...@ti.com> writes:
> On Wednesday 21 October 2015 02:35 AM, Felipe Balbi wrote:
>> AM437x-based boards, can use omap4_local_timer_init()
>> just fine. Let's use that instead.
>
> This is breaking AM43x-epos board.
> Today's Linux next: http:
Hi,
Rob Herring writes:
> On Tue, Nov 03, 2015 at 03:36:14PM +0530, Vignesh R wrote:
>> Add qspi memory mapped region entries for AM43xx based SoCs. Also,
>> update the binding documents for the controller to document this change.
>>
>> Signed-off-by: Vignesh R
> driver loaded for it.
> This patch will add a dummy driver skeleton without probe or remove
> callbacks provided.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
> Reported-by: Olof Johansson <o...@lixom.net>
This fixes the problem I also reported on linux-omap [1]
Tes
Hi,
with today's next (which contains commit e3faf2b8826b "ARM: DTS: am437x:
Use the new DT bindings for the eDMA3" above) I can't get to getty
prompt on my AM437x SK. Simply reverting that commit makes it work
again.
Here are some boot logs:
next/master : http://hastebin.com/amunusunok
Grygorii Strashko <grygorii.stras...@ti.com> writes:
> On 10/29/2015 03:57 PM, Felipe Balbi wrote:
>> there's no need to call pm_runtime_get_sync()
>> followed by pm_runtime_put(). We should, instead,
>> just call pm_runtime_put_sync() and pm_runtime_disable().
>
>
Hi,
Grygorii Strashko <grygorii.stras...@ti.com> writes:
> On 11/02/2015 06:06 PM, Felipe Balbi wrote:
>>
>> hi,
>>
>> Grygorii Strashko <grygorii.stras...@ti.com> writes:
>>> On 11/02/2015 05:20 PM, Felipe Balbi wrote:
>>>> Grygorii
hi,
Grygorii Strashko <grygorii.stras...@ti.com> writes:
> On 11/02/2015 05:20 PM, Felipe Balbi wrote:
>> Grygorii Strashko <grygorii.stras...@ti.com> writes:
>>
>>> On 10/29/2015 03:57 PM, Felipe Balbi wrote:
>>>> there's no need to call pm_ru
there's no need to call pm_runtime_get_sync()
followed by pm_runtime_put(). We should, instead,
just call pm_runtime_put_sync() and pm_runtime_disable().
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
drivers/spi/spi-ti-qspi.c | 11 +--
1 file changed, 1 insertion(+), 10 del
Hi,
Tony Lindgren <t...@atomide.com> writes:
> * Felipe Balbi <ba...@ti.com> [151023 09:48]:
>>
>> Hi,
>>
>> Tony Lindgren <t...@atomide.com> writes:
>> > From: Tony Lindgren <t...@atomide.com>
>> > Date: Fri, 23 Oct 2015 09:
; Signed-off-by: Tony Lindgren <t...@atomide.com>
I'm fine with this patch to fix this v4.3 regression. Greg, do you want
a pull request or can you take this in as a patch ? In any case:
Acked-by: Felipe Balbi <ba...@ti.com>
> --- a/drivers/usb/musb/omap2430.c
> +++
Hi,
I just noticed that commit 073db4a51ee4 (mtd: fix: avoid race condition
when accessing mtd->usecount) caused a regression at least when removing
m25p80. Wonder if you guys would know of a quick fix, other than
reverting $commit in HEAD (yes, that makes the problem go away, but
regresses on
Hi,
I just triggered a NULL point deref with the following commands running
on AM437x SK board. This is with v4.3-rc6:
modprobe -r snd_soc_simple_card
sleep 1
modprobe snd_soc_simple_card
sleep 1
details below:
[ 228.020921] Unable to handle kernel NULL pointer dereference at virtual
(fixing Tony's address)
Felipe Balbi <ba...@ti.com> writes:
> Hi,
>
> I just noticed that commit 073db4a51ee4 (mtd: fix: avoid race condition
> when accessing mtd->usecount) caused a regression at least when removing
> m25p80. Wonder if you guys would know of a quick fix
Hi,
Brian Norris <computersforpe...@gmail.com> writes:
> Hi Felipe,
>
> First of all, this is only a quick response. I could easily be missing
> something obvious.
>
> On Thu, Oct 22, 2015 at 02:01:02PM -0500, Felipe Balbi wrote:
>>
>> Hi,
>>
>&
AM437x-based boards, can use omap4_local_timer_init()
just fine. Let's use that instead.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/board-generic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/board-generic.c
b/arch/ar
the new ti 32k clocksource driver should depend on
GENERIC_CLOCKSOURCE because of its reliance on
sched_clock_register().
Let's enable that to avoid any possible build errors
and/or warnings on randbuilds.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
drivers/clocksource/Kconfig | 1 +
Hi,
Neil Armstrong writes:
> Add a function which sets the timer source from the clocks
> binding on dm_timer_prepare call.
>
> In case the clocks property is not valid, it falls back to
> the set_source() with 32_KHZ clock as default.
>
> Suggested-by: Tony Lindgren
Hi,
Neil Armstrong writes:
> Adds support for using a OMAP dual-mode timer with PWM capability
> as a Linux PWM device. The driver controls the timer by using the
> dmtimer API.
>
> Add a platform_data structure for each pwm-omap-dmtimer nodes containing
> the dmtimers
to bf4c94490aa4491cca758d633c0e641a4419c920:
arm: omap2: timer: limit hwmod usage to non-DT boots (2015-10-16 11:06:24
-0500)
Felipe Balbi (11):
arm: omap2: timer: always define omap4_local_timer_init
arm: omap2: timer: get rid of obfuscating macros
those macros just make it a lot more difficult
to grep around and actually find similarities.
In this patch, we will simply remove them and
replace with actual functions and later commits
will come to further clean this up.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach
()
in preparation to deleting __omap_gptimer_init().
On a follow-up patch, we will remove uses of
__omap_gptimer_init() and replace them with
__omap_sync32k_timer_init() and pass the last
argument as true.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/timer.
no functional changes, just moving that function
closer to its calling location.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/timer.c | 114 ++--
1 file changed, 56 insertions(+), 58 deletions(-)
diff --git a/arch/arm/mach
__omap_sync32k_timer_init(), now takes the clock
source as a parameter. This means we no longer need
__omap_gptimer_init().
Note that __omap_sync32k_timer_init() will be
renamed in a follow-up patch as it's not longer 32k
source specific.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
ar
instead of constantly defining a small wrapper
around __omap_sync32k_timer_init(), let's define
a generic one which can be used by all OMAPs.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/board-generic.c | 10 +-
arch/arm/mach-omap2/board-ldp.c | 2 +-
ar
If booting with DT, let's make sure to always
call clocksource_of_init() as this will make
it easier to move timer code to drivers/clocksource
in the future.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/timer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ar
Now that we have a 32k clocksource driver, let's
select it for OMAP2PLUS builds.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index b3a0df
com>
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/timer.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index a55655127ef2..548d922cb107 100644
--- a/arch/arm/mach-omap2/t
c...@linaro.org>
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
drivers/clocksource/Kconfig| 7 +++
drivers/clocksource/Makefile | 1 +
drivers/clocksource/timer-ti-32k.c | 126 +
3 files changed, 134 insertions(+)
create mode 100644 driv
now that we have a working 32k clocksource driver,
we can limit HWMOD usage to non-DT boots and rely
on clocksource_of_init() every time we boot
with DT.
While at that, also make sure that we don't disable
the 32-counter device so it gets probed by its driver.
Signed-off-by: Felipe Balbi <
this function is not only about the 32k sync
timer, it's OMAP's generic init_time implementation.
Let's rename it to make that detail easier to
notice.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/board-generic.c | 10 +-
arch/arm/mach-omap2/board-ldp.c
Hi,
Bin Liu <b-...@ti.com> writes:
> Hi,
>
> On 10/13/2015 01:22 PM, Felipe Balbi wrote:
>> Yegor Yefremov <yegorsli...@googlemail.com> writes:
>>> On Mon, Oct 12, 2015 at 11:34 AM, Yegor Yefremov
>>> <yegorsli...@googlemail.com> wrote:
>>
Hi,
Bin Liu <b-...@ti.com> writes:
> On 10/14/2015 10:56 AM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Bin Liu <b-...@ti.com> writes:
>>> Hi,
>>>
>>> On 10/13/2015 01:22 PM, Felipe Balbi wrote:
>>>> Yegor Yefremov <
Hi,
Bin Liu <b-...@ti.com> writes:
> On 10/14/2015 12:05 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Bin Liu <b-...@ti.com> writes:
>>> Felipe,
>>>
>>> On 10/14/2015 11:25 AM, Felipe Balbi wrote:
>>>>
>>>> Hi,
Hi,
Bin Liu <b-...@ti.com> writes:
> Felipe,
>
> On 10/14/2015 11:25 AM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Bin Liu <b-...@ti.com> writes:
>>> On 10/14/2015 10:56 AM, Felipe Balbi wrote:
>>>>
>>>> Hi,
>>>>
Hi,
Rolf Peukert writes:
> On 13.10.2015 10:15, Tero Kristo wrote:
>> On 10/12/2015 06:22 PM, Rolf Peukert wrote:
>>> The glue code in drivers/usb/musb/am35x.c calls clk_get() to get its
>>> interface and function clocks for the M-USB controller. These calls fail
>>> in
Yegor Yefremov writes:
> On Mon, Oct 12, 2015 at 11:34 AM, Yegor Yefremov
> wrote:
>> We have a problem, when using more than 12 FTDI ports. Kernels tried:
>> 3.18.1, 4.2.3 and 4.3-rc5. SoC am335x 600MHz
>>
>> Below the USB topology:
>>
>>
hi,
Sebastian Reichel <s...@kernel.org> writes:
> Hi,
>
> On Tue, Oct 13, 2015 at 10:50:45AM -0500, Felipe Balbi wrote:
>> Rolf Peukert <rolf.peuk...@imms.de> writes:
>> > On 13.10.2015 10:15, Tero Kristo wrote:
>> >> On 10/12/2015 06:22 PM, Rol
Hi,
Sebastian Reichel <s...@kernel.org> writes:
> On Tue, Oct 13, 2015 at 05:57:59PM -0500, Felipe Balbi wrote:
>> Sebastian Reichel <s...@kernel.org> writes:
>> > On Tue, Oct 13, 2015 at 10:50:45AM -0500, Felipe Balbi wrote:
>> >>
Hi,
Rolf Peukert <rolf.peuk...@imms.de> writes:
> Hi Felipe,
>
> On 07.10.2015 18:22, Felipe Balbi wrote:
> [...]
>>>>> b) The M-USB port on our board is wired as host only. If a device is
>>>>> unplugged, the driver normally goes into some id
Hi,
(please sure you also Cc linux-...@vger.kernel.org for MUSB patches)
Rolf Peukert writes:
> Hi,
>
> we're running a 4.x kernel on a board with an AM3505 CPU and would like
> to use device trees. The AM35xx glue code for the M-USB controller
> didn't support
Hi,
Tony Lindgren <t...@atomide.com> writes:
> * Felipe Balbi <ba...@ti.com> [151006 08:02]:
>> - ti,timer-alwon:Indicates the timer is in an alway-on power
>> domain.
>>
>> Tony, care to comment if we should add timer-alwon to 32k ?
>
> No
Belisko Marek <marek.beli...@gmail.com> writes:
> Hi,
>
> On Tue, Oct 6, 2015 at 4:03 PM, Belisko Marek <marek.beli...@gmail.com> wrote:
>> Hi Felipe,
>>
>> On Tue, Oct 6, 2015 at 4:00 PM, Felipe Balbi <ba...@ti.com> wrote:
>>>
>>
Tony Lindgren <t...@atomide.com> writes:
> * Felipe Balbi <ba...@ti.com> [151005 17:49]:
>> We actually want these devices to be created because
>> we will be moving timers to drivers/clocksource and
>> this will prevent them from probing.
>
> Grea
Hi,
Daniel Lezcano <daniel.lezc...@linaro.org> writes:
> On 10/06/2015 07:02 PM, Felipe Balbi wrote:
>> Introduce a new clocksource driver for Texas
>> Instruments 32.768 Hz device which is available
>> on most OMAP-like devices.
>>
>> Signed-off-by: Fe
Hi,
Suman Anna writes:
>> diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
>> index 976ff9fa3594..d14e25b2d7a4 100644
>> --- a/arch/arm/mach-omap2/timer.c
>> +++ b/arch/arm/mach-omap2/timer.c
>> @@ -608,21 +608,13 @@ static void __init
Hi,
Belisko Marek writes:
> Hi Tony,
>
> I'm using custom am33xx board where mpu voltage can be changed through
> gpio regulator on 4.1 (latest stable) kernel. I defined gpio-regulator
> node and also operating-points to DT. Gpio regulator seems to be
> working fine but
()
in preparation to deleting __omap_gptimer_init().
On a follow-up patch, we will remove uses of
__omap_gptimer_init() and replace them with
__omap_sync32k_timer_init() and pass the last
argument as true.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/timer.
now that we have a working 32k clocksource driver,
we can limit HWMOD usage to non-DT boots and rely
on clocksource_of_init() every time we boot
with DT.
While at that, also make sure that we don't disable
the 32-counter device so it gets probed by its driver.
Signed-off-by: Felipe Balbi <
not give them out.
> Granted that it may not have been the best approach, but that needs a
> solution if you change the behavior of this API.
no doubt this needs a solution, but seesm like a solution here will have
to be incremental. See new revision of my series. I'm now skipping
Felipe Balbi <ba...@ti.com> writes:
> Belisko Marek <marek.beli...@gmail.com> writes:
>
>> Hi,
>>
>> On Tue, Oct 6, 2015 at 4:03 PM, Belisko Marek <marek.beli...@gmail.com>
>> wrote:
>>> Hi Felipe,
>>>
>>> On T
this function is not only about the 32k sync
timer, it's OMAP's generic init_time implementation.
Let's rename it to make that detail easier to
notice.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/board-generic.c | 14 +++---
arch/arm/mach-omap2/board
no functional changes, just moving that function
closer to its calling location.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/timer.c | 102 ++--
1 file changed, 50 insertions(+), 52 deletions(-)
diff --git a/arch/arm/mach
instead of constantly defining a small wrapper
around __omap_sync32k_timer_init(), let's define
a generic one which can be used by all OMAPs.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/board-generic.c | 10 +-
arch/arm/mach-omap2/board-ldp.c | 2 +-
ar
Introduce a new clocksource driver for Texas
Instruments 32.768 Hz device which is available
on most OMAP-like devices.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
drivers/clocksource/Kconfig| 7 +++
drivers/clocksource/Makefile | 1 +
drivers/clocksource/timer-ti
We're now always calling clocksource_of_init()
whenever booting with DT, so we can use the
generic omap_sync32k_timer_init() (which will
be renamed in a follow-up patch) for OMAP4
as well.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/board-generic.c | 4 ++--
arch/ar
Felipe Balbi <ba...@ti.com> writes:
> Tony Lindgren <t...@atomide.com> writes:
>
>> * Felipe Balbi <ba...@ti.com> [151005 17:49]:
>>> We actually want these devices to be created because
>>> we will be moving timers to drivers/clocksource and
>
=okay to 32k
- made sure hwmod wouldn't disable 32k counter
- rebased on v4.3-rc4
Boot logs:
- AM437x SK: http://hastebin.com/zuvetojaqe
- BBB:http://hastebin.com/ihuponayap
Felipe Balbi (11):
arm: omap2: timer: get rid of obfuscating macros
arm: omap2: timer: add a gptimer
those macros just make it a lot more difficult
to grep around and actually find similarities.
In this patch, we will simply remove them and
replace with actual functions and later commits
will come to further clean this up.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach
Now that we have a 32k clocksource driver, let's
select it for OMAP2PLUS builds.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 871d6c
If booting with DT, let's make sure to always
call clocksource_of_init() as this will make
it easier to move timer code to drivers/clocksource
in the future.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
arch/arm/mach-omap2/timer.c | 8
1 file changed, 4 insertions(+), 4 del
Arnd Bergmann <a...@arndb.de> writes:
> On Monday 05 October 2015 14:41:07 Felipe Balbi wrote:
>>
>> /**
>> * omap_get_timer_dt - get a timer using device-tree
>> * @match - device-tree match structure for matching a device type
>> * @propert
On Wed, Sep 30, 2015 at 11:58:16PM +0200, Arnd Bergmann wrote:
> On Wednesday 30 September 2015 09:12:09 Felipe Balbi wrote:
> > On Wed, Sep 30, 2015 at 10:15:25AM +0200, Arnd Bergmann wrote:
> > > On Tuesday 29 September 2015 15:44:06 Felipe Balbi wrote:
> > > > All
the secure
timer will NOT be available for the public world.
This patch is just moving the call to of_add_property
to its rightful place.
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
Okay, seems like this is a saner approach.
changes since v1:
- don't completely remove the status disabled
Suman Anna writes:
> Add the DT node for Timer12 present on DRA7 family of
> SoCs. Timer12 is present in PD_WKUPAON power domain, and
> has the same capabilities as the other timers, except for
> the fact that it serves as a secure timer on HS devices
> and is clocked only from
API are alive just because of the
> continued OMAP3 legacy boot support. Guess, it is a just a question of
> not breaking existing API until we kill some of them.
sure, but until remoteproc gets upstream, it's only 1 user ;-)
>>>> Signed-off-by: Felipe Balbi <ba...@ti.com>
>&g
1 - 100 of 5581 matches
Mail list logo