Skip to content

Support reading Subsystem ID from Device Tree

Stefan Binding linux-devicetree linux-sound lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 1 replySuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Fixed use of PTR_ERR, using PTR_ERR_OR_ZERO instead
- Update commit message of patch 1 to explain why we need SSID property

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: dt-bindings: cirrus,cs35l41: Document the cirrus,subsystem-id propertyDocumentation/devicetree/bindings/sound/cirrus,cs35l41.yaml+6 -00 replies
2/2ASoC: cs35l41: Fallback to reading Subsystem ID property if not ACPIsound/soc/codecs/cs35l41.c+44 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Support reading Subsystem ID from Device Tree

In PC systems using ACPI, the driver is able to read back an SSID from the _SUB property. This SSID uniquely identifies the system, which enables the driver to read the correct firmware and tuning for that system from linux-firmware. Currently there is no way of reading this property from device tree. Add an equivalent property in device tree to perform the same role.

Changes since v2:
- Fixed use of PTR_ERR, using PTR_ERR_OR_ZERO instead
- Update commit message of patch 1 to explain why we need SSID property

Changes since v1:
- Fixed device tree property type

Stefan Binding (2):
ASoC: dt-bindings: cirrus,cs35l41: Document the cirrus,subsystem-id
property
ASoC: cs35l41: Fallback to reading Subsystem ID property if not ACPI

 .../bindings/sound/cirrus,cs35l41.yaml        |  6 ++
 sound/soc/codecs/cs35l41.c                    | 77 +++++++++++--------
 2 files changed, 50 insertions(+), 33 deletions(-)
Signature · 1 line
2.43.0