mbox series

[v4,0/3] clocksource: imx-sysctr: support i.MX95

Message ID 20240205-imx-sysctr-v4-0-ca5a6e1552e7@nxp.com (mailing list archive)
Headers show
Series clocksource: imx-sysctr: support i.MX95 | expand

Message

Peng Fan (OSS) Feb. 5, 2024, 3:17 a.m. UTC
i.MX95 System Counter module control register space is blocked
by SCMI firmware, so we use Read Register space to get the counter.

V2:
  - imx95 is not compatible with the existing hardware, so add a
    seperate entry for i.MX95 in dt-binding.
  - Per Marco's comments, the global variables was removed except
    to_sysctr. And add a new TIMER_OF_DECLARE entry for i.MX95

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Changes in v4:
- Add A-b in patch 1
- Include slab.h in patch 2 to fix kernel build failure for i386 compile
test.
- Link to v3: https://lore.kernel.org/r/20240126-imx-sysctr-v3-0-33fe801d5f31@nxp.com

Changes in v3:
- Drop items in patch 1 per Conor's comments
- Link to v2: https://lore.kernel.org/r/20240125-imx-sysctr-v2-0-7332470cd7ae@nxp.com

---
Peng Fan (3):
      dt-bindings: timer: nxp,sysctr-timer: support i.MX95
      clocksource/drivers/imx-sysctr: drop use global variables
      clocksource/drivers/imx-sysctr: support i.MX95

 .../bindings/timer/nxp,sysctr-timer.yaml           |   4 +-
 drivers/clocksource/timer-imx-sysctr.c             | 117 +++++++++++++++------
 2 files changed, 90 insertions(+), 31 deletions(-)
---
base-commit: 01af33cc9894b4489fb68fa35c40e9fe85df63dc
change-id: 20240125-imx-sysctr-3a89a0852376

Best regards,

Comments

Peng Fan Feb. 18, 2024, 1:37 a.m. UTC | #1
Hi Daniel,

> Subject: [PATCH v4 0/3] clocksource: imx-sysctr: support i.MX95
> 
> i.MX95 System Counter module control register space is blocked by SCMI
> firmware, so we use Read Register space to get the counter.

Ping..

Thanks,
Peng.
> 
> V2:
>   - imx95 is not compatible with the existing hardware, so add a
>     seperate entry for i.MX95 in dt-binding.
>   - Per Marco's comments, the global variables was removed except
>     to_sysctr. And add a new TIMER_OF_DECLARE entry for i.MX95
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> Changes in v4:
> - Add A-b in patch 1
> - Include slab.h in patch 2 to fix kernel build failure for i386 compile test.
> - Link to v3: https://lore.kernel.org/r/20240126-imx-sysctr-v3-0-
> 33fe801d5f31@nxp.com
> 
> Changes in v3:
> - Drop items in patch 1 per Conor's comments
> - Link to v2: https://lore.kernel.org/r/20240125-imx-sysctr-v2-0-
> 7332470cd7ae@nxp.com
> 
> ---
> Peng Fan (3):
>       dt-bindings: timer: nxp,sysctr-timer: support i.MX95
>       clocksource/drivers/imx-sysctr: drop use global variables
>       clocksource/drivers/imx-sysctr: support i.MX95
> 
>  .../bindings/timer/nxp,sysctr-timer.yaml           |   4 +-
>  drivers/clocksource/timer-imx-sysctr.c             | 117 +++++++++++++++------
>  2 files changed, 90 insertions(+), 31 deletions(-)
> ---
> base-commit: 01af33cc9894b4489fb68fa35c40e9fe85df63dc
> change-id: 20240125-imx-sysctr-3a89a0852376
> 
> Best regards,
> --
> Peng Fan <peng.fan@nxp.com>
Daniel Lezcano Feb. 18, 2024, 10:34 a.m. UTC | #2
On 05/02/2024 04:17, Peng Fan (OSS) wrote:
> i.MX95 System Counter module control register space is blocked
> by SCMI firmware, so we use Read Register space to get the counter.
> 
> V2:
>    - imx95 is not compatible with the existing hardware, so add a
>      seperate entry for i.MX95 in dt-binding.
>    - Per Marco's comments, the global variables was removed except
>      to_sysctr. And add a new TIMER_OF_DECLARE entry for i.MX95
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---

Applied, thanks