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

Update soundwire: mipi-disco: add new properties from 2.0 spec #5173

Merged
merged 4 commits into from
Sep 11, 2024

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    19f35ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    700eb1d View commit details
    Browse the repository at this point in the history
  3. soundwire: mipi-disco: add new properties from 2.0 spec

    The DisCo for SoundWire 2.0 spec adds support for new
    'mipi-sdw-sdca-interrupt-register-list' and
    'mipi-sdw-commit-register-supported'.
    
    This patch only adds the definitions and property reads, but the use
    of these properties will come at some point in the future when needed.
    
    Note a slight conceptual disconnect between the MIPI DisCo definition
    of a boolean property and the Linux implementation. The latter only
    checks the presence of the property to set its value to 'true',
    whereas the MIPI definitions allow for a property with a 'false'
    value. This patch uses the new introduced mipi_device_property_read_bool()
    to handle it.
    
    Signed-off-by: Pierre-Louis Bossart <[email protected]>
    plbossart authored and bardliao committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d11d742 View commit details
    Browse the repository at this point in the history
  4. soundwire: mipi_disco: read lane mapping properties from ACPI

    The DisCo for SoundWire 2.0 added support for the
    'mipi-sdw-lane-<n>-mapping' property.
    
    Co-developed-by: Chao Song <[email protected]>
    Signed-off-by: Chao Song <[email protected]>
    Signed-off-by: Bard Liao <[email protected]>
    bardliao committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    3abd069 View commit details
    Browse the repository at this point in the history