Message ID | 20221124055658.53828-1-CTLIN0@nuvoton.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9ffe8bbb8fcf93d1bf0a948635de1ced9247a811 |
Headers | show |
Series | [1/2] ASoC: nau8315: add new acpi id and compatible id | expand |
On Thu, Nov 24, 2022 at 01:56:57PM +0800, David Lin wrote: > Add new acpi id and compatible id for nau8315. > #ifdef CONFIG_OF > static const struct of_device_id nau8315_device_id[] = { > { .compatible = "nuvoton,nau8315" }, > + { .compatible = "nuvoton,nau8318" }, > {} The new compatible needs to be added to the binding document (any update to anything in the DT binding parsing should have a corresponding update to the document).
On Thu, 24 Nov 2022 13:56:57 +0800, David Lin wrote: > Add new acpi id and compatible id for nau8315. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: nau8315: add new acpi id and compatible id commit: 9ffe8bbb8fcf93d1bf0a948635de1ced9247a811 [2/2] ASoC: dt-bindings: add compatible string for NAU8318 commit: b992f35568cb5768c5944fc3b4f02df337dc1ece All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/codecs/nau8315.c b/sound/soc/codecs/nau8315.c index ad4dce9e5080..125742601f88 100644 --- a/sound/soc/codecs/nau8315.c +++ b/sound/soc/codecs/nau8315.c @@ -137,6 +137,7 @@ static int nau8315_platform_probe(struct platform_device *pdev) #ifdef CONFIG_OF static const struct of_device_id nau8315_device_id[] = { { .compatible = "nuvoton,nau8315" }, + { .compatible = "nuvoton,nau8318" }, {} }; MODULE_DEVICE_TABLE(of, nau8315_device_id); @@ -145,6 +146,7 @@ MODULE_DEVICE_TABLE(of, nau8315_device_id); #ifdef CONFIG_ACPI static const struct acpi_device_id nau8315_acpi_match[] = { { "NVTN2010", 0 }, + { "NVTN2012", 0}, {}, }; MODULE_DEVICE_TABLE(acpi, nau8315_acpi_match);
Add new acpi id and compatible id for nau8315. Signed-off-by: David Lin <CTLIN0@nuvoton.com> --- sound/soc/codecs/nau8315.c | 2 ++ 1 file changed, 2 insertions(+)