drivers: counter: Adding Mutli Channel PIT Support
Updating the nxp,pit driver to support mutliple channels. Updating the dts and board overlays to account for the changes. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
9cb330e1ed
commit
8bb95d33be
15 changed files with 423 additions and 86 deletions
13
dts/bindings/counter/nxp,pit-channel.yaml
Normal file
13
dts/bindings/counter/nxp,pit-channel.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Copyright 2024 NXP
|
||||
# SPDX-License-Identifier Apache-2.0
|
||||
|
||||
description: |
|
||||
Child node for the Periodic Interrupt Timer node, intended for an individual timer channel
|
||||
|
||||
compatible: "nxp,pit-channel"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
|
@ -14,16 +14,6 @@ properties:
|
|||
clocks:
|
||||
required: true
|
||||
|
||||
pit-channel:
|
||||
type: int
|
||||
required: true
|
||||
description: pit channel to active
|
||||
|
||||
pit-period:
|
||||
type: int
|
||||
required: true
|
||||
description: pit default period in us
|
||||
|
||||
max-load-value:
|
||||
type: int
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue