Change-Id: I8ef75283727152e7c5fa7380813296bc7220ed91
Signed-off-by: zhangjun <zhangjun@rock-chips.com>
vibrator-gpio = <&gpio4 30 GPIO_ACTIVE_LOW>;
status = "okay";
};
+
+ rk_headset {
+ compatible = "rockchip_headset";
+ headset_gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&hp_det>;
+ io-channels = <&saradc 2>;
+ };
};
&dfi {
#sound-dai-cells = <0>;
compatible = "everest,es8316";
reg = <0x11>;
- pinctrl-names = "default";
- pinctrl-0 = <&hp_det>;
clocks = <&cru SCLK_I2S_8CH_OUT>;
clock-names = "mclk";
spk-con-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
- hp-det-gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>;
};
};