[PATCH] clk: mxs: Use a better name for the USB PHY clock

2012-09-22 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Use a better name for the USB PHY clock. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- .../devicetree/bindings/clock/imx23-clock.txt |2 +- .../devicetree/bindings/clock/imx28-clock.txt |4 ++-- drivers/clk/mxs/clk

[PATCH] mfd: da9052-core: Fix request_threaded_irq() parameter

2012-09-26 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com On a mx53qsb dt-kernel the da9052-core driver fails to probe: da9052 1-0048: DA9052 ADC IRQ failed ret=-22 In request_threaded_irq() the first parameter is missing the da9052-irq_base. Fix it and avoid the error. Also define 'DA9052_IRQF

[PATCH v2] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-09-27 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com On a mx53qsb dt-kernel the da9052-core driver fails to probe as follows: da9052 1-0048: DA9052 ADC IRQ failed ret=-22 The reason for the error was due to passing only the offset as the interrupt number in request_threaded_irq(). The recommended

Re: [PATCH v2] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-10-03 Thread Fabio Estevam
On Mon, Oct 1, 2012 at 7:22 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Fri, Sep 28, 2012 at 05:34:18PM -0300, Fabio Estevam wrote: +static struct irq_chip da9052_irq_chip = { + .name = da9052, + .irq_disable= da9052_irq_disable

[RFC 1/3] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com On a mx53qsb dt-kernel the da9052-core driver fails to probe as follows: da9052 1-0048: DA9052 ADC IRQ failed ret=-22 The reason for the error was due to passing only the offset as the interrupt number in request_threaded_irq(). The recommended

[RFC 2/3] mfd: da9052: Introduce da9052-irq.c

2012-10-03 Thread Fabio Estevam
Create a da9052-irq.c file so that it can handle interrupt related operations. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/mfd/Makefile |1 + drivers/mfd/da9052-core.c | 323 + drivers/mfd/da9052-irq.c

[RFC 3/3] Input: da9052_tsi.c: Use the new da9052 irq functions

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Currently da9062_tsi does not probe and it fails as follows: da9052 1-0048: Unable to determine device interrupts Use the new da9052 irq functions and allow the driver to probe successfully. Signed-off-by: Fabio Estevam fabio.este

Re: [RFC 1/3] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-10-03 Thread Fabio Estevam
in this domain as there are in the domain allocated by regmap which is even odder. Thanks for your clarification, Mark. I fixed it and managed to get touchscreen to work now. Will submit the patches shortly. Thanks, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH 1/6] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com On a mx53qsb dt-kernel the da9052-core driver fails to probe as follows: da9052 1-0048: DA9052 ADC IRQ failed ret=-22 The reason for the error was due to passing only the offset as the interrupt number in request_threaded_irq() without da9052

[PATCH 2/6] mfd: da9052: Introduce da9052-irq.c

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Create a da9052-irq.c file so that it can handle interrupt related functions. This is useful for allowing the da9052 drivers to use such functions when dealing with da9052 interrupts. Signed-off-by: Fabio Estevam fabio.este...@freescale.com

[PATCH 4/6] Input: da9052_onkey.c: Convert to the new da9052 interrupt functions.

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Use the new da9052 irq functions and allow the driver to probe successfully. Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-in...@vger.kernel.org Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/input/misc

[PATCH 5/6] power: da9052-battery: Convert to the new da9052 interrupt functions

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Convert to the new da9052 interrupt functions, so that we can get rid of irq_base references. Cc: Anton Vorontsov c...@mail.ru Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Build tested only. drivers/power/da9052-battery.c | 44

[PATCH 6/6] gpio: gpio-da9052: Convert to the new da9052 interrupt functions

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Convert to the new da9052 interrupt functions, so that we can get rid of irq_base references. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Build

[PATCH 3/6] Input: da9052_tsi.c: Fix interrupt handling

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Currently da9062_tsi does not probe and it fails as follows: da9052 1-0048: Unable to determine device interrupts Use the new da9052 irq functions and allow the driver to probe and operate correctly. Tested on mx53qsb board using 'evtest' tool

[PATCH v2 3/6] Input: da9052_tsi.c: Fix interrupt handling

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Currently da9062_tsi does not probe and it fails as follows: da9052 1-0048: Unable to determine device interrupts Use the new da9052 irq functions and allow the driver to probe and operate correctly. Tested on mx53qsb board using 'evtest' tool

Re: [PATCH 0/7] Add support for Freescale's mc34708 to mc13xxx driver

2012-10-04 Thread Fabio Estevam
Hi Samuel, On Wed, Sep 5, 2012 at 11:22 AM, Fabio Estevam feste...@gmail.com wrote: Hi Samuel, On Thu, Jul 12, 2012 at 8:02 PM, Marc Reilly m...@cpdesign.com.au wrote: Hi Uwe, This series was tested on a Phytec pcm038 (mc13783 on spi) using traditional boot (i.e. not dt) and on a i.MX53

[PATCH] sysctl: Fix 'defined but not used' warning

2012-10-05 Thread Fabio Estevam
: 'max_sched_tunable_scaling' defined but not used [-Wunused-variable] Annotate theses variables as '__maybe_unused'. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- kernel/sysctl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index

[PATCH 1/2] sched: fair: Fix 'defined but not used' warning

2012-10-05 Thread Fabio Estevam
that requires CONFIG_SMP to be enabled, make its definition dependent on CONFIG_SMP. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- kernel/sched/fair.c |4 1 file changed, 4 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index f586f17..b75a336 100644

[PATCH 2/2] sched: fair: Fix declared 'static' but never defined warning

2012-10-05 Thread Fabio Estevam
(), declare it sooner to avoid the warning in the !CONFIG_SMP case. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- kernel/sched/fair.c | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c

[PATCH] ata: sata_highbank: Fix section mismatch

2012-10-07 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Building multi_v7_defconfig leads to the following warning: WARNING: vmlinux.o(.data+0xf7d8): Section mismatch in reference from the variable ahci_highbank_driver to the function .init.text:ahci_highbank_probe() The variable ahci_highbank_driver

Re: [PATCH 6/6] gpio: gpio-da9052: Convert to the new da9052 interrupt functions

2012-10-08 Thread Fabio Estevam
Hi Linus, On Mon, Oct 8, 2012 at 3:20 AM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Oct 4, 2012 at 5:15 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Convert to the new da9052 interrupt functions, so that we can get rid of irq_base

[PATCH] video: imxfb: Do not crash on reboot

2012-10-08 Thread Fabio Estevam
can check if the clocks are enabled before disabling them. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/video/imxfb.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/video/imxfb.c b/drivers/video/imxfb.c index f3363b2

[PATCH v2] video: imxfb: Do not crash on reboot

2012-10-08 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Issuing a reboot command after the LCD times out causes the following warnings: Requesting system reboot [ cut here ] WARNING: at drivers/clk/clk.c:471 clk_disable+0x24/0x50() Modules linked in: [c001ad90] (unwind_backtrace

Re: [PATCH 6/6] gpio: gpio-da9052: Convert to the new da9052 interrupt functions

2012-10-09 Thread Fabio Estevam
series, please? Thanks, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v3] video: imxfb: Do not crash on reboot

2012-10-09 Thread Fabio Estevam
can check if the clocks are enabled before disabling them. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v2: - Use a better naming for the clk enabled variable - Return immediately in imxfb_enable_controller/imxfb_disable_controller if the the clocks are already enabled

[PATCH] regmap: Fix printing of size_t variable

2012-10-25 Thread Fabio Estevam
val_bytes is of 'size_t', so it should be printed as '%zu'. Fixes the following build warning on x86: drivers/base/regmap/regmap.c:872:4: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat] Signed-off-by: Fabio Estevam fabio.este...@freescale.com

Re: [PATCH 0/7] Add support for Freescale's mc34708 to mc13xxx driver

2012-10-27 Thread Fabio Estevam
still do not see it applied in your 'for-next-merge' branch. I will add mc34708 touchscreen support and need Uwe's series to be applied. Thanks, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/6] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-11-12 Thread Fabio Estevam
Hi Samuel, On Thu, Oct 4, 2012 at 8:26 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, Oct 04, 2012 at 12:15:04AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com On a mx53qsb dt-kernel the da9052-core driver fails to probe as follows: da9052 1

[PATCH] [media] coda: Fix build due to iram.h rename

2012-11-14 Thread Fabio Estevam
: error: implicit declaration of function 'iram_free Since the content of iram.h is not imx specific, move it to include/linux/iram.h instead. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/mach-imx/iram_alloc.c |3 +-- drivers/media/platform/coda.c

[PATCH] lib: decompress_unlzo: Change include file name

2012-10-14 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Commit 7c979cebc (lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c) renamed lzo1x_decompress.c file, but missed to update lib/decompress_unlzo.c, which breaks imx_v6_v7_defconfig build: arch/arm/boot/compressed/../../../../lib

Re: [PATCH v2 3/6] Input: da9052_tsi.c: Fix interrupt handling

2012-10-16 Thread Fabio Estevam
Hi Dmitry, On Thu, Oct 4, 2012 at 1:21 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Currently da9062_tsi does not probe and it fails as follows: da9052 1-0048: Unable to determine device interrupts Use the new da9052 irq functions and allow

Re: [PATCH] ata: sata_highbank: Fix section mismatch

2012-10-18 Thread Fabio Estevam
Jeff, On Sun, Oct 7, 2012 at 7:46 PM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Building multi_v7_defconfig leads to the following warning: WARNING: vmlinux.o(.data+0xf7d8): Section mismatch in reference from the variable ahci_highbank_driver

[PATCH v2 1/2] ARM: multi_v7_defconfig: Add ARCH_MXC

2012-10-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Let ARCH_MXC be covered by multi_v7_defconfig. Allow booting mx6 via NFS. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Provide a more complete config that allows booting mx6 via NFS arch/arm/configs

[PATCH v2 2/2] mfd: Kconfig: Let MFD_SYSCON select REGMAP

2012-10-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Building multi_v7_defconfig for mx6 causes the following build error: CC drivers/mfd/syscon.o drivers/mfd/syscon.c:94: error: variable 'syscon_regmap_config' has initializer but incomplete type drivers/mfd/syscon.c:95: error: unknown field

Re: [PATCH] ARM: mx28: add dma channels for all auarts

2013-04-19 Thread Fabio Estevam
Hi Eric, On Fri, Apr 19, 2013 at 12:05 PM, Eric Bénard e...@eukrea.com wrote: Only auart0 was filled. Tested on a custom i.MX283 board for ttyAPP1/2/3/4. Signed-off-by: Eric Bénard e...@eukrea.com --- arch/arm/boot/dts/imx28.dtsi | 4 1 file changed, 4 insertions(+) diff --git

Re: IMX23 usb instability on 3.9-rc5

2013-04-06 Thread Fabio Estevam
Alexandre, On Sat, Apr 6, 2013 at 4:39 PM, Alexandre Pereira da Silva aletes@gmail.com wrote: Hello, I am testing a usb key connected on a IMX23-Olinuxino board. The kernel panics at heavy usb trafic. This was build with the mxs defconfig This happens everytime with dd if=/dev/sda

[PATCH] clocksource: mxs_timer: Add semicolon at end of line

2013-04-02 Thread Fabio Estevam
Fix the following build error: drivers/clocksource/mxs_timer.c:304:1: error: expected ',' or ';' at end of input Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/clocksource/mxs_timer.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

Re: [PATCH] clocksource: mxs_timer: Add semicolon at end of line

2013-04-02 Thread Fabio Estevam
On Tue, Apr 2, 2013 at 11:56 PM, Shawn Guo shawn@linaro.org wrote: Ok, I'm seeing the error now on linux-next. It's not about compiler but the commit 3d5a965 (clocksource: make CLOCKSOURCE_OF_DECLARE type safe), which removes the semicolon at end of the CLOCKSOURCE_OF_DECLARE definition.

Re: [PATCH] dma: ipu: ipu_idmac: Fix section mismatch

2013-03-19 Thread Fabio Estevam
Hi Vinod, On Wed, Mar 13, 2013 at 9:39 PM, Maxin B. John maxin.j...@gmail.com wrote: On Wed, Mar 13, 2013 at 1:53 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Since commit 84c1e63c12 (dma: Remove erroneous __exit and __exit_p() references

Re: BUG: soft lockup when recording audio on MX28EVK with ASoC sgtl5000

2013-03-25 Thread Fabio Estevam
arecord/aplay sequence several times. I don't have a cable handy here to actually test if the sound is recorded properly or not. Could you please test it against 3.8.4? Thanks, Fabio Estevam 0001-Do-not-check-busy.patch Description: Binary data

Re: BUG: soft lockup when recording audio on MX28EVK with ASoC sgtl5000

2013-03-25 Thread Fabio Estevam
Hector, On Mon, Mar 25, 2013 at 4:31 PM, Fabio Estevam feste...@gmail.com wrote: Hi Hector, On Mon, Mar 25, 2013 at 7:52 AM, Hector Palacios hector.palac...@digi.com wrote: Hello, I just tried recording audio on Freescale's MX28EVK that uses ASoC sgtl5000 (kernel v3.8

Re: [PATCH] ARM: imx: replace width with mask for clk_busy_mux

2013-03-26 Thread Fabio Estevam
Hi Mike, On Tue, Mar 26, 2013 at 4:38 PM, Mike Turquette mturque...@linaro.org wrote: The recent addition of table-based parent lookups[1] in the common clk_mux implementation removed the width member of struct clk_mux and replaced it with an arbitrary mask. This broke compilation for i.MX

Re: [PATCH] ARM: imx: fix typo DEBUG_IMX50_IMX53_UART

2013-03-11 Thread Fabio Estevam
: commit 7356420cd34e40fe27bf26555b0bf3f2849a43dd Author: Fabio Estevam fabio.este...@freescale.com Date: Tue Jan 22 10:40:55 2013 -0200 ARM: imx: Remove mx508 support Only mx508 based board is mach-mx50_rdp and it has been marked as BROKEN for several releases. mx508 currently lacks

Re: [PATCH] ARM: imx: fix typo DEBUG_IMX50_IMX53_UART

2013-03-11 Thread Fabio Estevam
On Mon, Mar 11, 2013 at 10:47 AM, Paul Bolle pebo...@tiscali.nl wrote: That's not correct: $ git grep -n DEBUG_IMX50_IMX53_UART v3.9-rc2 v3.9-rc2:arch/arm/Kconfig.debug:495: DEBUG_IMX50_IMX53_UART || \ Yes, you are right. I missed to remove

[PATCH 1/2] w1: mxc_w1: Convert to devm_ioremap_resource()

2013-03-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com According to Documentation/driver-model/devres.txt: devm_request_and_ioremap() : obsoleted by devm_ioremap_resource() Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/w1/masters/mxc_w1.c |6 +++--- 1 file changed, 3

[PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_W1_MASTER_MXC

2013-03-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Select CONFIG_W1_MASTER_MXC. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/configs/imx_v6_v7_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs

[PATCH] dma: mxs-dma: Convert to devm_ioremap_resource()

2013-03-11 Thread Fabio Estevam
Converting to devm_ioremap_resource() can make the code cleaner and smaller. Signed-off-by: Fabio Estevam feste...@gmail.com --- drivers/dma/mxs-dma.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index

[PATCH] video: mxsfb: Convert to devm_ioremap_resource()

2013-03-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Converting to devm_ioremap_resource() can make the code cleaner and smaller. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/video/mxsfb.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff

Re: [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_W1_MASTER_MXC

2013-03-12 Thread Fabio Estevam
Hi Greg, On Tue, Mar 12, 2013 at 8:24 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Mar 11, 2013 at 08:18:16PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Select CONFIG_W1_MASTER_MXC. Why? Don't tell me what you did, that's obvious, it's the story

[PATCH] dma: ipu: ipu_idmac: Fix section mismatch

2013-03-12 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Since commit 84c1e63c12 (dma: Remove erroneous __exit and __exit_p() references) the following section mismatch happens: WARNING: drivers/built-in.o(.text+0x20f94): Section mismatch in reference from the function ipu_remove() to the function

[PATCH] hw_random: mxc-rnga: Use devm_ioremap_resource()

2013-03-12 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Using devm_ioremap_resource() can make the code cleaner and simpler. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/char/hw_random/mxc-rnga.c | 21 - 1 file changed, 4 insertions(+), 17 deletions

[PATCH] clk: mxs: Fix sparse warnings

2013-02-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Fix the following sparse warnings: drivers/clk/mxs/clk.c:17:1: warning: symbol 'mxs_lock' was not declared. Should it be static? drivers/clk/mxs/clk.c:19:5: warning: symbol 'mxs_clk_wait' was not declared. Should it be static? Signed-off

[PATCH 1/2] mfd: syscon: Fix sparse warning

2013-02-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Fix the following sparse warnings: drivers/mfd/syscon.c:40:15: warning: symbol 'syscon_node_to_regmap' was not declared. Should it be static? drivers/mfd/syscon.c:56:15: warning: symbol 'syscon_regmap_lookup_by_compatible' was not declared

[PATCH 2/2] mfd: da9052-i2c: Staticize da9052_i2c_fix()

2013-02-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com da9052_i2c_fix() is only used locally, so let it be static. Fix the following sparse warning: drivers/mfd/da9052-i2c.c:63:5: warning: symbol 'da9052_i2c_fix' was not declared. Should it be static? Cc: Ashish Jangam ashish.jan...@kpitcummins.com

[PATCH] regmap: Include linux/sched.h header

2013-02-03 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 0e8c0234b2 (regmap: Add asynchronous I/O support) introduced the following build error: drivers/base/regmap/regmap.c:1656:32: error: 'TASK_NORMAL' undeclared (first use in this function) drivers/base/regmap/regmap.c:1688:271: error

Re: [PATCH v2] sched: Fix print format for u64

2013-01-24 Thread Fabio Estevam
On Thu, Jan 24, 2013 at 12:19 PM, Ingo Molnar mi...@kernel.org wrote: I suppose - is this patch warning-free both on 64-bit and 32-bit systems? Yes, just confirmed that this patch is warning-free on both 64-bit and 32-bit machines. Regards, Fabio Estevam -- To unsubscribe from this list

[PATCH] sched: debug: Promote atomic64_read to u64 for printing

2013-01-27 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 2d58000fd (sched: Fix print format for u64) introduced the following build warning for x86_64: kernel/sched/debug.c: In function 'print_cfs_rq': kernel/sched/debug.c:225:2: warning: format '%llu' expects argument of type 'long long

Re: [PATCH 06/15] clk: export __clk_get_name

2013-01-22 Thread Fabio Estevam
On Mon, Jan 21, 2013 at 3:15 PM, Arnd Bergmann a...@arndb.de wrote: The __clk_get_name is used by drivers that provide their own clocks, which have traditionally all been built-in. The new imx drm driver however provides clocks but can be built as a module, so we need to export __clk_get_name.

Re: [PATCH] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-16 Thread Fabio Estevam
On Wed, Jan 16, 2013 at 6:34 PM, Luciano Coelho coe...@ti.com wrote: +static int wilink_st_init(void) +{ + int status; + + status = gpio_request(GPIO_BT_EN, kim); + if (status) { + pr_err(%s: failed to request gpio %d\n, __func__, +

[PATCH] serial: imx: Remove unused 'tty' variable

2013-01-17 Thread Fabio Estevam
Commit 2e124b4a39 (TTY: switch tty_flip_buffer_push) introduced the following build warning: drivers/tty/serial/imx.c:519:21: warning: unused variable 'tty' [-Wunused-variable] Remove the unused 'tty' variable. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/tty/serial

Re: [PATCH 6/9] drm/pci: move drm_pcie_get_speed_cap_mask inside #ifdef CONFIG_PCI

2013-02-14 Thread Fabio Estevam
On Thu, Feb 14, 2013 at 8:26 PM, Arnd Bergmann a...@arndb.de wrote: commit dd66cc2e1 drm/pci: Use PCI Express Capability accessors introduced the use of the pcie_capability_read_dword function in the drm_pci code, which is only defined when PCI is enabled. While most of the file is already

Re: [PATCH 2/2] of: use platform_device_add

2013-02-17 Thread Fabio Estevam
On Sun, Feb 17, 2013 at 4:43 AM, Shawn Guo shawn@linaro.org wrote: On Sun, Feb 17, 2013 at 11:03:35AM +0800, Shawn Guo wrote: On Fri, Jan 18, 2013 at 01:40:00AM +, Grant Likely wrote: This allows platform_device_add a chance to call insert_resource on all of the resources from OF. At

Re: Question about fixed-clock

2013-02-18 Thread Fabio Estevam
Hi Daniel, On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack zon...@gmail.com wrote: Hi, This might be a stupid question, but I'm somehow stuck here. I'm using a driver with the following DTS sub-node: ref25: ref25M { compatible = fixed-clock;

[PATCH] block: partitions: efi: Typecast sizeof(gpt_header)

2013-02-20 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Since commit ef25bb0fa6e2 (block/partitions/efi.c: ensure that the GPT header is at least the size of the structure.) , when building for a 32-bit architecture, such as ARM, the following build warning is seen: block/partitions/efi.c:324:3

[PATCH v2 1/3] w1: mxc_w1: Adapt the clock name to the new clock framework

2012-09-06 Thread Fabio Estevam
With the new i.mx clock framework the mxc_w1 clock is registered as: clk_register_clkdev(clk[owire_gate], NULL, mxc_w1.0 So we do not need to pass owire string and can use NULL instead. While at it, also fix the clock error handling code. Signed-off-by: Fabio Estevam fabio.este

Re: [PATCH 01/11] ARM: defconfig: Remove CONFIG_MISC_DEVICES

2012-09-06 Thread Fabio Estevam
Hi Arnd, On Sat, Aug 18, 2012 at 3:08 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 18 August 2012, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed CONFIG_MISC_DEVICES option, so remove

Re: [PATCH 4/4] efikamx: remove Efika MX-specific CHRGVBUS hack from the USB driver

2012-09-09 Thread Fabio Estevam
You should Cc linux-usb list and the USB maintainer on this one. Regards, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: [PATCH 01/11] ARM: defconfig: Remove CONFIG_MISC_DEVICES

2012-09-21 Thread Fabio Estevam
Hi Arnd, On Thu, Sep 6, 2012 at 7:25 PM, Fabio Estevam feste...@gmail.com wrote: I am not sure who would pick up this series. Is it possible for you to apply these patches? Is this something you can help with? Regards, Fabio Estevam -- To unsubscribe from this list: send the line

Re: [PATCH 01/11] ARM: defconfig: Remove CONFIG_MISC_DEVICES

2012-09-21 Thread Fabio Estevam
7c5763 I think we should get rid of CONFIG_MISC_DEVICES completely. I saw that the ia64 Intel patch from this series was already applied into mainline and I also got some other Acks from different architectures. Regards, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH 05/24] ARM: imx: use __iomem pointers for MMIO

2012-09-14 Thread Fabio Estevam
); */ Good catch, the correct access would be: __raw_readl(mx3_ccm_base + MXC_CCM_RCSR) ... I will fix this after your series reaches linux-next. Regards, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] dma: imx-dma: Fix kernel crash due to missing clock conversion

2012-07-27 Thread Fabio Estevam
On Fri, Jul 27, 2012 at 12:17 AM, Vinod Koul vinod.k...@linux.intel.com wrote: Reported-by: Javier Martin javier.mar...@vista-silicon.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com Applied thanks (to fixes-for 3.7) You mentioned that you would also copy stable. Would

[PATCH v2 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-07-27 Thread Fabio Estevam
@vger.kernel.org Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Converted a missing 'clk_disable' to 'clk_disable_unprepare' drivers/char/hw_random/mxc-rnga.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/char/hw_random

[PATCH v2 2/2] hw_random: mxc-rnga: Access data via structure

2012-07-27 Thread Fabio Estevam
herb...@gondor.apana.org.au Cc: linux-kernel@vger.kernel.org Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - No changes. Newly introduced in this version drivers/char/hw_random/mxc-rnga.c | 108 +--- 1 files changed, 51 insertions

Re: [PATCH 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-07-27 Thread Fabio Estevam
On Mon, Jul 9, 2012 at 4:41 AM, Sascha Hauer s.ha...@pengutronix.de wrote: Uhh, that's a driver bug that should be fixed. Although right now there is no reference counting for clocks, the driver should keep the clk internally instead of simply calling clk_get whenever it needs access to a

Re: [PATCH] dma: imx-dma: Fix kernel crash due to missing clock conversion

2012-07-31 Thread Fabio Estevam
On Tue, Jul 31, 2012 at 3:46 AM, Vinod Koul vinod.k...@linux.intel.com wrote: This patch will appear in 3.7-rc2 when I send the fixes to Linus post rc1, I guess early next week. I guess you mean 3.6-rc2, right? Stable guys will pick this and apply to 3.6.X version. I guess you mean 3.5.x,

Re: [ASoC] Fix: Revert 'ASoC: imx-ssi: Remove mono support'.

2012-09-03 Thread Fabio Estevam
-by: Fabio Estevam fabio.este...@freescale.com Sorry for breaking this. Ok, I managed to fix the original issue inside the mc13783 codec driver and just sent a patch. Thanks, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH v2 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-09-03 Thread Fabio Estevam
Herbert, On Fri, Aug 3, 2012 at 12:10 PM, Fabio Estevam feste...@gmail.com wrote: Hi Herbert, On Tue, Jul 31, 2012 at 3:40 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Fri, Jul 27, 2012 at 01:47:51PM -0300, Fabio Estevam wrote: Adapt clocks to the new i.mx clock framework and fix

[PATCH v3 2/2] hw_random: mxc-rnga: Access data via structure

2012-09-04 Thread Fabio Estevam
-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v2: - Added Ack and Cc maintainer (Herbert) Changes since v1: - No changes. Newly introduced in this version drivers/char/hw_random/mxc-rnga.c | 108 ++--- 1 file changed, 51 insertions(+), 57

[PATCH v3 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-09-04 Thread Fabio Estevam
[80027190] (do_exit+0x0/0x7ec) ---[ end trace 4198eed02050f461 ]--- Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v2: - Added Ack and Cc maintainer (Herbert) Changes since v1: - Converted a missing 'clk_disable' to 'clk_disable_unprepare drivers/char/hw_random/mxc-rnga.c

[PATCH v3 2/2] hw_random: mxc-rnga: Access data via structure

2012-09-04 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com In current driver, everytime we need to access the rng clock ,ie to enable or disable it, a call to clk_get is done. This is not correct and the preferred way is to provide a rng data structure that could be used for accessing rng resources. Acked

[PATCH v3 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-09-04 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Adapt clocks to the new i.mx clock framework and fix the following warning: [ cut here ] WARNING: at drivers/clk/clk.c:511 __clk_enable+0x9c/0xac() Modules linked in: Backtrace: [800124c8] (dump_backtrace+0x0/0x10c) from

Re: [PATCH 0/7] Add support for Freescale's mc34708 to mc13xxx driver

2012-09-05 Thread Fabio Estevam
...@cpdesign.com.au Can this series be applied? Regards, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[PATCH 1/3] w1: mxc_w1: Adapt the clock name to the new clock framework

2012-09-05 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com With the new i.mx clock framework the mxc_w1 clock is registered as: clk_register_clkdev(clk[owire_gate], NULL, mxc_w1.0 So we do not need to pass owire string and can use NULL instead. Signed-off-by: Fabio Estevam fabio.este...@freescale.com

[PATCH 2/3] w1: mxc_w1: Fix comment

2012-09-05 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com We are dealing with mxc_w1 registers. While at it use dev_err() instead. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/w1/masters/mxc_w1.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1

[PATCH 3/3] w1: mxc_w1: Convert to platform driver

2012-09-05 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Using module_platform_driver() makes the code smaller and cleaner. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/w1/masters/mxc_w1.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git

Re: [PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-08 Thread Fabio Estevam
I have already sent a fix for this to the mtd list: https://patchwork.kernel.org/patch/1236551/ Regards, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-08 Thread Fabio Estevam
, Could https://patchwork.kernel.org/patch/1236551/ be applied? Thanks, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH] efikamx: reintroduce Genesi Efika MX Smarttop via device tree

2012-08-08 Thread Fabio Estevam
/boot/ imx51-babbage.dtb arch/arm/boot/zImage_dtb mkimage -A arm -O linux -T kernel -C none -a 0x90008000 -e 0x90008000 -n Linux -d arch/arm/boot/zImage_dtb arch/arm/boot/uImage and boot this generated uImage the same way as you used to do in the non-dt case. Regards, Fabio Estevam

Re: SLAVE Side SPI kernel driver development

2012-08-24 Thread Fabio Estevam
/msg190860.html Regards, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/7] Add support for Freescale's mc34708 to mc13xxx driver

2012-08-02 Thread Fabio Estevam
can easily test it on a mx53loco board? Thanks, Fabio Estevam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH v2 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-08-03 Thread Fabio Estevam
Hi Herbert, On Tue, Jul 31, 2012 at 3:40 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Fri, Jul 27, 2012 at 01:47:51PM -0300, Fabio Estevam wrote: Adapt clocks to the new i.mx clock framework and fix the following warning: Cc: Theodore Ts'o ty...@mit.edu Cc: Herbert Xu herb

[PATCH 2/2] pwm: pwm-imx: Provide information that driver is registered

2012-08-06 Thread Fabio Estevam
It is useful to have a message indicating that the pwm driver has been successfully registered. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/pwm/pwm-imx.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm

[PATCH 1/2] pwm: pwm-mxs: Provide information that driver is registered

2012-08-06 Thread Fabio Estevam
It is useful to have a message indicating that the pwm driver has been successfully registered. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/pwm/pwm-mxs.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm

[PATCH 01/11] ARM: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed CONFIG_MISC_DEVICES option, so remove the occurrences from the config files as well. Cc: linux-arm-ker...@lists.infradead.org Cc: Arnd Bergmann a...@arndb.de Signed-off

[PATCH 08/11] powerpc: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed CONFIG_MISC_DEVICES option, so remove the occurrences from the config files as well Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Kumar Gala ga

[PATCH 09/11] score: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed CONFIG_MISC_DEVICES option, so remove the occurrences from the config files as well Cc: Chen Liqin liqin.c...@sunplusct.com Cc: Lennox Wu lennox...@gmail.com Signed-off

[PATCH 10/11] sh: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed CONFIG_MISC_DEVICES option, so remove the occurrences from the config files as well Cc: Paul Mundt let...@linux-sh.org Signed-off-by: Fabio Estevam fabio.este

[PATCH 11/11] xtensa: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed CONFIG_MISC_DEVICES option, so remove the occurrences from the config files as well Cc: Chris Zankel ch...@zankel.net Cc: Max Filippov jcmvb...@gmail.com Signed-off-by: Fabio

[PATCH 04/11] C6X: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed CONFIG_MISC_DEVICES option, so remove the occurrences from the config files as well Cc: Mark Salter msal...@redhat.com Signed-off-by: Fabio Estevam fabio.este

[PATCH 03/11] blackfin: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-18 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed CONFIG_MISC_DEVICES option, so remove the occurrences from the config files as well Cc: Mike Frysinger vap...@gentoo.org Cc: uclinux-dist-de...@blackfin.uclinux.org Signed

  1   2   3   4   5   6   7   8   9   10   >