Re: [PATCH] ARM: OMAP2+: hwmod: fix deassert hardreset clkdm usecounting

2015-03-01 Thread Paul Walmsley
On Thu, 26 Feb 2015, Tero Kristo wrote: Deasserting hardreset increases the usecount for the hwmod parent clockdomain always, however usecount is only decreased at end in certain error cases. This causes software supervised clockdomains to remain always on, preventing idle. Fixed by always

Re: [PATCH] ARM: OMAP4+: PRM: fix omap4 version of prm_save_and_clear_irqen

2015-03-01 Thread Paul Walmsley
On Fri, 27 Feb 2015, Tero Kristo wrote: This was incorrectly reading the irq status registers during the save and clear, instead of the irq enable. This worked because there is only one user for the prcm interrupts currently, namely the io-chain. Whenever the function was called, an io-chain

Re: [v3] hwrng: omap - Change RNG_CONFIG_REG to RNG_CONTROL_REG when, checking and disabling TRNG

2015-03-01 Thread Herbert Xu
On Fri, Feb 20, 2015 at 03:37:21PM +1100, Andre Wolokita wrote: In omap4_rng_init(), a check of bit 10 of the RNG_CONFIG_REG is done to determine whether the RNG is running. This is suspicious firstly due to the use of RNG_CONTROL_ENABLE_TRNG_MASK and secondly because the same mask is written

Re: [PATCH 1/2] ARM: OMAP2: hwmod: AM43XX: Add hwmod support for HDQ-1W

2015-03-01 Thread Paul Walmsley
Hi On Fri, 27 Feb 2015, Vignesh R wrote: From: Poddar, Sourav sourav.pod...@ti.com This patch adds hwmod data for hdq/1w driver on AM43xx. Signed-off-by: Sourav Poddar sourav.pod...@ti.com [vigne...@ti.com: Ported patch to v4.0-rc1] Signed-off-by: Vignesh R vigne...@ti.com ---

[PATCH 1/9] HSI: cmt_speech: Add cmt-speech driver

2015-03-01 Thread Sebastian Reichel
From: Kai Vehmanen kai.vehma...@nokia.com Introduces the cmt-speech driver, which implements a character device interface for transferring speech data frames over HSI/SSI. The driver is used to exchange voice/speech data between the Nokia N900/N950/N9's modem and its cpu. Signed-off-by: Kai

[PATCH 5/9] HSI: cmt_speech: Cleanup initialisation

2015-03-01 Thread Sebastian Reichel
Cleanup initialisation process, so that its similar to the style used in ssi_protocol driver. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/hsi/clients/cmt_speech.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

[PATCH 4/9] HSI: cmt_speech: Fix build for 4.0 kernel

2015-03-01 Thread Sebastian Reichel
Fix building of the old out-of-tree code. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/hsi/clients/cmt_speech.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/hsi/clients/cmt_speech.c b/drivers/hsi/clients/cmt_speech.c index 56846c9..6d852ea

[PATCH 9/9] HSI: nokia-modem: Add cmt_speech support

2015-03-01 Thread Sebastian Reichel
This adds cmt_speech support to the nokia-modem driver and adds Kconfig entries for cmt_speech, so that it can be built. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/hsi/clients/Kconfig | 11 ++- drivers/hsi/clients/Makefile | 1 +

[PATCH 3/9] HSI: cmt_speech: Return error if HSI port not configured

2015-03-01 Thread Sebastian Reichel
From: Kai Vehmanen kai.vehma...@nokia.com If HSI port is not configured by ssi_protocol, return an error from char device open. Signed-off-by: Kai Vehmanen kai.vehma...@nokia.com Acked-by: Carlos Chinea carlos.chi...@nokia.com Signed-off-by: Joni Lapilainen joni.lapilai...@gmail.com

[PATCH 2/9] HSI: cmt_speech: Avoid GFP_ATOMIC in cs_char_open

2015-03-01 Thread Sebastian Reichel
From: Kai Vehmanen kai.vehma...@nokia.com Also fixes a bug in updating 'opened' state in case cs_hsi_start() fails when opening the char device. Signed-off-by: Kai Vehmanen kai.vehma...@nokia.com Signed-off-by: Joni Lapilainen joni.lapilai...@gmail.com Signed-off-by: Sebastian Reichel

[PATCH 8/9] HSI: cmt_speech: Remove hardcoded channel numbers

2015-03-01 Thread Sebastian Reichel
cmt-speech channel numbers should be coming from Device Tree instead of being hardcoded. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/hsi/clients/cmt_speech.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git

[PATCH 0/9] N900 Modem Speech Support

2015-03-01 Thread Sebastian Reichel
Hi, This patchset contains the missing speech data support for the Nokia N900 modem. Userland access goes via /dev/cmt_speech. The API is implemented in libcmtspeechdata, which is used by ofono and the freesmartphone.org project. Apart from that the device is also used by the phone binaries

[PATCH 6/9] HSI: cmt_speech: Rename driver to cmt-speech

2015-03-01 Thread Sebastian Reichel
Rename driver and platform alias to cmt-speech, so that it's consistent with the ssi-protocol driver. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/hsi/clients/cmt_speech.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/hsi/clients/cmt_speech.c

[PATCH 7/9] HSI: cmt_speech: Move cs-protocol.h to include/uapi/linux/hsi

2015-03-01 Thread Sebastian Reichel
Move cs-protocol.h to include/uapi/linux/hsi, since it describes a userspace API. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/hsi/clients/cmt_speech.c| 2 +- include/uapi/linux/hsi/Kbuild | 2 +- include/{linux = uapi/linux/hsi}/cs-protocol.h |

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

2015-03-01 Thread Paul Walmsley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tony 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/2] ARM: DRA7: hwmod_data: Fix hwmod data for pcie

2015-03-01 Thread Paul Walmsley
On Fri, 20 Feb 2015, Kishon Vijay Abraham I wrote: Fixed hwmod data for pcie by having the correct module mode offset. Previously this module mode offset was part of pcie PHY which was wrong. Now this module mode offset was moved to pcie hwmod and removed the hwmod data for pcie phy. While at

Re: [PATCH 1/2] net: davinci_mdio: add hibernation callbacks

2015-03-01 Thread David Miller
From: grygorii.stras...@linaro.org Date: Fri, 27 Feb 2015 13:19:44 +0200 From: Grygorii Strashko grygorii.stras...@linaro.org Setting a dev_pm_ops suspend_late/resume_early pair but not a set of hibernation functions means those pm functions will not be called upon hibernation. Fix this by

Re: [PATCH 2/2] net: ti: cpsw: add hibernation callbacks

2015-03-01 Thread David Miller
From: grygorii.stras...@linaro.org Date: Fri, 27 Feb 2015 13:19:45 +0200 From: Grygorii Strashko grygorii.stras...@linaro.org Setting a dev_pm_ops suspend/resume pair but not a set of hibernation functions means those pm functions will not be called upon hibernation. Fix this by using

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

2015-03-01 Thread Paul Walmsley
On Mon, 2 Mar 2015, Paul Walmsley wrote: Basic build, boot, and PM test results are available here: http://www.pwsan.com/omap/testlogs/test_v4.0-rc1/2015022439/ Just noticed that I put the wrong URL in the tag. Will fix and send and updated request. - Paul -- To unsubscribe from this

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

2015-03-01 Thread Paul Walmsley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 2/6] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-03-01 Thread Peter Ujfalusi
On 02/28/2015 06:00 PM, Paul Bolle wrote: On Tue, 2015-02-24 at 16:21 +0200, Peter Ujfalusi wrote: The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA

Re: [PATCH 2/2] w1: masters: omap_hdq: Add support for 1-wire mode

2015-03-01 Thread R, Vignesh
Hi, On 2/27/2015 4:04 PM, Arnd Bergmann wrote: On Friday 27 February 2015 16:01:03 Vignesh R wrote: On Friday 27 February 2015 03:25 PM, Arnd Bergmann wrote: On Friday 27 February 2015 14:54:17 Vignesh R wrote: +- compatible : should be ti,omap3-1w or ti,am43xx-hdq Do not use wildcards in

[PATCH RESEND] ARM: dts: OMAP3-N900: Add microphone bias voltages

2015-03-01 Thread Jarkko Nikula
From: Pavel Machek pa...@ucw.cz N900 audio recording needs that codec provides bias voltage for integrated digital microphone and headset microphone depending which one is used. Digital microphone uses 2 V bias and it comes from the codec A part. Codec B part drives the headset microphone bias