Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci20 v3.18 hdmi #48

Merged
merged 10 commits into from
Jul 16, 2015
Merged

Ci20 v3.18 hdmi #48

merged 10 commits into from
Jul 16, 2015

Commits on Jul 16, 2015

  1. drm: jz4780_hdmi: add hdmi audio config interfaces

    Original patch: https://lkml.org/lkml/2014/12/14/336
    
    create dw-hdmi-audio device in probe function, and support
    some interfaces to dw-hdmi-audio driver for setting hdmi
    audio format.
    
    Signed-off-by: Matt Redfearn <[email protected]>
    mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    9bfd5db View commit details
    Browse the repository at this point in the history
  2. drm: jz4780_hdmi: add codec driver for dw hdmi audio

    Original patch: https://lkml.org/lkml/2014/12/14/334
    
    codec driver get some interfaces from dw_hdmi driver, than using those
    to set hdmi audio formats, corresponding to alsa formats.
    
    Signed-off-by: Matt Redfearn <[email protected]>
    mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    39348c3 View commit details
    Browse the repository at this point in the history
  3. drm: jz4780-hdmi: Set Pixel clock / ratio

    These settings result in CTS / N values that agree with the
    Synopsis datasheet for the HDMI transmitter
    
    Signed-off-by: Matt Redfearn <[email protected]>
    mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    e8521a0 View commit details
    Browse the repository at this point in the history
  4. sound: soc: JZ4740: Allow External CODEC / master mode

    Only enable the internal codec when SND_SOC_DAIFMT_CBM_CFM
    mode is selected. Otherwise, we are the master to an external codec
    
    Signed-off-by: Matt Redfearn <[email protected]>
    mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    8a72b52 View commit details
    Browse the repository at this point in the history
  5. drm: jz4780_hdmi: Set up HDMI Infoframe registers

    The 3.0.8 kernel used Synopsis' HDMI driver which set up these
    infoframe registers telling the connected device about the
    audio stream. We now do the same.
    
    Signed-off-by: Matt Redfearn <[email protected]>
    mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    bbae837 View commit details
    Browse the repository at this point in the history
  6. drm: jz4780_hdmi: Reduce driver verbosity

    The driver from the LKML has lots of dev_info prints - change them
    to dev_debug to reduce the noise in the kernel log
    
    Signed-off-by: Matt Redfearn <[email protected]>
    mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    b2bde4b View commit details
    Browse the repository at this point in the history
  7. sound: soc: JZ4780 ci20: Working Headphones / HDMI

    Create 2 dai links to connect the I2S to either the internal codec
    or HDMI transmitter. Mplayer can now output to either device
    But they don't show up in the alsa mixer
    
    Signed-off-by: Matt Redfearn <[email protected]>
    mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    9911f54 View commit details
    Browse the repository at this point in the history
  8. mips: ci20: Add HDMI audio to defconfig

    Add the HDMI audio driver to the Ci20's defconfig
    
    Signed-off-by: Matt Redfearn <[email protected]>
    mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    6ebd7bb View commit details
    Browse the repository at this point in the history
  9. sound: soc: JZ4740: Fix divider written at incorrect offset in register

    The 4-bit divider value was written at offset 8, while the jz4740
    programming manual locates it at offset 0.
    
    This fixes a bug in commit 26b0aad
    
    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei authored and mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    6d077c1 View commit details
    Browse the repository at this point in the history
  10. sound: soc: jz4740: Fix broken audio for !mono sound

    The jz4780 SoC offers the possibility to configure the number of
    channels used for playback. Right now, the corresponding bits in the
    configuration register are always zero, which means that the hardware is
    only configured for monaural sound.
    
    With this commit, the hardware is now correctly configured for the
    number of channels requested by the ALSA core are.
    
    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei authored and mpredfearn committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    d3fd1e3 View commit details
    Browse the repository at this point in the history