08 Aug, 2016

1 commit


25 Jul, 2015

1 commit


15 May, 2015

1 commit


28 Apr, 2015

1 commit


17 Apr, 2015

1 commit

  • Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
    implementation and use the kernel one.

    Signed-off-by: Javi Merino
    Reported-by: kbuild test robot
    Cc: Peter Rosin
    Acked-by: Mark Brown
    Cc: Liam Girdwood
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Javi Merino
     

13 Apr, 2015

1 commit

  • ASoC: Changes for v4.1

    A selection of changes for v4.1 so far. The main things are:

    - Move of jack registration to the card where it belongs.
    - Support for DAPM routes specified by both the machine driver and DT.

    # gpg: Signature made Thu 05 Mar 2015 01:10:27 GMT using RSA key ID 5D5487D0
    # gpg: WARNING: digest algorithm MD5 is deprecated
    # gpg: please see https://gnupg.org/faq/weak-digest-algos.html for more information
    # gpg: Oops: keyid_from_fingerprint: no pubkey
    # gpg: Good signature from "Mark Brown "
    # gpg: aka "Mark Brown "
    # gpg: aka "Mark Brown "
    # gpg: aka "Mark Brown "
    # gpg: aka "Mark Brown "
    # gpg: aka "Mark Brown "

    Mark Brown
     

24 Mar, 2015

1 commit

  • Currently GPIO4 is hardcoded to output the pll-lock signal.
    Unfortunately this is after the pll-out GPIO is configured which
    is selectable in the device tree. Therefore it is not possible to
    use GPIO4 for pll-out. Therefore this patch removes the
    configuration of GPIO4.

    Signed-off-by: Howard Mitchell
    Signed-off-by: Mark Brown

    Howard Mitchell
     

23 Mar, 2015

1 commit

  • If den=1 and pllin_rate>20MHz then den and num are adjusted to 0
    causing a divide by zero error a few lines further on. Therefore
    this patch correctly scales num and den such that
    pllin_rate/den < 20MHz as required in the device data sheet.

    Signed-off-by: Howard Mitchell
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Howard Mitchell
     

22 Mar, 2015

1 commit


24 Feb, 2015

2 commits

  • When using non-standard rates, a relatively small amount of overclocking
    can make a big difference to a number of cases.

    - Not all rates are possible to achieve with the PLL, due to divider
    restrictions.

    - The higher oversampling rates that can be used by the DAC, the
    simpler the analog output filters get (mirror frequencies move up,
    away from the desired spectrum).

    - The more work the DSP can perform per sample, the better.

    For standard rates, there is little to gain as everything is
    designed just right, and the needed overclocking to make a
    real difference would be significant.

    Signed-off-by: Peter Rosin
    Signed-off-by: Mark Brown

    Peter Rosin
     
  • Signed-off-by: Peter Rosin
    Signed-off-by: Mark Brown

    Peter Rosin
     

05 Feb, 2015

1 commit


29 Jan, 2015

7 commits


10 Jan, 2015

1 commit


13 Dec, 2014

1 commit

  • After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
    selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks
    depending on CONFIG_PM_RUNTIME may now be changed to depend on
    CONFIG_PM.

    Replace CONFIG_PM_RUNTIME with CONFIG_PM everywhere under sound/.

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Takashi Iwai
    Acked-by: Nicolin Chen
    Acked-by: Brian Austin
    Acked-by: Mark Brown

    Rafael J. Wysocki
     

12 Aug, 2014

1 commit


22 May, 2014

1 commit


15 Apr, 2014

2 commits


09 Mar, 2014

2 commits


08 Feb, 2014

2 commits

  • There are some analogue volume controls in page 1 of the register map so
    implement support for them now that we can access the registers.

    Signed-off-by: Mark Brown

    Mark Brown
     
  • The PCM512x devices use a paged register map covering the entire register
    range. Implement support for this, mapping pages in at addresses starting
    at 0x100 for ease of use (though since the pages are numbered from 0 there
    is going to be an off by one when looking at the first byte as a page
    number).

    Also mark the new registers as accessible with the exception of the
    coefficient RAM which is a bit fiddly and may benefit from some extra
    handling to linearise the blocks.

    Signed-off-by: Mark Brown

    Mark Brown
     

06 Feb, 2014

2 commits

  • Since the core now takes const strings for enums we should be constifying
    them (and the regulator supplies while we're at it).

    Reported-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Mark Brown
     
  • The PCM512x devices are a family of monolithic CMOS integrated circuits
    that include a stereo digital-to-analog converter and additional support
    circuitry.

    This is an initial driver which supports some core functionality for the
    device which covers common use cases but does not cover all features.
    Currently only slave clocking modes with automatic clock configuration
    are supported and most of the DSP configuration for the device is not
    enabled.

    Signed-off-by: Mark Brown

    Mark Brown