Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-06 Thread Tony Lindgren
* Alan Stern st...@rowland.harvard.edu [150306 11:05]: On Fri, 6 Mar 2015, Tony Lindgren wrote: + struct wakeirq_source *wirq = _wirq; + irqreturn_t ret = IRQ_NONE; + + /* We don't want RPM_ASYNC or RPM_NOWAIT here */ + if

Re: twl4030_charger: need changes to get probed?

2015-03-06 Thread Pali Rohár
On Friday 06 March 2015 23:40:34 Pavel Machek wrote: On Sat 2015-03-07 00:12:07, Grazvydas Ignotas wrote: On Fri, Mar 6, 2015 at 11:57 PM, Pali Rohár pali.ro...@gmail.com wrote: On Friday 06 March 2015 22:24:17 Pavel Machek wrote: Hi! According to n900 dts, twl4030-bci (aka

Re: [PATCH 2/4] ARM: OMAP2+: AM43xx hwmod: Add RTC hwmod for AM43xx

2015-03-06 Thread Paul Walmsley
On Fri, 6 Mar 2015, Dave Gerlach wrote: On 03/06/2015 11:44 AM, Paul Walmsley wrote: On Fri, 6 Mar 2015, Dave Gerlach wrote: On 03/05/2015 10:26 PM, Paul Walmsley wrote: On Thu, 5 Mar 2015, Dave Gerlach wrote: RTC hwmod is needed for proper operation of PM features like rtcwake and

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-06 Thread Tony Lindgren
* Rafael J. Wysocki r...@rjwysocki.net [150306 16:19]: On Friday, March 06, 2015 03:05:40 PM Tony Lindgren wrote: Oh it naturally would not work in irq context, it's for the bottom half again. But I'll take a look if we can just call pm_request_resume() and disable_irq() on the wakeirq

Re: twl4030_charger: need changes to get probed?

2015-03-06 Thread Pavel Machek
On Sat 2015-03-07 00:12:07, Grazvydas Ignotas wrote: On Fri, Mar 6, 2015 at 11:57 PM, Pali Rohár pali.ro...@gmail.com wrote: On Friday 06 March 2015 22:24:17 Pavel Machek wrote: Hi! According to n900 dts, twl4030-bci (aka charger) should be included. AFAIK it is not present on

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-06 Thread Rafael J. Wysocki
On Friday, March 06, 2015 03:05:40 PM Tony Lindgren wrote: * Alan Stern st...@rowland.harvard.edu [150306 11:05]: On Fri, 6 Mar 2015, Tony Lindgren wrote: + struct wakeirq_source *wirq = _wirq; + irqreturn_t ret = IRQ_NONE; + + /* We don't want RPM_ASYNC or

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-06 Thread Rafael J. Wysocki
On Friday, March 06, 2015 02:05:43 PM Alan Stern wrote: On Fri, 6 Mar 2015, Tony Lindgren wrote: + struct wakeirq_source *wirq = _wirq; + irqreturn_t ret = IRQ_NONE; + + /* We don't want RPM_ASYNC or RPM_NOWAIT here */ + if

[GIT PULL] omap fixes against v4.0-rc2

2015-03-06 Thread Tony Lindgren
The following changes since commit 13a7a6ac0a11197edcd0f756a035f472b42cdf8b: Linux 4.0-rc2 (2015-03-03 09:04:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/fixes-v4.0-rc2 for you to fetch changes up to

Re: [RFC/RFT PATCH 2/2] gpio: omap: ensure that runtime pm will disable unused gpio banks

2015-03-06 Thread Tony Lindgren
* grygorii.stras...@linaro.org grygorii.stras...@linaro.org [150306 11:27]: From: Grygorii Strashko grygorii.stras...@linaro.org Now there are two points related to Runtime PM usage: 1) bank state doesn't need to be checked in places where Rintime PM is used, bacause Runtime PM maintains its

[PATCH RESEND] serial: omap_serial: document missing properties and add an example

2015-03-06 Thread Matt Porter
The omap_serial.txt binding documentation lacks a number of properties that are used in DTS files for platforms incorporating this peripheral. Fix this by documenting the missing required and optional fields and add an example. Signed-off-by: Matt Porter mpor...@konsulko.com ---

[PATCH v2 3/7] drm/tilcdc: Add support for external tda998x encoder

2015-03-06 Thread Jyri Sarha
Add support for an external compontised DRM encoder. The external encoder can be connected to tilcdc trough device tree graph binding. The binding document for tilcdc has been updated. The current implementation supports only tda998x encoder. I got the idea and some lines of code from

[PATCH v2 2/7] drm/tilcdc: Remove tilcdc slave support for tda998x driver

2015-03-06 Thread Jyri Sarha
Remove tilcdc slave support for tda998x driver. The tilcdc slave support would conflicts with componentized use of tda998x. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../devicetree/bindings/drm/tilcdc/slave.txt | 18 - drivers/gpu/drm/tilcdc/Makefile| 1 -

[PATCH v2 6/7] drm/tilcdc: Force building of DRM_TILCDC_SLAVE_COMPAT

2015-03-06 Thread Jyri Sarha
If I read Documentation/kbuild/makefiles.txt section 3.6 right, this patch should not be needed. However, without this patch the objects needed for DRM_TILCDC_SLAVE_COMPAT are not linked, if DRM_TILCDC is built as module. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/gpu/drm/Makefile | 1 +

[PATCH v2 4/7] drm/tilcdc: Decrement refcount of ep-node from of_graph_get_next_endpoint

2015-03-06 Thread Jyri Sarha
This patch should be dropped/reverterd if/after of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint patch has been merged. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/gpu/drm/tilcdc/tilcdc_external.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 5/7] drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support

2015-03-06 Thread Jyri Sarha
Adds a CONFIG_DRM_TILCDC_SLAVE_COMPAT module for ti,tilcdc,slave node conversion. The implementation is in tilcdc_slave_compat.c and it uses tilcdc_slave_compat.dts as a basis for creating a DTS overlay. The DTS overlay adds an external tda998x encoder to tilcdc that corresponds to the old tda998x

[PATCH v2 7/7] ARM: dts: am335x-boneblack: Use new binding for HDMI

2015-03-06 Thread Jyri Sarha
Use new binding for the external tda19988 HDMI encoder. Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-boneblack.dts | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts

Re: [PATCH 11/24] ARM: OMAP2+: clock: remove support for legacy mpurate command line param

2015-03-06 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [150306 04:29]: The legacy support is wrong and dangerous, as it doesn't take any OPPs into account and does not scale voltages. Switching mpurate should be handled through cpufreq. Hmm I wonder if some systems actually rely on the mpurate cmdline parameter. If

[PATCH] ARM: dts: omap3-beagle: Add NAND device

2015-03-06 Thread Roger Quadros
The beagle board contains a 16-bit NAND device connected to chip select 0 of the GPMC controller. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts | 52 ++ 1 file changed, 52 insertions(+) diff --git

[PATCH v2 0/7] Use DRM component API in tilcdc to connect to tda998x

2015-03-06 Thread Jyri Sarha
Changes since first version of the patch-set: - Rename DRM_TILCDC_INIT to DRM_TILCDC_SLAVE_COMPAT and make it visible - Add separate: drm/tilcdc: Decrement refcount of ep-node from of_graph_get_next_endpoint - Reduce info-level spam - Use component_master_add_with_match() - Be more explicit

[PATCH v2 1/7] drm/tilcdc: Fix module unloading

2015-03-06 Thread Jyri Sarha
Force crtc dpms off before destroying the crtc instead of just checking the dpms state. This fixes warning message and frozen picture after tilcdc module unloading. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 18/24] clk: ti: omap2430: move clock support code under clock driver

2015-03-06 Thread Tero Kristo
With the legacy clock support gone, this is no longer needed under platform code-base. Thus, move this under the TI clock driver, and remove the exported API from the public header. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|1 -

[PATCH 23/24] clk: ti: move some public definitions to private header

2015-03-06 Thread Tero Kristo
Several exported TI clock driver features are no longer needed outside the clock driver itself, thus move all of these to the driver private header file. Also, update some of the driver files to actually include this header. Signed-off-by: Tero Kristo t-kri...@ti.com --- drivers/clk/ti/apll.c

[PATCH 10/24] clk: ti: move omap2_clk_enable_init_clocks under clock driver

2015-03-06 Thread Tero Kristo
This is no longer used outside clock driver, so move it under the driver and remove the export for it from the global header file. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clock.c | 24 drivers/clk/ti/clk-2xxx.c |2 ++

[PATCH 14/24] clk: ti: dpll: move omap3 DPLL functionality to clock driver

2015-03-06 Thread Tero Kristo
With the legacy clock support gone, OMAP3 generic DPLL code can now be moved over to the clock driver also. A few un-unused clkoutx2 functions are also removed at the same time. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|8 +- arch/arm/mach-omap2/clock.h

[PATCH 22/24] clk: ti: am3517: move remaining am3517 clock support code to clock driver

2015-03-06 Thread Tero Kristo
With legacy clock support gone, this is no longer needed under platform, so move it under the clock driver itself. Make some exports be driver internal definitions at the same time. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|1 -

[PATCH 21/24] ARM: OMAP4: clock: remove clock44xx.h header

2015-03-06 Thread Tero Kristo
This is not needed for anything anymore, so remove it completely. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clock44xx.h | 20 arch/arm/mach-omap2/io.c|1 - 2 files changed, 21 deletions(-) delete mode 100644

[PATCH 13/24] ARM: OMAP2+: clock: add support for specific CM ops to ti_clk_ll_ops

2015-03-06 Thread Tero Kristo
Clock driver requires access to some CM API functions once the code is being moved under the clock driver from the platform directory. Gate type clock requires access to cm_wait_module_ready and cm_split_idlest_reg functions, which are both used for waiting until the module being clocked has been

[PATCH 19/24] clk: ti: clkdm: move clkdm gate clock support code to clock driver

2015-03-06 Thread Tero Kristo
With the legacy clock data gone, this is no longer needed under platform, so move it under the clock driver itself. Remove the exported clock driver APIs as well, as these are not needed outside clock driver anymore. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clock.c |

[PATCH 24/24] ARM: OMAP2+: clock: remove dead definitions from the clock header file

2015-03-06 Thread Tero Kristo
Cleanup the mess in clock.h by removing all definitions that are no longer used for anything. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clkt34xx_dpll3m2.c |1 - arch/arm/mach-omap2/clock.h| 129

[PATCH 12/24] ARM: OMAP2+: clock: add support for clkdm ops to the low level clk ops

2015-03-06 Thread Tero Kristo
Clock driver requires access to certain clockdomain handling ops once the code is being moved over under clock driver. Example of this is clk_enable / clk_disable under omap3 DPLL code. The required clkdm APIs are now exported through the ti_clk_ll_ops struct. Signed-off-by: Tero Kristo

[PATCH 15/24] ARM: OMAP3: clock: remove clock3xxx.c file

2015-03-06 Thread Tero Kristo
This now only has a couple of variables within it, which are used outside the file itself. Move these variables to where they are actually used, and remove the file completely as it is now empty. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile |2 +-

[PATCH 17/24] clk: ti: dflt: move support for default gate clock to clock driver

2015-03-06 Thread Tero Kristo
With the legacy support gone, OMAP2+ default gate clock can be moved under clock driver. Create a new file for the purpose, and clean-up the header exports a bit as some clock APIs are no longer needed outside clock driver itself. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCH 20/24] clk: ti: omap34xx: move omap34xx clock type support code to clock driver

2015-03-06 Thread Tero Kristo
With the legacy clock data gone, this is no longer needed under platform, so move it under the clock driver itself. Remove unnecessary declarations from the TI clock header also. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|2 +-

[PATCH 16/24] ARM: OMAP2+: clock: remove clkdm_control static boolean from code

2015-03-06 Thread Tero Kristo
clkdm_control is used to determine, whether clocks should trigger a clockdomain transition when they are enabled/disabled. Keep this functionality intact, but replace this with a clk_features flag which can be initialized during boot if needed. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCH 08/24] ARM: OMAP36xx: remove clock36xx.c/.h files

2015-03-06 Thread Tero Kristo
These files contain legacy clock implementations which are no longer used for anything, thus remove them completely. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|2 +- arch/arm/mach-omap2/clock36xx.c | 69 ---

[PATCH 11/24] ARM: OMAP2+: clock: remove support for legacy mpurate command line param

2015-03-06 Thread Tero Kristo
The legacy support is wrong and dangerous, as it doesn't take any OPPs into account and does not scale voltages. Switching mpurate should be handled through cpufreq. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|2 +- arch/arm/mach-omap2/clock.c | 41

[PATCH 09/24] clk: ti: autoidle: move generic autoidle handling code to clock driver

2015-03-06 Thread Tero Kristo
This is no longer needed in platform directory, as the legacy clock data is gone, so move it under TI clock driver. Some static functions are renamed also. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clock.c | 103 ---

Re: [PATCH 0/8 v4] ARM OMAP2+ GPMC: fixes and bus children

2015-03-06 Thread Roger Quadros
On 06/03/15 02:58, Tony Lindgren wrote: * Robert ABEL ra...@cit-ec.uni-bielefeld.de [150227 08:00]: These are the changes I proposed in these patch series: [1], [2], [3], [4] rebased to 3.19 as well as new changes for little bugs I noticed while preparing this patch series as well as changes

[PATCH 07/24] ARM: OMAP2+: clock: remove clock_common_data.c file

2015-03-06 Thread Tero Kristo
This only contains clksel tables that were used with the legacy clock data. Now that legacy clock data is completely gone, this file can be removed also. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|2 +- arch/arm/mach-omap2/clock.h |

[PATCH 04/24] clk: ti: move interface clock implementation under drivers/clk

2015-03-06 Thread Tero Kristo
With the legacy clock support gone, the OMAP interface clock implementation can be moved under the clock driver. Some temporary header file tweaks are also needed to make this change work properly. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|3 +-

[PATCH 03/24] clk: ti: move OMAP4+ DPLL implementation under drivers/clk

2015-03-06 Thread Tero Kristo
With the legacy clock support gone, the OMAP4 specific DPLL implementations can be moved under the clock driver. Change some of the function prototypes to be static at the same time, and remove some exports from the global TI clock driver header. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCH 06/24] ARM: OMAP2+: clk: remove obsolete clksel support code

2015-03-06 Thread Tero Kristo
The clksel clock type is no longer used for anything, it is rather replaced with common clock divider code. Thus, remove the dead code from kernel. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile |3 +- arch/arm/mach-omap2/clkt_clksel.c | 466

[PATCH 02/24] clk: ti: move generic OMAP DPLL implementation under drivers/clk

2015-03-06 Thread Tero Kristo
With the legacy clock data now gone, we can start moving OMAP clock type implementations under clock driver. Start this with moving the generic OMAP DPLL clock type under TI clock driver. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile|2 +-

[PATCH 01/24] ARM: OMAP2+: clock: export driver API to setup/get clock features

2015-03-06 Thread Tero Kristo
As most of the clock driver support code is going to be moved under drivers/clk/ti, an API for setting / getting the SoC specific clock features is needed. This patch provides this API and changes the existing code to use it. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCH 00/24] ARM: OMAP2+: move clock implementations under clock driver

2015-03-06 Thread Tero Kristo
Hi, This set moves almost all the legacy OMAP2+ clock driver implementations under TI clock driver itself. Some non-used code is deleted at the same time. This set touches both mach-omap2 folder + drivers/clk/ti, and should be merged either through the clock tree or omap tree. Separating the set

[PATCH 05/24] ARM: OMAP3: dpll3-m2: get rid of obsolete omap2_clksel_round_rate_div call

2015-03-06 Thread Tero Kristo
Core DVFS support code is currently referencing clksel functionality, which is wrong. The m2 divisor has been implemented as a divider clock for a long time already, so replace the validrate check call with proper functionality. Core DVFS is currently not supported in the kernel so verifying this

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-06 Thread Rafael J. Wysocki
On Fri, Mar 6, 2015 at 3:02 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: Please always CC linux-pm on CC patches. Doh. That was supposed to say Please always CC linux-pm on PM patches. I really should not reply to email when I'm too tired ... -- To unsubscribe from this list: send the line

Re: [PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham

2015-03-06 Thread Tony Lindgren
* Robert Nelson robertcnel...@gmail.com [150225 11:13]: On Wed, Feb 25, 2015 at 12:52 PM, Matt Porter mpor...@konsulko.com wrote: Beaglebone Black doesn't have AES and SHAM enabled like the original Beaglebone White dts. This breaks applications that leverage the crypto blocks so fix this

Re: [PATCH v2 7/7] ARM: dts: am335x-boneblack: Use new binding for HDMI

2015-03-06 Thread Tony Lindgren
* Jyri Sarha jsa...@ti.com [150306 07:57]: On 03/06/15 17:36, Tony Lindgren wrote: * Jyri Sarha jsa...@ti.com [150306 07:37]: Use new binding for the external tda19988 HDMI encoder. Can this be merged separately after the driver code is merged with things still working? Yes absolutely.

Re: [PATCH] ARM: dts: am335x-lxm: Use rmii-clock-ext

2015-03-06 Thread Tony Lindgren
* George McCollister george.mccollis...@gmail.com [150226 08:53]: Use external clock for RMII since the internal clock doesn't meet the jitter requirements. Signed-off-by: George McCollister george.mccollis...@gmail.com --- arch/arm/boot/dts/am335x-lxm.dts | 4 1 file changed, 4

Re: [PATCH 11/24] ARM: OMAP2+: clock: remove support for legacy mpurate command line param

2015-03-06 Thread Tero Kristo
On 03/06/2015 05:32 PM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [150306 04:29]: The legacy support is wrong and dangerous, as it doesn't take any OPPs into account and does not scale voltages. Switching mpurate should be handled through cpufreq. Hmm I wonder if some systems

Re: [PATCH 11/24] ARM: OMAP2+: clock: remove support for legacy mpurate command line param

2015-03-06 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [150306 08:10]: On 03/06/2015 05:32 PM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [150306 04:29]: The legacy support is wrong and dangerous, as it doesn't take any OPPs into account and does not scale voltages. Switching mpurate should be handled through

Re: [PATCH] ARM: dts: OMAP5: fix polling intervals for thermal zones

2015-03-06 Thread Tony Lindgren
* Eduardo Valentin edubez...@gmail.com [150227 13:39]: On Fri, Feb 27, 2015 at 03:59:03PM +0200, Tero Kristo wrote: OMAP4 has a finer counter granularity, which allows for a delay of 1000ms in the thermal zone polling intervals. OMAP5 has a different counter mechanism, which allows at

Re: [PATCH 0/2] pinctrl: dt-bindings: Fix amx3 SLEWCTRL_FAST binding

2015-03-06 Thread Tony Lindgren
* Dave Gerlach d-gerl...@ti.com [150227 17:14]: Currently both am33xx and am43xx have the macro for SLEWCTRL_FAST in pinctrl dt-bindings reversed so that selecting the macro actually sets SLEWCTRL_SLOW in the pad control registers. These patches correct the bindings but leave the pinctrl

Re: [PATCH v2 7/7] ARM: dts: am335x-boneblack: Use new binding for HDMI

2015-03-06 Thread Jyri Sarha
On 03/06/15 17:36, Tony Lindgren wrote: * Jyri Sarha jsa...@ti.com [150306 07:37]: Use new binding for the external tda19988 HDMI encoder. Can this be merged separately after the driver code is merged with things still working? Yes absolutely. That is why DRM_TILCDC_SLAVE_COMPAT is there

Re: [PATCH 0/2] fix ehrpwm tbclk data on am33xx and am43xx

2015-03-06 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [150224 23:39]: On 02/24/2015 07:15 PM, Tony Lindgren wrote: * Vignesh R vigne...@ti.com [150209 22:43]: In am33xx and am43xx, ehrpwm tbclk is derived from functional clock of PWMSS. The schematics and TRMs show that there is only one input clock to the PWMSS.

Re: [PATCH v2 7/7] ARM: dts: am335x-boneblack: Use new binding for HDMI

2015-03-06 Thread Tony Lindgren
* Jyri Sarha jsa...@ti.com [150306 07:37]: Use new binding for the external tda19988 HDMI encoder. Can this be merged separately after the driver code is merged with things still working? Otherwise we can have glitches with the output working and have dependencies between kernel branches.

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-06 Thread Tony Lindgren
Hi, * Rafael J. Wysocki r...@rjwysocki.net [150305 17:38]: Please always CC linux-pm on CC patches. Sure will do for the next rev, sorry forgot to add that. On Thursday, March 05, 2015 04:34:06 PM Tony Lindgren wrote: +/** + * handle_dedicated_wakeirq - Handler for device wake-up

Re: [PATCH 0/2] ARM: DRA7x/OMAP5: Clock: DPLL Clock fixes

2015-03-06 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [150225 00:05]: On 02/24/2015 06:27 PM, Tony Lindgren wrote: * Ravikumar Kattekola r...@ti.com [150219 08:13]: On 1/31/2015 10:36 PM, Ravikumar Kattekola wrote: Fix bypass clock source for a few DPLLs. On DRA7x/OMAP5, for a few DPLLs, both CLKINP and CLKINPULOW

Re: [PATCH RFC 3/6] drm/tilcdc: Add support for external compontised DRM encoder

2015-03-06 Thread Russell King - ARM Linux
On Fri, Mar 06, 2015 at 10:33:27AM +0200, Jyri Sarha wrote: Would it be Ok to add a check that master-ops-add_components is defined, before calling it in find_componets() (drivers/base/component.c:120) and return 0 if it is not? No:

Re: [PATCH RFC 3/6] drm/tilcdc: Add support for external compontised DRM encoder

2015-03-06 Thread Jyri Sarha
On 03/06/15 11:58, Russell King - ARM Linux wrote: On Fri, Mar 06, 2015 at 10:33:27AM +0200, Jyri Sarha wrote: Would it be Ok to add a check that master-ops-add_components is defined, before calling it in find_componets() (drivers/base/component.c:120) and return 0 if it is not? No:

Re: [PATCH RFC 3/6] drm/tilcdc: Add support for external compontised DRM encoder

2015-03-06 Thread Russell King - ARM Linux
On Fri, Mar 06, 2015 at 12:21:42PM +0200, Jyri Sarha wrote: On 03/06/15 11:58, Russell King - ARM Linux wrote: On Fri, Mar 06, 2015 at 10:33:27AM +0200, Jyri Sarha wrote: Would it be Ok to add a check that master-ops-add_components is defined, before calling it in find_componets()

Right interface for cellphone modem audio (was Re: [PATCHv2 0/2] N900 Modem Speech Support)

2015-03-06 Thread Pavel Machek
Hi! Userland access goes via /dev/cmt_speech. The API is implemented in libcmtspeechdata, which is used by ofono and the freesmartphone.org project. Yes, the ABI is tested for some years, but it is not documented, and it is very wrong ABI. I'm not sure what they do with the read(). I was

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-06 Thread Alan Stern
On Fri, 6 Mar 2015, Tony Lindgren wrote: + struct wakeirq_source *wirq = _wirq; + irqreturn_t ret = IRQ_NONE; + + /* We don't want RPM_ASYNC or RPM_NOWAIT here */ + if (pm_runtime_suspended(wirq-dev)) { What if the device is resumed on a different CPU right here? Good

Re: [PATCH 0/2] pinctrl: dt-bindings: Fix amx3 SLEWCTRL_FAST binding

2015-03-06 Thread Dave Gerlach
On 03/06/2015 11:13 AM, Tony Lindgren wrote: * Dave Gerlach d-gerl...@ti.com [150227 17:14]: Currently both am33xx and am43xx have the macro for SLEWCTRL_FAST in pinctrl dt-bindings reversed so that selecting the macro actually sets SLEWCTRL_SLOW in the pad control registers. These patches

ARM: OMAP2+: Fix wl12xx on dm3730-evm with mainline u-boot

2015-03-06 Thread Tony Lindgren
I upgraded my u-boot and noticed that wl12xx stopped working. Turns out the kernel is not setting the quirk for the MMC2 copy clock while the eariler bootloader I had was setting it. Signed-off-by: Tony Lindgren t...@atomide.com --- a/arch/arm/mach-omap2/pdata-quirks.c +++

Re: [PATCH 2/4] ARM: OMAP2+: AM43xx hwmod: Add RTC hwmod for AM43xx

2015-03-06 Thread Dave Gerlach
Paul, On 03/05/2015 10:26 PM, Paul Walmsley wrote: On Thu, 5 Mar 2015, Dave Gerlach wrote: RTC hwmod is needed for proper operation of PM features like rtcwake and rtc-only mode so reuse the am33xx rtc hwmod. Signed-off-by: Dave Gerlach d-gerl...@ti.com ---

Re: [PATCH 0/2] ARM: dts: dra7x-evm: DCAN pinmux fixes

2015-03-06 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150305 05:34]: Hi Tony, These are some fixes to the DCAN pinmux. cheers, -roger Roger Quadros (2): ARM: dts: dra7x-evm: Don't use dcan1_rx.gpio1_15 in DCAN pinctrl ARM: dts: dra7x-evm: avoid possible contention while muxing on CAN lines

Re: [PATCH 1/4] ARM: OMAP2+: omap_hwmod: Introduce ti,no-init dt property

2015-03-06 Thread Tony Lindgren
* Dave Gerlach d-gerl...@ti.com [150306 09:28]: On 03/05/2015 06:41 PM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [150305 12:24]: * Dave Gerlach d-gerl...@ti.com [150305 11:53]: On 03/05/2015 12:49 PM, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [150305 10:16]: On

Re: [PATCH] ARM: OMAP: enable TWL4030_USB in omap2plus_defconfig

2015-03-06 Thread Tony Lindgren
* Aaro Koskinen aaro.koski...@iki.fi [150226 13:11]: Enable TWL4030_USB which is used at least on Nokia N900/N950/N9 (OMAP3). Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 00/10] omap3 crypto fixes

2015-03-06 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150226 05:54]: This patch series fix crypto support for omap3 devices which use DT. It enables AES and SHAM on N9/N950 and SHAM on N900. AES is still disabled for N900. Pali Rohár (10): ARM: OMAP2+: Return correct error values from device and hwmod

Re: [PATCH 2/4] ARM: OMAP2+: AM43xx hwmod: Add RTC hwmod for AM43xx

2015-03-06 Thread Dave Gerlach
Paul, On 03/06/2015 11:44 AM, Paul Walmsley wrote: Hi Dave, On Fri, 6 Mar 2015, Dave Gerlach wrote: Paul, On 03/05/2015 10:26 PM, Paul Walmsley wrote: On Thu, 5 Mar 2015, Dave Gerlach wrote: RTC hwmod is needed for proper operation of PM features like rtcwake and rtc-only mode so

Re: [GIT PULL v2] ARM: OMAP2+: first set of hwmod and PRCM fixes for v4.0-rc

2015-03-06 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [150301 20:17]: The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending.git

Re: [PATCH 1/4] ARM: OMAP2+: omap_hwmod: Introduce ti,no-init dt property

2015-03-06 Thread Dave Gerlach
On 03/05/2015 06:41 PM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [150305 12:24]: * Dave Gerlach d-gerl...@ti.com [150305 11:53]: On 03/05/2015 12:49 PM, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [150305 10:16]: On Thu, 5 Mar 2015, Dave Gerlach wrote: Introduce a dt

Re: [PATCH 2/4] ARM: OMAP2+: AM43xx hwmod: Add RTC hwmod for AM43xx

2015-03-06 Thread Paul Walmsley
Hi Dave, On Fri, 6 Mar 2015, Dave Gerlach wrote: Paul, On 03/05/2015 10:26 PM, Paul Walmsley wrote: On Thu, 5 Mar 2015, Dave Gerlach wrote: RTC hwmod is needed for proper operation of PM features like rtcwake and rtc-only mode so reuse the am33xx rtc hwmod. Signed-off-by: Dave

Re: [PATCH 00/10] omap3 crypto fixes

2015-03-06 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150306 11:16]: On Friday 06 March 2015 19:36:32 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150226 05:54]: This patch series fix crypto support for omap3 devices which use DT. It enables AES and SHAM on N9/N950 and SHAM on N900. AES is

[PATCH 1/2] gpio: omap: irq_shutdown: remove unnecessary call of gpiochip_unlock_as_irq

2015-03-06 Thread grygorii.strashko
From: Grygorii Strashko grygorii.stras...@linaro.org GPIOLib core implemnts irqchip-irq_request/release_resources callbacks internally and these callbacks already contain clalls of gpiochip_lock/unlock_as_irq(). Hence, remove unnecessary call of gpiochip_unlock_as_irq() from

[RFC/RFT PATCH 2/2] gpio: omap: ensure that runtime pm will disable unused gpio banks

2015-03-06 Thread grygorii.strashko
From: Grygorii Strashko grygorii.stras...@linaro.org Now there are two points related to Runtime PM usage: 1) bank state doesn't need to be checked in places where Rintime PM is used, bacause Runtime PM maintains its own usage counter: if (!BANK_USED(bank))

Re: [PATCH 00/10] omap3 crypto fixes

2015-03-06 Thread Pali Rohár
On Friday 06 March 2015 19:36:32 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150226 05:54]: This patch series fix crypto support for omap3 devices which use DT. It enables AES and SHAM on N9/N950 and SHAM on N900. AES is still disabled for N900. Pali Rohár (10):

Re: [PATCHv3 08/35] clk: ti: fix ti_clk_get_reg_addr error handling

2015-03-06 Thread Mike Turquette
Quoting Tero Kristo (2015-02-25 11:04:18) There is a case where NULL can be a valid return value for ti_clk_get_reg_addr, specifically the case where both the provider index and register offsets are zero. In this case, the current error checking against a NULL pointer will fail. Thus, change

Re: [PATCH v2] ASoC: omap: fix up SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency

2015-03-06 Thread Mark Brown
On Wed, Feb 25, 2015 at 04:42:12PM +0100, Arnd Bergmann wrote: The change to enable OMAP5 support on this platform was a little too eager in adding a 'select' for a particular clock driver that might not be enabled in all configurations, which in turn leads to a build error: Applied, thanks.

twl4030_charger: need changes to get probed?

2015-03-06 Thread Pavel Machek
Hi! According to n900 dts, twl4030-bci (aka charger) should be included. (But it does not seem to do anything useful on n900. I was hoping for measurement of input voltage, but .. no.) Any ideas why the patch below is needed? Signed-off-by: Pavel Machek pa...@ucw.cz diff --git

Re: twl4030_charger: need changes to get probed?

2015-03-06 Thread Pali Rohár
On Friday 06 March 2015 22:24:17 Pavel Machek wrote: Hi! According to n900 dts, twl4030-bci (aka charger) should be included. AFAIK it is not present on n900... -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: ARM: OMPA4+: is it expected dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(64)); to fail?

2015-03-06 Thread grygorii.stras...@linaro.org
Hi Russell, On 03/05/2015 10:17 PM, Russell King - ARM Linux wrote: On Thu, Mar 05, 2015 at 08:55:07PM +0200, grygorii.stras...@linaro.org wrote: Now I can see very interesting behavior related to dma_coerce_mask_and_coherent() and friends which I'd like to explain and clarify. Below is

Re: Right interface for cellphone modem audio (was Re: [PATCHv2 0/2] N900 Modem Speech Support)

2015-03-06 Thread Kai Vehmanen
Hi, On Fri, 6 Mar 2015, Pavel Machek wrote: Our take was that ALSA is not the right interface for cmt_speech. The cmt_speech interface in the modem is _not_ a PCM interface as modelled by ALSA. Specifically: - the interface is lossy in both directions - data is sent in packets, not a stream

Re: [PATCH 13/15] twl4030_charger: add ac/mode to match usb/mode

2015-03-06 Thread Grazvydas Ignotas
On Tue, Feb 24, 2015 at 6:33 AM, NeilBrown ne...@suse.de wrote: This allows AC charging to be turned off, much like usb charging. continuous (aka linear) mode maps to the CVENAC (constant voltage) feature of the twl4030. Are you sure? Before your patches CVENAC was set at all times and and

Re: twl4030_charger: need changes to get probed?

2015-03-06 Thread Grazvydas Ignotas
On Fri, Mar 6, 2015 at 11:57 PM, Pali Rohár pali.ro...@gmail.com wrote: On Friday 06 March 2015 22:24:17 Pavel Machek wrote: Hi! According to n900 dts, twl4030-bci (aka charger) should be included. AFAIK it is not present on n900... Right, it uses twl5030 variant without the charger,

Re: [PATCH RFC 3/6] drm/tilcdc: Add support for external compontised DRM encoder

2015-03-06 Thread Jyri Sarha
On 03/02/15 18:01, Russell King - ARM Linux wrote: On Thu, Feb 26, 2015 at 04:55:32PM +0200, Jyri Sarha wrote: + ret = component_bind_all(dev-dev, dev); + if (ret 0) { + dev_err(dev-dev, Binding subcomponents failed: %d\n, ret); Do you need to print this? The

Re: [PATCH 00/10] omap3 crypto fixes

2015-03-06 Thread Aaro Koskinen
Hi, On Fri, Mar 06, 2015 at 10:36:32AM -0800, Tony Lindgren wrote: Are there any fixes in this series that should go into v4.0-rc series, or can it all wait for v4.1? I think these all should wait for v4.1. A. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body