Re: [RESEND PATCH 4/4] mmc_spi.c: add support for the regulator framework

2011-04-26 Thread Daniel Ribeiro
if the regulator api changed it's old behaviour, see http://www.mail-archive.com/openezx-devel@lists.openezx.org/msg01954.html -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

[PATCH] Change pcap-regulator voltage tables.

2010-06-17 Thread Daniel Ribeiro
by 0.05-1.85v. 0.1v on the setting being used by ezx/current kernel). -- Fix pcap-regulator.c voltage tables. Signed-off-by: Daniel Ribeiro drw...@gmail.com diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c index 137b455..02862be 100644 --- a/drivers/regulator

Re: [RFC] EMU driver(s) design.

2009-09-01 Thread Daniel Ribeiro
Em Dom, 2009-08-30 às 01:29 +0300, Ilya Petrov escreveu: 2009/5/9 Daniel Ribeiro drw...@gmail.com: mc13883-core: provides basic I/O and irq demultiplexing please look at this: http://pastebin.com/f4d79ab44 mc13883-regulator: regulators for EOC and this http://pastebin.com/f6c57bbc3

Re: mmc-less gen-blob, new memory map

2009-08-15 Thread Daniel Ribeiro
Em Sáb, 2009-08-15 às 06:42 +0300, Ilya Petrov escreveu: 2009/8/15 Daniel Ribeiro drw...@gmail.com: Looks good, but breaks compatibility with the original firmware. I think that a better approach would be to extend the config file code, to support a fully bloated config file on flash

Re: mmc-less gen-blob, new memory map

2009-08-14 Thread Daniel Ribeiro
a fully bloated config file on flash, and add some config parameters to read a kernel image from flash. It would be more complex, but much more flexible and would allow to keep compatibility with the original firmware. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem

[PATCH v3] input: PCAP2 misc input driver

2009-08-07 Thread Daniel Ribeiro
This is a driver for misc input events for the PCAP2 PMIC, it handles the Power key and the Headphone button. Signed-off-by: Daniel Ribeiro drw...@gmail.com Signed-off-by: Ilya Petrov ilya.muro...@gmail.com Signed-off-by: Antonio Ospite osp...@studenti.unina.it --- Changes since v2: * Get

[PATCH v3] input: PCAP2 based touchscreen driver

2009-08-07 Thread Daniel Ribeiro
Touchscreen driver for the PCAP2 multi function device used in Motorola EZX smartphones. Signed-off-by: Daniel Ribeiro drw...@gmail.com Signed-off-by: Stefan Schmidt ste...@datenfreihafen.org Signed-off-by: Antonio Ospite osp...@studenti.unina.it --- Changes since v2: * Request/free IRQ

[PATCH v2] input: PCAP2 misc input driver

2009-08-03 Thread Daniel Ribeiro
From: Daniel Ribeiro w...@gmail.com This is a driver for misc input events for the PCAP2 PMIC, it handles the Power key and the Headphone button. Signed-off-by: Daniel Ribeiro drw...@gmail.com Signed-off-by: Ilya Petrov ilya.muro...@gmail.com Signed-off-by: Antonio Ospite osp

[PATCH v2] input: PCAP2 based touchscreen driver

2009-08-03 Thread Daniel Ribeiro
Touchscreen driver for the PCAP2 multi function device used in Motorola EZX smartphones. Signed-off-by: Daniel Ribeiro drw...@gmail.com Signed-off-by: Stefan Schmidt ste...@datenfreihafen.org Signed-off-by: Antonio Ospite osp...@studenti.unina.it --- Please note that the driver depends on some

Re: Planning the git repository cleanup.

2009-07-29 Thread Daniel Ribeiro
for drivers/spi/pxa2xx-spi.c. Its part of the work to have cpufreq to automatically change the cpu voltage when changing the frequency... We need subsys_initcall on the regulator, core and bus drivers. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: suspend bug: PCAP resumes AP immediatly

2009-07-29 Thread Daniel Ribeiro
at 1hz, so its expected behaviour/feature. You can also play with the alarm ioctls to make pcap wake up the phone at a certain time. PS: I have not received the first email in this thread. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: state of openezx (was: bp suspend problem)

2009-07-29 Thread Daniel Ribeiro
a stable branch, frozen to a known good version with only bugfixes backported? -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: Ilya Petrov : fix BP_RDY edge

2009-07-29 Thread Daniel Ribeiro
| WAKEUP_ON_EDGE_BOTH, /* WDI */ GPIO3_GPIO | WAKEUP_ON_EDGE_BOTH, /* WDI2 */ Is this correct?? (gen1_pin_config[]). Weren't you working on a1200? :) -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: Ilya Petrov : remove switching to falling edge

2009-07-29 Thread Daniel Ribeiro
a comment so somebody can fix this later for gen1) -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: Hit WARN_ON_ONCE(slab_is_available() on 2.6.31-rc1-ezxdev (1a200)

2009-07-04 Thread Daniel Ribeiro
will just wait until the fix hits Linus tree. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: [PATCH] PCAP misc input driver (for 2.6.32)

2009-06-29 Thread Daniel Ribeiro
= pcap_keys_remove, __devexit_p() Ok. +MODULE_DESCRIPTION(Motorola PCAP2 input events driver); +MODULE_AUTHOR(Ilya Petrov ilya.muro...@gmail.com); +MODULE_LICENSE(GPL); Do we need MODULE_ALIAS() here? Do we? I think we don't, but well... It costs nothing. ;) -- Daniel Ribeiro

Re: [PATCH] PCAP misc input driver (for 2.6.32)

2009-06-28 Thread Daniel Ribeiro
= pcap_keys_probe, + .remove = pcap_keys_remove, __devexit_p ? Ok. Thanks for the review, I will send new versions addressing your comments as soon as possible. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: [PATCH] PCAP touchscreen driver (for 2.6.32)

2009-06-28 Thread Daniel Ribeiro
= pcap_ts_suspend, + .resume = pcap_ts_resume, +#endif + .driver = { + .name = pcap-ts, + .owner = THIS_MODULE, + }, +}; Ok. Thanks for the review! :) -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem

[PATCH] PCAP misc input driver (for 2.6.32)

2009-06-27 Thread Daniel Ribeiro
This is a driver for misc input events for the PCAP2 PMIC, it handles the power button, headphone insertion/removal and the headphone button. Signed-off-by: Ilya Petrov ilya.muro...@gmail.com Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/input/keyboard/Kconfig |7

Re: [PATCH] PCAP regulator driver (for 2.6.32).

2009-06-26 Thread Daniel Ribeiro
Em Sex, 2009-06-26 às 00:37 +0100, Mark Brown escreveu: On Thu, Jun 25, 2009 at 05:29:53PM -0300, Daniel Ribeiro wrote: + /* +* The regulator framework doesn't like regulators which default +* to ON at boot time, so we just disable it here (when it is safe

Re: [PATCH] PCAP regulator driver (for 2.6.32).

2009-06-26 Thread Daniel Ribeiro
Em Sex, 2009-06-26 às 11:55 +0100, Mark Brown escreveu: On Fri, Jun 26, 2009 at 03:04:23AM -0300, Daniel Ribeiro wrote: So, the regulator is enabled at boot, but it can't be disabled because use_count is 0. This is the same issue as twl4030-mmc, but instead of a enable/disable pair

[PATCHv2 2/2] PCAP regulator driver (for 2.6.32)

2009-06-26 Thread Daniel Ribeiro
Changed: Removed workaround for regulator use_count issues. === CUT HERE === Add (partial) support for the voltage regulators on the PCAP2 PMIC. Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/regulator/Kconfig |7 + drivers/regulator/Makefile |1 + drivers

Re: [PATCH] PCAP RTC driver (for 2.6.32).

2009-06-26 Thread Daniel Ribeiro
patch to address your comments or should I send a patch to replace the current version? Thanks for the review! :) -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

[PATCHv2] PCAP RTC driver (for 2.6.32)

2009-06-26 Thread Daniel Ribeiro
RTC driver for PCAP2 PMIC. Signed-off-by: Daniel Ribeiro drw...@gmail.com Signed-off-by: guiming zhuo gmz...@gmail.com Acked-by: Alessandro Zummo a.zu...@towertech.it --- drivers/rtc/Kconfig|7 ++ drivers/rtc/Makefile |1 + drivers/rtc/rtc-pcap.c | 224

[PATCH] PCAP RTC driver (for 2.6.32).

2009-06-25 Thread Daniel Ribeiro
RTC driver for PCAP2 PMIC. This patch was sent some time ago and acked by Alessandro, but we had to change some stuff on the core driver and consequently on this driver too, so I'm submitting it again for review (sorry). Signed-off-by: guiming zhuo gmz...@gmail.com Signed-off-by: Daniel Ribeiro

[PATCH 2/4] MFD/PCAP: irq_to_pcap()

2009-06-23 Thread Daniel Ribeiro
Export an irq_to_pcap function to get pcap irq number, for the keypad driver. Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mfd/ezx-pcap.c |9 + include/linux/mfd/ezx-pcap.h |1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/ezx

[PATCH 3/4] MFD/PCAP: set_ts_bits()

2009-06-23 Thread Daniel Ribeiro
Some TS controller bits are on the same register as the ADC control, save TS specific bits and export a set_ts_bits function so the TS driver can set it with the adc_mutex lock held. Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mfd/ezx-pcap.c | 22

[PATCH] PXA/EZX: set IRQ_BOARD_END for EZX

2009-06-23 Thread Daniel Ribeiro
Signed-off-by: Daniel Ribeiro drw...@gmail.com --- arch/arm/mach-pxa/Kconfig |1 + arch/arm/mach-pxa/include/mach/irqs.h |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index f4533f8..73a08e3 100644

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Daniel Ribeiro
(on the .config, or set it with boot_usb). -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Daniel Ribeiro
-blob will overwrite some parts of the memory, so, you need some luck here. ;) -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: bp suspend problem

2009-06-16 Thread Daniel Ribeiro
. It is not used to signal BP that the AP is suspended, BP uses GPIO_SYS_EN or GPIO_PWR_EN instead (I dont remember which one). But you don't have control over this pin using normal GPIO registers. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: bp suspend problem

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 17:11 +0300, Ilya Petrov escreveu: 2009/6/16 Daniel Ribeiro drw...@gmail.com: * in new driver we disabled this behaviour and leaving suspend to hci driver Correct. btw, is this ok, to have UP3OCR = 2; in ezx-bp driver? In fact no. But this is the same issue

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Daniel Ribeiro
tg export, all implementation details are on the patches, divided in topics. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Daniel Ribeiro
If you are using boot_usb to upload this kernel, please remove the mem= from the cmdline, its already set by boot_usb. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: bp suspend problem

2009-06-16 Thread Daniel Ribeiro
said earlier, other phones are resuming with BP on a working state, I tested this on a780 and e680, but this was before your changes to mux. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

New zImage release on http://people.openezx.org/wyrm/images/

2009-06-16 Thread Daniel Ribeiro
:pxa_ep_enable:usb_ep ep1out-bulk already enabled, doing nothing [ 98.945019] pxa27x-udc pxa27x-udc: ep3:pxa_ep_enable:usb_ep ep1out-bulk already enabled, doing nothing -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: White screen issue

2009-06-15 Thread Daniel Ribeiro
and run: $ boot_usb read 0xa000 31457280 memdump $ gzip memdump and send me the memdump.gz file. (please dont send it to the mailing list) -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: how to checkout 2.26.29 a1200 branch?

2009-06-14 Thread Daniel Ribeiro
Em Dom, 2009-06-14 às 17:33 +0800, hu zhangli escreveu: after git the branch code ,i only find 2.6.30 rc4 code. pls instruct me to how to check out the 2.6.29 branch. Why do you want 2.6.29? -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: how to checkout 2.26.29 a1200 branch?

2009-06-14 Thread Daniel Ribeiro
Em Dom, 2009-06-14 às 19:10 +0800, hu zhangli escreveu: hi Daniel Ribeiro: becuase at present i port 2.6.30 kernel to phone ,there is some problem, so i want to use stable 2.6.29 ezx/current branck to port. so coud you give me some advices? best regards

Re: porting Android SDK1.5 to a1200

2009-06-14 Thread Daniel Ribeiro
want to use the OpenEZX patchset as it was on 2.6.29. :) To export the patchset you can use tg export. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: how to checkout 2.26.29 a1200 branch?

2009-06-14 Thread Daniel Ribeiro
, even if i'm telling you that its not the best thing to do, you can use the ezx/current base merge immediately posterior to the v2.6.29 Linus commit. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: how to checkout 2.26.29 a1200 branch?

2009-06-14 Thread Daniel Ribeiro
, as it is now). Currently openezx.git is v2.6.30 from upstream. No I haven't looked at android for a1200, Ilya Petrov did (IIRC using the current kernel, and android patches from drivers/staging). -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: how to checkout 2.26.29 a1200 branch?

2009-06-14 Thread Daniel Ribeiro
whatever error you are seeing so we can help you debug it. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: gen2, serial console on emu

2009-06-13 Thread Daniel Ribeiro
, didnt you? -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalmente

Re: gen2, serial console on emu

2009-06-13 Thread Daniel Ribeiro
Em Sáb, 2009-06-13 às 14:29 +0300, Ilya Petrov escreveu: 2009/6/13 Daniel Ribeiro drw...@gmail.com: Hum... I guess you also need to setup EOC to the UART mode, didnt you? nope! connection control reg left same: 271 eoc_reg_write(EOC_REG_CONN_CONTROL, 0x21044); This should

Re: usb gadget on e2

2009-06-10 Thread Daniel Ribeiro
command contains nothing about the existance of the phone. thanks. usb 1-3 is not related to the miniUSB port. USB Port 3 is used internally to connect the AP to the BP. Try to unplug/plug your miniUSB cable, and check your PC dmesg. :) -- Daniel Ribeiro signature.asc Description: Esta é

Re: [alsa-devel] [PATCH] ASoC: Allow 32bits registers

2009-06-08 Thread Daniel Ribeiro
Em Seg, 2009-06-08 às 10:50 +0100, Mark Brown escreveu: On Sun, Jun 07, 2009 at 02:49:11AM -0300, Daniel Ribeiro wrote: Replace the remaining unsigned shorts with unsigned ints. Tested with pcap2 codec (25 bits registers). Signed-off-by: Daniel Ribeiro drw...@gmail.com Thanks, I've

Re: sound 2 times slower

2009-06-06 Thread Daniel Ribeiro
[Mark Brown added to CC] Em Qua, 2009-05-06 às 09:25 +0200, pHilipp Zabel escreveu: On Wed, May 6, 2009 at 12:29 AM, Daniel Ribeiro drw...@gmail.com wrote: Em Qua, 2009-05-06 às 00:59 +0300, Ilya Petrov escreveu: Hi! I just tried to listen some music on 2.6.30-rc3-ezxdev and everything

[PATCH] ASoC: Allow 32bits registers

2009-06-06 Thread Daniel Ribeiro
Replace the remaining unsigned shorts with unsigned ints. Tested with pcap2 codec (25 bits registers). Signed-off-by: Daniel Ribeiro drw...@gmail.com --- include/sound/soc.h |4 ++-- sound/soc/soc-core.c | 28 ++-- sound/soc/soc-dapm.c | 16 3

Re: [PATCH v3] MFD: PCAP driver

2009-06-03 Thread Daniel Ribeiro
on GENERIC_HARDIRQS SPI_MASTER help This enables the PCAP ASIC present on EZX Phones. This is needed for MMC, TouchScreen, Sound, USB, etc.. -- Daniel Ribeiro

Re: battery driver

2009-06-01 Thread Daniel Ribeiro
ADC_BATT_I_POLARITY to get a meaningful value on current. Old code was also using ADC_RAND, to do 3 conversions instead of 1, and then averaging the results, but the current API doesnt support this use yet. -- Daniel Ribeiro

Re: ts fails after some time

2009-06-01 Thread Daniel Ribeiro
without pending request\n)) { + mutex_unlock(pcap-adc_mutex); return IRQ_HANDLED; + } /* read requested channels results */ ezx_pcap_read(pcap, PCAP_REG_ADC, tmp); -- Daniel Ribeiro

Re: ts fails after some time

2009-05-31 Thread Daniel Ribeiro
is supposed to be non-fatal. After the warning the TS no longer works? What were you doing when the warning happened? was you touching the screen? -- Daniel Ribeiro

Re: Mainline merge state.

2009-05-30 Thread Daniel Ribeiro
they on ezx/current history :) The issue with cleanup is that we have to delete on all developers trees, otherwise we have the highlander effect ;) -- Daniel Ribeiro

Re: Fwd: Can not access OpenEZX git repositories

2009-05-29 Thread Daniel Ribeiro
]: errno=Connection refused fatal: unable to connect a socket (Connection refused) -- Daniel Ribeiro

Mainline merge state.

2009-05-29 Thread Daniel Ribeiro
and submitted as less patches. Suggestions? :) -- Daniel Ribeiro

Re: [PATCH v3] MFD: PCAP driver

2009-05-28 Thread Daniel Ribeiro
Em Qui, 2009-05-28 às 19:46 +0200, Samuel Ortiz escreveu: Hi Daniel, Hi! :) I'd actually prefer the void pointer to be a pcap_chip one. Otherwise, the patch looks good to me. Ok, will do. Thanks! -- Daniel Ribeiro

[PATCH v4] MFD: PCAP driver

2009-05-28 Thread Daniel Ribeiro
with the name PTWL93017, later this design evolved into the ATLAS PMIC from Freescale (MC13783). Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mfd/Kconfig |7 + drivers/mfd/Makefile |2 + drivers/mfd/ezx-pcap.c | 505

Re: [PATCH v2] MFD: PCAP core driver.

2009-05-26 Thread Daniel Ribeiro
Em Ter, 2009-05-26 às 02:10 -0300, Daniel Ribeiro escreveu: + set_irq_type(pdata-irq, IRQ_TYPE_EDGE_RISING); + set_irq_chained_handler(pdata-irq, pcap_irq_handler); + set_irq_wake(pdata-irq, 1); Looking at the other MFD drivers that register a chained handler

[PATCH v3] MFD: PCAP driver

2009-05-26 Thread Daniel Ribeiro
of Motorola phones, it was manufactured by TI as a custom product with the name PTWL93017, later this design evolved into the ATLAS PMIC from Freescale (MC13783). Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mfd/Kconfig |7 + drivers/mfd/Makefile |2 + drivers

Re: [PATCH v3] MFD: PCAP driver

2009-05-26 Thread Daniel Ribeiro
Em Qua, 2009-05-27 às 01:42 -0300, Daniel Ribeiro escreveu: + /* redirect interrupts to AP, except adcdone2 */ + if (!(pdata-config PCAP_SECOND_PORT)) + ezx_pcap_write(pcap, PCAP_REG_INT_SEL, PCAP_IRQ_ADCDONE2); Just an amendment here, should be (1 PCAP_IRQ_ADCDONE2), I

Re: Daniel Ribeiro : dont ack interrupts meant to port2 when using port1

2009-05-25 Thread Daniel Ribeiro
/current Commit: dc13f9f7fb1ddbc1a7ee9c7fd98ba31ee91d54a6 Author: Daniel Ribeiro drw...@gmail.com Date: Mon May 25 15:53:07 2009 -0300 dont ack interrupts meant to port2 when using port1 --- drivers/mfd/ezx-pcap.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions

Re: [PATCH v2] MFD: PCAP core driver.

2009-05-25 Thread Daniel Ribeiro
to the new code. Thanks! -- Daniel Ribeiro

[RESUBMIT][PATCH v5] pxamci: add regulator support.

2009-05-21 Thread Daniel Ribeiro
-by: Daniel Ribeiro drw...@gmail.com Acked-by: Eric Miao eric.m...@marvell.com --- drivers/mmc/host/pxamci.c | 46 1 files changed, 41 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index 4300957..d7d7109

[PATCH v2] MFD: PCAP core driver.

2009-05-21 Thread Daniel Ribeiro
PTWL93017, later this design evolved into the ATLAS PMIC from Freescale (MC13783). Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mfd/Kconfig |7 + drivers/mfd/Makefile |2 + drivers/mfd/ezx-pcap.c | 285

Re: [PATCH] cfi_cmdset_0001.c: quirk for PF38F4476.

2009-05-19 Thread Daniel Ribeiro
Em Ter, 2009-05-19 às 09:03 +0300, Artem Bityutskiy escreveu: On Sun, 2009-05-17 at 08:02 -0300, Daniel Ribeiro wrote: This chip reports CFI 1.3, but the CFI PRI is like CFI 1.1. Add a quirk to pass probe on this chip. (This patch depends on cfi_cmdset_0001.c: CFI 1.0 and CFI 1.1) (sent

[PATCH] cfi_cmdset_0001.c: CFI 1.0 and CFI 1.1

2009-05-17 Thread Daniel Ribeiro
Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mtd/chips/cfi_cmdset_0001.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c index c240454..bf07d14 100644 --- a/drivers/mtd

[PATCH] cfi_cmdset_0001.c: quirk for PF38F4476.

2009-05-17 Thread Daniel Ribeiro
This chip reports CFI 1.3, but the CFI PRI is like CFI 1.1. Add a quirk to pass probe on this chip. (This patch depends on cfi_cmdset_0001.c: CFI 1.0 and CFI 1.1) (sent again with CC to Nicolas Pitre) Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mtd/chips/cfi_cmdset_0001.c | 12

Re: mux driver

2009-05-16 Thread Daniel Ribeiro
to make sure the BP does not panic, then we might as well keep them open and virtualize it just as Daniel recommended. Or we can delay handshake until userspace is ready. :) -- Daniel Ribeiro

[PATCH] cfi_cmdset_0001.c: quirk for PF38F4476.

2009-05-16 Thread Daniel Ribeiro
This chip reports CFI 1.3, but the CFI PRI is like CFI 1.1. Add a quirk to pass probe on this chip. (This patch depends on cfi_cmdset_0001.c: CFI 1.0 and CFI 1.1) Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mtd/chips/cfi_cmdset_0001.c | 12 1 files changed, 12

[PATCH v5] pxamci: add regulator support.

2009-05-15 Thread Daniel Ribeiro
is regulator is provided, or falls back to pdata-setpower otherwise. A warning is displayed case both a valid regulator and pdata is set, and the regulator is used. Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mmc/host/pxamci.c | 46 1 files

[PATCH] ezx: fix mfp lpm

2009-05-15 Thread Daniel Ribeiro
Fix LPM configuration on ezx.c Signed-off-by: Daniel Ribeiro drw...@gmail.com --- arch/arm/mach-pxa/ezx.c | 36 ++-- 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-pxa/ezx.c b/arch/arm/mach-pxa/ezx.c index 92ba16e..7db966d 100644

Re: mux driver

2009-05-15 Thread Daniel Ribeiro
it thinks that the line was opened. How should we handle openning/closing channels? Do nothing to warn bp about open()/close(). Make it fully virtual, let bp think that all the lines are always opened. -- Daniel Ribeiro

Re: [PATCH v4] pxamci: add regulator support.

2009-05-14 Thread Daniel Ribeiro
Em Qui, 2009-05-14 às 17:11 +0800, Eric Miao escreveu: I'd rather it's implemented something like below (it's only for illustration purpose): I dont think we can set ocr_avail on set_ios(). See mmc_power_up(). -- Daniel Ribeiro

Re: [RFC] EMU driver(s) design.

2009-05-09 Thread Daniel Ribeiro
can submit the core. -- Daniel Ribeiro

pxa2xx_spi: fix for SPI_CS_HIGH

2009-05-08 Thread Daniel Ribeiro
Commit a7bb3909b3293d503211d7f6af8ed62c1644b686 introduces chipselect GPIO, and configures the CS polarity using SPI_CS_HIGH spi-mode flag, but the SPI_CS_HIGH is not allowed by setup(). Signed-off-by: Daniel Ribeiro drw...@gmail.com diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi

Re: pxa2xx_spi: fix for SPI_CS_HIGH

2009-05-08 Thread Daniel Ribeiro
modes. Signed-off-by: Daniel Ribeiro drw...@gmail.com --- a/drivers/spi/pxa2xx_spi.c +++ b/drivers/spi/pxa2xx_spi.c @@ -1482,7 +1482,7 @@ drv_data-ssp = ssp; /* the spi-mode bits understood by this driver: */ - master-mode_bits = SPI_CPOL | SPI_CPHA; + master

[RFC] EMU driver(s) design.

2009-05-08 Thread Daniel Ribeiro
userspace about state changes. I think that this is quite ambitious, and i will certainly need help. So, lets coordinate on this, and make it happen? :) -- Daniel Ribeiro

[PATCH] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mmc/host/pxamci.c | 24 +--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index 4300957..0607642 100644 --- a/drivers/mmc/host/pxamci.c +++ b

Re: [PATCH v2] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Em Qui, 2009-05-07 às 14:12 +0800, Eric Miao escreveu: From the coding style point of view, we might better keep the number of those #ifdef CONFIG_REGULATOR .. #endif to a minimum, e.g. Thanks! Check this new version. Now releasing the regulator on exit too. Signed-off-by: Daniel Ribeiro drw

Re: [PATCH v2] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Em Qui, 2009-05-07 às 09:27 +0100, Mark Brown escreveu: On Thu, May 07, 2009 at 04:13:53AM -0300, Daniel Ribeiro wrote: +#else +static int pxamci_regulator_get(struct pxamci_host *host) +{ + return 0; +} +static void pxamci_regulator_put(struct pxamci_host *host

Re: [PATCH v3] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Add regulator support to pxamci. This version was tested with and without CONFIG_REGULATOR, it uses the regulator case CONFIG_REGULATOR is defined and a matching is regulator is provided, or falls back to pdata-setpower otherwise. Signed-off-by: Daniel Ribeiro drw...@gmail.com --- drivers/mmc

Re: [PATCH v2] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
? Thanks for the review. :) -- Daniel Ribeiro

Re: [RFC] pcap-regulator driver, more pcap2 documentation.

2009-05-06 Thread Daniel Ribeiro
100644 index 000..70030de --- /dev/null +++ b/drivers/regulator/pcap-regulator.c @@ -0,0 +1,310 @@ +/* + * PCAP2 Regulator Driver + * + * Copyright (c) 2009 Daniel Ribeiro drw...@gmail.com + * + * This program is free software; you can redistribute it and/or modify it + * under the terms

Re: [RFC] pcap-regulator driver, more pcap2 documentation.

2009-05-06 Thread Daniel Ribeiro
PCAP is TWL93010, GCAP3 is TWL93002: https://mist.ext.ti.com/pcn/pcninternet.nsf/4ea76578e531eca086256959005941f8/9b1808458f93040e86256e89005a689d?OpenDocument -- Daniel Ribeiro

Re: sound 2 times slower

2009-05-06 Thread Daniel Ribeiro
Em Qua, 2009-05-06 às 19:37 +0300, Ilya Petrov escreveu: 2009/5/6 Daniel Ribeiro drw...@gmail.com: See if reverting commit 92429069d0fc9f52d436c9067c5b5c392e3f8876 helps. thanks this helped If you have some time, please try the change that Philipp proposed, and report back. :) Thanks

Re: [patch] ezx-eoc and pda-power

2009-05-05 Thread Daniel Ribeiro
Em Ter, 2009-05-05 às 21:36 +0300, Ilya Petrov escreveu: 2009/5/4 Daniel Ribeiro drw...@gmail.com: But I dont think you will need to add workqueues, a write_work and an irq_work using the kernel workqueue is all you need. where can i look how to use them? ezx-pcap.c uses a dedicated

Re: [patch] ezx-eoc and pda-power

2009-05-05 Thread Daniel Ribeiro
) platform_device_register(pcap_rtc_device); platform_device_register(gen2_bp_device); + platform_device_register(eoc_regulator_device); + platform_device_register(power_supply); platform_add_devices(devices, ARRAY_SIZE(devices)); } -- Daniel Ribeiro

Re: eoc bits

2009-05-05 Thread Daniel Ribeiro
: first irq: ID, sense bit set -- Daniel Ribeiro

Re: eoc bits

2009-05-05 Thread Daniel Ribeiro
Em Ter, 2009-05-05 às 16:50 -0300, Daniel Ribeiro escreveu: Em Ter, 2009-05-05 às 22:00 +0300, Ilya Petrov escreveu: Is there any descripton of eoc register bits? Unfortunatelly not. :( All we have is what we can get from moto 2.4 source code. Humm, just remembered a conversation I had

Re: sound 2 times slower

2009-05-05 Thread Daniel Ribeiro
92429069d0fc9f52d436c9067c5b5c392e3f8876 helps. -- Daniel Ribeiro

[PATCH] pxa: allow gpio_reset drive high during normal work

2009-05-05 Thread Daniel Ribeiro
I want to reuse tosa/spitz gpio_reset code, but my board needs the reset gpio to be driven high during normal operation. Signed-off-by: Daniel Ribeiro drw...@gmail.com --- arch/arm/mach-pxa/include/mach/reset.h |5 +++-- arch/arm/mach-pxa/reset.c |4 ++-- arch/arm/mach-pxa

[RFC] pcap-regulator driver, more pcap2 documentation.

2009-05-05 Thread Daniel Ribeiro
/pcap-regulator.c b/drivers/regulator/pcap-regulator.c new file mode 100644 index 000..466ecbe --- /dev/null +++ b/drivers/regulator/pcap-regulator.c @@ -0,0 +1,288 @@ +/* + * PCAP2 Regulator Driver + * + * Copyright (c) 2009 Daniel Ribeiro drw...@gmail.com + * + * This program is free software

Re: Motorola did it again...

2009-05-04 Thread Daniel Ribeiro
Em Seg, 2009-05-04 às 09:42 +0300, Ilya Petrov escreveu: HAINAN == A1200 SUMATRA == E2 MODEL == E6 Martinique == A910 E6 is Macau. -- Daniel Ribeiro

Re: Motorola did it again...

2009-05-04 Thread Daniel Ribeiro
OpenEZX kernels to RAM while developing. -- Daniel Ribeiro

Re: [PATCH] pxa: save/restore PGSR on suspend/resume.

2009-05-04 Thread Daniel Ribeiro
GPIO4 goes low on suspend. Em Sáb, 2009-05-02 às 15:05 -0300, Daniel Ribeiro escreveu: Signed-off-by: Daniel Ribeiro drw...@gmail.com diff --git a/arch/arm/mach-pxa/mfp-pxa2xx.c b/arch/arm/mach-pxa/mfp-pxa2xx.c index 7ffb91d..6ae5060 100644 --- a/arch/arm/mach-pxa/mfp-pxa2xx.c +++ b/arch/arm

Re: [patch] ezx-eoc and pda-power

2009-05-03 Thread Daniel Ribeiro
. The softirq handler still needs to be written, as currently it only printk the IRQ names. -- Daniel Ribeiro

Re: [patch] ezx-eoc and pda-power

2009-05-03 Thread Daniel Ribeiro
Em Dom, 2009-05-03 às 19:10 -0300, Daniel Ribeiro escreveu: No. But ISR bits need to be cleared after each event. Not all, but the ones that you want to monitor. Err, just to add on this, ISR bits are cleared by writing an 1 to it. -- Daniel Ribeiro

Re: Motorola did it again...

2009-05-03 Thread Daniel Ribeiro
Em Dom, 2009-05-03 às 19:07 -0300, Daniel Ribeiro escreveu: Hi all! Yes, they forgot to do the usual clean-up! And this time its really great for us!!! The A1200E kernel source release on opensource.motorola.com contains a lot of stuff they didnt really want to release, im just starting

[PATCH] pxa: save/restore PGSR on suspend/resume.

2009-05-02 Thread Daniel Ribeiro
Signed-off-by: Daniel Ribeiro drw...@gmail.com diff --git a/arch/arm/mach-pxa/mfp-pxa2xx.c b/arch/arm/mach-pxa/mfp-pxa2xx.c index 7ffb91d..6ae5060 100644 --- a/arch/arm/mach-pxa/mfp-pxa2xx.c +++ b/arch/arm/mach-pxa/mfp-pxa2xx.c @@ -322,6 +322,7 @@ static inline void pxa27x_mfp_init(void

  1   2   3   4   >