driver: ssp: update Intel SSP DAI driver to support dynamic SSP management
This commit refactors the Intel SSP DAI driver to support dynamic management of SSP IP. This change additionally separates the management of the DAI part from the management part of the SSP IP. Key changes: - Add new static functions to manage SSP IP power. - Update the DAI SSP configuration functions to use the new management approach. - Update device tree bindings and instances to reflect the new SSP IP management mechanism. Signed-off-by: Damian Nikodem <damian.nikodem@intel.com>
This commit is contained in:
parent
92417967cf
commit
2455436337
9 changed files with 547 additions and 330 deletions
|
@ -1,8 +1,7 @@
|
|||
# Copyright (c) 2022 Intel Corporation
|
||||
#
|
||||
# Copyright (c) 2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Intel SSP DAI controller
|
||||
description: Intel SSP DAI node
|
||||
|
||||
compatible: "intel,ssp-dai"
|
||||
|
||||
|
@ -11,18 +10,3 @@ include: base.yaml
|
|||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
interrupt-parent:
|
||||
required: true
|
||||
|
||||
dmas:
|
||||
required: true
|
||||
|
||||
dma-names:
|
||||
required: true
|
||||
|
||||
i2svss:
|
||||
type: array
|
||||
|
|
32
dts/bindings/i2s/intel,ssp.yaml
Normal file
32
dts/bindings/i2s/intel,ssp.yaml
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Copyright (c) 2024 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Intel SSP DAI controller
|
||||
|
||||
compatible: "intel,ssp"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
interrupt-parent:
|
||||
required: true
|
||||
|
||||
dmas:
|
||||
required: true
|
||||
|
||||
dma-names:
|
||||
required: true
|
||||
|
||||
i2svss:
|
||||
type: array
|
||||
|
||||
ssp-index:
|
||||
type: int
|
||||
required: true
|
Loading…
Add table
Add a link
Reference in a new issue