Peripheral-specific properties for Arm PL022 SPI controller

Schema identifier ($id): "http://devicetree.org/schemas/spi/arm,pl022-peripheral-props.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

Automatic schema selection (select) #

false

Not selected automatically by this rule.

Properties and child nodes (properties) #

pl022,interface — not listed as required here #

SPI interface type

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2

pl022,com-mode — not listed as required here #

Specifies the transfer mode

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2

Default value (default): 1

pl022,rx-level-trig — not listed as required here #

Rx FIFO watermark level

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 4

pl022,tx-level-trig — not listed as required here #

Tx FIFO watermark level

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 4

pl022,ctrl-len — not listed as required here #

Microwire interface - Control length

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 3

Maximum value (maximum): 31

pl022,wait-state — not listed as required here #

Microwire interface - Wait state

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

pl022,duplex — not listed as required here #

Microwire interface - Full/Half duplex

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 19: SPI

Line 20: Texas Instruments Synchronous Serial Frame Format

Line 21: Microwire (Half Duplex)

Line 27: interrupt mode

Line 28: polling mode

Line 29: DMA mode

Edit this page