rk3036 :
- Audio : spdif: add spdif card or not according dts define.
- Other : enable gpio_poweroff driver.
This commit is contained in:
@@ -36,6 +36,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio_poweroff {
|
||||
compatible = "gpio-poweroff";
|
||||
gpios = <&gpio1 GPIO_A2 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wireless-wlan {
|
||||
compatible = "wlan-platdata";
|
||||
|
||||
@@ -71,26 +76,6 @@
|
||||
compatible = "rockchip,key";
|
||||
};
|
||||
|
||||
codec_hdmi_i2s: codec-hdmi-i2s {
|
||||
compatible = "hdmi-i2s";
|
||||
};
|
||||
|
||||
rockchip-hdmi-i2s {
|
||||
compatible = "rockchip-hdmi-i2s";
|
||||
dais {
|
||||
dai0 {
|
||||
audio-codec = <&codec_hdmi_i2s>;
|
||||
i2s-controller = <&i2s>;
|
||||
format = "i2s";
|
||||
//continuous-clock;
|
||||
//bitclock-inversion;
|
||||
//frame-inversion;
|
||||
//bitclock-master;
|
||||
//frame-master;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
codec_hdmi_spdif: codec-hdmi-spdif {
|
||||
compatible = "hdmi-spdif";
|
||||
};
|
||||
@@ -105,6 +90,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
rockchip-spdif-card {
|
||||
compatible = "rockchip-spdif-card";
|
||||
dais {
|
||||
dai0 {
|
||||
audio-codec = <&codec_hdmi_spdif>;
|
||||
i2s-controller = <&spdif>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
rockchip-audio {
|
||||
compatible = "rk3036-audio";
|
||||
dais {
|
||||
|
||||
@@ -224,6 +224,8 @@ CONFIG_SPI_ROCKCHIP_DMA=y
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_POWER_SUPPLY=y
|
||||
CONFIG_POWER_RESET=y
|
||||
CONFIG_POWER_RESET_GPIO=y
|
||||
CONFIG_SENSORS_ROCKCHIP_TSADC=y
|
||||
CONFIG_MFD_RK808=y
|
||||
CONFIG_REGULATOR=y
|
||||
@@ -259,6 +261,7 @@ CONFIG_SND=y
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_RK_SOC=y
|
||||
CONFIG_SND_RK_SOC_HDMI_I2S=y
|
||||
CONFIG_SND_RK_SOC_SPDIF_CARD=y
|
||||
CONFIG_SND_RK_SOC_RK3036=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
|
||||
Reference in New Issue
Block a user