linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL v2 1/2] clk: Changes for v5.5-rc1
@ 2019-11-11 14:45 Thierry Reding
  2019-11-11 14:45 ` [GIT PULL v2 2/2] clk: tegra: " Thierry Reding
  2019-11-13 19:18 ` [GIT PULL v2 1/2] clk: " Stephen Boyd
  0 siblings, 2 replies; 5+ messages in thread
From: Thierry Reding @ 2019-11-11 14:45 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd; +Cc: linux-clk, linux-tegra

Hi Michael, Stephen,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.5-clk-core-v2

for you to fetch changes up to d9b86cc48283112f06738d45031b88bd3f9ecb92:

  clk: Add API to get index of the clock parent (2019-11-11 13:59:35 +0100)

This is an updated pull request that contains the revised version of the
new API as discussed with Stephen in this thread:

    https://lore.kernel.org/linux-clk/1565984527-5272-8-git-send-email-skomatineni@nvidia.com/

Thanks,
Thierry

----------------------------------------------------------------
clk: Changes for v5.5-rc1

Contains a single core API addition that allows clock providers to query
the parent index for a given struct clk_hw. This is used to implement
suspend/resume support on Tegra SoCs.

----------------------------------------------------------------
Sowjanya Komatineni (1):
      clk: Add API to get index of the clock parent

 drivers/clk/clk.c            | 18 ++++++++++++++++++
 include/linux/clk-provider.h |  1 +
 2 files changed, 19 insertions(+)

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

* [GIT PULL v2 2/2] clk: tegra: Changes for v5.5-rc1
  2019-11-11 14:45 [GIT PULL v2 1/2] clk: Changes for v5.5-rc1 Thierry Reding
@ 2019-11-11 14:45 ` Thierry Reding
  2019-11-13 19:27   ` Stephen Boyd
  2019-11-13 19:18 ` [GIT PULL v2 1/2] clk: " Stephen Boyd
  1 sibling, 1 reply; 5+ messages in thread
From: Thierry Reding @ 2019-11-11 14:45 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd; +Cc: linux-clk, linux-tegra

Hi Michael, Stephen,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.5-clk-v2

for you to fetch changes up to 07b293c5b01483f3c65372e72e62a2ee559ce1cf:

  clk: tegra: Fix build error without CONFIG_PM_SLEEP (2019-11-11 14:53:05 +0100)

This updated pull request contains changes needed for the updated API to
retrieve a clock's parent's index as well as additional Acked-bys from
Stephen.

Thanks,
Thierry

----------------------------------------------------------------
clk: tegra: Changes for v5.5-rc1

The bulk of these changes implement suspend/resume support for Tegra210.
In addition, some of the SOR clocks on earlier Tegra generations are
reimplemented to more closely match the implementation on later chips,
which in turn makes it possible to handle HDMI and DP support in a more
unified way.

----------------------------------------------------------------
Dmitry Osipenko (3):
      clk: tegra: Add Tegra20/30 EMC clock implementation
      clk: tegra: Optimize PLLX restore on Tegra20/30
      clk: tegra: Add missing stubs for the case of !CONFIG_PM_SLEEP

Sowjanya Komatineni (12):
      clk: Add API to get index of the clock parent
      clk: tegra: divider: Save and restore divider rate
      clk: tegra: pllout: Save and restore pllout context
      clk: tegra: pll: Save and restore pll context
      clk: tegra: Support for OSC context save and restore
      clk: tegra: periph: Add restore_context support
      clk: tegra: clk-super: Fix to enable PLLP branches to CPU
      clk: tegra: clk-super: Add restore-context support
      clk: tegra: clk-dfll: Add suspend and resume support
      clk: tegra: Use fence_udelay() during PLLU init
      clk: tegra: Share clk and rst register defines with Tegra clock driver
      clk: tegra: Add suspend and resume support on Tegra210

Thierry Reding (8):
      dt-bindings: clock: tegra: Rename SOR0_LVDS to SOR0_OUT
      Merge branch 'for-5.5/clk-core' into for-5.5/clk
      Merge branch 'for-5.5/dt-bindings' into for-5.5/clk
      clk: tegra: Remove last remains of TEGRA210_CLK_SOR1_SRC
      clk: tegra: Move SOR0 implementation to Tegra124
      clk: tegra: Rename sor0_lvds to sor0_out
      clk: tegra: Reimplement SOR clock on Tegra124
      clk: tegra: Reimplement SOR clocks on Tegra210

YueHaibing (1):
      clk: tegra: Fix build error without CONFIG_PM_SLEEP

 drivers/clk/clk.c                               |  18 ++
 drivers/clk/tegra/Makefile                      |   2 +
 drivers/clk/tegra/clk-dfll.c                    |  56 +++++
 drivers/clk/tegra/clk-dfll.h                    |   2 +
 drivers/clk/tegra/clk-divider.c                 |  11 +
 drivers/clk/tegra/clk-id.h                      |   4 +-
 drivers/clk/tegra/clk-periph.c                  |  21 ++
 drivers/clk/tegra/clk-pll-out.c                 |   9 +
 drivers/clk/tegra/clk-pll.c                     |  86 ++++---
 drivers/clk/tegra/clk-sdmmc-mux.c               |  16 ++
 drivers/clk/tegra/clk-super.c                   |  41 ++++
 drivers/clk/tegra/clk-tegra-fixed.c             |  15 ++
 drivers/clk/tegra/clk-tegra-periph.c            |   8 -
 drivers/clk/tegra/clk-tegra-super-gen4.c        |   7 +-
 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c      |   1 +
 drivers/clk/tegra/clk-tegra124.c                |  55 ++++-
 drivers/clk/tegra/clk-tegra20-emc.c             | 293 ++++++++++++++++++++++++
 drivers/clk/tegra/clk-tegra20.c                 |  80 +++----
 drivers/clk/tegra/clk-tegra210.c                | 181 ++++++++++++---
 drivers/clk/tegra/clk-tegra30.c                 |  63 +++--
 drivers/clk/tegra/clk.c                         | 112 +++++----
 drivers/clk/tegra/clk.h                         |  70 ++++++
 include/dt-bindings/clock/tegra124-car-common.h |   3 +-
 include/dt-bindings/clock/tegra210-car.h        |   6 +-
 include/linux/clk-provider.h                    |   1 +
 include/linux/clk/tegra.h                       |  24 ++
 26 files changed, 997 insertions(+), 188 deletions(-)
 create mode 100644 drivers/clk/tegra/clk-tegra20-emc.c

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

* Re: [GIT PULL v2 1/2] clk: Changes for v5.5-rc1
  2019-11-11 14:45 [GIT PULL v2 1/2] clk: Changes for v5.5-rc1 Thierry Reding
  2019-11-11 14:45 ` [GIT PULL v2 2/2] clk: tegra: " Thierry Reding
@ 2019-11-13 19:18 ` Stephen Boyd
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Boyd @ 2019-11-13 19:18 UTC (permalink / raw)
  To: Michael Turquette, Thierry Reding; +Cc: linux-clk, linux-tegra

Quoting Thierry Reding (2019-11-11 06:45:06)
> Hi Michael, Stephen,
> 
> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
> 
>   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.5-clk-core-v2
> 
> for you to fetch changes up to d9b86cc48283112f06738d45031b88bd3f9ecb92:
> 
>   clk: Add API to get index of the clock parent (2019-11-11 13:59:35 +0100)
> 
> This is an updated pull request that contains the revised version of the
> new API as discussed with Stephen in this thread:
> 
>     https://lore.kernel.org/linux-clk/1565984527-5272-8-git-send-email-skomatineni@nvidia.com/
> 
> Thanks,
> Thierry
> 
> ----------------------------------------------------------------

Thanks. Pulled into clk-next


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

* Re: [GIT PULL v2 2/2] clk: tegra: Changes for v5.5-rc1
  2019-11-11 14:45 ` [GIT PULL v2 2/2] clk: tegra: " Thierry Reding
@ 2019-11-13 19:27   ` Stephen Boyd
  2019-11-14 11:18     ` Dmitry Osipenko
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Boyd @ 2019-11-13 19:27 UTC (permalink / raw)
  To: Michael Turquette, Thierry Reding, Sowjanya Komatineni
  Cc: linux-clk, linux-tegra, Dmitry Osipenko

Quoting Thierry Reding (2019-11-11 06:45:07)
> Hi Michael, Stephen,
> 
> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
> 
>   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.5-clk-v2
> 
> for you to fetch changes up to 07b293c5b01483f3c65372e72e62a2ee559ce1cf:
> 
>   clk: tegra: Fix build error without CONFIG_PM_SLEEP (2019-11-11 14:53:05 +0100)
> 
> This updated pull request contains changes needed for the updated API to
> retrieve a clock's parent's index as well as additional Acked-bys from
> Stephen.
> 
> Thanks,
> Thierry
> 
> ----------------------------------------------------------------

Thanks. Pulled into clk-next. I noticed this error from static checker.

drivers/clk/tegra/clk.c:241 tegra_clk_init() error: double free of 'periph_clk_enb_refcnt'

And maybe that function can use struct_size() too instead of kcalloc
with a multiply?


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

* Re: [GIT PULL v2 2/2] clk: tegra: Changes for v5.5-rc1
  2019-11-13 19:27   ` Stephen Boyd
@ 2019-11-14 11:18     ` Dmitry Osipenko
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Osipenko @ 2019-11-14 11:18 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette, Thierry Reding, Sowjanya Komatineni
  Cc: linux-clk, linux-tegra

13.11.2019 22:27, Stephen Boyd пишет:
> Quoting Thierry Reding (2019-11-11 06:45:07)
>> Hi Michael, Stephen,
>>
>> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
>>
>>   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
>>
>> are available in the Git repository at:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.5-clk-v2
>>
>> for you to fetch changes up to 07b293c5b01483f3c65372e72e62a2ee559ce1cf:
>>
>>   clk: tegra: Fix build error without CONFIG_PM_SLEEP (2019-11-11 14:53:05 +0100)
>>
>> This updated pull request contains changes needed for the updated API to
>> retrieve a clock's parent's index as well as additional Acked-bys from
>> Stephen.
>>
>> Thanks,
>> Thierry
>>
>> ----------------------------------------------------------------
> 
> Thanks. Pulled into clk-next. I noticed this error from static checker.
> 
> drivers/clk/tegra/clk.c:241 tegra_clk_init() error: double free of 'periph_clk_enb_refcnt'

That's a good catch! Sowjanya, could you please make a patch to fix it?

> And maybe that function can use struct_size() too instead of kcalloc
> with a multiply?

The struct_size() has a different purpose, it should be used when
structure is padded with a variable-size array at the end.

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

end of thread, other threads:[~2019-11-14 11:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 14:45 [GIT PULL v2 1/2] clk: Changes for v5.5-rc1 Thierry Reding
2019-11-11 14:45 ` [GIT PULL v2 2/2] clk: tegra: " Thierry Reding
2019-11-13 19:27   ` Stephen Boyd
2019-11-14 11:18     ` Dmitry Osipenko
2019-11-13 19:18 ` [GIT PULL v2 1/2] clk: " Stephen Boyd

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).