MediaTek Audio Front End (AFE) PCM controller for mt2701

Schema identifier ($id): "http://devicetree.org/schemas/sound/mediatek,mt2701-audio.yaml#"

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

The AFE PCM node must be a subnode of the MediaTek audsys device tree node.

Maintainers (maintainers): "Eugen Hristev <eugen.hristev@collabora.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt2701-audio", "mediatek,mt7622-audio"

interrupts — required here #

Array item rules (items) #

Item 1

AFE interrupt

Item 2

ASYS interrupt

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "afe"

Item 2

Exact value (const): "asys"

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

audio infra sys clock

Item 2

top audio mux 1

Item 3

top audio mux 2

Item 4

top audio sys a1 clock

Item 5

top audio sys a2 clock

Item 6

i2s0 source selection

Item 7

i2s1 source selection

Item 8

i2s2 source selection

Item 9

i2s3 source selection

Item 10

i2s0 source divider

Item 11

i2s1 source divider

Item 12

i2s2 source divider

Item 13

i2s3 source divider

Item 14

i2s0 master clock

Item 15

i2s1 master clock

Item 16

i2s2 master clock

Item 17

i2s3 master clock

Item 18

i2so0 hopping clock

Item 19

i2so1 hopping clock

Item 20

i2so2 hopping clock

Item 21

i2so3 hopping clock

Item 22

i2si0 hopping clock

Item 23

i2si1 hopping clock

Item 24

i2si2 hopping clock

Item 25

i2si3 hopping clock

Item 26

asrc0 output clock

Item 27

asrc1 output clock

Item 28

asrc2 output clock

Item 29

asrc3 output clock

Item 30

audio front end pd clock

Item 31

audio front end conn pd clock

Item 32

top audio a1 sys pd

Item 33

top audio a2 sys pd

Item 34

audio merge interface pd

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "infra_sys_audio_clk"

Item 2

Exact value (const): "top_audio_mux1_sel"

Item 3

Exact value (const): "top_audio_mux2_sel"

Item 4

Exact value (const): "top_audio_a1sys_hp"

Item 5

Exact value (const): "top_audio_a2sys_hp"

Item 6

Exact value (const): "i2s0_src_sel"

Item 7

Exact value (const): "i2s1_src_sel"

Item 8

Exact value (const): "i2s2_src_sel"

Item 9

Exact value (const): "i2s3_src_sel"

Item 10

Exact value (const): "i2s0_src_div"

Item 11

Exact value (const): "i2s1_src_div"

Item 12

Exact value (const): "i2s2_src_div"

Item 13

Exact value (const): "i2s3_src_div"

Item 14

Exact value (const): "i2s0_mclk_en"

Item 15

Exact value (const): "i2s1_mclk_en"

Item 16

Exact value (const): "i2s2_mclk_en"

Item 17

Exact value (const): "i2s3_mclk_en"

Item 18

Exact value (const): "i2so0_hop_ck"

Item 19

Exact value (const): "i2so1_hop_ck"

Item 20

Exact value (const): "i2so2_hop_ck"

Item 21

Exact value (const): "i2so3_hop_ck"

Item 22

Exact value (const): "i2si0_hop_ck"

Item 23

Exact value (const): "i2si1_hop_ck"

Item 24

Exact value (const): "i2si2_hop_ck"

Item 25

Exact value (const): "i2si3_hop_ck"

Item 26

Exact value (const): "asrc0_out_ck"

Item 27

Exact value (const): "asrc1_out_ck"

Item 28

Exact value (const): "asrc2_out_ck"

Item 29

Exact value (const): "asrc3_out_ck"

Item 30

Exact value (const): "audio_afe_pd"

Item 31

Exact value (const): "audio_afe_conn_pd"

Item 32

Exact value (const): "audio_a1sys_pd"

Item 33

Exact value (const): "audio_a2sys_pd"

Item 34

Exact value (const): "audio_mrgif_pd"

Required in this object (required): "compatible", "interrupts", "interrupt-names", "power-domains", "clocks", "clock-names"

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page