Loading Documentation/devicetree/bindings/sound/rockchip,rk3288-hdmi-analog.txt 0 → 100644 +36 −0 Original line number Diff line number Diff line ROCKCHIP RK3288 with HDMI and analog audio Required properties: - compatible: "rockchip,rk3288-hdmi-analog" - rockchip,model: The user-visible name of this sound complex - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's connected to the CODEC - rockchip,audio-codec: The phandle of the analog audio codec. - rockchip,routing: A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. For this driver the first string should always be "Analog". Optionnal properties: - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the headphone (when the analog output is an headphone). - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone (when the analog output is an headphone). - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt Example: sound { compatible = "rockchip,rockchip-audio-es8388"; rockchip,model = "Analog audio output"; rockchip,i2s-controller = <&i2s>; rockchip,audio-codec = <&es8388>; rockchip,routing = "Analog", "LOUT2", "Analog", "ROUT2"; rockchip,hp-en-gpios = <&gpio8 0 GPIO_ACTIVE_HIGH>; rockchip,hp-det-gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&headphone>; }; sound/soc/pxa/e740_wm9705.c +0 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ #include <asm/mach-types.h> #include "pxa2xx-ac97.h" #define E740_AUDIO_OUT 1 #define E740_AUDIO_IN 2 Loading sound/soc/pxa/e750_wm9705.c +0 −2 Original line number Diff line number Diff line Loading @@ -22,8 +22,6 @@ #include <asm/mach-types.h> #include "pxa2xx-ac97.h" static int e750_spk_amp_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) { Loading sound/soc/pxa/e800_wm9712.c +0 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,6 @@ #include <mach/audio.h> #include <mach/eseries-gpio.h> #include "pxa2xx-ac97.h" static int e800_spk_amp_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) { Loading sound/soc/pxa/em-x270.c +0 −2 Original line number Diff line number Diff line Loading @@ -30,8 +30,6 @@ #include <asm/mach-types.h> #include <mach/audio.h> #include "pxa2xx-ac97.h" static struct snd_soc_dai_link em_x270_dai[] = { { .name = "AC97", Loading Loading
Documentation/devicetree/bindings/sound/rockchip,rk3288-hdmi-analog.txt 0 → 100644 +36 −0 Original line number Diff line number Diff line ROCKCHIP RK3288 with HDMI and analog audio Required properties: - compatible: "rockchip,rk3288-hdmi-analog" - rockchip,model: The user-visible name of this sound complex - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's connected to the CODEC - rockchip,audio-codec: The phandle of the analog audio codec. - rockchip,routing: A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. For this driver the first string should always be "Analog". Optionnal properties: - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the headphone (when the analog output is an headphone). - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone (when the analog output is an headphone). - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt Example: sound { compatible = "rockchip,rockchip-audio-es8388"; rockchip,model = "Analog audio output"; rockchip,i2s-controller = <&i2s>; rockchip,audio-codec = <&es8388>; rockchip,routing = "Analog", "LOUT2", "Analog", "ROUT2"; rockchip,hp-en-gpios = <&gpio8 0 GPIO_ACTIVE_HIGH>; rockchip,hp-det-gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&headphone>; };
sound/soc/pxa/e740_wm9705.c +0 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ #include <asm/mach-types.h> #include "pxa2xx-ac97.h" #define E740_AUDIO_OUT 1 #define E740_AUDIO_IN 2 Loading
sound/soc/pxa/e750_wm9705.c +0 −2 Original line number Diff line number Diff line Loading @@ -22,8 +22,6 @@ #include <asm/mach-types.h> #include "pxa2xx-ac97.h" static int e750_spk_amp_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) { Loading
sound/soc/pxa/e800_wm9712.c +0 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,6 @@ #include <mach/audio.h> #include <mach/eseries-gpio.h> #include "pxa2xx-ac97.h" static int e800_spk_amp_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) { Loading
sound/soc/pxa/em-x270.c +0 −2 Original line number Diff line number Diff line Loading @@ -30,8 +30,6 @@ #include <asm/mach-types.h> #include <mach/audio.h> #include "pxa2xx-ac97.h" static struct snd_soc_dai_link em_x270_dai[] = { { .name = "AC97", Loading