linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/26] ARM: pxa: magician: Rework HTC Magician support
@ 2015-09-17  4:53 Petr Cvek
  2015-09-17  7:04 ` Lee Jones
  2015-09-26 15:15 ` Robert Jarzmik
  0 siblings, 2 replies; 3+ messages in thread
From: Petr Cvek @ 2015-09-17  4:53 UTC (permalink / raw)
  To: robert.jarzmik, philipp.zabel, daniel, haojian.zhuang, cooloney,
	rpurdie, j.anaszewski, linux, sre, dbaryshkov, lee.jones, sameo,
	dwmw2, arnd, g.liakhovetski
  Cc: linux-leds, linux-pm, linux-arm-kernel

This patchset will clean, fix, optimize and add multiple devices,
which can be found on the HTC Magician machine.

Platform data for the pasic3-leds driver has been removed, as this
driver do not exist in the vanilla. And it is expected to be recreated
in the future with an incompatible platform data structure.

Default setting of the Samsung LCD pixel clock period has been
increased, so resulting frequency is 50Hz (original 117Hz). Period
can be possibly incresed even more. At this moment there is no video
player with IWMMXT support and software only versions cannot make it
to 30fps. Frequency decreasing has a good impact to memory troughtput
as LCD controller does not do as many memory bursts as at original
speed. This was verified with the lat_mem_rd from the lmbench3.

The Omnivision OV9640 camera has a problem with running on 400kHz
of the I2C clock. It seems it freezes the bus until PXA I2C driver
reload. Datasheet says it OK on 400kHz though. There may be some
compatibility bug in the PXA I2C driver as Omnivision cameras often
uses special I2C protocol (SCCB).

Using the CPU frequency scaling (with help of an MAX1587A regulator)
sometimes causes an SoC failure. It is probably related to the PXA27x
erratum E37, E36, E80 or E89. Infreqent changes mostly works.

STUART removal is a prepare for:

	net: irda: pxaficp_ir: dmaengine conversion

Function was tested on the board_id 0x3a version (specifically on
the T-Mobile MDA compact).

Petr Cvek (26):
  ARM: pxa: magician: Fix indentation in machine files
  ARM: pxa: magician: Change comments to be more informative
  ARM: pxa: magician: Print more specific error message for global
    GPIOs
  ARM: pxa: magician: Optimize debug messages for LCD power
  ARM: pxa: magician: Change description of LCD power GPIO
  ARM: pxa: magician: Add new discovered EGPIO pins
  ARM: pxa: magician: Fix HTC Magician pin mux definitions
  ARM: pxa: magician: Rename abstract LCD GPIOs
  ARM: pxa: magician: Optimize powerup delays for Samsung LCD
  ARM: pxa: magician: Optimize Samsung LCD refresh to 50Hz
  ARM: pxa: magician: Optimize EGPIO initial values
  ARM: pxa: magician: Rename charger cable detection EGPIOs
  ARM: pxa: magician: Fix and add charging detection functions
  ARM: pxa: magician: Fix platform data for both PXA27x I2C controllers
  ARM: pxa: magician: Fix redundant GPIO request for pxaficp_ir
  ARM: pxa: magician: Fix support for Intel Strata NOR Flash
  ARM: pxa: magician: Fix wrongly enabled USB host ports
  ARM: pxa: magician: Add support for ADS7846
  ARM: pxa: magician: Add support for Omnivision OV9640 camera
  ARM: pxa: magician: Add support for MAX1587A Vcore regulator
  ARM: pxa: magician: Add support for PXA27x UDC
  ARM: pxa: magician: Remove pdata for pasic3-leds
  ARM: pxa: magician: Remove definition of the STUART port
  ARM: pxa: magician: Add debug message for backlight brightness
    function
  ARM: pxa: magician: Add missing regulator for PWM backlight
  ARM: pxa: magician: Move platform_add_devices() to the end of
    magician_init()

 arch/arm/mach-pxa/include/mach/magician.h |  78 +--
 arch/arm/mach-pxa/magician.c              | 907 +++++++++++++++++++++---------
 2 files changed, 682 insertions(+), 303 deletions(-)

-- 
1.7.12.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 00/26] ARM: pxa: magician: Rework HTC Magician support
  2015-09-17  4:53 [PATCH v3 00/26] ARM: pxa: magician: Rework HTC Magician support Petr Cvek
@ 2015-09-17  7:04 ` Lee Jones
  2015-09-26 15:15 ` Robert Jarzmik
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2015-09-17  7:04 UTC (permalink / raw)
  To: Petr Cvek
  Cc: robert.jarzmik, philipp.zabel, daniel, haojian.zhuang, cooloney,
	rpurdie, j.anaszewski, linux, sre, dbaryshkov, sameo, dwmw2, arnd,
	g.liakhovetski, linux-leds, linux-pm, linux-arm-kernel

On Thu, 17 Sep 2015, Petr Cvek wrote:

[...]

> Petr Cvek (26):
>   ARM: pxa: magician: Fix indentation in machine files
>   ARM: pxa: magician: Change comments to be more informative
>   ARM: pxa: magician: Print more specific error message for global
>     GPIOs
>   ARM: pxa: magician: Optimize debug messages for LCD power
>   ARM: pxa: magician: Change description of LCD power GPIO
>   ARM: pxa: magician: Add new discovered EGPIO pins
>   ARM: pxa: magician: Fix HTC Magician pin mux definitions
>   ARM: pxa: magician: Rename abstract LCD GPIOs
>   ARM: pxa: magician: Optimize powerup delays for Samsung LCD
>   ARM: pxa: magician: Optimize Samsung LCD refresh to 50Hz
>   ARM: pxa: magician: Optimize EGPIO initial values
>   ARM: pxa: magician: Rename charger cable detection EGPIOs
>   ARM: pxa: magician: Fix and add charging detection functions
>   ARM: pxa: magician: Fix platform data for both PXA27x I2C controllers
>   ARM: pxa: magician: Fix redundant GPIO request for pxaficp_ir
>   ARM: pxa: magician: Fix support for Intel Strata NOR Flash
>   ARM: pxa: magician: Fix wrongly enabled USB host ports
>   ARM: pxa: magician: Add support for ADS7846
>   ARM: pxa: magician: Add support for Omnivision OV9640 camera
>   ARM: pxa: magician: Add support for MAX1587A Vcore regulator
>   ARM: pxa: magician: Add support for PXA27x UDC
>   ARM: pxa: magician: Remove pdata for pasic3-leds
>   ARM: pxa: magician: Remove definition of the STUART port
>   ARM: pxa: magician: Add debug message for backlight brightness
>     function
>   ARM: pxa: magician: Add missing regulator for PWM backlight
>   ARM: pxa: magician: Move platform_add_devices() to the end of
>     magician_init()

Why have you sent me 26 patches which have absolutely nothing to do
with me?

>  arch/arm/mach-pxa/include/mach/magician.h |  78 +--
>  arch/arm/mach-pxa/magician.c              | 907 +++++++++++++++++++++---------
>  2 files changed, 682 insertions(+), 303 deletions(-)
> 

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 00/26] ARM: pxa: magician: Rework HTC Magician support
  2015-09-17  4:53 [PATCH v3 00/26] ARM: pxa: magician: Rework HTC Magician support Petr Cvek
  2015-09-17  7:04 ` Lee Jones
@ 2015-09-26 15:15 ` Robert Jarzmik
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Jarzmik @ 2015-09-26 15:15 UTC (permalink / raw)
  To: Petr Cvek, philipp.zabel
  Cc: daniel, haojian.zhuang, cooloney, rpurdie, j.anaszewski, linux,
	sre, dbaryshkov, lee.jones, sameo, dwmw2, arnd, g.liakhovetski,
	linux-leds, linux-pm, linux-arm-kernel

Petr Cvek <petr.cvek@tul.cz> writes:

> This patchset will clean, fix, optimize and add multiple devices,
> which can be found on the HTC Magician machine.
... zip ...
>  arch/arm/mach-pxa/include/mach/magician.h |  78 +--
>  arch/arm/mach-pxa/magician.c              | 907 +++++++++++++++++++++---------
>  2 files changed, 682 insertions(+), 303 deletions(-)

Ok Petr, that's way better.
This is how I see the next step :
 1) You fix the patch 1/26 and resend only that one, it's trivial whitespacing,
    no need to send another complete patchset
 2) I wait a week for Philip to ack all the patches I replied to (ie. all except
    patch 19/26 and 22/26)
 3) If Philipp doesn't NAK, then I'll queue all these patches to my next tree
    (git://github.com/rjarzmik/linux.git pxa/for-next)

Meanwhile, I'll have time to answer to patches 19 and 22. Next Sunday, I'll
reply once more that I have queued your patches (provided that you update patch
1/26), and you will be able to rebase on this tree, leaving at most 2 patches to
deal with.

Cheers.

-- 
Robert

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-26 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17  4:53 [PATCH v3 00/26] ARM: pxa: magician: Rework HTC Magician support Petr Cvek
2015-09-17  7:04 ` Lee Jones
2015-09-26 15:15 ` Robert Jarzmik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).