Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-06 Thread Mark Brown
On Mon, Sep 05, 2016 at 09:24:04PM +0200, Danny Milosavljevic wrote: > -static const struct snd_kcontrol_new sun4i_codec_widgets[] = { > - SOC_SINGLE_TLV("Power Amplifier Volume", SUN4I_CODEC_DAC_ACTL, > -SUN4I_CODEC_DAC_ACTL_PA_VOL, 0x3F, 0, > -

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-06 Thread Mark Brown
On Mon, Sep 05, 2016 at 09:24:04PM +0200, Danny Milosavljevic wrote: > -static const struct snd_kcontrol_new sun4i_codec_widgets[] = { > - SOC_SINGLE_TLV("Power Amplifier Volume", SUN4I_CODEC_DAC_ACTL, > -SUN4I_CODEC_DAC_ACTL_PA_VOL, 0x3F, 0, > -

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-06 Thread Maxime Ripard
Hi, On Mon, Sep 05, 2016 at 09:24:04PM +0200, Danny Milosavljevic wrote: > ASoC: sun4i-codec: Distinguish sun4i from sun7i > > Introduce mechanism to detect sun7i and provide a different regmap, codec > and different controls for it - different compared to sun4i Allwinner A10. > > The controls

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-06 Thread Maxime Ripard
Hi, On Mon, Sep 05, 2016 at 09:24:04PM +0200, Danny Milosavljevic wrote: > ASoC: sun4i-codec: Distinguish sun4i from sun7i > > Introduce mechanism to detect sun7i and provide a different regmap, codec > and different controls for it - different compared to sun4i Allwinner A10. > > The controls

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 3:24 AM, Danny Milosavljevic wrote: > ASoC: sun4i-codec: Distinguish sun4i from sun7i > > Introduce mechanism to detect sun7i and provide a different regmap, codec > and different controls for it - different compared to sun4i Allwinner A10. > > The

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 3:24 AM, Danny Milosavljevic wrote: > ASoC: sun4i-codec: Distinguish sun4i from sun7i > > Introduce mechanism to detect sun7i and provide a different regmap, codec > and different controls for it - different compared to sun4i Allwinner A10. > > The controls will be extended

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Mark Brown
On Mon, Sep 05, 2016 at 09:24:03PM +0200, Danny Milosavljevic wrote: > Here's just the part that allows distinguishing sun4i from sun7i. > > Since I'm waiting for Chen-Yu's DAPM_DOUBLE patch series I figured I'd post > the preliminaries in the mean time which will not change and can be applied

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Mark Brown
On Mon, Sep 05, 2016 at 09:24:03PM +0200, Danny Milosavljevic wrote: > Here's just the part that allows distinguishing sun4i from sun7i. > > Since I'm waiting for Chen-Yu's DAPM_DOUBLE patch series I figured I'd post > the preliminaries in the mean time which will not change and can be applied

[PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Danny Milosavljevic
ASoC: sun4i-codec: Distinguish sun4i from sun7i Introduce mechanism to detect sun7i and provide a different regmap, codec and different controls for it - different compared to sun4i Allwinner A10. The controls will be extended in a forthcoming patch - it is necessary to distinguish between sun4i

[PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Danny Milosavljevic
ASoC: sun4i-codec: Distinguish sun4i from sun7i Introduce mechanism to detect sun7i and provide a different regmap, codec and different controls for it - different compared to sun4i Allwinner A10. The controls will be extended in a forthcoming patch - it is necessary to distinguish between sun4i

[PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Danny Milosavljevic
Here's just the part that allows distinguishing sun4i from sun7i. Since I'm waiting for Chen-Yu's DAPM_DOUBLE patch series I figured I'd post the preliminaries in the mean time which will not change and can be applied independently without problems. Danny Milosavljevic (1): ASoC:

[PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Danny Milosavljevic
Here's just the part that allows distinguishing sun4i from sun7i. Since I'm waiting for Chen-Yu's DAPM_DOUBLE patch series I figured I'd post the preliminaries in the mean time which will not change and can be applied independently without problems. Danny Milosavljevic (1): ASoC: