mbox series

[v2,0/2] reset: Add a managed API

Message ID 20200612120803.20657-1-p.yadav@ti.com
Headers show
Series reset: Add a managed API | expand

Message

Pratyush Yadav June 12, 2020, 12:08 p.m. UTC
Hi,

This is the 4th of a few series that are re-rolls of Jean-Jacques'
earlier efforts. The goal is to facilitate porting drivers from the
Linux kernel.

This particular series is about reset controllers. It adds a managed API,
close to that of Linux. The main difference is that bulk and reset_ctl
are handled with different functions.

Changes in v2:
- Fix test build failing because of missing function prototypes and
  includes.
- Drop NULL checks from the reset core. For now let drivers handle them.
  We can always add the checks back if we think they are a better idea.
- Rebase on latest master.

Jean-Jacques Hiblot (2):
  drivers: reset: Add a managed API to get reset controllers from the DT
  test: reset: Add tests for the managed API

 arch/sandbox/include/asm/reset.h   |   3 +
 drivers/reset/reset-uclass.c       | 118 ++++++++++++++++++++++++-
 drivers/reset/sandbox-reset-test.c |  51 +++++++++--
 drivers/reset/sandbox-reset.c      |  19 ++++
 include/reset.h                    | 135 ++++++++++++++++++++++++++++-
 test/dm/reset.c                    |  60 +++++++++++++
 6 files changed, 375 insertions(+), 11 deletions(-)

--
2.27.0

Comments

Pratyush Yadav Aug. 5, 2020, 8:12 a.m. UTC | #1
Hi Simon,

On 12/06/20 05:38PM, Pratyush Yadav wrote:
> Hi,
> 
> This is the 4th of a few series that are re-rolls of Jean-Jacques'
> earlier efforts. The goal is to facilitate porting drivers from the
> Linux kernel.
> 
> This particular series is about reset controllers. It adds a managed API,
> close to that of Linux. The main difference is that bulk and reset_ctl
> are handled with different functions.

I don't see this series in v2020.10-rc1. Has it fell through the cracks 
somehow?
 
> Changes in v2:
> - Fix test build failing because of missing function prototypes and
>   includes.
> - Drop NULL checks from the reset core. For now let drivers handle them.
>   We can always add the checks back if we think they are a better idea.
> - Rebase on latest master.
> 
> Jean-Jacques Hiblot (2):
>   drivers: reset: Add a managed API to get reset controllers from the DT
>   test: reset: Add tests for the managed API
> 
>  arch/sandbox/include/asm/reset.h   |   3 +
>  drivers/reset/reset-uclass.c       | 118 ++++++++++++++++++++++++-
>  drivers/reset/sandbox-reset-test.c |  51 +++++++++--
>  drivers/reset/sandbox-reset.c      |  19 ++++
>  include/reset.h                    | 135 ++++++++++++++++++++++++++++-
>  test/dm/reset.c                    |  60 +++++++++++++
>  6 files changed, 375 insertions(+), 11 deletions(-)
> 
> --
> 2.27.0
>
Simon Glass Aug. 16, 2020, 3:39 a.m. UTC | #2
Hi Pratyush,

On Wed, 5 Aug 2020 at 02:13, Pratyush Yadav <p.yadav@ti.com> wrote:
>
> Hi Simon,
>
> On 12/06/20 05:38PM, Pratyush Yadav wrote:
> > Hi,
> >
> > This is the 4th of a few series that are re-rolls of Jean-Jacques'
> > earlier efforts. The goal is to facilitate porting drivers from the
> > Linux kernel.
> >
> > This particular series is about reset controllers. It adds a managed API,
> > close to that of Linux. The main difference is that bulk and reset_ctl
> > are handled with different functions.
>
> I don't see this series in v2020.10-rc1. Has it fell through the cracks
> somehow?

I'm not sure...can you check patchwork?

Regards,
Simon