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 6161 regulator-always-on;
6262 regulator-boot-on;
6363 };
64+
65+ rk817_sound: rk817-sound {
66+ status = "okay";
67+ compatible = "rockchip,multicodecs-card";
68+ rockchip,card-name = "rockchip-rk817";
69+ rockchip,format = "i2s";
70+ rockchip,mclk-fs = <256>;
71+ rockchip,cpu = <&i2s1_8ch>;
72+ rockchip,codec = <&rk817_codec>;
73+ poll-interval = <100>;
74+ io-channels = <&saradc 2>;
75+ io-channel-names = "adc-detect";
76+ keyup-threshold-microvolt = <1800000>;
77+ pinctrl-0 = <&hp_det>;
78+ pinctrl-names = "default";
79+ hp-det-gpio = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
80+ play-pause-key {
81+ label = "playpause";
82+ linux,code = <164>;
83+ press-threshold-microvolt = <2000>;
84+ };
85+ };
6486};
6587
6688&gpio_leds {
83105 status = "okay";
84106};
85107
108+ &i2s1_8ch {
109+ pinctrl-0 = <&i2s1m0_sclktx
110+ &i2s1m0_lrcktx
111+ &i2s1m0_sdi0
112+ &i2s1m0_sdo0>;
113+ status = "okay";
114+ };
115+
86116&display_subsystem {
87117 status = "okay";
88118};
152182};
153183
154184&pinctrl {
185+ headphone {
186+ hp_det: hp-det {
187+ rockchip,pins = <4 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
188+ };
189+ };
190+
155191 usb {
156192 vcc5v0_usb30_en: vcc5v0-host-en {
157193 rockchip,pins = <3 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
You can’t perform that action at this time.
0 commit comments