File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
arch/arm64/boot/dts/rockchip Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 25
25
rockchip,codec = <&rk1000_codec>, <&hdmi>;
26
26
};
27
27
28
+ spdif-sound {
29
+ status = "okay";
30
+ compatible = "simple-audio-card";
31
+ simple-audio-card,name = "ROCKCHIP,SPDIF";
32
+ simple-audio-card,cpu {
33
+ sound-dai = <&spdif>;
34
+ };
35
+ simple-audio-card,codec {
36
+ sound-dai = <&spdif_out>;
37
+ };
38
+ };
39
+
40
+ spdif_out: spdif-out {
41
+ status = "okay";
42
+ compatible = "linux,spdif-dit";
43
+ #sound-dai-cells = <0>;
44
+ };
45
+
46
+ adc_key: adc-keys {
47
+ compatible = "adc-keys";
48
+ io-channels = <&saradc 1>;
49
+ io-channel-names = "buttons";
50
+ poll-interval = <100>;
51
+ keyup-threshold-microvolt = <1800000>;
52
+ esc-key {
53
+ linux,code = <KEY_VOLUMEUP>;
54
+ label = "v+";
55
+ press-threshold-microvolt = <18000>;
56
+ };
57
+ };
58
+
28
59
keys: gpio-keys {
29
60
compatible = "gpio-keys";
30
61
#address-cells = <1>;
643
674
#sound-dai-cells = <0>;
644
675
};
645
676
677
+ &spdif {
678
+ status = "okay";
679
+ #sound-dai-cells = <0>;
680
+ };
681
+
646
682
&mailbox {
647
683
status = "okay";
648
684
};
You can’t perform that action at this time.
0 commit comments