Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754898AbdHZAmz (ORCPT ); Fri, 25 Aug 2017 20:42:55 -0400 Received: from mail-cys01nam02on0131.outbound.protection.outlook.com ([104.47.37.131]:30527 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754533AbdHZAli (ORCPT ); Fri, 25 Aug 2017 20:41:38 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=RyanS.Lee@maximintegrated.com; From: Ryan Lee To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ryans.lee@maximintegrated.com, kuninori.morimoto.gx@renesas.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: ryan.lee.maxim@gmail.com Subject: [PATCH 6/9] ASoC: max98927: Modified chip default register values Date: Fri, 25 Aug 2017 17:41:07 -0700 Message-Id: <1503708070-7906-6-git-send-email-ryans.lee@maximintegrated.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503708070-7906-1-git-send-email-ryans.lee@maximintegrated.com> References: <1503708070-7906-1-git-send-email-ryans.lee@maximintegrated.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [204.17.143.20] X-ClientProxiedBy: CY4PR15CA0022.namprd15.prod.outlook.com (10.172.74.32) To BLUPR11MB0835.namprd11.prod.outlook.com (10.163.217.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3aedab58-5a69-4e62-5f47-08d4ec1b3394 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BLUPR11MB0835; X-Microsoft-Exchange-Diagnostics: 1;BLUPR11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G1v4WPuIDk10KCfUfuEDx8Qp71GtAD8oIacAth9ySrUWnbQ8gs6oizGmqOUOSmx7MAjxY+LEVt7ztUpbJB8yS9zVg7PX3+T2IsV82K1WVHuLigpwc9BHIir9J/T8xFHN9v0DwA6KPgpv/91G2JdYgfXGc5yKzxCNyPXBZOx5pJRauyKBFnm3gJPC/XCTEipsKEDoICx6QoV7tMLi3OeMkAZ0cCevKuWElfL+F1Vo7K5ZYyvMhp7TuP99eNntkcE3RWRBnHDDrNON6eueug+BPPlVBSjcW9uv3CnSF5OjMwS/+PoFA02cRElhAXZAxtNnqmgXyxJ76nt3Xd1CbXpooCfGo;4:zdOHRSDROeOXm1y8SNdxOGpVS04GysX+k8CJPvOzhsPrd302pKbc+a/yhAOW4Hx+xATfY9ifzo5FRjQukglkr4YHl+Murpr/IUgKC5L77qMaGGRJ6i71uGwgIU9jE4bSROIWaudMOwkT6Yi+C3ndEptrBMhrzx5OYbFCckhxY9rcg8MpHxZl3Kduul9yLKhs50jdkkH/CA7Kf7QRGTJiL87o9ffOabOmwAPJnvSO4Iep5IShXApxp+xl4J0CCVz4mw02uj781SEzQZ6wxnMBQRm3ZY5FdDAyAsjqdGuhLkg= X-Exchange-Antispam-Report-Test: UriScan:(108721460000369); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123562025)(20161123558100)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BLUPR11MB0835;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BLUPR11MB0835; X-Forefront-PRVS: 04111BAC64 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(7370300001)(6009001)(39860400002)(189002)(199003)(4326008)(72206003)(97736004)(81166006)(110136004)(81156014)(8676002)(53936002)(189998001)(66066001)(25786009)(478600001)(86362001)(47776003)(305945005)(48376002)(7736002)(50466002)(3846002)(50986999)(2906002)(6486002)(6506006)(6666003)(6512007)(68736007)(76176999)(101416001)(53416004)(50226002)(5660300001)(6116002)(2950100002)(42186005)(69596002)(7350300001)(5003940100001)(106356001)(105586002)(33646002)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR11MB0835;H:ryan-ThinkPad-T430.maxim-ic.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR11MB0835;23:uqWiKQlsfdZqPkBxXvguogsvTnTfwHHfJ4xNImMeH?= =?us-ascii?Q?bJ0RVrl/TD7sJaEmaBgN0dKE68ucJCO8uWaV0OH+zOLhjhW88HHLv6zJgWUR?= =?us-ascii?Q?3L+JRtDxfM3Ue0+73+N/rRbGus4lo4iOwmyRa+F1CacOVXfHwUlz6hdiEyMx?= =?us-ascii?Q?Pre3oUZlEhB9ZiYg5RUjSn/jT4gal+dUjrbF0iQpDZ/P3G+il8Xxcw0CllMP?= =?us-ascii?Q?JhNeOV1JNRCB2t09A0BD0XAz40SilYd2o8jb3XL5u89eUCizAOIjNFIAUhQj?= =?us-ascii?Q?J1Mh1IEEl5miSfa7ZhQ6lV9ydGDUNg6/6G/seddR20FA4IqRJGBimyeI5Gyg?= =?us-ascii?Q?Ko2rpt2J3d2i9qUBP8awVi7dx6hIgYdT8BQStZoslBe+hUziouJtdSaWHs81?= =?us-ascii?Q?X0ON82GfH2twhTfDLqWyMZ4lyA5PuRU6sb4cUx9mfSybZ7FNZ+55NOOW3DB2?= =?us-ascii?Q?bqpii0UojyFFXBJf2j1+rPJ33K8oDVYhW1zK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AI/H5NOqbX91M2sIe/vHBwyp9uLatPja3WWOVNMMnbBzYFh6w0SMkBlDL8DeiIHf8bEX46+FuBaFTxNLT+EZkJb1uSOsMGaFiuJxFubUXTbj0OhQm6hA6ei51Ccn73NI3fMXF4TxFiTGMesc0t5Ee54zwXZufxQ==;5:PI9sY7qXgjbjbXzOQBp5y82DuIUIHk53s6ITavq5ACW/VaQBMJZ649DnxPwcC3euOXFIyD3CH6db7slmN+/DWvWHYHkceCu4gg8SgVPFgp772wy7/bu8Pm4PiNMsyg+dJ4QS2VZo9oTCWb1EgY5Brw==;24:SylYKlq7j4nnk0K4zCwMDqW6voURfOiL1+EFoNHXkfAE43jtchNBdtPjT0OHdFXkLn1iNZtlqs/IcvidNKM2SGrirUEnop4iR5LHeeZrQC4=;7:123ue8vSjtsHlcNiUEbawDRC9pQ03/I5G7T19oeq2hKPFUjewDha6zT9cAGL9u9O9OgbZZpp7RuEykhv5oqYIE39csiw3xMbKm+ftrgmWow7vzta9iWXdjmPaFm0gjwrK9c+0UJHnGE/uOeafBPfv8z1Eww295AR3J5S+/L+YoFvVKDNE6CgODRQxO/txe74Tt9jR9M8wXnrgyamR9SxWf5Y5jP88aWmnOc2xNFfD9M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2017 00:41:33.1278 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR11MB0835 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1593 Lines: 43 Signed-off-by: Ryan Lee --- Changes : Updated chip default register values sound/soc/codecs/max98927.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 208d5ba..3ab8220 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -44,9 +44,9 @@ {MAX98927_R0011_CLK_MON, 0x00}, {MAX98927_R0012_WDOG_CTRL, 0x00}, {MAX98927_R0013_WDOG_RST, 0x00}, - {MAX98927_R0014_MEAS_ADC_THERM_WARN_THRESH, 0x00}, - {MAX98927_R0015_MEAS_ADC_THERM_SHDN_THRESH, 0x00}, - {MAX98927_R0016_MEAS_ADC_THERM_HYSTERESIS, 0x00}, + {MAX98927_R0014_MEAS_ADC_THERM_WARN_THRESH, 0x75}, + {MAX98927_R0015_MEAS_ADC_THERM_SHDN_THRESH, 0x8c}, + {MAX98927_R0016_MEAS_ADC_THERM_HYSTERESIS, 0x08}, {MAX98927_R0017_PIN_CFG, 0x55}, {MAX98927_R0018_PCM_RX_EN_A, 0x00}, {MAX98927_R0019_PCM_RX_EN_B, 0x00}, @@ -82,14 +82,14 @@ {MAX98927_R003A_AMP_EN, 0x00}, {MAX98927_R003B_SPK_SRC_SEL, 0x00}, {MAX98927_R003C_SPK_GAIN, 0x00}, - {MAX98927_R003D_SSM_CFG, 0x01}, + {MAX98927_R003D_SSM_CFG, 0x04}, {MAX98927_R003E_MEAS_EN, 0x00}, {MAX98927_R003F_MEAS_DSP_CFG, 0x04}, {MAX98927_R0040_BOOST_CTRL0, 0x00}, {MAX98927_R0041_BOOST_CTRL3, 0x00}, {MAX98927_R0042_BOOST_CTRL1, 0x00}, {MAX98927_R0043_MEAS_ADC_CFG, 0x00}, - {MAX98927_R0044_MEAS_ADC_BASE_MSB, 0x00}, + {MAX98927_R0044_MEAS_ADC_BASE_MSB, 0x01}, {MAX98927_R0045_MEAS_ADC_BASE_LSB, 0x00}, {MAX98927_R0046_ADC_CH0_DIVIDE, 0x00}, {MAX98927_R0047_ADC_CH1_DIVIDE, 0x00}, -- 1.9.1