Re: [PATCH v8 0/3] Runtime Interpreted Power Sequences

2013-04-27 Thread Alexandre Courbot
Hi Simon,

On Sat, Apr 27, 2013 at 3:55 AM, Simon Glass  wrote:
> Hi,
>
> On Thu, Nov 15, 2012 at 10:38 PM, Alexandre Courbot  
> wrote:
>> Hopefully the final series before the feature gets merged. Anton Vorontsov
>> kindly accepted to take it into his tree, so this series is mostly a call for
>> acks, tests and reviews notices before the merge window for 3.8 opens. If you
>> are interested in seeing this feature, please add your name.
>>
>> This series also adds an entry for the subsystem into MAINTAINERS, setting 
>> me as
>> the person in charge.
>>
>> Changes from v7:
>> - fix bug reported by Tony Prisk
>> - add MAINTAINERS entry
>>
>> Alexandre Courbot (3):
>>   Runtime Interpreted Power Sequences
>>   pwm_backlight: use power sequences
>>   Take maintainership of power sequences
>
> Did this actually land? I can't see it in linux-next.

It has not landed yet, and will not land in the form that I proposed
initially. There were some obvious issues with describing the
sequences in the device tree, and I decided to rethink the whole
thing, study the state of the art some more (especially ACPI) and
start again from a blank page.

The v2 idea is almost ready to be shared, but it needs a cleaner way
to manage GPIOs, which itself requires gpiolib to be refactored and
the GENERIC_GPIO option to be removed. These last two items will land
in 3.10, so I hope to have both the gpiod interface *and* the new
power seqs ready and approved for 3.11. Then my $@?*^! panel backlight
will maybe finally switch on (no kidding - that's really what this
whole thing is about).

The new power seqs will fundamentally work in a similar fashion to v1
(a simple bytecode that controls power-related items), but will not be
encoded through the DT. Instead, I'd like to have small power control
objects that can be referenced by the platform data of pseq-enabled
drivers, or fetched and associated to the driver through the
compatible property of the DT. These objects will have, as before,
power resources they need to request, and power methods that the
driver can call as needed.

I hate to give dates, but my wish is to come with a first version of
the code by the time the merge window closes. And yes, I still plan to
use Anton as a trojan horse to get this in. ;)

Thanks,
Alex.
--
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 v8 0/3] Runtime Interpreted Power Sequences

2013-04-27 Thread Alexandre Courbot
Hi Simon,

On Sat, Apr 27, 2013 at 3:55 AM, Simon Glass s...@chromium.org wrote:
 Hi,

 On Thu, Nov 15, 2012 at 10:38 PM, Alexandre Courbot acour...@nvidia.com 
 wrote:
 Hopefully the final series before the feature gets merged. Anton Vorontsov
 kindly accepted to take it into his tree, so this series is mostly a call for
 acks, tests and reviews notices before the merge window for 3.8 opens. If you
 are interested in seeing this feature, please add your name.

 This series also adds an entry for the subsystem into MAINTAINERS, setting 
 me as
 the person in charge.

 Changes from v7:
 - fix bug reported by Tony Prisk
 - add MAINTAINERS entry

 Alexandre Courbot (3):
   Runtime Interpreted Power Sequences
   pwm_backlight: use power sequences
   Take maintainership of power sequences

 Did this actually land? I can't see it in linux-next.

It has not landed yet, and will not land in the form that I proposed
initially. There were some obvious issues with describing the
sequences in the device tree, and I decided to rethink the whole
thing, study the state of the art some more (especially ACPI) and
start again from a blank page.

The v2 idea is almost ready to be shared, but it needs a cleaner way
to manage GPIOs, which itself requires gpiolib to be refactored and
the GENERIC_GPIO option to be removed. These last two items will land
in 3.10, so I hope to have both the gpiod interface *and* the new
power seqs ready and approved for 3.11. Then my $@?*^! panel backlight
will maybe finally switch on (no kidding - that's really what this
whole thing is about).

The new power seqs will fundamentally work in a similar fashion to v1
(a simple bytecode that controls power-related items), but will not be
encoded through the DT. Instead, I'd like to have small power control
objects that can be referenced by the platform data of pseq-enabled
drivers, or fetched and associated to the driver through the
compatible property of the DT. These objects will have, as before,
power resources they need to request, and power methods that the
driver can call as needed.

I hate to give dates, but my wish is to come with a first version of
the code by the time the merge window closes. And yes, I still plan to
use Anton as a trojan horse to get this in. ;)

Thanks,
Alex.
--
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 v8 0/3] Runtime Interpreted Power Sequences

2013-04-26 Thread Anton Vorontsov
On Fri, Apr 26, 2013 at 11:55:35AM -0700, Simon Glass wrote:
> On Thu, Nov 15, 2012 at 10:38 PM, Alexandre Courbot  
> wrote:
> > Hopefully the final series before the feature gets merged. Anton Vorontsov
> > kindly accepted to take it into his tree, so this series is mostly a call 
> > for
> > acks, tests and reviews notices before the merge window for 3.8 opens. If 
> > you
> > are interested in seeing this feature, please add your name.
> >
> > This series also adds an entry for the subsystem into MAINTAINERS, setting 
> > me as
> > the person in charge.
> >
> > Changes from v7:
> > - fix bug reported by Tony Prisk
> > - add MAINTAINERS entry
> >
> > Alexandre Courbot (3):
> >   Runtime Interpreted Power Sequences
> >   pwm_backlight: use power sequences
> >   Take maintainership of power sequences
> 
> Did this actually land?

At least not through my tree. I saw a huge discussion, and I am not sure
how it ended and whether there was a consensus.

Thanks,

Anton
--
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 v8 0/3] Runtime Interpreted Power Sequences

2013-04-26 Thread Simon Glass
Hi,

On Thu, Nov 15, 2012 at 10:38 PM, Alexandre Courbot  wrote:
> Hopefully the final series before the feature gets merged. Anton Vorontsov
> kindly accepted to take it into his tree, so this series is mostly a call for
> acks, tests and reviews notices before the merge window for 3.8 opens. If you
> are interested in seeing this feature, please add your name.
>
> This series also adds an entry for the subsystem into MAINTAINERS, setting me 
> as
> the person in charge.
>
> Changes from v7:
> - fix bug reported by Tony Prisk
> - add MAINTAINERS entry
>
> Alexandre Courbot (3):
>   Runtime Interpreted Power Sequences
>   pwm_backlight: use power sequences
>   Take maintainership of power sequences

Did this actually land? I can't see it in linux-next.

Regards,
Simon
--
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 v8 0/3] Runtime Interpreted Power Sequences

2013-04-26 Thread Simon Glass
Hi,

On Thu, Nov 15, 2012 at 10:38 PM, Alexandre Courbot acour...@nvidia.com wrote:
 Hopefully the final series before the feature gets merged. Anton Vorontsov
 kindly accepted to take it into his tree, so this series is mostly a call for
 acks, tests and reviews notices before the merge window for 3.8 opens. If you
 are interested in seeing this feature, please add your name.

 This series also adds an entry for the subsystem into MAINTAINERS, setting me 
 as
 the person in charge.

 Changes from v7:
 - fix bug reported by Tony Prisk
 - add MAINTAINERS entry

 Alexandre Courbot (3):
   Runtime Interpreted Power Sequences
   pwm_backlight: use power sequences
   Take maintainership of power sequences

Did this actually land? I can't see it in linux-next.

Regards,
Simon
--
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 v8 0/3] Runtime Interpreted Power Sequences

2013-04-26 Thread Anton Vorontsov
On Fri, Apr 26, 2013 at 11:55:35AM -0700, Simon Glass wrote:
 On Thu, Nov 15, 2012 at 10:38 PM, Alexandre Courbot acour...@nvidia.com 
 wrote:
  Hopefully the final series before the feature gets merged. Anton Vorontsov
  kindly accepted to take it into his tree, so this series is mostly a call 
  for
  acks, tests and reviews notices before the merge window for 3.8 opens. If 
  you
  are interested in seeing this feature, please add your name.
 
  This series also adds an entry for the subsystem into MAINTAINERS, setting 
  me as
  the person in charge.
 
  Changes from v7:
  - fix bug reported by Tony Prisk
  - add MAINTAINERS entry
 
  Alexandre Courbot (3):
Runtime Interpreted Power Sequences
pwm_backlight: use power sequences
Take maintainership of power sequences
 
 Did this actually land?

At least not through my tree. I saw a huge discussion, and I am not sure
how it ended and whether there was a consensus.

Thanks,

Anton
--
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 v8 0/3] Runtime Interpreted Power Sequences

2012-11-16 Thread Stephen Warren
On 11/15/2012 11:38 PM, Alexandre Courbot wrote:
> Hopefully the final series before the feature gets merged. Anton Vorontsov
> kindly accepted to take it into his tree, so this series is mostly a call for
> acks, tests and reviews notices before the merge window for 3.8 opens. If you
> are interested in seeing this feature, please add your name.
> 
> This series also adds an entry for the subsystem into MAINTAINERS, setting me 
> as
> the person in charge.

The series,
Tested-by: Stephen Warren 

On Ventana.

--
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 v8 0/3] Runtime Interpreted Power Sequences

2012-11-16 Thread Thierry Reding
On Fri, Nov 16, 2012 at 03:38:20PM +0900, Alexandre Courbot wrote:
> Hopefully the final series before the feature gets merged. Anton Vorontsov
> kindly accepted to take it into his tree, so this series is mostly a call for
> acks, tests and reviews notices before the merge window for 3.8 opens. If you
> are interested in seeing this feature, please add your name.
> 
> This series also adds an entry for the subsystem into MAINTAINERS, setting me 
> as
> the person in charge.
> 
> Changes from v7:
> - fix bug reported by Tony Prisk
> - add MAINTAINERS entry
> 
> Alexandre Courbot (3):
>   Runtime Interpreted Power Sequences
>   pwm_backlight: use power sequences
>   Take maintainership of power sequences
> 
>  .../devicetree/bindings/power/power_seq.txt| 121 +++
>  .../bindings/video/backlight/pwm-backlight.txt |  63 +++-
>  Documentation/power/power_seq.txt  | 253 ++
>  MAINTAINERS|  10 +
>  drivers/power/Kconfig  |   1 +
>  drivers/power/Makefile |   1 +
>  drivers/power/power_seq/Kconfig|   2 +
>  drivers/power/power_seq/Makefile   |   1 +
>  drivers/power/power_seq/power_seq.c| 376 
> +
>  drivers/power/power_seq/power_seq_delay.c  |  65 
>  drivers/power/power_seq/power_seq_gpio.c   |  94 ++
>  drivers/power/power_seq/power_seq_pwm.c|  82 +
>  drivers/power/power_seq/power_seq_regulator.c  |  83 +
>  drivers/video/backlight/Kconfig|   1 +
>  drivers/video/backlight/pwm_bl.c   | 160 +++--
>  include/linux/power_seq.h  | 203 +++
>  include/linux/pwm_backlight.h  |  18 +-
>  17 files changed, 1494 insertions(+), 40 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/power/power_seq.txt
>  create mode 100644 Documentation/power/power_seq.txt
>  create mode 100644 drivers/power/power_seq/Kconfig
>  create mode 100644 drivers/power/power_seq/Makefile
>  create mode 100644 drivers/power/power_seq/power_seq.c
>  create mode 100644 drivers/power/power_seq/power_seq_delay.c
>  create mode 100644 drivers/power/power_seq/power_seq_gpio.c
>  create mode 100644 drivers/power/power_seq/power_seq_pwm.c
>  create mode 100644 drivers/power/power_seq/power_seq_regulator.c
>  create mode 100644 include/linux/power_seq.h

The series,

Tested-by: Thierry Reding 
Acked-by: Thierry Reding 


pgpKQFMzVkOaB.pgp
Description: PGP signature


Re: [PATCH v8 0/3] Runtime Interpreted Power Sequences

2012-11-16 Thread Thierry Reding
On Fri, Nov 16, 2012 at 03:38:20PM +0900, Alexandre Courbot wrote:
 Hopefully the final series before the feature gets merged. Anton Vorontsov
 kindly accepted to take it into his tree, so this series is mostly a call for
 acks, tests and reviews notices before the merge window for 3.8 opens. If you
 are interested in seeing this feature, please add your name.
 
 This series also adds an entry for the subsystem into MAINTAINERS, setting me 
 as
 the person in charge.
 
 Changes from v7:
 - fix bug reported by Tony Prisk
 - add MAINTAINERS entry
 
 Alexandre Courbot (3):
   Runtime Interpreted Power Sequences
   pwm_backlight: use power sequences
   Take maintainership of power sequences
 
  .../devicetree/bindings/power/power_seq.txt| 121 +++
  .../bindings/video/backlight/pwm-backlight.txt |  63 +++-
  Documentation/power/power_seq.txt  | 253 ++
  MAINTAINERS|  10 +
  drivers/power/Kconfig  |   1 +
  drivers/power/Makefile |   1 +
  drivers/power/power_seq/Kconfig|   2 +
  drivers/power/power_seq/Makefile   |   1 +
  drivers/power/power_seq/power_seq.c| 376 
 +
  drivers/power/power_seq/power_seq_delay.c  |  65 
  drivers/power/power_seq/power_seq_gpio.c   |  94 ++
  drivers/power/power_seq/power_seq_pwm.c|  82 +
  drivers/power/power_seq/power_seq_regulator.c  |  83 +
  drivers/video/backlight/Kconfig|   1 +
  drivers/video/backlight/pwm_bl.c   | 160 +++--
  include/linux/power_seq.h  | 203 +++
  include/linux/pwm_backlight.h  |  18 +-
  17 files changed, 1494 insertions(+), 40 deletions(-)
  create mode 100644 Documentation/devicetree/bindings/power/power_seq.txt
  create mode 100644 Documentation/power/power_seq.txt
  create mode 100644 drivers/power/power_seq/Kconfig
  create mode 100644 drivers/power/power_seq/Makefile
  create mode 100644 drivers/power/power_seq/power_seq.c
  create mode 100644 drivers/power/power_seq/power_seq_delay.c
  create mode 100644 drivers/power/power_seq/power_seq_gpio.c
  create mode 100644 drivers/power/power_seq/power_seq_pwm.c
  create mode 100644 drivers/power/power_seq/power_seq_regulator.c
  create mode 100644 include/linux/power_seq.h

The series,

Tested-by: Thierry Reding thierry.red...@avionic-design.de
Acked-by: Thierry Reding thierry.red...@avionic-design.de


pgpKQFMzVkOaB.pgp
Description: PGP signature


Re: [PATCH v8 0/3] Runtime Interpreted Power Sequences

2012-11-16 Thread Stephen Warren
On 11/15/2012 11:38 PM, Alexandre Courbot wrote:
 Hopefully the final series before the feature gets merged. Anton Vorontsov
 kindly accepted to take it into his tree, so this series is mostly a call for
 acks, tests and reviews notices before the merge window for 3.8 opens. If you
 are interested in seeing this feature, please add your name.
 
 This series also adds an entry for the subsystem into MAINTAINERS, setting me 
 as
 the person in charge.

The series,
Tested-by: Stephen Warren swar...@nvidia.com

On Ventana.

--
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 v8 0/3] Runtime Interpreted Power Sequences

2012-11-15 Thread Alexandre Courbot
Hopefully the final series before the feature gets merged. Anton Vorontsov
kindly accepted to take it into his tree, so this series is mostly a call for
acks, tests and reviews notices before the merge window for 3.8 opens. If you
are interested in seeing this feature, please add your name.

This series also adds an entry for the subsystem into MAINTAINERS, setting me as
the person in charge.

Changes from v7:
- fix bug reported by Tony Prisk
- add MAINTAINERS entry

Alexandre Courbot (3):
  Runtime Interpreted Power Sequences
  pwm_backlight: use power sequences
  Take maintainership of power sequences

 .../devicetree/bindings/power/power_seq.txt| 121 +++
 .../bindings/video/backlight/pwm-backlight.txt |  63 +++-
 Documentation/power/power_seq.txt  | 253 ++
 MAINTAINERS|  10 +
 drivers/power/Kconfig  |   1 +
 drivers/power/Makefile |   1 +
 drivers/power/power_seq/Kconfig|   2 +
 drivers/power/power_seq/Makefile   |   1 +
 drivers/power/power_seq/power_seq.c| 376 +
 drivers/power/power_seq/power_seq_delay.c  |  65 
 drivers/power/power_seq/power_seq_gpio.c   |  94 ++
 drivers/power/power_seq/power_seq_pwm.c|  82 +
 drivers/power/power_seq/power_seq_regulator.c  |  83 +
 drivers/video/backlight/Kconfig|   1 +
 drivers/video/backlight/pwm_bl.c   | 160 +++--
 include/linux/power_seq.h  | 203 +++
 include/linux/pwm_backlight.h  |  18 +-
 17 files changed, 1494 insertions(+), 40 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/power_seq.txt
 create mode 100644 Documentation/power/power_seq.txt
 create mode 100644 drivers/power/power_seq/Kconfig
 create mode 100644 drivers/power/power_seq/Makefile
 create mode 100644 drivers/power/power_seq/power_seq.c
 create mode 100644 drivers/power/power_seq/power_seq_delay.c
 create mode 100644 drivers/power/power_seq/power_seq_gpio.c
 create mode 100644 drivers/power/power_seq/power_seq_pwm.c
 create mode 100644 drivers/power/power_seq/power_seq_regulator.c
 create mode 100644 include/linux/power_seq.h

-- 
1.8.0

--
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 v8 0/3] Runtime Interpreted Power Sequences

2012-11-15 Thread Alexandre Courbot
Hopefully the final series before the feature gets merged. Anton Vorontsov
kindly accepted to take it into his tree, so this series is mostly a call for
acks, tests and reviews notices before the merge window for 3.8 opens. If you
are interested in seeing this feature, please add your name.

This series also adds an entry for the subsystem into MAINTAINERS, setting me as
the person in charge.

Changes from v7:
- fix bug reported by Tony Prisk
- add MAINTAINERS entry

Alexandre Courbot (3):
  Runtime Interpreted Power Sequences
  pwm_backlight: use power sequences
  Take maintainership of power sequences

 .../devicetree/bindings/power/power_seq.txt| 121 +++
 .../bindings/video/backlight/pwm-backlight.txt |  63 +++-
 Documentation/power/power_seq.txt  | 253 ++
 MAINTAINERS|  10 +
 drivers/power/Kconfig  |   1 +
 drivers/power/Makefile |   1 +
 drivers/power/power_seq/Kconfig|   2 +
 drivers/power/power_seq/Makefile   |   1 +
 drivers/power/power_seq/power_seq.c| 376 +
 drivers/power/power_seq/power_seq_delay.c  |  65 
 drivers/power/power_seq/power_seq_gpio.c   |  94 ++
 drivers/power/power_seq/power_seq_pwm.c|  82 +
 drivers/power/power_seq/power_seq_regulator.c  |  83 +
 drivers/video/backlight/Kconfig|   1 +
 drivers/video/backlight/pwm_bl.c   | 160 +++--
 include/linux/power_seq.h  | 203 +++
 include/linux/pwm_backlight.h  |  18 +-
 17 files changed, 1494 insertions(+), 40 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/power_seq.txt
 create mode 100644 Documentation/power/power_seq.txt
 create mode 100644 drivers/power/power_seq/Kconfig
 create mode 100644 drivers/power/power_seq/Makefile
 create mode 100644 drivers/power/power_seq/power_seq.c
 create mode 100644 drivers/power/power_seq/power_seq_delay.c
 create mode 100644 drivers/power/power_seq/power_seq_gpio.c
 create mode 100644 drivers/power/power_seq/power_seq_pwm.c
 create mode 100644 drivers/power/power_seq/power_seq_regulator.c
 create mode 100644 include/linux/power_seq.h

-- 
1.8.0

--
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/