mbox series

[v4,0/2] Add the driver for Intel Keem Bay SoC timer block

Message ID 20210628061410.8009-1-shruthi.sanil@intel.com
Headers show
Series Add the driver for Intel Keem Bay SoC timer block | expand

Message

Sanil, Shruthi June 28, 2021, 6:14 a.m. UTC
From: Shruthi Sanil <shruthi.sanil@intel.com>

The timer block supports 1 64-bit free running counter
and 8 32-bit general purpose timers.

Patch 1 holds the device tree binding documentation.
Patch 2 holds the device driver.

This driver is tested on the Keem Bay evaluation module board.

Changes since v3:
- Update in KConfig file to support COMPILE_TEST for Keem Bay timer.
- Update in device tree bindings to remove status field.
- Update in device tree bindings to remove 64-bit address space for
  the child nodes by using non-empty ranges.

Changes since v2:
- Add multi timer support.
- Update in the device tree binding to support multi timers.
- Code optimization.

Changes since v1:
- Add support for KEEMBAY_TIMER to get selected through Kconfig.platforms.
- Add CLOCK_EVT_FEAT_DYNIRQ as part of clockevent feature.
- Avoid overlapping reg regions across 2 device nodes.
- Simplify 2 device nodes as 1 because both are from same IP block.
- Adapt the driver code according to the new simplified devicetree.

Shruthi Sanil (2):
  dt-bindings: timer: Add bindings for Intel Keem Bay SoC Timer
  clocksource: Add Intel Keem Bay timer support

 .../bindings/timer/intel,keembay-timer.yaml   | 170 ++++++++++++
 MAINTAINERS                                   |   5 +
 drivers/clocksource/Kconfig                   |  11 +
 drivers/clocksource/Makefile                  |   1 +
 drivers/clocksource/timer-keembay.c           | 255 ++++++++++++++++++
 5 files changed, 442 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/intel,keembay-timer.yaml
 create mode 100644 drivers/clocksource/timer-keembay.c


base-commit: 62fb9874f5da54fdb243003b386128037319b219

Comments

Sanil, Shruthi July 13, 2021, 5:08 a.m. UTC | #1
Gentle Reminder!

Regards,
Shruthi

> -----Original Message-----

> From: Sanil, Shruthi <shruthi.sanil@intel.com>

> Sent: Monday, June 28, 2021 11:44 AM

> To: daniel.lezcano@linaro.org; tglx@linutronix.de; robh+dt@kernel.org;

> linux-kernel@vger.kernel.org; devicetree@vger.kernel.org

> Cc: andriy.shevchenko@linux.intel.com; kris.pan@linux.intel.com;

> mgross@linux.intel.com; Thokala, Srikanth <srikanth.thokala@intel.com>;

> Raja Subramanian, Lakshmi Bai <lakshmi.bai.raja.subramanian@intel.com>;

> Sangannavar, Mallikarjunappa <mallikarjunappa.sangannavar@intel.com>;

> Sanil, Shruthi <shruthi.sanil@intel.com>

> Subject: [PATCH v4 0/2] Add the driver for Intel Keem Bay SoC timer block

> 

> From: Shruthi Sanil <shruthi.sanil@intel.com>

> 

> The timer block supports 1 64-bit free running counter and 8 32-bit general

> purpose timers.

> 

> Patch 1 holds the device tree binding documentation.

> Patch 2 holds the device driver.

> 

> This driver is tested on the Keem Bay evaluation module board.

> 

> Changes since v3:

> - Update in KConfig file to support COMPILE_TEST for Keem Bay timer.

> - Update in device tree bindings to remove status field.

> - Update in device tree bindings to remove 64-bit address space for

>   the child nodes by using non-empty ranges.

> 

> Changes since v2:

> - Add multi timer support.

> - Update in the device tree binding to support multi timers.

> - Code optimization.

> 

> Changes since v1:

> - Add support for KEEMBAY_TIMER to get selected through

> Kconfig.platforms.

> - Add CLOCK_EVT_FEAT_DYNIRQ as part of clockevent feature.

> - Avoid overlapping reg regions across 2 device nodes.

> - Simplify 2 device nodes as 1 because both are from same IP block.

> - Adapt the driver code according to the new simplified devicetree.

> 

> Shruthi Sanil (2):

>   dt-bindings: timer: Add bindings for Intel Keem Bay SoC Timer

>   clocksource: Add Intel Keem Bay timer support

> 

>  .../bindings/timer/intel,keembay-timer.yaml   | 170 ++++++++++++

>  MAINTAINERS                                   |   5 +

>  drivers/clocksource/Kconfig                   |  11 +

>  drivers/clocksource/Makefile                  |   1 +

>  drivers/clocksource/timer-keembay.c           | 255 ++++++++++++++++++

>  5 files changed, 442 insertions(+)

>  create mode 100644

> Documentation/devicetree/bindings/timer/intel,keembay-timer.yaml

>  create mode 100644 drivers/clocksource/timer-keembay.c

> 

> 

> base-commit: 62fb9874f5da54fdb243003b386128037319b219

> --

> 2.17.1