|
|
Log in / Subscribe / Register

ASoC: nau8325: Modify driver code and dtschema.

From:  Seven Lee <wtli-AT-nuvoton.com>
To:  <broonie-AT-kernel.org>
Subject:  [PATCH v3 0/2] ASoC: nau8325: Modify driver code and dtschema.
Date:  Mon, 04 Mar 2024 18:15:21 +0800
Message-ID:  <20240304101523.538989-1-wtli@nuvoton.com>
Cc:  <lgirdwood-AT-gmail.com>, <alsa-devel-AT-alsa-project.org>, <devicetree-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <robh+dt-AT-kernel.org>, <conor+dt-AT-kernel.org>, <YHCHuang-AT-nuvoton.com>, <KCHSU0-AT-nuvoton.com>, <CTLIN0-AT-nuvoton.com>, <SJLIN0-AT-nuvoton.com>, <wtli-AT-nuvoton.com>, <scott6986-AT-gmail.com>, <supercraig0719-AT-gmail.com>, <dardar923-AT-gmail.com>
Archive-link:  Article

Modify properties of "nuvoton,dac-vref" in dtschema.
For driver code, changed dev_err() to dev_dbg().

Change:
V1 -> V2:
- Revise the driver description part for the C++ comment.
- In the nau8325_clkdet_put function, modify the max variable to hard code.
- Removed "Clock Detection" switch control.
- modify the "ALC Enable" switch name.
- Revise the dtschema for "nuvoton,dac-vref".

V2 -> V3:
- Properties use standard unit suffixes.
- Modify the enum definition.
- Driver code should be used dev_dbg().

Seven Lee (2):
  ASoC: dt-bindings: Added schema for "nuvoton,nau8325"
  ASoC: nau8325: new driver

 .../bindings/sound/nuvoton,nau8325.yaml       |  74 ++
 sound/soc/codecs/nau8325.c                    | 856 ++++++++++++++++++
 sound/soc/codecs/nau8325.h                    | 391 ++++++++
 3 files changed, 1321 insertions(+)
 create mode 100755 Documentation/devicetree/bindings/sound/nuvoton,nau8325.yaml
 create mode 100755 sound/soc/codecs/nau8325.c
 create mode 100644 sound/soc/codecs/nau8325.h

-- 
2.25.1




Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds