Re: [PATCH 2/2] memory: omap-gpmc: Add Kconfig option for debug

2016-01-06 Thread Pali Rohár
19 ns - 24 ns; 4 ticks */ > Jan 6 10:34:16 Nokia-N900 kernel: [2.710601] gpmc,adv-on-ns = <0> /* 0 > ns - 0 ns; 0 ticks */ > Jan 6 10:34:16 Nokia-N900 kernel: [2.716552] gpmc,adv-rd-off-ns = <0> > /* 0 ns - 0 ns; 0 ticks */ > Jan 6 10:34:16 Nokia-N90

Re: Nokia N900: Broken lirc ir-rx51 driver

2016-01-05 Thread Pali Rohár
On Saturday 02 January 2016 09:06:57 Tony Lindgren wrote: > Hi, > > * Pali Rohár <pali.ro...@gmail.com> [160102 06:46]: > > --- a/drivers/media/rc/ir-rx51.c > > +++ b/drivers/media/rc/ir-rx51.c > > @@ -25,9 +25,9 @@ > > #include > > #include >

Re: Nokia N900: Adjust MPU OPP values

2016-01-05 Thread Pali Rohár
On Saturday 02 January 2016 14:38:36 Nishanth Menon wrote: > On 01/02/2016 11:16 AM, Tony Lindgren wrote: > > * Pali Rohár <pali.ro...@gmail.com> [160102 06:31]: > >> Hello, > >> > >> MPU OPP table table (omap36xx_vddcore_volt_data) defined in > >

Re: [PATCH 2/2] memory: omap-gpmc: Add Kconfig option for debug

2016-01-05 Thread Pali Rohár
o. > > [1.915557] gpmc cs0 after gpmc_cs_set_timings: > [1.920410] cs0 GPMC_CS_CONFIG1: 0xfb001201 > > Looks like in the failing case the clock rates are not properly > calculated in GPMC and GPMCFCLKDIVIDER is set wrong in > GPMC_CS_CONFIG1. Need to look at it m

Re: [PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

2016-01-05 Thread Pali Rohár
then it would make sense to add that #thermal line together with thermal zone defines... -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/5] arm: devtree: Set system_rev from DT "/revision"

2016-01-05 Thread Pali Rohár
o, set system_rev only for Nokia N900? At same place where is called save_atags()? -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Nokia N900 - audio TPA6130A2 problems

2016-01-04 Thread Pali Rohár
e kernel? If you remove the other drivers for the > devices on i2c.2? Hi Peter and Jarkko! Do you have some code samples for testing? Or something else which I can test? This problem is still reproducible on more N900 devices and I would like to see it fixed. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH 2/2] memory: omap-gpmc: Add Kconfig option for debug

2016-01-04 Thread Pali Rohár
Maybe something with simple initramfs could work, but really if you have serial console for N900 it should be for you lot of easier to get it. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Nokia N900: twl4030-power different data in DTS and board code

2016-01-02 Thread Pali Rohár
ed to DTS. Tony, can you look at this at all? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Nokia N900: Adjust MPU OPP values

2016-01-02 Thread Pali Rohár
to device tree, is there any way how correct MPU OOP table for Nokia N900 could be defined in DT file? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Nokia N900: Broken lirc ir-rx51 driver

2016-01-02 Thread Pali Rohár
1 module for Nokia N900. Do you know how to fix this driver for upstream kernel? It would be great to have driver working and not to have it in this dead state... Also platform data for this driver are only in legacy board code. Support in DTS is missing, so driver (after fixing above problem)

Nokia N900: Proper C-states

2016-01-02 Thread Pali Rohár
://github.com/pali/linux-n900/commit/e147fd4b678f1f3d7a5235287910960bd41e04dc As Nokia N900 code is converting from legacy board code to DST, I would like to know how to patch correctly omap3_idle_driver in DTS with correct values measured for Nokia N900. Thanks! -- Pali Rohár pali.ro...@gmail.com

Re: [PATCH 1/2] mmc: omap_hsmmc: Add support for slot-name property in DT

2016-01-02 Thread Pali Rohár
On Monday 28 December 2015 15:55:28 Arnd Bergmann wrote: > On Monday 28 December 2015 15:54:35 Pali Rohár wrote: > > On Monday 28 December 2015 15:41:01 Arnd Bergmann wrote: > > > On Monday 28 December 2015 15:28:48 Pali Rohár wrote: > > > > On Monday 28 December 201

Re: [PATCH 1/2] mmc: omap_hsmmc: Add support for slot-name property in DT

2016-01-02 Thread Pali Rohár
On Saturday 02 January 2016 23:57:47 Arnd Bergmann wrote: > On Saturday 02 January 2016 16:22:03 Pali Rohár wrote: > > On Monday 28 December 2015 15:55:28 Arnd Bergmann wrote: > > > On Monday 28 December 2015 15:54:35 Pali Rohár wrote: > > > > > I m

Re: Nokia N900: twl4030-power different data in DTS and board code

2016-01-02 Thread Pali Rohár
On Saturday 02 January 2016 18:14:31 Tony Lindgren wrote: > * Pali Rohár <pali.ro...@gmail.com> [160102 06:14]: > > Hello, > > > > now I'm looking at differences between legacy board code and DTS > > file for Nokia N900 and I see some inconsistency for twl4030-po

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-01-01 Thread Pali Rohár
; + > + return 0; > +} > + > +static int __init early_omapfb_memsize(char *p) > +{ > + omapfb_mem_size = ALIGN(memparse(p, ), SZ_1M); > + > + if(!omapfb_mem_size) > + pr_err("omapfb: bad memsize parameter\n"); > + > + return 0; > } > +early_param("omapfb_memsize", early_omapfb_memsize); > #else > int __init omap_init_fb(void) { return 0; } > #endif -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH 1/2] mmc: omap_hsmmc: Add support for slot-name property in DT

2015-12-28 Thread Pali Rohár
On Monday 28 December 2015 15:14:50 Arnd Bergmann wrote: > On Friday 25 December 2015 13:53:11 Pali Rohár wrote: > > On Monday 18 May 2015 17:07:57 Arnd Bergmann wrote: > > > On Monday 18 May 2015 08:06:07 Tony Lindgren wrote: > > > > * Arnd Bergmann

Re: [PATCH 1/2] mmc: omap_hsmmc: Add support for slot-name property in DT

2015-12-28 Thread Pali Rohár
On Monday 28 December 2015 15:41:01 Arnd Bergmann wrote: > On Monday 28 December 2015 15:28:48 Pali Rohár wrote: > > On Monday 28 December 2015 15:14:50 Arnd Bergmann wrote: > > > On Friday 25 December 2015 13:53:11 Pali Rohár wrote: > > > > On Monday 18 May 201

Re: [PATCH 1/2] mmc: omap_hsmmc: Add support for slot-name property in DT

2015-12-25 Thread Pali Rohár
On Monday 18 May 2015 17:07:57 Arnd Bergmann wrote: > On Monday 18 May 2015 08:06:07 Tony Lindgren wrote: > > * Arnd Bergmann <a...@arndb.de> [150515 14:26]: > > > On Friday 15 May 2015 23:22:37 Pali Rohár wrote: > > If setting up the generic binding is expecte

[PATCH] ARM: dts: n900: Include adp1653 device

2015-12-25 Thread Pali Rohár
This patch adds adp1653 device into n900 DT structure. DT support in adp1653 driver is there since v4.2-rc1 version. Signed-off-by: Pali Rohár <pali.ro...@gmail.com> --- arch/arm/boot/dts/omap3-n900.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/bo

[PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

2015-12-25 Thread Pali Rohár
Driver for omap3 with documentation is there since v4.4-rc1. Signed-off-by: Pali Rohár <pali.ro...@gmail.com> --- arch/arm/boot/dts/omap34xx.dtsi |5 + arch/arm/boot/dts/omap36xx.dtsi |5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap34xx.dtsi b/ar

Re: [PATCH 1/5] arm: devtree: Set system_rev from DT "/revision"

2015-12-24 Thread Pali Rohár
On Monday 06 July 2015 22:26:09 Pali Rohár wrote: > With this patch "/revision" DT entry is used to set global system_rev > variable. DT "/revision" is expected to be u32 numeric value. > > TODO: add documentation > > Signed-off-by: Pali Rohár <pali.

Re: [PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Pali Rohár
On Thursday 24 December 2015 17:37:55 Ivaylo Dimitrov wrote: > So it can be used by code outside arch/arm/kernel/. Fix save_atags() > declaration to match its definition while at it. > > Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> Tested-by: Pali Rohár <

Re: [PATCH 2/2] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Pali Rohár
ported later in /proc/atags > > Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> Working fine in qemu. Tested-by: Pali Rohár <pali.ro...@gmail.com> -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-12-15 Thread Pali Rohár
On Monday 30 November 2015 11:09:42 Nicolas Pitre wrote: > On Mon, 30 Nov 2015, Pali Rohár wrote: > > > On Monday 30 November 2015 07:23:53 Tony Lindgren wrote: > > > * Pali Rohár <pali.ro...@gmail.com> [151129 16:16]: > > > > On Monday 30 Nov

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-30 Thread Pali Rohár
On Monday 30 November 2015 07:23:53 Tony Lindgren wrote: > * Pali Rohár <pali.ro...@gmail.com> [151129 16:16]: > > On Monday 30 November 2015 01:09:17 Nicolas Pitre wrote: > > > On Sun, 29 Nov 2015, Russell King - ARM Linux wrote: > > > > On Sat, Nov 28, 201

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-29 Thread Pali Rohár
ebody (do not remember who) wrote to ML, > > that it is not possible and it can be done in that uncompress > > code. > > So you're converging on an idea that has already been rejected. > That's not a good thing, IMHO. Or in other case show that such implementation is possible... -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-29 Thread Pali Rohár
ne in that uncompress > > > code. > > Who is that somebody? If ever it happened to be me then objection is > withdrawn. Otherwise that somebody should come forth and speak up > again. > ... do not remember ... this discussion were in more email threads and takes more then one year... sorry but my memory is not excellent -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-27 Thread Pali Rohár
tions (based on usb charger we enter different runlevel -- for just only charging device). -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vge

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-26 Thread Pali Rohár
y file. And if yes how? I was not thinking about this approach because somebody in past wrote that this is not possible... -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-25 Thread Pali Rohár
estion about proper solution reminds... Proprietary bootloader which cannot be replaced (e.g. it is signed or do unknown magic) provides information to booted kernel via custom specific ATAGs fields. How userspace could properly read those custom information from bootloader? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-25 Thread Pali Rohár
On Wednesday 25 November 2015 22:51:00 Arnd Bergmann wrote: > On Wednesday 25 November 2015 22:44:28 Pali Rohár wrote: > > Arnd, my question about proper solution reminds... Proprietary > > bootloader which cannot be replaced (e.g. it is signed or do > > unknown magic)

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-23 Thread Pali Rohár
11/5/2015 8:17 AM, Tony Lindgren wrote: > > > * Pali Rohár <pali.ro...@gmail.com> [151105 03:41]: > > >> On Tuesday 13 October 2015 16:37:46 Pali Rohár wrote: > > >>> On Monday 12 October 2015 13:45:09 Tony Lindgren wrote: > > >>>> * Pali Rohá

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-05 Thread Pali Rohár
On Tuesday 13 October 2015 16:37:46 Pali Rohár wrote: > On Monday 12 October 2015 13:45:09 Tony Lindgren wrote: > > * Pali Rohár <pali.ro...@gmail.com> [151012 13:29]: > > > On Monday 12 October 2015 22:16:40 Tony Lindgren wrote: > > > > > > >

Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default

2015-10-14 Thread Pali Rohár
cawake gpio (err=-2)" > > As omap3-n900 uses one SSI port, mark it enabled there. > Sebastian, why is second SSI port disabled on N900? It is not used or in DTS file are missing some definitions? -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line &q

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-10-13 Thread Pali Rohár
On Monday 12 October 2015 13:45:09 Tony Lindgren wrote: > * Pali Rohár <pali.ro...@gmail.com> [151012 13:29]: > > On Monday 12 October 2015 22:16:40 Tony Lindgren wrote: > > > > > > Pali, any news on posting an updated series with the comments > > > addr

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-10-12 Thread Pali Rohár
On Monday 12 October 2015 22:16:40 Tony Lindgren wrote: > * Tony Lindgren <t...@atomide.com> [150713 06:21]: > > * Pali Rohár <pali.ro...@gmail.com> [150707 05:00]: > > > On Tuesday 07 July 2015 12:32:13 Russell King - ARM Linux wrote: > > > > On Mon, Ju

Re: omapdss: Division by zero in kernel

2015-09-25 Thread Pali Rohár
is there some way to force kernel to dump backtrace into dmesg when > > division by zero occur? > > You can do WARN_ON(bpp==1) ... and should probably return in that > case. > > Pavel Does not make sense to call slow_ function? In that if condition check also that bpp is nonzero... -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: omapdss: Division by zero in kernel

2015-08-26 Thread Pali Rohár
On Friday 21 August 2015 12:17:41 Tomi Valkeinen wrote: On 21/08/15 11:48, Pali Rohár wrote: On Friday 21 August 2015 11:42:14 Tomi Valkeinen wrote: On 24/07/15 19:03, Pali Rohár wrote: Hello, when on N900 (real HW or qemu) I run this command / # echo 0 /sys/devices

Re: omapdss: Division by zero in kernel

2015-08-21 Thread Pali Rohár
On Friday 21 August 2015 11:42:14 Tomi Valkeinen wrote: On 24/07/15 19:03, Pali Rohár wrote: Hello, when on N900 (real HW or qemu) I run this command / # echo 0 /sys/devices/platform/omapdss/overlay0/enabled echo 0 /sys/class/graphics/fb0/size then kernel crash

Re: omapdss: Division by zero in kernel

2015-08-19 Thread Pali Rohár
On Tuesday 18 August 2015 07:11:27 Peter Teoh wrote: On Fri, Jul 24, 2015 at 9:03 AM, Pali Rohár pali.ro...@gmail.com wrote: Hello, when on N900 (real HW or qemu) I run this command / # echo 0 /sys/devices/platform/omapdss/overlay0/enabled echo 0 /sys/class/graphics/fb0/size

Re: omapdss: Division by zero in kernel

2015-08-18 Thread Pali Rohár
On Tuesday 28 July 2015 13:56:02 Pali Rohár wrote: On Friday 24 July 2015 18:03:42 Pali Rohár wrote: Hello, when on N900 (real HW or qemu) I run this command / # echo 0 /sys/devices/platform/omapdss/overlay0/enabled echo 0 /sys/class/graphics/fb0/size then kernel crash

Re: Nokia N900 - audio TPA6130A2 problems

2015-08-14 Thread Pali Rohár
in uboot rx51.c (until restore I2C access state): http://git.denx.de/?p=u-boot.git;a=blob;f=board/nokia/rx51/rx51.c;h=3d019b01428b5392fb5d0b8c7428a6d1d2ba31af;hb=HEAD#l388 All are just i2c calls to twl4030 chipset. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally

Re: Nokia N900 - audio TPA6130A2 problems

2015-08-03 Thread Pali Rohár
On Monday 03 August 2015 20:48:28 Jarkko Nikula wrote: On 08/03/2015 09:17 PM, Pali Rohár wrote: On Monday 03 August 2015 20:03:16 Jarkko Nikula wrote: Hi On 08/01/2015 01:18 PM, Pali Rohár wrote: On Saturday 25 July 2015 15:17:13 Lars-Peter Clausen wrote: Hello, your patch did

Re: Nokia N900 - audio TPA6130A2 problems

2015-08-03 Thread Pali Rohár
On Monday 03 August 2015 20:03:16 Jarkko Nikula wrote: Hi On 08/01/2015 01:18 PM, Pali Rohár wrote: On Saturday 25 July 2015 15:17:13 Lars-Peter Clausen wrote: On 07/25/2015 12:28 PM, Pali Rohár wrote: Hello, sometimes after rebooting Nokia N900 initializing alsa audio fails. Here

Re: Nokia N900 - audio TPA6130A2 problems

2015-08-01 Thread Pali Rohár
On Saturday 25 July 2015 15:17:13 Lars-Peter Clausen wrote: On 07/25/2015 12:28 PM, Pali Rohár wrote: Hello, sometimes after rebooting Nokia N900 initializing alsa audio fails. Here output from dmesg log when it happen: [6.925140] tpa6130a2 2-0060: Write failed [6.929534

Re: linux 4.2-rc1 broken Nokia N900

2015-07-28 Thread Pali Rohár
On Saturday 25 July 2015 10:55:50 Pali Rohár wrote: On Wednesday 22 July 2015 04:03:07 Sebastian Reichel wrote: Hi, On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: This code has my head spinning

Re: omapdss: Division by zero in kernel

2015-07-28 Thread Pali Rohár
On Friday 24 July 2015 18:03:42 Pali Rohár wrote: Hello, when on N900 (real HW or qemu) I run this command / # echo 0 /sys/devices/platform/omapdss/overlay0/enabled echo 0 /sys/class/graphics/fb0/size then kernel crash with this error message / # [ 29.904113] Division by zero

Re: linux 4.2-rc1 broken Nokia N900

2015-07-28 Thread Pali Rohár
On Tuesday 28 July 2015 14:26:13 Sebastian Reichel wrote: Hi Pali, On Tue, Jul 28, 2015 at 10:39:32AM +0200, Pali Rohár wrote: Sebastian or Michael: Can you add check for pm_runtime_get_sync() function and send patch for including in mainline kernel? This actually already happened

Re: n900 in 4.2-rc0: repeating oopses

2015-07-27 Thread Pali Rohár
that cnofiguration, so I don't know what I got wrong... Pavel You can try to test it in qemu. It has emulation also of serial. -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: linux 4.2-rc1 broken Nokia N900

2015-07-25 Thread Pali Rohár
*spi, bool enable) l |= OMAP2_MCSPI_CHCONF_FORCE; mcspi_write_chconf0(spi, l); + + pm_runtime_mark_last_busy(mcspi-dev); + pm_runtime_put_autosuspend(mcspi-dev); } } This patch fix spi bus for me. Tested-by: Pali Rohár pali.ro

Nokia N900 - audio TPA6130A2 problems

2015-07-25 Thread Pali Rohár
] ALSA device list: [8.070343] No soundcards found. Any idea what to do? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pali Rohár
On Friday 24 July 2015 16:18:09 Dave Young wrote: On 07/11/15 at 02:05pm, Pali Rohár wrote: Hello, now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are broken and cause kernel oops... Basically wifi, touchscreen and rtc drivers not working... Pali, could you

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pali Rohár
On Friday 24 July 2015 18:33:51 Dave Young wrote: Hi, Pali On 07/24/15 at 10:40am, Pali Rohár wrote: On Friday 24 July 2015 16:18:09 Dave Young wrote: On 07/11/15 at 02:05pm, Pali Rohár wrote: Hello, now I tested 4.2-rc1 release on Nokia N900 and couple of drivers

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pali Rohár
Maemo to CSSU-devel version and install BME replacement stuff (open source battery management). -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pali Rohár
On Friday 24 July 2015 10:40:58 Pali Rohár wrote: On Friday 24 July 2015 16:18:09 Dave Young wrote: On 07/11/15 at 02:05pm, Pali Rohár wrote: Hello, now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are broken and cause kernel oops... Basically wifi

omapdss: Division by zero in kernel

2015-07-24 Thread Pali Rohár
Division by zero in kernel should not be there even if userspace call incorrect command. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Pali Rohár
|= OMAP2_MCSPI_CHCONF_FORCE; mcspi_write_chconf0(spi, l); + + pm_runtime_mark_last_busy(mcspi-dev); + pm_runtime_put_autosuspend(mcspi-dev); } } -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line unsubscribe

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Pali Rohár
On Wednesday 22 July 2015 15:33:18 Sebastian Reichel wrote: Hi, On Wed, Jul 22, 2015 at 09:27:32AM +0200, Pali Rohár wrote: diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 5867384..f7d9ffd 100644 --- a/drivers/spi/spi-omap2-mcspi.c +++ b

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Pali Rohár
Ok, I will try it at the weekend... Anyway, can you rebase patches on top of some linus tree? Because via that git.kernel.org web it is impossible to list commits or read diff/patches which you applied. -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list

Re: linux 4.2-rc1 broken Nokia N900

2015-07-20 Thread Pali Rohár
On Monday 20 July 2015 22:46:47 Michael Welling wrote: On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: On Monday 13 July 2015 17:36:07 Michael Welling wrote: On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: I think nothing special. I just call: export ARCH

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Pali Rohár
On Monday 13 July 2015 17:36:07 Michael Welling wrote: On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: I think nothing special. I just call: export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabi- make rx51_defconfig rm -f arch/arm/boot/zImage make -j12 zImage modules

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Sunday 12 July 2015 23:44:25 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150711 05:07]: Hello, now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are broken and cause kernel oops... Basically wifi, touchscreen and rtc drivers not working... Here

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 17:51:39 Sebastian Reichel wrote: Hi, On Sat, Jul 11, 2015 at 02:05:05PM +0200, Pali Rohár wrote: now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are broken and cause kernel oops... Basically wifi, touchscreen and rtc drivers not working... I

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
: * Pali Rohár pali.ro...@gmail.com [150711 05:07]: Hello, now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are broken and cause kernel oops... Basically wifi, touchscreen and rtc drivers not working... Here are some relevant snippets form dmesg

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 22:28:35 Michael Welling wrote: On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: Hello, here is my objdump of 4.2-rc2 version: 0064 omap2_mcspi_set_cs: 64: e3003182movwr3, #386; 0x182 68: e19030b3

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 23:52:32 Michael Welling wrote: On Mon, Jul 13, 2015 at 10:34:21PM +0200, Pali Rohár wrote: On Monday 13 July 2015 22:28:35 Michael Welling wrote: On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: Hello, here is my objdump of 4.2-rc2 version

linux 4.2-rc1 broken Nokia N900

2015-07-11 Thread Pali Rohár
] ---[ end trace d21553dcaefcb5af ]--- -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: musb-hdrc: Vbus off, timeout 1100 msec message does not belong in sysfs

2015-07-09 Thread Pali Rohár
version and with package usbmode http://maemo.org/packages/view/usbmode/ is it possible to enter usb host mode on n900 (and then connect e.g. usb stick). And IIRC correct command is: # echo host mode # echo peripheral mode -- Pali Rohár pali.ro...@gmail.com signature.asc Description

Re: USB Ethernet gadget on Nokia n900

2015-07-07 Thread Pali Rohár
On Monday 06 July 2015 06:53:18 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150706 06:27]: On Tuesday 28 October 2014 23:26:41 Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141028 15:22]: On Tue 2014-10-28 23:04:50, Pavel Machek wrote: Networking now works

Re: rx51-battery.ko incompatiblity: board code vs DT

2015-07-07 Thread Pali Rohár
On Tuesday 07 July 2015 17:02:30 Sebastian Reichel wrote: Hi, On Mon, Jul 06, 2015 at 09:44:22PM +0200, Pali Rohár wrote: now I found out that rx51-battery.ko driver register sysnode /sys/class/power_supply/rx51-battery/ when booting with legacy board code. But when booting DT kernel

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT /chosen/linux,atags entry

2015-07-07 Thread Pali Rohár
On Tuesday 07 July 2015 12:32:13 Russell King - ARM Linux wrote: On Mon, Jul 06, 2015 at 10:26:13PM +0200, Pali Rohár wrote: Legacy bootloaders can pass additional information for kernel or legacy userspace applications. When booting DT kernel then ATAGs structure is not more visible after

Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

2015-07-06 Thread Pali Rohár
On Thursday 25 June 2015 07:01:38 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150506 04:45]: On Wednesday 06 May 2015 13:04:01 Arnd Bergmann wrote: It needs to be done in this code, so system_rev variable is set properly... What I mean is which code accesses

Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

2015-07-06 Thread Pali Rohár
On Monday 06 July 2015 14:31:27 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150706 05:25]: into which file should I put documentation about new DT properties? If it's Linux generic like linux,revision, then how about Documentation/devicetree/bindings/revision.txt

Re: USB Ethernet gadget on Nokia n900

2015-07-06 Thread Pali Rohár
kernels. Are you going to send this patch into upstream? Or do you have another fix for this problem? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

[PATCH 0/5] ATAGs to DT patches

2015-07-06 Thread Pali Rohár
N900. File /proc/cpuinfo contains correct Revision line from ATAG_REVISION and /proc/atags contains full ATAGs structure. Pali Rohár (5): arm: devtree: Set system_rev from DT /revision arm: boot: convert ATAG_REVISION to DT /revision entry arm: atags: Fix declaration of function save_atags

[PATCH 3/5] arm: atags: Fix declaration of function save_atags

2015-07-06 Thread Pali Rohár
In file atags_proc.c function save_atags() expect const argument, but in atags.h file is declarated as non const. Fix declaration in atags.h file to match what is expected. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/kernel/atags.h |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 2/5] arm: boot: convert ATAG_REVISION to DT /revision entry

2015-07-06 Thread Pali Rohár
When uncompressing kernel image this patch convert ATAG_REVISION structure into DT /revision entry. For legacy bootloaders which do not support DT booting there is no other option how to pass ATAG_REVISION into kernel. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/boot/compressed

[PATCH 5/5] arm: boot: store ATAGs structure into DT /chosen/linux,atags entry

2015-07-06 Thread Pali Rohár
it and export via /proc/atags to userspace. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/boot/compressed/atags_to_fdt.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/compressed/atags_to_fdt.c b/arch/arm/boot/compressed/atags_to_fdt.c

[PATCH 1/5] arm: devtree: Set system_rev from DT /revision

2015-07-06 Thread Pali Rohár
With this patch /revision DT entry is used to set global system_rev variable. DT /revision is expected to be u32 numeric value. TODO: add documentation Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/kernel/devtree.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions

[PATCH 4/5] arm: devtree: Read ATAGs structure from DT /chosen/linux,atags entry

2015-07-06 Thread Pali Rohár
application which expect some data from bootloader in /proc/atags file. This patch keeps them running also on DT kernel if DT /chosen/linux,atags entry exists. TODO: add documentation Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/kernel/devtree.c | 24 +++- 1 file

Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

2015-07-06 Thread Pali Rohár
On Monday 06 July 2015 18:20:35 Pali Rohár wrote: /chosen/linux,atags This one. ATAGs are a Linux data struct. Rob Ok, and how read that property /chosen/linux,atags in function setup_machine_fdt() from file arch/arm/kernel/devtree.c ? of_get_flat_dt_prop() cannot be used

Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

2015-07-06 Thread Pali Rohár
On Monday 06 July 2015 17:22:58 Rob Herring wrote: On Mon, Jul 6, 2015 at 8:12 AM, Pali Rohár pali.ro...@gmail.com wrote: On Monday 06 July 2015 14:31:27 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150706 05:25]: into which file should I put documentation about new DT

rx51-battery.ko incompatiblity: board code vs DT

2015-07-06 Thread Pali Rohár
patching them. What do you think? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: n900 in 4.2-rc0: repeating oopses

2015-07-01 Thread Pali Rohár
On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150630 02:55]: I will try 4.2 at the end of week. At least today's 4.1.0-11549-g05a8256 boots just fine on my n900. Regards, Tony So, Pavel can you re-test? Maybe there can be problem with some

Re: n900 in 4.2-rc0: repeating oopses

2015-06-30 Thread Pali Rohár
; }; smartreflex_core: smartreflex@480cb000 { Pavel Ok, then it is not problem with omap crypto and HS device... I will try 4.2 at the end of week. -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list

Re: n900 in 4.2-rc0: repeating oopses

2015-06-29 Thread Pali Rohár
with HS code? By chance, can you try to disable (omap) sham node in n900 DT file? (same way like omap aes is disabled) Any ideas? Thanks, Pavel -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line

Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

2015-06-25 Thread Pali Rohár
On Thursday 25 June 2015 00:22:05 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150625 00:21]: Ok, but what do you mean to forget any string conversion? No need for tohexstr() in the uncommpress code if the system_rev value is a number coming from the dts. Regards, Tony

Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

2015-06-25 Thread Pali Rohár
On Wednesday 24 June 2015 22:01:38 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150506 04:45]: On Wednesday 06 May 2015 13:04:01 Arnd Bergmann wrote: It needs to be done in this code, so system_rev variable is set properly... What I mean is which code accesses

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-05-28 Thread Pali Rohár
? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-05-28 Thread Pali Rohár
On Wednesday 11 February 2015 14:40:33 Nishanth Menon wrote: On Wed, Feb 11, 2015 at 2:28 PM, Pali Rohár pali.ro...@gmail.com wrote: On Wednesday 11 February 2015 16:22:51 Matthijs van Duin wrote: On 11 February 2015 at 13:39, Pali Rohár pali.ro...@gmail.com wrote: Anyhow, since checking

Re: [PATCH 02/10] ARM: OMAP3: Fix crypto support for HS devices

2015-05-26 Thread Pali Rohár
Hi Paul, this patch is also for omap2... Can you review it too? On Saturday 28 February 2015 17:24:36 Pavel Machek wrote: On Thu 2015-02-26 14:49:52, Pali Rohár wrote: Register crypto hwmod links only if they are not disabled in DT. If DT information is missing, enable them only for GP

Re: [PATCH 01/10] ARM: OMAP2+: Return correct error values from device and hwmod

2015-05-21 Thread Pali Rohár
On Thursday 26 February 2015 14:49:51 Pali Rohár wrote: Without this patch function pm_runtime_get_sync() returns 0 even when some omap subfunction fails. This patch properly propagate error codes from omap functions back to caller. This patch fix problem, when loading omap-aes driver

Re: [PATCHv7] media: i2c/adp1653: fix includes

2015-04-09 Thread Pali Rohár
. Best regards, Javier Hi all! What about stopping this meaningless discussion about resending full patch series when everybody know how to fix is quickly in editor (e.g with sed under 5s) and not wasting another 10 minutes to generate new unified diff sent via SMTP protocol? -- Pali Rohár pali.ro

Re: ARM errata 430973 on multi platform kernels (was: OMAP3-N900: Add microphone bias voltages)

2015-04-05 Thread Pali Rohár
and or fixed. For N900 there is U-Boot but it does not support lot of things (load kernel via usb or serial) so for developers it is better to use original Nokia bootloader. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: ARM errata 430973 on multi platform kernels (was: OMAP3-N900: Add microphone bias voltages)

2015-04-05 Thread Pali Rohár
On Sunday 05 April 2015 15:45:28 Sebastian Reichel wrote: Hi, On Sun, Apr 05, 2015 at 03:26:14PM +0200, Pali Rohár wrote: Yes so it seems, and the bootloaders should really set it. It's also disabled for multiplatform builds. These are now done in u-boot as of: v2015.04-rc4

Re: [PATCH v6 6/6] wlcore: remove wl12xx_platform_data

2015-03-16 Thread Pali Rohár
for crypto DT stuff I already sent. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH v6 6/6] wlcore: remove wl12xx_platform_data

2015-03-16 Thread Pali Rohár
On Monday 16 March 2015 22:01:43 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150316 13:59]: On Monday 16 March 2015 16:29:39 Tony Lindgren wrote: I believe the last pending issues is the support for ATAG_REVISION in device tree mode as posted by Pali. No. In DT boot

Re: [PATCH 00/10] omap3 crypto fixes

2015-03-15 Thread Pali Rohár
On Sunday 08 March 2015 17:35:13 Paul Walmsley wrote: On Sun, 8 Mar 2015, Pali Rohár wrote: On Friday 06 March 2015 23:23:06 Aaro Koskinen wrote: 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

[PATCH v2] crypto: omap-sham: Check for return value from pm_runtime_get_sync

2015-03-08 Thread Pali Rohár
Function pm_runtime_get_sync could fail and we need to check return value to prevent kernel crash. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- v2: Check return value for all pm_runtime_get_sync() calls --- drivers/crypto/omap-sham.c | 23 --- 1 file changed, 20

  1   2   3   4   >