19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

05 Jul, 2014

1 commit

  • This patch adds Realtek ALC286 codec driver.

    ALC286 is a dual mode codec, which can run as HD-A or I2S mode.
    It is controlled by HD-A verb commands via I2C protocol.
    The following is the I/O difference between ALC286 and general I2S codecs.
    1. A HD-A verb command contains three parts, NID, VID, and PID.
    And an I2S command contains only two parts: address and data.
    2. Not only the register address is written, but the read command also
    includes the entire write command.
    3. rt286 uses different registers for read and write the same bits.

    We map verb command to regmap structure. However, we read most registers from
    cache to prevent the asymmetry read/write issue in rt286.

    Signed-off-by: Bard Liao
    Signed-off-by: Gustaw Lewandowski
    Signed-off-by: Mark Brown

    Bard Liao