Re: [PATCH] wlcore: fix runtime pm imbalance in wlcore_irq_locked

2020-05-22 Thread Tony Lindgren
* Dinghao Liu [200522 04:50]: > When wlcore_fw_status() returns an error code, a pairing > runtime PM usage counter decrement is needed to keep the > counter balanced. It's the same for all error paths after > wlcore_fw_status(). Acked-by: Tony Lindgren

Re: Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend

2020-05-21 Thread Tony Lindgren
* dinghao@zju.edu.cn [200521 04:55]: > There is a check against ret after out_sleep tag. If > wl1271_configure_suspend_ap() > returns an error code, ret will be caught by this check and a warning will be > issued. OK thanks for checking. In that case this one too: Acked-by: Tony Lindgren

[PATCHv2 0/6] Add initial genpd support for omap PRM driver

2020-05-20 Thread Tony Lindgren
DEBUG Tony Lindgren (6): dt-bindings: omap: Update PRM binding for genpd soc: ti: omap-prm: Add basic power domain support soc: ti: omap-prm: Configure sgx power domain for am3 and am4 soc: ti: omap-prm: Configure omap4 and 5 l4_abe power domain ARM: dts: Configure am3 and am4 sgx for genp

[PATCH 2/6] soc: ti: omap-prm: Add basic power domain support

2020-05-20 Thread Tony Lindgren
ators, and interconnect instances. Further support can be added later on as needed for runtime configuration based on domain-idle-states. Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/Kconfig | 1 + drivers/soc/ti/omap_prm.c | 261 +++- 2 files changed

[PATCH 3/6] soc: ti: omap-prm: Configure sgx power domain for am3 and am4

2020-05-20 Thread Tony Lindgren
Let's configure only sgx power domain for am3 and am4 to start with. Signed-off-by: Tony Lindgren --- drivers/soc/ti/omap_prm.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c --- a/drivers/soc/ti/omap_

[PATCH 4/6] soc: ti: omap-prm: Configure omap4 and 5 l4_abe power domain

2020-05-20 Thread Tony Lindgren
Let's add omap4 and 5 l4_abe interconnect instance for the power domain. Signed-off-by: Tony Lindgren --- drivers/soc/ti/omap_prm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c --- a/drivers/soc/ti/omap_prm.c +++ b/driver

[PATCH 5/6] ARM: dts: Configure am3 and am4 sgx for genpd and drop platform data

2020-05-20 Thread Tony Lindgren
We can power off the SGX power domain when not in use when we configure it for genpd. And with that change, we can now also drop the old unused legacy platform data. Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 2 + arch/arm/boot/dts/am4372.dtsi

[PATCH 1/6] dt-bindings: omap: Update PRM binding for genpd

2020-05-20 Thread Tony Lindgren
The PRM (Power and Reset Module) has registers to enable and disable power domains, so let's update the binding for that. Cc: devicet...@vger.kernel.org Cc: Rob Herring Signed-off-by: Tony Lindgren --- Documentation/devicetree/bindings/arm/omap/prm-inst.txt | 2 ++ 1 file changed, 2 inser

[PATCH 6/6] ARM: dts: Configure omap4 and 5 l4_abe for genpd and drop platform data

2020-05-20 Thread Tony Lindgren
We can power off l4_abe domain when not in use when we configure it for genpd. And with that change, we can now also drop the old unused legacy platform data. Note that we also need to now use "simple-pm-bus" instead of "simple-bus" for PM runtime to get enabled for the bus.

Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_tx_work

2020-05-20 Thread Tony Lindgren
* Dinghao Liu [691231 23:00]: > There are two error handling paths in this functon. When > wlcore_tx_work_locked() returns an error code, we should > decrease the runtime PM usage counter the same way as the > error handling path beginning from pm_runtime_get_sync(). Acked-by: Tony Lindgren

Re: [PATCH] wlcore: fix runtime pm imbalance in wlcore_regdomain_config

2020-05-20 Thread Tony Lindgren
* Dinghao Liu [200520 12:47]: > pm_runtime_get_sync() increments the runtime PM usage counter even > the call returns an error code. Thus a pairing decrement is needed > on the error handling path to keep the counter balanced. Acked-by: Tony Lindgren

Re: [PATCH] wlcore: fix runtime pm imbalance in __wl1271_op_remove_interface

2020-05-20 Thread Tony Lindgren
* Dinghao Liu [200520 13:09]: > When wl12xx_cmd_role_disable() returns an error code, > a pairing runtime PM usage counter decrement is needed to > keep the counter balanced. Acked-by: Tony Lindgren

Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend

2020-05-20 Thread Tony Lindgren
* Dinghao Liu [200520 12:58]: > When wlcore_hw_interrupt_notify() returns an error code, > a pairing runtime PM usage counter decrement is needed to > keep the counter balanced. We should probably keep the warning though, nothing will get shown for wl1271_configure_suspend_ap() errors. Otherwise

Re: [PATCH 1/1] soc: ti: omap-prm: use atomic iopoll instead of sleeping one

2020-05-19 Thread Tony Lindgren
* Tero Kristo [200514 00:38]: > The reset handling APIs for omap-prm can be invoked PM runtime which > runs in atomic context. For this to work properly, switch to atomic > iopoll version instead of the current which can sleep. Otherwise, > this throws a "BUG: scheduling while atomic" warning. Iss

Re: [PATCH] clocksource/drivers/timer-ti-dm: Fix warning for set but not used

2020-05-19 Thread Tony Lindgren
* Daniel Lezcano [200519 16:27]: > On 19/05/2020 18:06, Tony Lindgren wrote: > > * Daniel Lezcano [200519 16:01]: > >> On 19/05/2020 17:51, Tony Lindgren wrote: > >>> We can get a warning for dmtimer_clocksource_init() with 'pa' set but > >>>

Re: [PATCH] clocksource/drivers/timer-ti-dm: Fix warning for set but not used

2020-05-19 Thread Tony Lindgren
* Daniel Lezcano [200519 16:01]: > On 19/05/2020 17:51, Tony Lindgren wrote: > > We can get a warning for dmtimer_clocksource_init() with 'pa' set but > > not used. This was used in the earlier revisions of the code but no > > longer needed, so let's remove th

Re: [PATCH v2] arm: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver

2020-05-19 Thread Tony Lindgren
* Tomi Valkeinen [200519 15:55]: > (Dropping DT from cc) > > On 19/05/2020 18:48, Tony Lindgren wrote: > > > > > Suspend/resume on am43xx-gpevm is broken right now in mainline and the > > > > regression looks > > > > like it is caused b

[PATCH] clocksource/drivers/timer-ti-dm: Fix warning for set but not used

2020-05-19 Thread Tony Lindgren
issue. Reported-by: kbuild test robot Signed-off-by: Tony Lindgren --- drivers/clocksource/timer-ti-dm-systimer.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/clocksource/timer-ti-dm-systimer.c b/drivers/clocksource/timer-ti-dm-systimer.c --- a/drivers/clocksource/timer-ti

Re: [PATCH v2] arm: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver

2020-05-19 Thread Tony Lindgren
* Faiz Abbas [200519 08:23]: > Tony, > > On 15/05/20 3:04 pm, Faiz Abbas wrote: > > Hi Tony, > > > > On 13/05/20 9:53 pm, Tony Lindgren wrote: > >> * Faiz Abbas [200512 13:39]: > >>> Move mmc nodes to be compatible with the sdhci-omap driver. Th

Re: [PATCHv3 00/14] Update omaps to use drivers/clocksource timers

2020-05-18 Thread Tony Lindgren
* Daniel Lezcano [200518 16:59]: > > Hi Tony, > > On 07/05/2020 19:23, Tony Lindgren wrote: > > Hi all, > > > > Here's v3 series to udpate omaps to use drivers/clocksource timers for > > the 32k counter and dmtimer, and to remove the old legacy

Re: [PATCH] clk: ti: dra7: remove two unused symbols

2020-05-14 Thread Tony Lindgren
* Stephen Boyd [200514 19:59]: > Quoting Tony Lindgren (2020-04-17 08:33:42) > > Tero, > > > > * Jason Yan [200417 07:09]: > > > Fix the following gcc warning: > > > > > > drivers/clk/ti/clk-7xx.c:320:43: warning: > > > \u2018dra7_gp

Re: [PATCHv8 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-14 Thread Tony Lindgren
* Pavel Machek [200513 19:10]: > Hi! > > > Here's the updated set of these patches fixed up for Johan's and > > Pavel's earlier comments. > > > > This series does the following: > > > > 1. Adds functions to n_gsm.c for serdev-ngsm.c driver to use > > > > 2. Adds a generic serdev-ngsm.c driver

Re: [PATCH 2/6] soc: ti: omap-prm: Add basic power domain support

2020-05-14 Thread Tony Lindgren
* Tero Kristo [200514 08:05]: > On 12/05/2020 23:38, Tony Lindgren wrote: > > +struct omap_prm_domain { > > + struct device *dev; > > + struct omap_prm *prm; > > + struct generic_pm_domain pd; > > + void __iomem *pwrstctrl; > > + void __iomem *p

Re: [PATCH 1/6] dt-bindings: omap: Update PRM binding for genpd

2020-05-14 Thread Tony Lindgren
* Tero Kristo [200514 07:40]: > On 12/05/2020 23:38, Tony Lindgren wrote: > > The PRM (Power and Reset Module) has registers to enable and disable > > power domains, so let's update the binding for that. > > > > Cc: devicet...@vger.kernel.org > > Cc: Rob Her

Re: [PATCH v2] arm: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver

2020-05-13 Thread Tony Lindgren
* Faiz Abbas [200512 13:39]: > Move mmc nodes to be compatible with the sdhci-omap driver. The following > modifications are required for omap_hsmmc specific properties: > > ti,non-removable: convert to the generic mmc non-removable > ti,needs-special-reset: co-opted into the sdhci-omap driver >

[PATCH 4/6] serdev: ngsm: Add generic serdev-ngsm driver

2020-05-12 Thread Tony Lindgren
Reviewed-by: Pavel Machek Signed-off-by: Tony Lindgren --- drivers/tty/serdev/Kconfig | 10 + drivers/tty/serdev/Makefile | 1 + drivers/tty/serdev/serdev-ngsm.c | 449 +++ include/linux/serdev-gsm.h | 11 + 4 files changed, 471 insertions(+) create

[PATCH 1/6] tty: n_gsm: Add support for serdev drivers

2020-05-12 Thread Tony Lindgren
then maybe the serdev related parts can be just moved to live under something like drivers/tty/serdev/protocol/ngsm.c. Signed-off-by: Tony Lindgren --- drivers/tty/n_gsm.c| 435 + include/linux/serdev-gsm.h | 154 + 2 files changed, 589 inser

[PATCH 2/6] dt-bindings: serdev: ngsm: Add binding for serdev-ngsm

2020-05-12 Thread Tony Lindgren
g for ETSI as we're using a ETSI 3GPP TS 27.010 standard. Reviewed-by: Pavel Machek Reviewed-by: Rob Herring Signed-off-by: Tony Lindgren --- .../bindings/serdev/serdev-ngsm.yaml | 64 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 66

[PATCH 3/6] dt-bindings: serdev: ngsm: Add binding for GNSS child node

2020-05-12 Thread Tony Lindgren
For motorola modem case, we may have a GNSS device on channel 4. Let's add that to the binding and example. Signed-off-by: Tony Lindgren --- .../devicetree/bindings/serdev/serdev-ngsm.yaml | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bin

[PATCH 6/6] ARM: dts: omap4-droid4: Configure modem for serdev-ngsm

2020-05-12 Thread Tony Lindgren
xer is not supported yet. Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/motorola-mapphone-common.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/motorola-mapphone-common.dtsi b/arch/arm/boot/dts/motorola-mapphone-common.dtsi --- a/arch/arm/boot/dt

[PATCHv8 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-12 Thread Tony Lindgren
- Simplified usage and got rid of few pointless inline functions - Added consumer MFD driver, devicetree binding, and dts changes Tony Lindgren (6): tty: n_gsm: Add support for serdev drivers dt-bindings: serdev: ngsm: Add binding for serdev-ngsm dt-bindings: serdev: ngsm: Add binding for GNSS

[PATCH 5/6] gnss: motmdm: Add support for Motorola Mapphone MDM6600 modem

2020-05-12 Thread Tony Lindgren
$GNGNS output, and to properly handle the /dev/gnss0 character device. I've confirmed it works properly with gpsd-3.20. Tested-by: Pavel Machek Reviewed-by: Pavel Machek Signed-off-by: Tony Lindgren --- drivers/gnss/Kconfig | 8 + drivers/gnss/Makefile | 3 + drivers/gnss/motmdm.c

[PATCH 5/6] ARM: dts: Configure am3 and am4 sgx for genpd and drop platform data

2020-05-12 Thread Tony Lindgren
We can power off the SGX power domain when not in use when we configure it for genpd. And with that change, we can now also drop the old unused legacy platform data. Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 2 + arch/arm/boot/dts/am4372.dtsi

[PATCH 6/6] ARM: dts: Configure omap4 and 5 l4_abe for genpd and drop platform data

2020-05-12 Thread Tony Lindgren
We can power off l4_abe domain when not in use when we configure it for genpd. And with that change, we can now also drop the old unused legacy platform data. Note that we also need to now use "simple-pm-bus" instead of "simple-bus" for PM runtime to get enabled for the bus.

[PATCH 4/6] soc: ti: omap-prm: Configure omap4 and 5 l4_abe power domain

2020-05-12 Thread Tony Lindgren
Let's add omap4 and 5 l4_abe interconnect instance for the power domain. Signed-off-by: Tony Lindgren --- drivers/soc/ti/omap_prm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c --- a/drivers/soc/ti/omap_prm.c +++ b/driver

[PATCH 1/6] dt-bindings: omap: Update PRM binding for genpd

2020-05-12 Thread Tony Lindgren
The PRM (Power and Reset Module) has registers to enable and disable power domains, so let's update the binding for that. Cc: devicet...@vger.kernel.org Cc: Rob Herring Signed-off-by: Tony Lindgren --- Documentation/devicetree/bindings/arm/omap/prm-inst.txt | 4 1 file chang

[PATCH 3/6] soc: ti: omap-prm: Configure sgx power domain for am3 and am4

2020-05-12 Thread Tony Lindgren
Let's configure only sgx power domain for am3 and am4 to start with. Signed-off-by: Tony Lindgren --- drivers/soc/ti/omap_prm.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c --- a/drivers/soc/ti/omap_

[PATCH 0/6] Add initial genpd support for omap PRM driver

2020-05-12 Thread Tony Lindgren
generated data. Regards, Tony Tony Lindgren (6): dt-bindings: omap: Update PRM binding for genpd soc: ti: omap-prm: Add basic power domain support soc: ti: omap-prm: Configure sgx power domain for am3 and am4 soc: ti: omap-prm: Configure omap4 and 5 l4_abe power domain ARM: dts

[PATCH 2/6] soc: ti: omap-prm: Add basic power domain support

2020-05-12 Thread Tony Lindgren
ators, and interconnect instances. Further support can be added later on as needed for runtime configuration based on domain-idle-states. Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/Kconfig | 1 + drivers/soc/ti/omap_prm.c | 281 +++- 2 files changed

Re: Bug with omap3-isp - 30 seconds delay for probe success

2020-05-12 Thread Tony Lindgren
Hi, * H. Nikolaus Schaller [200509 12:12]: > resend from correct mail address > --- > > Hi Tony, > I am observing an issue with omap3-isp for a while. It seems > to have started with v5.6 but I have preferred to invest some > time into analysis of the problem instead of trying a bisect. > > The

Re: [PATCH -next] ARM: OMAP2+: pm33xx-core: Make am43xx_get_rtc_base_addr static

2020-05-12 Thread Tony Lindgren
* Samuel Zou [200511 19:36]: > Fix the following sparse warning: > > arch/arm/mach-omap2/pm33xx-core.c:270:14: warning: symbol > 'am43xx_get_rtc_base_addr' was not declared. > > The am43xx_get_rtc_base_addr has only call site within pm33xx-core.c > It should be static > > Fixes: 8c5a916f4c88 (

Re: [PATCH] ARM: omap2: make omap5_erratum_workaround_801819 static

2020-05-12 Thread Tony Lindgren
* Ma Feng [200511 05:16]: > Fix sparse warning: > > arch/arm/mach-omap2/omap-smp.c:75:6: warning: symbol > 'omap5_erratum_workaround_801819' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: Ma Feng Applying into omap-for-v5.8/soc thanks. Tony

Re: [PATCH 02/15] dt-bindings: timer: add ti, dmtimer compatible for for system timers

2020-05-12 Thread Tony Lindgren
* Rob Herring [200512 14:53]: > On Wed, 29 Apr 2020 14:53:49 -0700, Tony Lindgren wrote: > > The TI dual-mode timer can be used for both clocksource and clockevent > > system timers. We need a way to specify which dual-mode timers are > > reserved for system timers as there a

Re: [PATCH net v4] net: ethernet: ti: Remove TI_CPTS_MOD workaround

2020-05-12 Thread Tony Lindgren
* Grygorii Strashko [200512 14:35]: > On 12/05/2020 17:22, Tony Lindgren wrote: > > However, there's at least one more issue left that shows up at least > > on ti81xx dra62x-j5eco-evm on v5.7-rc5 that has commit b46b2b7ba6e1 > > ("ARM: dts: Fix dm814x Ethernet b

Re: [PATCH net v4] net: ethernet: ti: Remove TI_CPTS_MOD workaround

2020-05-12 Thread Tony Lindgren
ITCHDEV >... > depends on TI_CPTS || !TI_CPTS > >which will ensure proper dependencies PTP_1588_CLOCK -> TI_CPTS -> > TI_CPSW/TI_KEYSTONE_NETCP/TI_CPSW_SWITCHDEV and build type selection. > > Note. For NFS boot + CPTS all of above configs have to be built-in. This bui

Re: [PATCH] arm: dts: am33xx-bone-common: add gpio-line-names

2020-05-12 Thread Tony Lindgren
Hi, Adding Linus W to Cc, would be good to get some comments on this. * Drew Fustini [200508 09:58]: > Add gpio-line-names properties to the gpio controller nodes. > BeagleBone boards have P8 and P9 headers [0] which expose many the > AM3358 SoC balls to stacking expansion boards called "capes",

Re: ofono for d4: less hcked and more working version was Re: USB networking news, ofono for d4: less hacked version

2020-05-09 Thread Tony Lindgren
* Pavel Machek [200508 10:03]: > I pushed new version of ofono: I'm still not sure about those incoming > sms (but _some_ sms are received). Rest should be better. Please check that you have applied commit 738b150ecefb ("ARM: dts: omap4-droid4: Fix occasional lost wakeirq for uart1"), otherwise i

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

2020-05-09 Thread Tony Lindgren
* H. Nikolaus Schaller [200509 11:48]: > I have found another small bug and a dev_dbg format weakness > and now it seems to work well even if I remove or reinsert the > battery while read operations are ongoing. OK great. > Still I need more time to fix up the patch(es). Well it's ready when it

Re: ofono for d4: less hcked and more working version was Re: USB networking news, ofono for d4: less hacked version

2020-05-09 Thread Tony Lindgren
* Pavel Machek [200508 10:03]: > Hi! > > > > But I might be confused. I recall some audio patches were needed for > > > basic phone calls (setting up mixers to connect gsm<->audio), but > > > those worked before gsmux support was enabled. (Maybe some hardcoded > > > commands were needed to be sen

Re: [PATCH] phy: cpcap-usb: Remove some useless code

2020-05-08 Thread Tony Lindgren
* Christophe JAILLET [200507 20:32]: > Axe a clk that is unused in the driver. Thanks for fixing it: Acked-by: Tony Lindgren

Re: linux-next: Fixes tags need some work in the omap tree

2020-05-08 Thread Tony Lindgren
* Stephen Rothwell [200507 22:54]: > Hi all, > > In commit > > 0f84d0247722 ("ARM: dts: am437x: fix networking on boards with ksz9031 phy") > > Fixes tag > > Fixes: commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the > KSZ9031 PHY") > > has these problem(s): > > - lea

Re: [PATCH v2] ARM: dts: am437x: fix networking on boards with ksz9031 phy

2020-05-07 Thread Tony Lindgren
* Philippe Schenker [200507 15:17]: > On Thu, 2020-05-07 at 18:12 +0300, Grygorii Strashko wrote: > > Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for > > the > > KSZ9031 PHY") the networking is broken on boards: > > am437x-gp-evm > > am437x-sk-evm > > am437x-idk-evm > >

Re: [PATCH next] ARM: dts: am57xx: fix networking on boards with ksz9031 phy

2020-05-07 Thread Tony Lindgren
* Philippe Schenker [200507 08:43]: > On Wed, 2020-05-06 at 22:11 +0300, Grygorii Strashko wrote: > > Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for > > the > > KSZ9031 PHY") the networking is broken on boards: > > am571x-idk > > am572x-idk > > am574x-idk > > am57xx-bea

Re: [PATCH v2 12/15] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0

2020-05-07 Thread Tony Lindgren
* Tony Lindgren [200505 18:27]: > * Geert Uytterhoeven [200505 08:08]: > > Support for TI AM43x SoCs depends on ARCH_MULTI_V7, which selects > > ARCH_MULTI_V6_V7. > > As the latter selects MIGHT_HAVE_CACHE_L2X0, there is no need for > > SOC_AM43XX to select MIGHT_HAVE_

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

2020-05-07 Thread Tony Lindgren
: Lokesh Vutla Cc: Rob Herring Cc: 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

[PATCH 10/14] ARM: dts: Configure system timers for omap3

2020-05-07 Thread Tony Lindgren
rring Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/am3517.dtsi | 24 +++- arch/arm/boot/dts/omap3-beagle.dts | 33 + arch/arm/boot/dts/omap3-devkit8000.dts | 33 + arch/arm/boot/dts/omap3.dtsi | 134 +++-

[PATCH 12/14] ARM: dts: Configure system timers for omap2

2020-05-07 Thread Tony Lindgren
gure these with assigned-clocks and assigned-clock-parents as needed. Let's also update the dts file to use #include while at it. Cc: devicet...@vger.kernel.org Cc: Aaro Koskinen Cc: Grygorii Strashko Cc: Keerthy Cc: Lokesh Vutla Cc: Rob Herring Cc: Tero Kristo Signed-off-by: Tony Lindgren

[PATCH 08/14] ARM: dts: Configure system timers for omap4

2020-05-07 Thread Tony Lindgren
gure these with assigned-clocks and assigned-clock-parents as needed. Cc: devicet...@vger.kernel.org Cc: Grygorii Strashko Cc: Keerthy Cc: Lokesh Vutla Cc: Rob Herring Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap4-l4.dtsi| 4 +- arch/arm/boot

[PATCH 14/14] bus: ti-sysc: Timers no longer need legacy quirk handling

2020-05-07 Thread Tony Lindgren
names. Cc: Grygorii Strashko Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/d

[PATCH 09/14] ARM: dts: Configure system timers for omap5 and dra7

2020-05-07 Thread Tony Lindgren
Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/dra7-l4.dtsi | 7 +- arch/arm/boot/dts/dra7.dtsi| 10 ++ arch/arm/boot/dts/omap5-l4.dtsi| 4 +- arch/arm/boot/dts/omap5.dtsi | 10 ++ arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 89 --

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

2020-05-07 Thread Tony Lindgren
sto Cc: Thomas Gleixner Signed-off-by: Tony Lindgren --- drivers/clocksource/timer-ti-32k.c | 48 +- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-ti-32k.c b/drivers/clocksource/timer-ti-32k.c --- a/drivers/clocksource/timer-ti-32k.

[PATCH 02/14] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support

2020-05-07 Thread Tony Lindgren
sto Cc: Thomas Gleixner Signed-off-by: Tony Lindgren --- drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-ti-dm-systimer.c | 731 + 2 files changed, 732 insertions(+) create mode 100644 drivers/clocksource/timer-ti-dm-systimer.c diff --git a/driv

[PATCH 11/14] ARM: dts: Configure system timers for ti81xx

2020-05-07 Thread Tony Lindgren
thy Cc: Lokesh Vutla Cc: Rob Herring Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/dm814x.dtsi | 74 +--- arch/arm/boot/dts/dm816x.dtsi | 78 ++ arch/arm/mach-omap2/board-generic.c| 4 +- arch

[PATCH 04/14] bus: ti-sysc: Ignore timer12 on secure omap3

2020-05-07 Thread Tony Lindgren
Cc: Lokesh Vutla Cc: Rob Herring Cc: Tero Kristo Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 11 +++ 1 file changed, 11 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 @@ -2744,6 +2744,17 @@

[PATCHv3 00/14] Update omaps to use drivers/clocksource timers

2020-05-07 Thread Tony Lindgren
ested by Rob - Add support for detecting the preferred system timers to use Changes since v1: - Updated to be self-contained based on comments from Daniel Tony Lindgren (14): clocksource/drivers/timer-ti-32k: Add support for initializing directly clocksource/drivers/timer-ti-dm: Add

[PATCH 06/14] ARM: dts: Configure system timers for am335x

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

[PATCH 03/14] clk: ti: dm816: enable sysclk6_ck on init

2020-05-07 Thread Tony Lindgren
: Michael Turquette Cc: Rob Herring Cc: 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

[PATCH 05/14] ARM: OMAP2+: Add omap_init_time_of()

2020-05-07 Thread Tony Lindgren
ff-by: Tony Lindgren --- arch/arm/mach-omap2/board-generic.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c @@ -12,6

[PATCH 07/14] ARM: dts: Configure system timers for am437x

2020-05-07 Thread Tony Lindgren
gure these with assigned-clocks and assigned-clock-parents as needed. Cc: devicet...@vger.kernel.org Cc: Grygorii Strashko Cc: Keerthy Cc: Lokesh Vutla Cc: Rob Herring Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/am4372.dtsi | 20 +++ arch/arm/boot/dts

Re: USB networking news, ofono for d4: less hacked version

2020-05-07 Thread Tony Lindgren
* Pavel Machek [200506 23:06]: > On Wed 2020-05-06 07:43:38, Tony Lindgren wrote: > > * Pavel Machek [200506 10:12]: > > > Hi! > > > > > > So... I found out that USB networking works way better when I don't > > > attempt to charge the phon

Re: USB networking news, ofono for d4: less hacked version

2020-05-06 Thread Tony Lindgren
* Pavel Machek [200506 10:12]: > Hi! > > So... I found out that USB networking works way better when I don't > attempt to charge the phone at the same. Yes, green light was > blinking. OK yes we don't have much of a charger detection currently and the charger tries to reconnect with the LED blin

Re: [PATCH] ARM: dts: omap3: Migrate AES from hwmods to sysc-omap2

2020-05-05 Thread Tony Lindgren
* Adam Ford [200505 21:18]: > On Tue, May 5, 2020 at 1:42 PM Tony Lindgren wrote: > > > > * Adam Ford [200504 16:02]: > > > Various OMAP3 boards have two AES blocks, but only one is currently > > > available, because the hwmods are only configured for one. &g

Re: [PATCH] ARM: dts: omap3: Migrate AES from hwmods to sysc-omap2

2020-05-05 Thread Tony Lindgren
* Adam Ford [200504 16:02]: > Various OMAP3 boards have two AES blocks, but only one is currently > available, because the hwmods are only configured for one. > > This patch migrates the hwmods for the AES engine to sysc-omap2 > which allows the second AES crypto engine to become available. > >

Re: [PATCH v2 12/15] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0

2020-05-05 Thread Tony Lindgren
hoeven > Cc: Tony Lindgren > Cc: linux-o...@vger.kernel.org > Acked-by: Arnd Bergmann > Acked-by: Tony Lindgren > --- > v2: > - Add Acked-by. I'll queue this into omap-for-v5.8/soc tomorrow assuming nobody else has it already applied. Tony > --- > arch/arm/mach

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

2020-05-05 Thread Tony Lindgren
* Tony Lindgren [200428 18:23]: > * 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 assi

Re: [PATCH] ARM: omap1: fix irq setup

2020-05-05 Thread Tony Lindgren
function to deal with it cleanly. > > > > Fixes: b75ca5217743 ("ARM: OMAP: replace setup_irq() by request_irq()") > > Signed-off-by: Arnd Bergmann > > Sorry for the mistake and thanks for the fix, > > Acked-by: afzal mohammed Acked-by: Tony Lindgren

Re: [PATCH] net: ethernet: ti: Remove TI_CPTS_MOD workaround

2020-05-04 Thread Tony Lindgren
* Clay McClure [200502 23:41]: > diff --git a/arch/arm/configs/omap2plus_defconfig > b/arch/arm/configs/omap2plus_defconfig > index 3cc3ca5fa027..e00f0d871c53 100644 > --- a/arch/arm/configs/omap2plus_defconfig > +++ b/arch/arm/configs/omap2plus_defconfig > @@ -57,7 +57,6 @@ CONFIG_CPUFREQ_DT=m >

Re: [PATCH v7 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-05-03 Thread Tony Lindgren
* Paul Cercueil [200503 14:19]: > You have a new SoC with a SGX, and you only need to enable one clock to get > it to work. So you create a devicetree node which receives only one clock. > > Turns out, that the bootloader was enabling the other 3 clocks, and since > the last release, it doesn't a

Re: [PATCH 1/6] tty: n_gsm: Add support for serdev drivers

2020-05-01 Thread Tony Lindgren
* Pavel Machek [200501 20:32]: > > +static struct gsm_dlci *gsd_dlci_get(struct gsm_serdev *gsd, int line, > > +bool allocate) > > +{ > > + struct gsm_mux *gsm; > > + struct gsm_dlci *dlci; > > + > > + if (!gsd || !gsd->gsm) > > + return ERR_PTR(-ENO

Re: [PATCH 4/6] dt-bindings: gnss: Add binding for Motorola Mapphone MDM6600 GNSS

2020-05-01 Thread Tony Lindgren
* Rob Herring [200501 21:20]: > On Thu, Apr 30, 2020 at 10:46:13AM -0700, Tony Lindgren wrote: > > Add a binding document for Motorola Mapphone MDM6600 GNSS driver that > > can be used with phones such as droid4. > > > > Signed-off-by: Tony Lindgren > > ---

Re: [PATCHv6 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-01 Thread Tony Lindgren
* Pavel Machek [200501 20:20]: > Hi! > > > My guess is that at least with the pending ofono patches, we just > > want to use the raw interface for /dev/gsmtty* interface and stop > > pretending we have a modem that is AT compatible. > > Ok, so I got ofono back to work. ... I believe. It was not

Re: [PATCHv6 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-01 Thread Tony Lindgren
* Pavel Machek [200430 22:27]: > > > My guess is that at least with the pending ofono patches, we just > > want to use the raw interface for /dev/gsmtty* interface and stop > > pretending we have a modem that is AT compatible. > > I tried to get it to work... it was not fun and I did not get far

Re: [PATCHv6 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-01 Thread Tony Lindgren
* Pavel Machek [200501 08:22]: > Hi! > > > Now without the chardev support, the /dev/gsmtty* using apps need > > to use "U1234AT+CFUN?" format for the packets. The advantage is > > less kernel code, and we keep the existing /dev/gsmtty* interface. > > Actually... yes, this works. But no, this is

Re: [PATCH 02/14] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support

2020-05-01 Thread Tony Lindgren
* Rob Herring [200501 13:19]: > On Thu, Apr 30, 2020 at 10:31 AM Tony Lindgren wrote: > > Hmm. Trying to detect this automatically will get messy. For example, > > we have few omap3 boards with the following options that also need to > > consider if the separate 32KiHz

[PATCH 1/6] tty: n_gsm: Add support for serdev drivers

2020-04-30 Thread Tony Lindgren
then maybe the serdev related parts can be just moved to live under something like drivers/tty/serdev/protocol/ngsm.c. Signed-off-by: Tony Lindgren --- drivers/tty/n_gsm.c| 428 + include/linux/serdev-gsm.h | 152 + 2 files changed, 580 inser

[PATCH 2/6] dt-bindings: serdev: ngsm: Add binding for serdev-ngsm

2020-04-30 Thread Tony Lindgren
g for ETSI as we're using a ETSI 3GPP TS 27.010 standard. Signed-off-by: Tony Lindgren --- .../bindings/serdev/serdev-ngsm.yaml | 64 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 66 insertions(+) create mode 100644 Documentation/devicetre

[PATCH 4/6] dt-bindings: gnss: Add binding for Motorola Mapphone MDM6600 GNSS

2020-04-30 Thread Tony Lindgren
Add a binding document for Motorola Mapphone MDM6600 GNSS driver that can be used with phones such as droid4. Signed-off-by: Tony Lindgren --- .../devicetree/bindings/gnss/motmdm.yaml | 29 +++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 5/6] gnss: motmdm: Add support for Motorola Mapphone MDM6600 modem

2020-04-30 Thread Tony Lindgren
$GNGNS output, and to properly handle the /dev/gnss0 character device. I've confirmed it works properly with gpsd-3.20. Signed-off-by: Tony Lindgren --- drivers/gnss/Kconfig | 8 + drivers/gnss/Makefile | 3 + drivers/gnss/motmdm.c | 419 ++ 3

[PATCH 3/6] serdev: ngsm: Add generic serdev-ngsm driver

2020-04-30 Thread Tony Lindgren
We can have a generic serdev-ngsm driver bring up the TS 27.010 line discipline on the selected serial ports based on device tree data. And we can now do standard Linux device driver for the dedicated TS 27.010 channels for devices like GNSS and ALSA found on modems. Signed-off-by: Tony Lindgren

[PATCH 6/6] ARM: dts: omap4-droid4: Configure modem for serdev-ngsm

2020-04-30 Thread Tony Lindgren
xer is not supported yet. Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/motorola-mapphone-common.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/motorola-mapphone-common.dtsi b/arch/arm/boot/dts/motorola-mapphone-common.dtsi --- a/arch/arm/boot/dt

[PATCHv6 0/6] n_gsm serdev support and GNSS driver for droid4

2020-04-30 Thread Tony Lindgren
- Added consumer MFD driver, devicetree binding, and dts changes Tony Lindgren (6): tty: n_gsm: Add support for serdev drivers dt-bindings: serdev: ngsm: Add binding for serdev-ngsm serdev: ngsm: Add generic serdev-ngsm driver dt-bindings: gnss: Add binding for Motorola Mapphone MDM6600 GNS

Re: [PATCH 02/14] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support

2020-04-30 Thread Tony Lindgren
* Rob Herring [200430 14:01]: > On Mon, Apr 27, 2020 at 08:23:29AM -0700, Tony Lindgren wrote: > > * Daniel Lezcano [200427 15:03]: > > > On 27/04/2020 16:31, Tony Lindgren wrote: > > > > Hi, > > > > > > > > * Daniel Lezcano [200427 09:

[PATCH 09/15] ARM: dts: Configure system timers for omap4

2020-04-29 Thread Tony Lindgren
gure 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/omap4-l4.dtsi| 4 +- arch/arm/boot/dts/omap4.dtsi | 11 +++ arch/arm/m

[PATCH 10/15] ARM: dts: Configure system timers for omap5 and dra7

2020-04-29 Thread Tony Lindgren
gure these with assigned-clocks and assigned-clock-parents as needed. Note that similar to omap_init_time_of(), we now need to call omap_clk_init() also from omap5_realtime_timer_init(). Cc: devicet...@vger.kernel.org Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Signed-off-by: Tony Lindgren --- ar

[PATCH 15/15] bus: ti-sysc: Timers no longer need legacy quirk handling

2020-04-29 Thread Tony Lindgren
names. Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) 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 @

[PATCH 02/15] dt-bindings: timer: add ti,dmtimer compatible for for system timers

2020-04-29 Thread Tony Lindgren
e "ti,dmtimer" that TIMER_OF_DECLARE can use as suggested by Daniel Lezcano . Suggested-by: Daniel Lezcano Signed-off-by: Tony Lindgren --- Documentation/devicetree/bindings/timer/ti,timer.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/

[PATCH 08/15] ARM: dts: Configure system timers for am437x

2020-04-29 Thread Tony Lindgren
gure 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/am4372.dtsi | 24 arch/arm/boot/dts/am437x-l4.dtsi | 7 +-- arch

[PATCH 11/15] ARM: dts: Configure system timers for omap3

2020-04-29 Thread Tony Lindgren
gure these with assigned-clocks and assigned-clock-parents as needed. Let's also update the dts file to use #include while at it. Cc: devicet...@vger.kernel.org Cc: Adam Ford Cc: Andreas Kemnade Cc: "H. Nikolaus Schaller" Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Signed-off-by

[PATCH 13/15] ARM: dts: Configure system timers for omap2

2020-04-29 Thread Tony Lindgren
gure these with assigned-clocks and assigned-clock-parents as needed. Let's also update the dts file to use #include while at it. Cc: devicet...@vger.kernel.org Cc: Aaro Koskinen Cc: Keerthy Cc: Lokesh Vutla Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap2.dtsi

[PATCH 05/15] bus: ti-sysc: Ignore timer12 on secure omap3

2020-04-29 Thread Tony Lindgren
ero Kristo Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 11 +++ 1 file changed, 11 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 @@ -2744,6 +2744,17 @@ static int sysc_init_soc(struct sysc *ddata)

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