1. 24 11月, 2016 1 次提交
  2. 23 11月, 2016 1 次提交
    • C
      ASoC: sunxi: Add support for A23/A33/H3 codec's analog path controls · ba2ff302
      Chen-Yu Tsai 提交于
      The internal codec on A23/A33/H3 is split into 2 parts. The
      analog path controls are routed through an embedded custom register
      bus accessed through the PRCM block.
      
      The SoCs share a common set of inputs, outputs, and audio paths.
      The following table lists the differences.
      
          ----------------------------------------
          | Feature \ SoC |  A23  |  A33  |  H3  |
          ----------------------------------------
          | Headphone     |   v   |   v   |      |
          ----------------------------------------
          | Line Out      |       |       |  v   |
          ----------------------------------------
          | Phone In/Out  |   v   |   v   |      |
          ----------------------------------------
      
      Add an ASoC component driver for it. This should be tied to the codec
      audio card as an auxiliary device. This patch adds the commont paths
      and controls, and variant specific headphone out and line out.
      Signed-off-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      ba2ff302