[PATCH v4 0/6] Add support i.MX95 BLK CTL module clock features

Peng Fan (OSS) posted 6 patches 1 year, 11 months ago
There is a newer version of this series
.../bindings/clock/nxp,imx95-camera-csr.yaml       |  50 +++
.../bindings/clock/nxp,imx95-display-csr.yaml      |  50 +++
.../clock/nxp,imx95-display-master-csr.yaml        |  62 +++
.../bindings/clock/nxp,imx95-lvds-csr.yaml         |  50 +++
.../bindings/clock/nxp,imx95-vpu-csr.yaml          |  50 +++
drivers/clk/imx/Kconfig                            |   7 +
drivers/clk/imx/Makefile                           |   1 +
drivers/clk/imx/clk-imx95-blk-ctl.c                | 438 +++++++++++++++++++++
include/dt-bindings/clock/nxp,imx95-clock.h        |  32 ++
9 files changed, 740 insertions(+)
[PATCH v4 0/6] Add support i.MX95 BLK CTL module clock features
Posted by Peng Fan (OSS) 1 year, 11 months ago
i.MX95's several MIXes has BLK CTL module which could be used for
clk settings, QoS settings, Misc settings for a MIX. This patchset
is to add the clk feature support, including dt-bindings

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Changes in v4:
- Separate binding doc for each modules, I still keep the syscon as node
name, because the module is not just for clock
- Pass dt-schema check
- Update node compatibles
- Link to v3: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v3-0-40ceba01a211@nxp.com

Changes in v3:
- Correct example node compatible string
- Pass "make ARCH=arm64 DT_CHECKER_FLAGS=-m -j32 dt_binding_check"
- Link to v2: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v2-0-ffb7eefb6dcd@nxp.com

Changes in v2:
- Correct example node compatible string
- Link to v1: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v1-0-9b5ae3c14d83@nxp.com

---
Peng Fan (6):
      dt-bindindgs: clock: nxp: support i.MX95 VPU CSR module
      dt-bindindgs: clock: nxp: support i.MX95 Camera CSR module
      dt-bindindgs: clock: nxp: support i.MX95 Display Master CSR module
      dt-bindindgs: clock: nxp: support i.MX95 LVDS CSR module
      dt-bindindgs: clock: nxp: support i.MX95 Display CSR module
      clk: imx: add i.MX95 BLK CTL clk driver

 .../bindings/clock/nxp,imx95-camera-csr.yaml       |  50 +++
 .../bindings/clock/nxp,imx95-display-csr.yaml      |  50 +++
 .../clock/nxp,imx95-display-master-csr.yaml        |  62 +++
 .../bindings/clock/nxp,imx95-lvds-csr.yaml         |  50 +++
 .../bindings/clock/nxp,imx95-vpu-csr.yaml          |  50 +++
 drivers/clk/imx/Kconfig                            |   7 +
 drivers/clk/imx/Makefile                           |   1 +
 drivers/clk/imx/clk-imx95-blk-ctl.c                | 438 +++++++++++++++++++++
 include/dt-bindings/clock/nxp,imx95-clock.h        |  32 ++
 9 files changed, 740 insertions(+)
---
base-commit: c9c32620af65fee2b1ac8390fe1349b33f9d0888
change-id: 20240228-imx95-blk-ctl-9ef8c1fc4c22

Best regards,
-- 
Peng Fan <peng.fan@nxp.com>
Re: [PATCH v4 0/6] Add support i.MX95 BLK CTL module clock features
Posted by Marco Felsch 1 year, 10 months ago
Hi Peng,

thank for the patchset.

On 24-03-14, Peng Fan (OSS) wrote:
> i.MX95's several MIXes has BLK CTL module which could be used for
> clk settings, QoS settings, Misc settings for a MIX. This patchset
> is to add the clk feature support, including dt-bindings

I have to ask since there is almost no public documentation available
yet. The i.MX95 does have an system-controller for managing pinmux
settings and power-domains, right? If this is the case, why not making
use of it via the standard scmi_pm_domain.c driver?

Regards,
  Marco



> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> Changes in v4:
> - Separate binding doc for each modules, I still keep the syscon as node
> name, because the module is not just for clock
> - Pass dt-schema check
> - Update node compatibles
> - Link to v3: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v3-0-40ceba01a211@nxp.com
> 
> Changes in v3:
> - Correct example node compatible string
> - Pass "make ARCH=arm64 DT_CHECKER_FLAGS=-m -j32 dt_binding_check"
> - Link to v2: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v2-0-ffb7eefb6dcd@nxp.com
> 
> Changes in v2:
> - Correct example node compatible string
> - Link to v1: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v1-0-9b5ae3c14d83@nxp.com
> 
> ---
> Peng Fan (6):
>       dt-bindindgs: clock: nxp: support i.MX95 VPU CSR module
>       dt-bindindgs: clock: nxp: support i.MX95 Camera CSR module
>       dt-bindindgs: clock: nxp: support i.MX95 Display Master CSR module
>       dt-bindindgs: clock: nxp: support i.MX95 LVDS CSR module
>       dt-bindindgs: clock: nxp: support i.MX95 Display CSR module
>       clk: imx: add i.MX95 BLK CTL clk driver
> 
>  .../bindings/clock/nxp,imx95-camera-csr.yaml       |  50 +++
>  .../bindings/clock/nxp,imx95-display-csr.yaml      |  50 +++
>  .../clock/nxp,imx95-display-master-csr.yaml        |  62 +++
>  .../bindings/clock/nxp,imx95-lvds-csr.yaml         |  50 +++
>  .../bindings/clock/nxp,imx95-vpu-csr.yaml          |  50 +++
>  drivers/clk/imx/Kconfig                            |   7 +
>  drivers/clk/imx/Makefile                           |   1 +
>  drivers/clk/imx/clk-imx95-blk-ctl.c                | 438 +++++++++++++++++++++
>  include/dt-bindings/clock/nxp,imx95-clock.h        |  32 ++
>  9 files changed, 740 insertions(+)
> ---
> base-commit: c9c32620af65fee2b1ac8390fe1349b33f9d0888
> change-id: 20240228-imx95-blk-ctl-9ef8c1fc4c22
> 
> Best regards,
> -- 
> Peng Fan <peng.fan@nxp.com>
> 
> 
>