mbox series

[00/11] clk: at91: add support for parent_data and parent_hw

Message ID 20230615093227.576102-1-claudiu.beznea@microchip.com (mailing list archive)
Headers show
Series clk: at91: add support for parent_data and parent_hw | expand

Message

Claudiu Beznea June 15, 2023, 9:32 a.m. UTC
Hi,

Series adds support for parent data and parent_hw on AT91 clock drivers
used on SAMA7G5. As the drivers are shared with other AT91 SoC at the
moment the parent names support is preserved and will eventually be
removed when all the AT91 SoC clock drivers will be converted to use
parent_data, parent_hw. For the moment the series does the conversion
for SAMA7G5. Eventually, subsequent patches will adapt the other AT91
SoC clocks.

Series has been tested on SAM9X60, SAMA5D2 and SAMA7G5 SoCs.

Thank you,
Claudiu Beznea

PS: along with this I've added patch 11/11 that fixes a typo.

Claudiu Beznea (11):
  clk: at91: clk-main: add support for parent_data/parent_hw
  clk: at91: clk-generated: add support for parent_hw
  clk: at91: clk-master: add support for parent_hw
  clk: at91: clk-peripheral: add support for parent_hw
  clk: at91: clk-programmable: add support for parent_hw
  clk: at91: clk-system: add support for parent_hw
  clk: at91: clk-utmi: add support for parent_hw
  clk: at91: clk-sam9x60-pll: add support for parent_hw
  clk: at91: sckc: switch to parent_data/parent_hw
  clk: at91: sama7g5: switch to parent_hw and parent_data
  clk: at91: sama7g5: s/ep_chg_chg_id/ep_chg_id

 drivers/clk/at91/at91rm9200.c       |  14 +-
 drivers/clk/at91/at91sam9260.c      |  14 +-
 drivers/clk/at91/at91sam9g45.c      |  16 +-
 drivers/clk/at91/at91sam9n12.c      |  14 +-
 drivers/clk/at91/at91sam9rl.c       |  14 +-
 drivers/clk/at91/at91sam9x5.c       |  20 +-
 drivers/clk/at91/clk-generated.c    |  11 +-
 drivers/clk/at91/clk-main.c         |  32 +-
 drivers/clk/at91/clk-master.c       |  28 +-
 drivers/clk/at91/clk-peripheral.c   |  22 +-
 drivers/clk/at91/clk-programmable.c |  11 +-
 drivers/clk/at91/clk-sam9x60-pll.c  |  17 +-
 drivers/clk/at91/clk-system.c       |  12 +-
 drivers/clk/at91/clk-utmi.c         |  24 +-
 drivers/clk/at91/dt-compat.c        |  23 +-
 drivers/clk/at91/pmc.h              |  36 +-
 drivers/clk/at91/sam9x60.c          |  20 +-
 drivers/clk/at91/sama5d2.c          |  20 +-
 drivers/clk/at91/sama5d3.c          |  16 +-
 drivers/clk/at91/sama5d4.c          |  18 +-
 drivers/clk/at91/sama7g5.c          | 796 ++++++++++++++++------------
 drivers/clk/at91/sckc.c             |  75 ++-
 22 files changed, 730 insertions(+), 523 deletions(-)

Comments

Claudiu Beznea June 21, 2023, 9:41 a.m. UTC | #1
On 15.06.2023 12:32, Claudiu Beznea wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Hi,
> 
> Series adds support for parent data and parent_hw on AT91 clock drivers
> used on SAMA7G5. As the drivers are shared with other AT91 SoC at the
> moment the parent names support is preserved and will eventually be
> removed when all the AT91 SoC clock drivers will be converted to use
> parent_data, parent_hw. For the moment the series does the conversion
> for SAMA7G5. Eventually, subsequent patches will adapt the other AT91
> SoC clocks.
> 
> Series has been tested on SAM9X60, SAMA5D2 and SAMA7G5 SoCs.
> 
> Thank you,
> Claudiu Beznea
> 
> PS: along with this I've added patch 11/11 that fixes a typo.
> 
> Claudiu Beznea (11):
>   clk: at91: clk-main: add support for parent_data/parent_hw
>   clk: at91: clk-generated: add support for parent_hw
>   clk: at91: clk-master: add support for parent_hw
>   clk: at91: clk-peripheral: add support for parent_hw
>   clk: at91: clk-programmable: add support for parent_hw
>   clk: at91: clk-system: add support for parent_hw
>   clk: at91: clk-utmi: add support for parent_hw
>   clk: at91: clk-sam9x60-pll: add support for parent_hw
>   clk: at91: sckc: switch to parent_data/parent_hw
>   clk: at91: sama7g5: switch to parent_hw and parent_data
>   clk: at91: sama7g5: s/ep_chg_chg_id/ep_chg_id

Applied to clk-microchip, thanks!