From patchwork Fri Jan 4 16:27:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10748439 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B54A14E2 for ; Fri, 4 Jan 2019 16:27:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B37C28833 for ; Fri, 4 Jan 2019 16:27:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1673A28842; Fri, 4 Jan 2019 16:27:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D87928833 for ; Fri, 4 Jan 2019 16:27:25 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 939E5267C19; Fri, 4 Jan 2019 17:27:17 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 28A9A267C11; Fri, 4 Jan 2019 17:27:14 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40064.outbound.protection.outlook.com [40.107.4.64]) by alsa0.perex.cz (Postfix) with ESMTP id 4931C267B56 for ; Fri, 4 Jan 2019 17:27:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xU2keuVbRepnlqONl4BC/FjdNPS6KA9ykIiMPZO6myw=; b=RWFP7wCOaqJPpHy8jkbLb2oQb7hhcN3F9w1X3OqwtL6U8vf+3+qMff/+0fR1YnEvdC3OaRp+LELaXulsEJwMzMUqZQPjtT5QXdvwuV0WNZTt92e2fCnpCB1wVsBOTAqe5jZ1ip0wx5eDG58rl+LW3zjdxndxDDfOqQD/vMiyk+s= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB3759.eurprd04.prod.outlook.com (52.134.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Fri, 4 Jan 2019 16:27:04 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::a8aa:5f09:1d1c:7b57]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::a8aa:5f09:1d1c:7b57%3]) with mapi id 15.20.1495.005; Fri, 4 Jan 2019 16:27:04 +0000 From: Daniel Baluta To: "broonie@kernel.org" , "alsa-devel@alsa-project.org" Thread-Topic: [PATCH 1/2] ASoC: ak4458: Add support for AK4497 Thread-Index: AQHUpEpTrS0B0qRj30+CRXisIwxMlA== Date: Fri, 4 Jan 2019 16:27:03 +0000 Message-ID: <20190104162649.13103-2-daniel.baluta@nxp.com> References: <20190104162649.13103-1-daniel.baluta@nxp.com> In-Reply-To: <20190104162649.13103-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P195CA0085.EURP195.PROD.OUTLOOK.COM (2603:10a6:802:59::38) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0402MB3759; 6:YlUgib/ytbHjcUnHV/UmoOA1xE20yJixuvHPzoDPcN6IJ5L3eNk02EYqDpfKJsyQmelE+NTuTDRT7aEkdeGAOD30rJlm5oPvMgvv1w17dZJmbLGN9riulscogc9n3oDk81ewHk4themoHty4dWwK2J4izoQ2npfTh0/A2S2gHIXFCA0OeE01dHRedFudwDQ+NiBP+X6P/Sav/xSlNtqdMvooOJNf10LGs+VuCKb8TEX2BqmCE+Ie3bKXu85IiXDpg5LjkLKdrNvQHaYvxRCHr4uOc4+lVmN41nFdfW1MMjbAnpr5nXiIGCHZL5j4DjpxEMeVXy6YyVtrAhmZCNqYvZI5QF0dKLmMkB0drRLWW4H8GAaa5SmeJdmTpQztkcC+r3nbiiQBUiNX/YTYonAbLaZrnjRp5NWJNzE/5ThtGjdVGysDAqrkWaR4sS9Qxv3gB2yg+2IlnhpT08lH6DOkeA==; 5:W3qgItjeP4BfK37k9pH1fDQcbi14Ghzwk7yX/+4lQKM/HxLJBC4eY6oGIF/rKROZjsS/BS3PrNKrNt63gy/zStahFg7gwb3AryhFS1/un8sH79C+XYII7PELpB48hU+wypa0RZV5IKeAfPBs2ggBi5Izje2TVUVQmElxY7wLngs=; 7:MXMqQCCrJgDSVOwri83lxh/jBDSX2K/moKpXW+6Xa91kiLeal5RO3YpEPaC0yV5wI22uvWBtsDRsLVza9QwG5dKtmmt0SimegtwmRVfj5RMcoQ97siYFCERTJDE6MAJtJShEWKWP9j8VI0PlmqKIOw== x-ms-office365-filtering-correlation-id: db722064-6d8c-4b80-558a-08d67261760a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3759; x-ms-traffictypediagnostic: VI1PR0402MB3759: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(10201501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:VI1PR0402MB3759; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB3759; x-forefront-prvs: 0907F58A24 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(376002)(39860400002)(136003)(346002)(189003)(199004)(8676002)(4326008)(54906003)(316002)(44832011)(76176011)(305945005)(8936002)(99286004)(81156014)(2906002)(486006)(81166006)(53936002)(446003)(1076003)(25786009)(110136005)(105586002)(2501003)(36756003)(7736002)(52116002)(476003)(39060400002)(2616005)(11346002)(71200400001)(71190400001)(256004)(6116002)(3846002)(68736007)(106356001)(6512007)(6306002)(966005)(14444005)(14454004)(6436002)(86362001)(6506007)(478600001)(186003)(50226002)(386003)(5660300001)(66066001)(6486002)(102836004)(26005)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3759; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: hFSz6H5L1yCxAIhp1y5e66LEno8dn6s/i36Jkf4Zu89js8FlVjWKA/kSu48eyLWSOElbyn6TBoKvl4lADFe1I29QgwsRz1mgSCW24PSPNyxM15+WPHHkALAr42xqZaxKfAZt1M6jfzCBZ/dTZPnXAN+b7OKa5JC1MXrsgHxLQMFwYvAIlJXuaOQlHvRG7dHZSpO6Ev+b+7TnJBezZ05Tu1thuwc9xiaMk7ywS100LJulrBb+jK8vc6nY1uRNaUvI94S5KEbEOM5Tx5qJ8Uf/3nfiZ3JIKIM5jjn/yCymY12Zek81plGOUhdHlB2us4tb spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: db722064-6d8c-4b80-558a-08d67261760a X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2019 16:27:03.2593 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3759 Cc: "devicetree@vger.kernel.org" , "daniel.baluta@gmail.com" , "S.j. Wang" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , Viorel Suman , Cosmin Samoila , Daniel Baluta Subject: [alsa-devel] [PATCH 1/2] ASoC: ak4458: Add support for AK4497 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP AK4497 is a 32-bit 2ch DAC and has the same register map as AK4458 with few exceptions: * AK4497 has one more register at the end of register space DFS_READ which is a read only register that allows users to read FS Auto Detection mode. We currently do not use this register so we use the same regmap structure as for ak4458. * Because AK4458 is an 8ch DAC there are some fields that are only used by AK4458 and marked as reserved for AK4497, so for this reason we need to have a distinct set of controls, widgets and routes. Datasheet for AK4497 is at: https://www.akm.com/akm/en/file/ev-board-manual/AK4497EQ.pdf Datasheet for AK4458 is at: https://www.akm.com/akm/en/file/datasheet/AK4458VN.pdf Signed-off-by: Daniel Baluta --- sound/soc/codecs/ak4458.c | 79 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 76 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/ak4458.c b/sound/soc/codecs/ak4458.c index 70d4c89bd6fc..eab7c76cfcd9 100644 --- a/sound/soc/codecs/ak4458.c +++ b/sound/soc/codecs/ak4458.c @@ -21,6 +21,11 @@ #include "ak4458.h" +struct ak4458_drvdata { + struct snd_soc_dai_driver *dai_drv; + const struct snd_soc_component_driver *comp_drv; +}; + /* AK4458 Codec Private Data */ struct ak4458_priv { struct device *dev; @@ -258,6 +263,33 @@ static const struct snd_soc_dapm_route ak4458_intercon[] = { {"AK4458 AOUTD", NULL, "AK4458 DAC4"}, }; +/* ak4497 controls */ +static const struct snd_kcontrol_new ak4497_snd_controls[] = { + SOC_DOUBLE_R_TLV("DAC Playback Volume", AK4458_03_LCHATT, + AK4458_04_RCHATT, 0, 0xFF, 0, dac_tlv), + SOC_ENUM("AK4497 De-emphasis Response DAC", ak4458_dac1_dem_enum), + SOC_ENUM_EXT("AK4497 Digital Filter Setting", ak4458_digfil_enum, + get_digfil, set_digfil), + SOC_ENUM("AK4497 Inverting Enable of DZFB", ak4458_dzfb_enum), + SOC_ENUM("AK4497 Sound Mode", ak4458_sm_enum), + SOC_ENUM("AK4497 Attenuation transition Time Setting", + ak4458_ats_enum), +}; + +/* ak4497 dapm widgets */ +static const struct snd_soc_dapm_widget ak4497_dapm_widgets[] = { + SND_SOC_DAPM_DAC("AK4497 DAC", NULL, AK4458_0A_CONTROL6, 2, 0), + SND_SOC_DAPM_AIF_IN("AK4497 SDTI", "Playback", 0, SND_SOC_NOPM, 0, 0), + SND_SOC_DAPM_OUTPUT("AK4497 AOUT"), +}; + +/* ak4497 dapm routes */ +static const struct snd_soc_dapm_route ak4497_intercon[] = { + {"AK4497 DAC", NULL, "AK4497 SDTI"}, + {"AK4497 AOUT", NULL, "AK4497 DAC"}, + +}; + static int ak4458_rstn_control(struct snd_soc_component *component, int bit) { int ret; @@ -476,6 +508,18 @@ static struct snd_soc_dai_driver ak4458_dai = { .ops = &ak4458_dai_ops, }; +static struct snd_soc_dai_driver ak4497_dai = { + .name = "ak4497-aif", + .playback = { + .stream_name = "Playback", + .channels_min = 1, + .channels_max = 2, + .rates = SNDRV_PCM_RATE_KNOT, + .formats = AK4458_FORMATS, + }, + .ops = &ak4458_dai_ops, +}; + static void ak4458_power_off(struct ak4458_priv *ak4458) { if (ak4458->reset_gpiod) { @@ -573,6 +617,21 @@ static const struct snd_soc_component_driver soc_codec_dev_ak4458 = { .non_legacy_dai_naming = 1, }; +static const struct snd_soc_component_driver soc_codec_dev_ak4497 = { + .probe = ak4458_probe, + .remove = ak4458_remove, + .controls = ak4497_snd_controls, + .num_controls = ARRAY_SIZE(ak4497_snd_controls), + .dapm_widgets = ak4497_dapm_widgets, + .num_dapm_widgets = ARRAY_SIZE(ak4497_dapm_widgets), + .dapm_routes = ak4497_intercon, + .num_dapm_routes = ARRAY_SIZE(ak4497_intercon), + .idle_bias_on = 1, + .use_pmdown_time = 1, + .endianness = 1, + .non_legacy_dai_naming = 1, +}; + static const struct regmap_config ak4458_regmap = { .reg_bits = 8, .val_bits = 8, @@ -583,6 +642,16 @@ static const struct regmap_config ak4458_regmap = { .cache_type = REGCACHE_RBTREE, }; +static const struct ak4458_drvdata ak4458_drvdata = { + .dai_drv = &ak4458_dai, + .comp_drv = &soc_codec_dev_ak4458, +}; + +static const struct ak4458_drvdata ak4497_drvdata = { + .dai_drv = &ak4497_dai, + .comp_drv = &soc_codec_dev_ak4497, +}; + static const struct dev_pm_ops ak4458_pm = { SET_RUNTIME_PM_OPS(ak4458_runtime_suspend, ak4458_runtime_resume, NULL) SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, @@ -592,6 +661,7 @@ static const struct dev_pm_ops ak4458_pm = { static int ak4458_i2c_probe(struct i2c_client *i2c) { struct ak4458_priv *ak4458; + const struct ak4458_drvdata *drvdata; int ret; ak4458 = devm_kzalloc(&i2c->dev, sizeof(*ak4458), GFP_KERNEL); @@ -605,6 +675,8 @@ static int ak4458_i2c_probe(struct i2c_client *i2c) i2c_set_clientdata(i2c, ak4458); ak4458->dev = &i2c->dev; + drvdata = of_device_get_match_data(&i2c->dev); + ak4458->reset_gpiod = devm_gpiod_get_optional(ak4458->dev, "reset", GPIOD_OUT_LOW); if (IS_ERR(ak4458->reset_gpiod)) @@ -615,8 +687,8 @@ static int ak4458_i2c_probe(struct i2c_client *i2c) if (IS_ERR(ak4458->mute_gpiod)) return PTR_ERR(ak4458->mute_gpiod); - ret = devm_snd_soc_register_component(ak4458->dev, &soc_codec_dev_ak4458, - &ak4458_dai, 1); + ret = devm_snd_soc_register_component(ak4458->dev, drvdata->comp_drv, + drvdata->dai_drv, 1); if (ret < 0) { dev_err(ak4458->dev, "Failed to register CODEC: %d\n", ret); return ret; @@ -635,7 +707,8 @@ static int ak4458_i2c_remove(struct i2c_client *i2c) } static const struct of_device_id ak4458_of_match[] = { - { .compatible = "asahi-kasei,ak4458", }, + { .compatible = "asahi-kasei,ak4458", .data = &ak4458_drvdata}, + { .compatible = "asahi-kasei,ak4497", .data = &ak4497_drvdata}, { }, }; From patchwork Fri Jan 4 16:27:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10748443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C81414DE for ; Fri, 4 Jan 2019 16:27:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 290CC2882A for ; Fri, 4 Jan 2019 16:27:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D4E72882F; Fri, 4 Jan 2019 16:27:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AA7A2882C for ; Fri, 4 Jan 2019 16:27:32 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id EF9AF267C3A; Fri, 4 Jan 2019 17:27:18 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8E09E267B56; Fri, 4 Jan 2019 17:27:14 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40064.outbound.protection.outlook.com [40.107.4.64]) by alsa0.perex.cz (Postfix) with ESMTP id 944AD267BE9 for ; Fri, 4 Jan 2019 17:27:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OIt1y8llgjsX9LYWJSgjFJZue5zwWtBSXYlr6wEJXh8=; b=UnCSZMf3Ukk7ydo0Gz7fP9MKudDoDGJIgh68ujfYfJOxrzJFNq+km0/2bzEZYG7rbi2W+DUT1vx0mLKWUvEJBh2KmTDjn/D5d1hZJWCjj+SCdVNJxgZRNbyq+Km29PYQBKA3NFTvfwiEtJGolgzEq42ATiUA/rL201BvBbAjiEQ= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB3759.eurprd04.prod.outlook.com (52.134.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Fri, 4 Jan 2019 16:27:05 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::a8aa:5f09:1d1c:7b57]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::a8aa:5f09:1d1c:7b57%3]) with mapi id 15.20.1495.005; Fri, 4 Jan 2019 16:27:05 +0000 From: Daniel Baluta To: "broonie@kernel.org" , "alsa-devel@alsa-project.org" Thread-Topic: [PATCH 2/2] ASoC: dt-bindings: Document support for ak4497 Thread-Index: AQHUpEpULemyN2qL6Ui1aA6D/yuQ+Q== Date: Fri, 4 Jan 2019 16:27:04 +0000 Message-ID: <20190104162649.13103-3-daniel.baluta@nxp.com> References: <20190104162649.13103-1-daniel.baluta@nxp.com> In-Reply-To: <20190104162649.13103-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P195CA0085.EURP195.PROD.OUTLOOK.COM (2603:10a6:802:59::38) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0402MB3759; 6:Le+M0dq7YPPmZHsxaAKvdnA+WVbKXdz4j0bVVR/dZID2PrfD8J0ZN00FzO390Gzf7RlAvho+ScC8jcJnJXEwVl0BLkS1AAz3yrX7GAUmm2YXq0v+FIiuflDCvpKGG5BYLWLrYbxwiu8X5ylRovhwKhDUFooWoTxWgVg+qaJ6Dp8Vt9sHjNx0MPpkmXdo5DRaf7gmh8Z6XXrcNFmTcrw7wPZkMyg+luBeGOlKXnMwNk0G0Bgb4fY1p4A8jkCHjEeWvGRAyGjwoFfTj5S+QtE+8j27Jk22J/WVul/UkCYjy5yh86ullTy7M7fTQ5YuNXyDdiO0ioTItJvMnOLDZIPiFHkTCB1veYsf7UqP+sGYHF8ur5CxZxxoY1IZZ3EqpUwY0hiH/VozsWJS65J+B/pwWAvejzCeqBUlfFxCpjbqzN69ONqnm18JtIICTIzgt/478hjHTyW0ZQjrf41EmtaUxg==; 5:u23XNO+vXDYaLV4QhZdfEz7vSQ9VkWClmSQ9As276GFL2veBpY2yfH4LXFurDbMCfu2c3HovzQJQmOmU/lMAGwGSvQfar5dBt5lhOXKjLu1RNtL+DjjVZA+HyUKkYGGqBscgrEEJ7MtPDsrA3dMo2wEOmLDgWU7txJpxSHR3KgE=; 7:H0ZnI3XALeCH5sHO6cdDz4glvxpJdTxNcxkrXfEKQufkDwgpOtYacnecmAZtPJyiZ/Kp4TfNVtvG7rD8ASGjz5YhsRlOaoTwv4kqZVppLyXo13w1qdJFCJGrmWmzJmhbVd8ydREqahWvfGfurHMj0w== x-ms-office365-filtering-correlation-id: ebb3848e-e1cb-4c3c-ba0e-08d672617683 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3759; x-ms-traffictypediagnostic: VI1PR0402MB3759: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(10201501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:VI1PR0402MB3759; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB3759; x-forefront-prvs: 0907F58A24 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(376002)(39860400002)(136003)(346002)(189003)(199004)(8676002)(4326008)(54906003)(316002)(44832011)(76176011)(305945005)(8936002)(99286004)(81156014)(2906002)(486006)(81166006)(53936002)(446003)(1076003)(25786009)(110136005)(105586002)(2501003)(36756003)(7736002)(52116002)(476003)(39060400002)(2616005)(11346002)(71200400001)(71190400001)(256004)(6116002)(3846002)(68736007)(106356001)(6512007)(14444005)(14454004)(6436002)(86362001)(575784001)(6506007)(478600001)(186003)(50226002)(386003)(5660300001)(66066001)(6486002)(102836004)(26005)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3759; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FGZXNuFeX8fFiaQFJxMx7WJE3uBVSabpY15QoJlKU4yiUf5dwT2ZVWl8TpWkLH3lG1FKz67UWYri4irHdxI64qKDiNaCd4HlvcCugKKuAAJnFYoSdqXZbv5meZ3ydz3CBXNFZRg9bzZr7hkQisdtNp4IuoH1YGpdmr2Wfs+T/iRQ2ptRaa2PBvZ1yJZjnLQThKlu/mz38NACOvf/AQ2GPN86Df/5lIuh3pe1HvLoZQ1Qv6dOStxp/RfBA2fPF2C/ylJGnTeqAk9Gv0QvDa0t++O65fB0Es1eO3fUK+VJCsREor3hR8sc0V2MpTfj0Keq spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebb3848e-e1cb-4c3c-ba0e-08d672617683 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2019 16:27:04.0539 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3759 Cc: "devicetree@vger.kernel.org" , "daniel.baluta@gmail.com" , "S.j. Wang" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , Viorel Suman , Cosmin Samoila , Daniel Baluta Subject: [alsa-devel] [PATCH 2/2] ASoC: dt-bindings: Document support for ak4497 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP ak4458 driver supports also ak4497 codec. Signed-off-by: Daniel Baluta --- Documentation/devicetree/bindings/sound/ak4458.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/ak4458.txt b/Documentation/devicetree/bindings/sound/ak4458.txt index 7839be78448d..e5820235e0d5 100644 --- a/Documentation/devicetree/bindings/sound/ak4458.txt +++ b/Documentation/devicetree/bindings/sound/ak4458.txt @@ -4,7 +4,7 @@ This device supports I2C mode. Required properties: -- compatible : "asahi-kasei,ak4458" +- compatible : "asahi-kasei,ak4458" or "asahi-kasei,ak4497" - reg : The I2C address of the device for I2C Optional properties: