[PATCH 06/15] ARM: OMAP2+: Add omap_init_time_of()

2020-04-29 Thread Tony Lindgren
This allows us to move the SoCs to probe system timers one SoC at at time. As arch/arm/mach-omap2/timer.c will be eventually gone, let's just add omap_init_time_of() to board-generic.c directly. Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2

[PATCH 14/15] ARM: OMAP2+: Drop old timer code for dmtimer and 32k counter

2020-04-29 Thread Tony Lindgren
: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/Makefile | 4 +- arch/arm/mach-omap2/common.h | 7 + arch/arm/mach-omap2/timer.c | 551 --- 3 files changed, 10 insertions(+), 552 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm

[PATCH 07/15] ARM: dts: Configure system timers for am335x

2020-04-29 Thread Tony Lindgren
these with assigned-clocks and assigned-clock-parents as needed. Cc: devicet...@vger.kernel.org Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/am33xx-l4.dtsi | 6 ++--- arch/arm/boot/dts/am33xx.dtsi | 24 +++ arch

[PATCH 04/15] clk: ti: dm816: enable sysclk6_ck on init

2020-04-29 Thread Tony Lindgren
: Stephen Boyd Cc: Tero Kristo Acked-by: Stephen Boyd Signed-off-by: Tony Lindgren --- drivers/clk/ti/clk-816x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/ti/clk-816x.c b/drivers/clk/ti/clk-816x.c --- a/drivers/clk/ti/clk-816x.c +++ b/drivers/clk/ti/clk-816x.c @@ -73,6 +73,7

[PATCH 12/15] ARM: dts: Configure system timers for ti81xx

2020-04-29 Thread Tony Lindgren
Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/dm814x.dtsi | 78 +--- arch/arm/boot/dts/dm816x.dtsi | 82 ++ arch/arm/mach-omap2/board-generic.c| 4 +- arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 74 --- 4

[PATCH 03/15] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support

2020-04-29 Thread Tony Lindgren
can optionally configure the timer source clock in using assigned-clock-parents. Cc: linux-kernel@vger.kernel.org Cc: linux-o...@vger.kernel.org Cc: Daniel Lezcano Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Cc: Thomas Gleixner Signed-off-by: Tony Lindgren --- drivers/clocksource/Makefile

[PATCH 01/15] clocksource/drivers/timer-ti-32k: Add support for initializing directly

2020-04-29 Thread Tony Lindgren
before registering the clocksource, now we see it after the clocksource information which is a bit confusing. Cc: linux-kernel@vger.kernel.org Cc: linux-o...@vger.kernel.org Cc: Daniel Lezcano Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Cc: Thomas Gleixner Signed-off-by: Tony Lindgren

[PATCHv2 00/15] Update omaps to use drivers/clocksource timers

2020-04-29 Thread Tony Lindgren
accordingly. Then for merging when folks are happy with this series, Daniel if you can please apply the first three patches into an immutable branch it would be great. Regards, Tony Tony Lindgren (15): clocksource/drivers/timer-ti-32k: Add support for initializing directly dt-bindings: timer

Re: [PATCHv3] w1: omap-hdq: Simplify driver with PM runtime autosuspend

2020-04-29 Thread Tony Lindgren
* H. Nikolaus Schaller [200429 21:35]: > I have reworked the way the spinlocks, setting and resetting > of the hdq_irqstatus bits are done and now it works right from > start of boot. Without any timeouts or delays. > > I am not exactly sure what went wrong, but it seems as if > the read is

Re: [PATCH] clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare()

2020-04-28 Thread Tony Lindgren
* Lokesh Vutla [200427 17:29]: > omap_dm_timer_prepare() is setting up the parent 32KHz clock. This > prepare() gets called by request_timer in the client's driver. Because of > this, the timer clock parent that is set with assigned-clock-parent is being > overwritten. So drop this default

Re: [Patch 1/3] ARM: dts: am43xx: add support for clkout1 clock

2019-10-23 Thread Tony Lindgren
* Tony Lindgren [191022 16:56]: > * Tero Kristo [191022 16:48]: > > On 22/10/2019 19:21, Benoit Parrot wrote: > > > Tony Lindgren wrote on Tue [2019-Oct-22 08:48:16 > > > -0700]: > > > > * Benoit Parrot [191016 18:47]: > > > > > --- a/arc

Re: linux-next: Signed-off-by missing for commit in the omap tree

2019-10-23 Thread Tony Lindgren
* Stephen Rothwell [191022 20:11]: > Hi all, > > Commit > > 40f3ee0ea7f1 ("ARM: OMAP2+: Drop legacy platform data for dra7 rng") > > is missing a Signed-off-by from its author and committer. Oops sorry about that, will fix it. Regards, Tony

Re: [PATCH 1/2] configs: ARM: omap2plus: Enable OMAP3_THERMAL

2019-10-23 Thread Tony Lindgren
* H. Nikolaus Schaller [191023 04:42]: > > > Am 23.10.2019 um 00:19 schrieb Tony Lindgren : > > > > * Adam Ford [191022 19:01]: > >> On Tue, Oct 22, 2019 at 11:22 AM Tony Lindgren wrote: > >>> > >>> Hi, > >>> > >

Re: [PATCH 1/2] configs: ARM: omap2plus: Enable OMAP3_THERMAL

2019-10-22 Thread Tony Lindgren
* Adam Ford [191022 19:01]: > On Tue, Oct 22, 2019 at 11:22 AM Tony Lindgren wrote: > > > > Hi, > > > > * Adam Ford [191007 15:06]: > > > The some in the OMAP3 family have a bandgap thermal sensor, but > > > omap2plus has it disabled. > > >

Re: [Patch 1/3] ARM: dts: am43xx: add support for clkout1 clock

2019-10-22 Thread Tony Lindgren
* Tero Kristo [191022 16:48]: > On 22/10/2019 19:21, Benoit Parrot wrote: > > Tony Lindgren wrote on Tue [2019-Oct-22 08:48:16 -0700]: > > > * Benoit Parrot [191016 18:47]: > > > > --- a/arch/arm/boot/dts/am43xx-clocks.dtsi > > > > +++ b/arch/arm/boo

Re: [Patch 0/3] ARM: dts: dra7: add vpe nodes

2019-10-22 Thread Tony Lindgren
* Benoit Parrot [191022 16:45]: > Tony Lindgren wrote on Tue [2019-Oct-22 09:37:54 -0700]: > > * Benoit Parrot [191022 16:34]: > > > Tony Lindgren wrote on Tue [2019-Oct-22 09:30:48 > > > -0700]: > > > > * Benoit Parrot [191022 16:28]: &g

Re: [PATCH v3 10/10] ARM: dts: omap: Rename "ocmcram" node to "sram"

2019-10-22 Thread Tony Lindgren
* Krzysztof Kozlowski [191002 09:45]: > The device node name should reflect generic class of a device so rename > the "ocmcram" node to "sram". This will be also in sync with upcoming DT > schema. No functional change. Applying this into omap-for-v5.5/dt thanks. Tony

Re: [Patch 0/3] ARM: dts: dra7: add vpe nodes

2019-10-22 Thread Tony Lindgren
* Benoit Parrot [191022 16:34]: > Tony Lindgren wrote on Tue [2019-Oct-22 09:30:48 -0700]: > > * Benoit Parrot [191022 16:28]: > > > Tony, > > > > > > Ping, > > > > > > I already had comments from Rob but i would like your feedbac

Re: [PATCH v4] ARM: dts: am: Rename "ocmcram" node to "sram"

2019-10-22 Thread Tony Lindgren
* Krzysztof Kozlowski [191021 09:39]: > The device node name should reflect generic class of a device so rename > the "ocmcram" node and its children to "sram". This will be also in > sync with upcoming DT schema. No functional change. Applying into omap-for-v5.5/dt thanks. Tony

Re: [Patch 0/3] ARM: dts: dra7: add vpe nodes

2019-10-22 Thread Tony Lindgren
* Benoit Parrot [191022 16:28]: > Tony, > > Ping, > > I already had comments from Rob but i would like your feedback before > sending a v2. Looks good to me in general other than what Rob commented on. Did not spot any node naming issues here :) Regards, Tony

Re: [Patch 5/9] arm: dts: dra72-evm-common: Add entries for the CSI2 cameras

2019-10-22 Thread Tony Lindgren
* Benoit Parrot [191022 16:17]: > Tony Lindgren wrote on Tue [2019-Oct-22 08:44:46 -0700]: > > * Benoit Parrot [191018 15:46]: > > > Add device nodes for CSI2 camera board OV5640. > > > Add the CAL port nodes with the necessary linkage to the ov5640 nodes. > &g

Re: [Patch 1/9] ARM: dts: dra7: add cam clkctrl node

2019-10-22 Thread Tony Lindgren
* Benoit Parrot [191022 16:14]: > Tony Lindgren wrote on Tue [2019-Oct-22 08:40:12 -0700]: > > Probably the best way would be for tero to collect > > all the drivers/clk/ti clock data changes and provide > > an immutable branch with those that I can merge too. > > So

Re: [PATCH 1/2] configs: ARM: omap2plus: Enable OMAP3_THERMAL

2019-10-22 Thread Tony Lindgren
Hi, * Adam Ford [191007 15:06]: > The some in the OMAP3 family have a bandgap thermal sensor, but > omap2plus has it disabled. > > This patch enables the OMAP3_THERMAL by default like the rest of > the OMAP family. Looks like this breaks off mode during idle for omap3, and that's probably why

Re: [PATCH] ARM: OMAP1: ams-delta FIQ: Fix a typo ("Initiaize")

2019-10-22 Thread Tony Lindgren
* Jonathan Neuschäfer [191002 07:54]: > Signed-off-by: Jonathan Neuschäfer > --- > arch/arm/mach-omap1/ams-delta-fiq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap1/ams-delta-fiq.c > b/arch/arm/mach-omap1/ams-delta-fiq.c > index

Re: [RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator

2019-10-22 Thread Tony Lindgren
* Adam Ford [191022 12:13]: > On Mon, Sep 9, 2019 at 11:35 AM Tony Lindgren wrote: > > > > * Pali Rohár [190909 13:41]: > > > On Monday 09 September 2019 08:37:09 Adam Ford wrote: > > > > I applied this on 5.3 and it is working. I assume the same is true

Re: [PATCH] MAINTAINERS: Add logicpd-som-lv and logicpd-torpedo to OMAP TREE

2019-10-22 Thread Tony Lindgren
llow this convention > > so changes to these boards don't get automatically flagged to > > route to the omap mailing list. After consulting with Tony > > Lindgren, he agreed it made sense to add these boards to the > > list. > > > > This patch adds the omap based boa

Re: [PATCHv2 0/4] Convert all btwilink users to hci_ll and drop btwilink

2019-10-22 Thread Tony Lindgren
* Sebastian Reichel [191020 20:34]: > Hi Tony, > > On Tue, Oct 08, 2019 at 07:31:16AM -0700, Tony Lindgren wrote: > > * Sebastian Reichel [191003 06:42]: > > > This moves the remaining users of btwilink to the "new" serdev based > > > hci_ll

Re: [Patch 1/3] ARM: dts: am43xx: add support for clkout1 clock

2019-10-22 Thread Tony Lindgren
* Benoit Parrot [191016 18:47]: > --- a/arch/arm/boot/dts/am43xx-clocks.dtsi > +++ b/arch/arm/boot/dts/am43xx-clocks.dtsi > @@ -704,6 +704,60 @@ > ti,bit-shift = <8>; > reg = <0x2a48>; > }; > + > + clkout1_osc_div_ck: clkout1_osc_div_ck { > +

Re: [Patch 5/9] arm: dts: dra72-evm-common: Add entries for the CSI2 cameras

2019-10-22 Thread Tony Lindgren
* Benoit Parrot [191018 15:46]: > Add device nodes for CSI2 camera board OV5640. > Add the CAL port nodes with the necessary linkage to the ov5640 nodes. > > Signed-off-by: Benoit Parrot > --- > arch/arm/boot/dts/dra72-evm-common.dtsi | 35 + > 1 file changed, 35

Re: [Patch 1/9] ARM: dts: dra7: add cam clkctrl node

2019-10-22 Thread Tony Lindgren
* Benoit Parrot [191018 15:46]: > Add clkctrl nodes for CAM domain. You're missing the Linux clk folks and list from Cc, can you please resend? I need an ack for the clk-7xx.c changes if I'm to apply this patch. Probably the best way would be for tero to collect all the drivers/clk/ti clock

[PATCH] bus: ti-sysc: Use swsup quirks also for am335x musb

2019-10-21 Thread Tony Lindgren
Also on am335x we need the swsup quirks for musb. Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -1259,6 +1259,8 @@ static const

[PATCH] bus: ti-sysc: Handle mstandby quirk and use it for musb

2019-10-21 Thread Tony Lindgren
We need swsup quirks for sidle and mstandby for musb to work properly. Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers

Re: [PATCH V5 3/3] ARM: logicpd-torpedo-37xx-devkit-28: Reference new DRM panel

2019-10-21 Thread Tony Lindgren
* Adam Ford [191016 06:53]: > With the removal of the panel-dpi from the omap drivers, the > LCD no longer works. This patch points the device tree to > a newly created panel named "logicpd,type28" > > Fixes: 8bf4b1621178 ("drm/omap: Remove panel-dpi driver") > > Signed-off-by: Adam Ford >

Re: [PATCH 3/9] DTS: ARM: pandora-common: define wl1251 as child node of mmc3

2019-10-21 Thread Tony Lindgren
* H. Nikolaus Schaller [191018 20:28]: > Since v4.7 the dma initialization requires that there is a > device tree property for "rx" and "tx" channels which is > not provided by the pdata-quirks initialization. > > By conversion of the mmc3 setup to device tree this will > finally allows to

Re: [PATCH v2 07/11] omap: remove old hsmmc.[ch] and in Makefile

2019-10-21 Thread Tony Lindgren
* H. Nikolaus Schaller [191021 17:08]: > > > Am 21.10.2019 um 16:30 schrieb Tony Lindgren : > > > > * H. Nikolaus Schaller [191019 18:43]: > >> --- a/arch/arm/mach-omap2/Makefile > >> +++ b/arch/arm/mach-omap2/Makefile > >> @@ -216,7 +216,6 @@

Re: [PATCH v3] clk/ti/adpll: allocate room for terminating null

2019-10-21 Thread Tony Lindgren
t; into the format string and drop base_name entirely. > > Changes since v1: > - Use devm_kasprintf instead of manually allocating the target > buffer. Acked-by: Tony Lindgren > --- > drivers/clk/ti/adpll.c | 11 ++- > 1 file changed, 2 insertions(+), 9 deletion

Re: [PATCH v2 07/11] omap: remove old hsmmc.[ch] and in Makefile

2019-10-21 Thread Tony Lindgren
* H. Nikolaus Schaller [191019 18:43]: > --- a/arch/arm/mach-omap2/Makefile > +++ b/arch/arm/mach-omap2/Makefile > @@ -216,7 +216,6 @@ obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o > > # Platform specific device init code > > -omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o >

Re: [PATCH -next] ARM: OMAP2+: Make some functions static

2019-10-18 Thread Tony Lindgren
* YueHaibing [191018 12:08]: > Fix sparse warnings: > > arch/arm/mach-omap2/pmic-cpcap.c:29:15: warning: symbol > 'omap_cpcap_vsel_to_uv' was not declared. Should it be static? > arch/arm/mach-omap2/pmic-cpcap.c:43:15: warning: symbol > 'omap_cpcap_uv_to_vsel' was not declared. Should it be

[PATCH] bus: ti-sysc: Fix watchdog quirk handling

2019-10-17 Thread Tony Lindgren
need to also set swsup quirk flag I probably only tested this earlier with watchdog service running when the watchdog never gets disabled. Fixes: 4e23be473e30 ("bus: ti-sysc: Add support for module specific reset quirks") Signed-off-by: Tony Lindgren --- drivers/bus/ti-s

Re: [PATCH v8 6/6] usb: musb: Add support for MediaTek musb controller

2019-10-17 Thread Tony Lindgren
Hi, Just few comments for future changes that might help below. * min@mediatek.com [191017 09:42]: > --- /dev/null > +++ b/drivers/usb/musb/mediatek.c > +static int musb_usb_role_sx_set(struct device *dev, enum usb_role role) > +{ > + struct mtk_glue *glue = dev_get_drvdata(dev); > +

Re: [PATCH v13 09/18] ARM: dts: n900: Add reg property to the LP5523 channel node

2019-10-17 Thread Tony Lindgren
equential order. > > Signed-off-by: Dan Murphy > CC: Tony Lindgren > CC: "Benoît Cousson" > > k# interactive rebase in progress; onto ae89cc6d4a8c Maybe check what's up with the line above :) Othwerwise looks good to me, best to merge this together with the res

Re: [Letux-kernel] Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-10-16 Thread Tony Lindgren
* H. Nikolaus Schaller [191014 09:12]: > > > Am 12.10.2019 um 15:09 schrieb H. Nikolaus Schaller : > > > > Hi, > > > >> Am 05.10.2019 um 18:58 schrieb H. Nikolaus Schaller : > > > > I have found the following description, followed all steps, and it works: > > > >

Re: Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-10 Thread Tony Lindgren
* Yi Zheng [191010 06:22]: > Hi > >My patch is canceled. I have tested that simple adjustment, the > device IRQ masked unexpectedly. It seems that it is more easily to > occur with that patch. > > So, the root cause is not found yet. OK. Based on your description, it could be a missing

Re: Serial 8250 DMA Broken on OMAP3630

2019-10-09 Thread Tony Lindgren
* Adam Ford [191009 19:28]: > On Wed, Oct 9, 2019 at 12:34 PM Tony Lindgren wrote: > > From what I recall I tested that DMA on omap3 worked fine with runtime > > PM for console. Certainly there are issues still remaining though. > > > > If you want to disable dma for a

Re: [PATCH] PM / runtime: Add support for wake-up reason for wakeirqs

2019-10-09 Thread Tony Lindgren
* Alan Stern [191009 18:51]: > On Wed, 9 Oct 2019, Tony Lindgren wrote: > > > With generic wakeirqs we can wake a device, but do not know if the > > device woke to a wakeirq. Let's add pm_runtime_wakeup_is_wakeirq() so > > a device can check the wake-up reason. > >

[PATCH] PM / runtime: Add support for wake-up reason for wakeirqs

2019-10-09 Thread Tony Lindgren
function can then skip some or all of the device wake-up sequence based on pm_runtime_wakeup_is_wakeirq(). Let's only add RPM_WAKEUP_NONE and RPM_WAKEUP_WAKEIRQ for now, other events can be added later on if really needed. Signed-off-by: Tony Lindgren --- drivers/base/power/wakeirq.c | 14

Re: Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-09 Thread Tony Lindgren
Hi, * Yi Zheng [191008 13:06]: > NOTE: (1) My SoC is a single core ARM chip: TI-AM3352, so the raw > spin-lock irq_desc->lock will be optimized to > nothing. handle_level_irq() has no spin-lock protection, right? Well not always, With CONFIG_SMP we modify only some of

Re: Serial 8250 DMA Broken on OMAP3630

2019-10-09 Thread Tony Lindgren
* Adam Ford [191009 14:09]: > On Wed, Oct 9, 2019 at 8:42 AM Vignesh Raghavendra wrote: > > > > Hi Adam, > > > > On 06/10/19 10:34 PM, Adam Ford wrote: > > > Has anyone else had any issues using the CONFIG_SERIAL_8250_DMA on the > > > OMAP? > > > > > > I can use the DMA on the legacy,

Re: [PATCH] ARM: dts: am335x-sancloud-bbe: Fix PHY mode for ethernet

2019-10-08 Thread Tony Lindgren
* Jeroen Hofstee [191008 17:00]: > Hi, > > On 10/8/19 6:51 PM, Tony Lindgren wrote: > > * Jeroen Hofstee [191008 16:43]: > >> Hello Tony, > >> > >> On 10/8/19 6:14 PM, Tony Lindgren wrote: > >>> * Jeroen Hofstee [191008 16:03]: > >>

Re: [PATCH] ARM: dts: am335x-sancloud-bbe: Fix PHY mode for ethernet

2019-10-08 Thread Tony Lindgren
* Jeroen Hofstee [191008 16:43]: > Hello Tony, > > On 10/8/19 6:14 PM, Tony Lindgren wrote: > > * Jeroen Hofstee [191008 16:03]: > >> Hello Tony, > >> > >> On 10/8/19 4:23 PM, Tony Lindgren wrote: > >>> * Grygorii Strashko [191003 02

Re: [PATCH] ARM: dts: am335x-sancloud-bbe: Fix PHY mode for ethernet

2019-10-08 Thread Tony Lindgren
* Jeroen Hofstee [191008 16:03]: > Hello Tony, > > On 10/8/19 4:23 PM, Tony Lindgren wrote: > > * Grygorii Strashko [191003 02:32]: > >> On 03/10/2019 11:16, Jeroen Hofstee wrote: > >>> Furthermore 4.19 is fine, so there is no need to include it in stable >

Re: [PATCHv2 0/4] Convert all btwilink users to hci_ll and drop btwilink

2019-10-08 Thread Tony Lindgren
* Sebastian Reichel [191003 06:42]: > Hi, > > This moves the remaining users of btwilink to the "new" serdev based hci_ll > driver and drops the btwilink driver afterwards. The patches were only compile > tested by me, but Enric tested the IGEP platform and Adam will test the > LogicPD >

Re: [PATCH] ARM: dts: am335x-sancloud-bbe: Fix PHY mode for ethernet

2019-10-08 Thread Tony Lindgren
* Grygorii Strashko [191003 02:32]: > On 03/10/2019 11:16, Jeroen Hofstee wrote: > > Furthermore 4.19 is fine, so there is no need to include it in stable > > and have a note to make sure also other patches are required etc. > > Hence all above patches went in 5.1 it would be correct to mention

Re: [PATCH] ARM: dts: am3874-iceboard: Fix 'i2c-mux-idle-disconnect' usage

2019-10-08 Thread Tony Lindgren
he mux/switch as a whole, so move it there and drop all > > of the concurrences in child nodes. > > > > Fixes: d031773169df ("ARM: dts: Adds device tree file for McGill's > > IceBoard, based on TI AM3874") > > Signed-off-by: Andrey Smirnov > > Cc:

Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-10-08 Thread Tony Lindgren
* Tero Kristo [191008 08:01]: > On 07/10/2019 22:24, H. Nikolaus Schaller wrote: > > Hi Tero, > > > > > Am 07.10.2019 um 21:18 schrieb Tero Kristo : > > > > > > On 07/10/2019 18:52, Tony Lindgren wrote: > > > > Hi, > > > > * H.

Re: [PATCH] ARM: dts: Set status to disable for MMC3

2019-10-07 Thread Tony Lindgren
* Emmanuel Vadot [191007 17:30]: > On Mon, 7 Oct 2019 09:58:59 -0700 > Tony Lindgren wrote: > > There should be no need to do that for SoC internal devices, the > > the default status = "okay" should be just fine. Setting the > > status = "disabled"

Re: [PATCH] ARM: dts: Set status to disable for MMC3

2019-10-07 Thread Tony Lindgren
* Emmanuel Vadot [191007 16:39]: > On Mon, 7 Oct 2019 09:16:34 -0700 > Tony Lindgren wrote: > > > Hi, > > > > * Emmanuel Vadot [191007 08:04]: > > > Commit 5b63fb90adb95 ("ARM: dts: Fix incomplete dts data for am3 and am4 > > > mmc"

Re: [PATCH] ARM: dts: Set status to disable for MMC3

2019-10-07 Thread Tony Lindgren
Hi, * Emmanuel Vadot [191007 08:04]: > Commit 5b63fb90adb95 ("ARM: dts: Fix incomplete dts data for am3 and am4 mmc") > fixed the mmc instances on the l3 interconnect but removed the disabled > status. > Fix this and let boards properly define it if it have it. The dts default is "okay", and

Re: [PATCH] serial: 8250_omap: Fix idling for unloaded serdev drivers

2019-10-07 Thread Tony Lindgren
* Adam Ford [191004 19:30]: > On Tue, Jul 23, 2019 at 5:21 PM Tony Lindgren wrote: > > > > For many years omap variants have been setting the runtime PM > > autosuspend delay to -1 to prevent unsafe policy with lossy first > > character on wake-up. The user must spec

Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-10-07 Thread Tony Lindgren
Hi, * H. Nikolaus Schaller [191005 16:59]: > Hi all, > with the arrival of v5.4-rc1 some of Tony's sysc patches have arrived > upstream, so we do no longer need them here. > > Therefore, I have rebased my drivers/staging/pvr driver [1] and fixed some > more issues: > * omap4 build only needs to

Re: [PATCH] clk/ti/adpll: allocate room for terminating null

2019-09-27 Thread Tony Lindgren
* Stephen Kitt [190927 15:13]: > The buffer allocated in ti_adpll_clk_get_name doesn't account for the > terminating null. This patch adds the extra byte, and switches to > snprintf to avoid overflowing. > > Signed-off-by: Stephen Kitt > --- > drivers/clk/ti/adpll.c | 7 --- > 1 file

Re: [PATCH 1/2] ARM: omap2plus_defconfig: Update for removed items

2019-09-23 Thread Tony Lindgren
* Adam Ford [190911 17:14]: > On Wed, Sep 11, 2019 at 11:50 AM Sebastian Reichel wrote: > > > > Hi, > > > > On Wed, Sep 11, 2019 at 09:52:25AM -0500, Adam Ford wrote: > > > The omap panel-dpi driver was removed in > > > Commit 8bf4b1621178 ("drm/omap: Remove panel-dpi driver") > > > > > > The

Re: [PATCH] ARM: omap2plus_defconfig: Enable DRM_TI_TFP410

2019-09-23 Thread Tony Lindgren
* Adam Ford [190911 10:47]: > The TFP410 driver was removed but the replacement driver was > never enabled. This patch enableds the DRM_TI_TFP410 > > Fixes: be3143d8b27f ("drm/omap: Remove TFP410 and DVI connector drivers") Applying into fixes thanks. Tony

Re: [PATCH] pinctrl: devicetree.c: remove orphan pinctrl_dt_has_hogs()

2019-09-23 Thread Tony Lindgren
Oops, thanks for catching it: Acked-by: Tony Lindgren

Re: [PATCH v2 linux-next 1/4] arm: configs: omap2plus_defconfig: Change CONFIG_REMOTEPROC from m to y

2019-09-23 Thread Tony Lindgren
pendent config options. > > So fix the omap2plus_defconfig to have CONFIG_REMOTEPROC built in. Acked-by: Tony Lindgren

Re: [PATCH v2] DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again

2019-09-23 Thread Tony Lindgren
* H. Nikolaus Schaller [190920 09:12]: > commit 6953c57ab172 "gpio: of: Handle SPI chipselect legacy bindings" > > did introduce logic to centrally handle the legacy spi-cs-high property > in combination with cs-gpios. This assumes that the polarity > of the CS has to be inverted if spi-cs-high

Re: [Letux-kernel] [PATCH 2/2] DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again

2019-09-20 Thread Tony Lindgren
* H. Nikolaus Schaller [190920 15:50]: > > > Am 20.09.2019 um 17:29 schrieb Andreas Kemnade : > > > > On Fri, 20 Sep 2019 16:54:18 +0200 > > "H. Nikolaus Schaller" wrote: > > > >>> Am 20.09.2019 um 16:20 schrieb Tony Lindgren : > >&

Re: [PATCH] pinctl: ti: iodelay: fix error checking on pinctrl_count_index_with_args call

2019-09-20 Thread Tony Lindgren
king for any error return to catch the -ENOENT case. Acked-by: Tony Lindgren

Re: [Letux-kernel] [PATCH 2/2] DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again

2019-09-20 Thread Tony Lindgren
* H. Nikolaus Schaller [190920 09:19]: > > Am 20.09.2019 um 10:55 schrieb Linus Walleij : > > I suggest to go both way: > > apply this oneliner and tag for stable so that GTA04 works > > again. > > > > Then for the next kernel think about a possible more abitious > > whitelist solution and after

Re: [PATCH 5/8] ARM: dts: Drop bogus ahclkr clocks for dra7 mcasp 3 to 8

2019-09-18 Thread Tony Lindgren
* Tero Kristo [190917 07:22]: > On 24/07/2019 09:47, Tony Lindgren wrote: > > * Suman Anna [190723 21:02]: > > > Hi Tony, > > > > > > On 7/23/19 6:28 AM, Tony Lindgren wrote: > > > > The ahclkr clkctrl clock bit 28 only exists for mcasp 1 and 2

Re: [PATCH v3 0/8] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-09-16 Thread Tony Lindgren
* H. Nikolaus Schaller [190911 17:48]: > CHANGES V3: > * make omap36xx control the abb-ldo and properly switch mode > (suggested by Adam Ford ) > * add a note about enabling the turbo-mode OPPs Looks good to me, when applying, please provide a minimal immutable branch maybe against v5.3 or

Re: [PATCH v3 8/8] ARM: dts: Add OPP-V2 table for AM3517

2019-09-16 Thread Tony Lindgren
> This patch sets up the OPP50 and OPP100 tables at 300MHz and 600MHz > for the AM3517 with each having an operating voltage at 1.2V. Acked-by: Tony Lindgren

Re: [PATCH v3 6/8] ARM: dts: omap36xx: using OPP1G needs to control the abb_ldo

2019-09-16 Thread Tony Lindgren
gt; Memory mapped at address 0xb6fe4000. > Value at address 0x483072F4 (0xb6fe42f4): 0x3205 > /dev/mem opened. > Memory mapped at address 0xb6f89000. > Value at address 0x483072F4 (0xb6f892f4): 0x3201 > > Note: omap34xx and am3517 have/need no comparable LDO > or mechanism. Acked-by: Tony Lindgren

Re: [PATCH v3 7/8] cpufreq: ti-cpufreq: Add support for AM3517

2019-09-16 Thread Tony Lindgren
> This patch simply adds the am3517 to the compatible table > similar to a mix of the omap3430 and omap3430 structure. Acked-by: Tony Lindgren

Re: [PATCH v3 5/8] cpufreq: ti-cpufreq: omap36xx use "cpu0","vbb" if run in multi_regulator mode

2019-09-16 Thread Tony Lindgren
another field to the SoC description table which > optionally can specify a list of regulator names. > > For omap36xx we define "cpu0-supply" and "vbb-supply". > > The default remains "vdd-supply" and "vbb-supply". Acked-by: Tony Lindgren

[PATCH] phy: mapphone-mdm6600: Fix timeouts by adding wake-up handling

2019-09-15 Thread Tony Lindgren
the issue. Fixes: 5d1ebbda0318 ("phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4") Cc: Marcel Partap Cc: Merlijn Wajer Cc: Michael Scott Cc: NeKit Cc: Pavel Machek Cc: Sebastian Reichel Signed-off-by: Tony Lindgren --- drivers/phy/motorola/phy-mapphone-mdm6

Re: linux-next: Fixes tag needs some work in the omap-fixes tree

2019-09-10 Thread Tony Lindgren
Hi, * Stephen Rothwell [190910 14:25]: > Hi all, > > In commit > > a932b77b4d19 ("ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux") > > Fixes tag > > Fixes: 5fe3c0fa0d54 ("ARM: dts: Add pinmuxing for i2c2 and i2c3 > > has these problem(s): > > - Subject has leading but no

Re: [RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator

2019-09-09 Thread Tony Lindgren
* Pali Rohár [190909 13:41]: > On Monday 09 September 2019 08:37:09 Adam Ford wrote: > > I applied this on 5.3 and it is working. I assume the same is true in > > for-next. Hmm I noticed I stopped getting RNG data after several rmmod modprobe cycles, or several hd /dev/random reads. Anybody

Re: [Letux-kernel] [RFC PATCH 0/3] Enable 1GHz support on omap36xx

2019-09-09 Thread Tony Lindgren
Hi, * H. Nikolaus Schaller [190909 14:57]: > Another question that came up by private mail from André was if we > should better disable the turbo OPPs of omap34xx and 36xx by default > (status = "disabled";) because there are concerns about overheating > the chips and we have no thermal

Re: [PATCH] bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()

2019-09-09 Thread Tony Lindgren
Hi, * Keerthy [190909 01:57]: > I believe still the previous fix [1] for nfs boot is still not on > linux-next. Are you planning on more testing or it will be queued as fixes? I pushed out the pending fixes on Saturday so they should be in the next version of Linux next. Regards, Tony

Re: [PATCH v3 1/6] bus/ti-pwmss: move TI PWMSS driver from PWM to bus subsystem

2019-09-08 Thread Tony Lindgren
* Jonathan Cameron [190908 11:16]: > On Mon, 2 Sep 2019 17:02:45 +0200 > Thierry Reding wrote: > > > On Sun, Sep 01, 2019 at 05:58:22PM -0500, David Lechner wrote: > > > The TI PWMSS driver is a simple bus driver for providing power > > > power management for the PWM peripherals on TI AM33xx

Re: [PATCH 3/4] ARM: dts: omap3: bulk convert compatible to be explicitly ti,omap3430 or ti,omap3630 or ti,am3517

2019-09-07 Thread Tony Lindgren
> > ti,am3517 > ti,omap3430 > ti,omap3630 > > in addition to ti,omap3. > > We leave ti,omap34xx and ti,omap36xx untouched for compatibility. Thanks for doing this: Acked-by: Tony Lindgren

Re: [PATCH 2/4] ARM: dts: replace opp-v1 tables by opp-v2 for omap34xx and omap36xx

2019-09-07 Thread Tony Lindgren
since it is now > automatically detected. > > We also fix a wrong OPP4 voltage for omap3430 which must be > 0.6V + 54*12.5mV = 1275mV. Otherwise the twl4030 driver will reject > this OPP. > > Signed-off-by: H. Nikolaus Schaller Acked-by: Tony Lindgren

Re: [PATCH 4/4] DTS: bindings: omap: update bindings documentation

2019-09-07 Thread Tony Lindgren
clarify that the list of boards is incomplete > * remove some "ti,am33xx", "ti,omap3" > * add some missing "ti,omap4" Acked-by: Tony Lindgren

Re: [PATCH 1/4] cpufreq: ti-cpufreq: add support for omap34xx and omap36xx

2019-09-07 Thread Tony Lindgren
/* legacy */ > > + { .compatible = "ti,omap3430", .data = _soc_data, }, > > + { .compatible = "ti,omap3630", .data = _soc_data, }, > > Well, I just realized that with the latest DTS changes, > > ti,omap34xx and ti,omap36xx are legacy and > ti,omap3430 and ti,omap3630 are now official. Heh :) Anyways, with that changed, this looks good to me: Reviewed-by: Tony Lindgren

[PATCH] bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()

2019-09-06 Thread Tony Lindgren
dle_nolock() and clkdm_deny_idle_nolock() have usage count with clkdm->forcewake_count. Let's drop the unpaired sysc_clkdm_deny_idle() to fix idling of devices. Fixes: d098913a10f8 ("bus: ti-sysc: Fix clock handling for no-idle quirks") Cc: Keerthy Cc: Vignesh Raghavendra Signed-off-by: Tony Lindgr

Re: [RFC v2 3/3] ARM: dts: omap3: bulk convert compatible to be explicitly ti,omap3430 or ti,omap36xx

2019-09-06 Thread Tony Lindgren
* H. Nikolaus Schaller [190906 17:09]: > for i in 3430 34xx 3630 36xx; do echo $i $(fgrep '"'ti,omap$i'"' > arch/arm/boot/dts/*.dts* | wc -l); done > > 3430 12 > 34xx 28 > 3630 3 > 36xx 23 > > which would indicate that 34xx and 36xx are more common. Right, but the xx variants are against the

Re: [PATCH 1/3] ARM: omap2plus_defconfig: Fix missing video

2019-09-06 Thread Tony Lindgren
* Adam Ford [190828 11:34]: > When the panel-dpi driver was removed, the simple-panels driver > was never enabled, so anyone who used the panel-dpi driver lost > video, and those who used it inconjunction with simple-panels > would have to manually enable CONFIG_DRM_PANEL_SIMPLE. > > This patch

Re: [RFC v2 1/3] cpufreq: ti-cpufreq: add support for omap34xx and omap36xx

2019-09-06 Thread Tony Lindgren
* Viresh Kumar [190906 03:05]: > On 05-09-19, 07:32, Tony Lindgren wrote: > > Acked-by: Tony Lindgren > > Do you want to pick the series instead as this has lots of DT changes > ? It unlikely these dts changes will conflict with anything so I have no problem acking them fo

Re: [RFC v2 3/3] ARM: dts: omap3: bulk convert compatible to be explicitly ti,omap3430 or ti,omap36xx

2019-09-06 Thread Tony Lindgren
* H. Nikolaus Schaller [190906 07:53]: > > Am 05.09.2019 um 16:27 schrieb Tony Lindgren : > > compatible = "ti,omap3-ldp", "ti,omap3430", "ti,omap34xx", "ti,omap3"; > > After thinking a little about the whole topic the main rule of this c

Re: [RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator

2019-09-05 Thread Tony Lindgren
Hi, * Adam Ford [190828 15:01]: > The datasheet for the AM3517 shows the RNG is connected to L4. > It shows the module address for the RNG is 0x480A, and it > matches the omap2.dtsi description. Since the driver can support > omap2 and omap4, it seems reasonable to assume the omap3 would >

[PATCH] bus: ti-sysc: Fix handling of invalid clocks

2019-09-05 Thread Tony Lindgren
or modules with no clock names specified in device tree we will just ignore the clocks. Fixes: 2b2f7def058a ("bus: ti-sysc: Add support for missing clockdomain handling") Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/pdata-quirks.c | 4 ++-- drivers/bus/ti-sysc.c | 5 +

Re: [RFC v2 0/3] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-09-05 Thread Tony Lindgren
* Viresh Kumar [190905 05:03]: > Most of the stuff looks fine to me here. I will pick the patches when > the SoC maintainers provide an Ack. I noticed few issues with the dts changes but other than that looks good to me. Regards, Tony

Re: [RFC v2 1/3] cpufreq: ti-cpufreq: add support for omap34xx and omap36xx

2019-09-05 Thread Tony Lindgren
7, not supported by regulator cpu cpu0: _opp_add: OPP not supported by regulators (55000) But presumably that can be further patched. So for this patch: Acked-by: Tony Lindgren

Re: [RFC v2 3/3] ARM: dts: omap3: bulk convert compatible to be explicitly ti,omap3430 or ti,omap36xx

2019-09-05 Thread Tony Lindgren
Hi, * H. Nikolaus Schaller [190904 08:54]: > According to omap.txt bindings documentation, matching the ti-cpufreq driver > needs > to specify explicitly if a board uses an omap3430 or omap36xx chip. > > This needs to add ti,omap3430 to most omap34xx boards and replace ti,omap3630 > by

Re: [PATCH v3 0/6] counter: new TI eQEP driver

2019-09-05 Thread Tony Lindgren
> > Signed-off-by: William Breathitt Gray > > Jonathan, if you have no objections please pick up this up so that it > can make it to the 5.4 merge window coming in soon. Alternatively, I can > merge it into my repository instead and hold it for a while longer > there, if you prefer that route. Looks good to me too: Acked-by: Tony Lindgren

[PATCH] bus: ti-sysc: Fix clock handling for no-idle quirks

2019-09-05 Thread Tony Lindgren
n to allow PM runtime to idle the module if requested. Fixes: 1a5cd7c23cc5 ("bus: ti-sysc: Enable all clocks directly during init to read revision") Cc: Keerthy Cc: Vignesh Raghavendra Reported-by: Keerthy Reported-by: Grygorii Strashko Signed-off-

Re: [RFC 5/5] ARM: dts: omap3-beagle: make explicitly compatible to ti,omap34xx

2019-09-03 Thread Tony Lindgren
* H. Nikolaus Schaller [190902 10:56]: > Matching the ti-cpufreq driver needs to specify explicitly if > a board uses an omap34xx or omap36xx chip. > > Signed-off-by: H. Nikolaus Schaller > --- > arch/arm/boot/dts/omap3-beagle.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

[PATCH] phy: cpcap-usb: Fix flakey host idling and enumerating of devices

2019-08-30 Thread Tony Lindgren
Cc: Merlijn Wajer Cc: Michael Scott Cc: NeKit Cc: Pavel Machek Cc: Sebastian Reichel Fixes: 6d6ce40f63af ("phy: cpcap-usb: Add CPCAP PMIC USB support") Signed-off-by: Tony Lindgren --- drivers/phy/motorola/phy-cpcap-usb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH] phy: mapphone-mdm6600: Fix uninitialized status value regression

2019-08-30 Thread Tony Lindgren
xes: b9762bebc633 ("gpiolib: Pass bitmaps, not integer arrays, to get/set array") Cc: Jacopo Mondi Cc: Janusz Krzysztofik Cc: Linus Walleij Cc: Marcel Partap Cc: Merlijn Wajer Cc: Michael Scott Cc: NeKit Cc: Pavel Machek Cc: Sebastian Reichel Signed-off-by: Tony Lindgren --- drivers

<    1   2   3   4   5   6   7   8   9   10   >