06 Feb, 2020

3 commits

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • At present an error does not stop the sound-output loop. This is incorrect
    since nothing can be gained by trying to continue. Fix it.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • At present there is no positive indication that U-Boot has finished
    sending sound data. This means that it is not possible to power down an
    audio codec, for example. Add a new method that is called once all sound
    data has been sent.

    Add a new method for this, called when the sound_play() call is done.

    Signed-off-by: Simon Glass

    Simon Glass
     

03 Dec, 2019

1 commit


25 May, 2019

3 commits


01 May, 2019

1 commit


20 Feb, 2019

10 commits


10 Feb, 2019

3 commits


01 Feb, 2019

2 commits

  • Add a sound driver for rk3288 supporting chromebook_jerry. This uses the
    I2S driver, and existing audio codec and the clock/pinmux support.

    Signed-off-by: Simon Glass
    Reviewed-by: Philipp Tomsich

    Simon Glass
     
  • Add a driver for I2S which allows audio data to be sent from the SoC to
    the audio codec. The sample rate and other settings are hard-coded for now
    as there is no suitable device-tree binding available.

    Signed-off-by: Simon Glass
    Reviewed-by: Philipp Tomsich

    Simon Glass
     

14 Dec, 2018

17 commits