• Chen-Yu Tsai's avatar
    ASoC: sunxi: Add support for A23/A33/H3 codec's analog path controls · ba2ff302
    Chen-Yu Tsai authored
    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: default avatarChen-Yu Tsai <wens@csie.org>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    ba2ff302
Kconfig 1.09 KB