mbox series

[v2,0/2] CLK: microchip: Add clkcfg driver for Microchip PolarFire SoC

Message ID 20210107113500.15642-1-daire.mcnamara@microchip.com (mailing list archive)
Headers show
Series CLK: microchip: Add clkcfg driver for Microchip PolarFire SoC | expand

Message

Daire McNamara Jan. 7, 2021, 11:34 a.m. UTC
From: Daire McNamara <daire.mcnamara@microchip.com>

This patchset adds support for the Microchip PolarFire clkcfg
hardware block.

Major changes since v1:
 * Dependency on SOC_MICROCHIP_POLARFIRE
 * All references to PFSOC/pfsoc changed to MPFS/mpfs
 * Cleaned error handling in _probe
 * Re-ordered code to place structs et al at top

Daire McNamara (2):
  dt-bindings: clk: microchip: Add Microchip PolarFire host binding
  clk: microchip: Add driver for Microchip PolarFire SoC

 .../bindings/clock/microchip,mpfs.yaml        |  73 +++
 drivers/clk/Kconfig                           |   1 +
 drivers/clk/Makefile                          |   2 +-
 drivers/clk/microchip/Kconfig                 |   7 +
 drivers/clk/microchip/Makefile                |   6 +-
 drivers/clk/microchip/clk-mpfs.c              | 443 ++++++++++++++++++
 .../dt-bindings/clock/microchip,mpfs-clock.h  |  45 ++
 7 files changed, 574 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/microchip,mpfs.yaml
 create mode 100644 drivers/clk/microchip/Kconfig
 create mode 100644 drivers/clk/microchip/clk-mpfs.c
 create mode 100644 include/dt-bindings/clock/microchip,mpfs-clock.h


base-commit: f804b3159482eedbb4250b1e9248c308fb63b805
prerequisite-patch-id: 961d8e88a8979add1d563b9f841a426f0ca0061d
prerequisite-patch-id: 27e03792a5ac74127c66ecba47bd7d5b1471dfef
prerequisite-patch-id: 8c9c4f565197190f4e2ed52c3d83418133ef5a51
prerequisite-patch-id: bd73fb05ce3d6ce1226a95a1ee4ff2e8088a0d4a
prerequisite-patch-id: d33f2f1ff57076d7845af27242d3b86d5a9e8059

Comments

Atish Patra Jan. 8, 2021, 11:46 p.m. UTC | #1
On Thu, 2021-01-07 at 11:34 +0000, daire.mcnamara@microchip.com wrote:
> From: Daire McNamara <daire.mcnamara@microchip.com>
> 
> This patchset adds support for the Microchip PolarFire clkcfg
> hardware block.
> 
> Major changes since v1:
>  * Dependency on SOC_MICROCHIP_POLARFIRE

Does the sdcard work for with latest kernel ?

I get following error while detecting the sdcard

[    1.063897] NET: Registered protocol family 10
[    1.071042] Segment Routing with IPv6
[    1.075023] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.082427] NET: Registered protocol family 17
[    1.085812] mmc0: SDHCI controller on 20008000.sdhc [20008000.sdhc]
using ADMA 64-bit
[    1.087508] 9pnet: Installing 9P2000 support
[    1.099614] Key type dns_resolver registered
[    1.104462] debug_vm_pgtable: [debug_vm_pgtable         ]:
Validating architecture page table helpers
[    1.122625] Waiting for root device /dev/mmcblk0p3...
[   11.229725] mmc0: Timeout waiting for hardware cmd interrupt.
[   11.235592] mmc0: sdhci: ============ SDHCI REGISTER DUMP
===========

Here is series rebased on top of 5.11-rc2

https://github.com/atishp04/linux/tree/polarfire_support_upstream_v4

FYI: I have added below macb fix on top of last version of the series
along with few other minor dt fixups.

net: macb: Add defailt usrio config to default gem config

>  * All references to PFSOC/pfsoc changed to MPFS/mpfs
>  * Cleaned error handling in _probe
>  * Re-ordered code to place structs et al at top
> 
> Daire McNamara (2):
>   dt-bindings: clk: microchip: Add Microchip PolarFire host binding
>   clk: microchip: Add driver for Microchip PolarFire SoC
> 
>  .../bindings/clock/microchip,mpfs.yaml        |  73 +++
>  drivers/clk/Kconfig                           |   1 +
>  drivers/clk/Makefile                          |   2 +-
>  drivers/clk/microchip/Kconfig                 |   7 +
>  drivers/clk/microchip/Makefile                |   6 +-
>  drivers/clk/microchip/clk-mpfs.c              | 443
> ++++++++++++++++++
>  .../dt-bindings/clock/microchip,mpfs-clock.h  |  45 ++
>  7 files changed, 574 insertions(+), 3 deletions(-)
>  create mode 100644
> Documentation/devicetree/bindings/clock/microchip,mpfs.yaml
>  create mode 100644 drivers/clk/microchip/Kconfig
>  create mode 100644 drivers/clk/microchip/clk-mpfs.c
>  create mode 100644 include/dt-bindings/clock/microchip,mpfs-clock.h
> 
> 
> base-commit: f804b3159482eedbb4250b1e9248c308fb63b805
> prerequisite-patch-id: 961d8e88a8979add1d563b9f841a426f0ca0061d
> prerequisite-patch-id: 27e03792a5ac74127c66ecba47bd7d5b1471dfef
> prerequisite-patch-id: 8c9c4f565197190f4e2ed52c3d83418133ef5a51
> prerequisite-patch-id: bd73fb05ce3d6ce1226a95a1ee4ff2e8088a0d4a
> prerequisite-patch-id: d33f2f1ff57076d7845af27242d3b86d5a9e8059