Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3884780imj; Tue, 12 Feb 2019 06:22:43 -0800 (PST) X-Google-Smtp-Source: AHgI3IaUib58DPTcgZ8KN4nC738KBWFDWLWL80W8JOF9WPNQd9HgVkk2QsJNEKHYZANBZzXsgSYV X-Received: by 2002:a63:4858:: with SMTP id x24mr3848012pgk.420.1549981363351; Tue, 12 Feb 2019 06:22:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549981363; cv=none; d=google.com; s=arc-20160816; b=Ol+UZrlgc1pAw6zgkmv9S+DYnvAs8e7jO2Ndr/RhKWHy5/IMI9oH+tQAUNutRjaSY4 DCdGziwW/6wOx5OhaW0uuk5/R4QlZapbP5PQsfT2ppKPKTPUWyfQHFrr+wIkanDNXlDh p8KIwsVw1GECVWcpTrBIK1nIgM9jq5IvtJEhTpdIRm7hl9XRYnnERUkblwVsXM5byBF1 pvkVKTlzo9vVtw/5SeoS71GxSQoWt1p4UFAmkRoZKBl7GMT1A+miLgh4pvbzYLDSOHrh cEwyl+y98U3GNfIBCr5F95qslohq4glN65IPJ9dbgjxbjnAM0nLP9DPzHFtm0nhKiWf+ 5vzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=ZI+O6NCmOYwMDDewzBE7vWMN41akdoyCLoLizsgidss=; b=UZ6ooF9xYe/STzlizyG62/TfwPDTzz9EBN2cEs1VdAgI9Jfq/VnfojZhSirs6qbSwf Z70wb9O+kx423wa1GCVhaLO664ALotirvCXs4+FkJ2Stu71jV9kTZwSOF8Ozy6F/omhx kSll06uSno1QXL/PKzwdjul0J+ln6XRcGVdIh8P2BYMXfn7ca8MMDesVibmA8Yzp24D+ 1VoyJhxF2bDTBKDNJmZdUHvF1GKwA11XqQBLthHp4nlZbOemXmxBhVwRYOkN5WQMovrn mJnwLOhP19fu4Gw94erEN0EgvlrQFbSgFZE6RrT27XYXA2EKDWMcY9zmMm7Yg8EPZ9sM R7sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=bOiwRJt2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l16si12577111pfb.68.2019.02.12.06.22.21; Tue, 12 Feb 2019 06:22:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=bOiwRJt2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730252AbfBLOWE (ORCPT + 99 others); Tue, 12 Feb 2019 09:22:04 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:55128 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728605AbfBLOWD (ORCPT ); Tue, 12 Feb 2019 09:22:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=ZI+O6NCmOYwMDDewzBE7vWMN41akdoyCLoLizsgidss=; b=bOiwRJt2UZ+H 2lHI6aNZQBEnDRFZH2nZ27KUf73+8zC98jvI1Sj8eIyFXTAufsDDheSs6x5Rbi71+hxwF0GYwQ7Hg WjroQm6L9RvArRWWUf9t52dJ4cOwAuRFKUYA3NhGak5moNFSgYssthRA/uUiJEv/E8tw/VwcbhjTI zMi4E=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gtYwY-0004aP-3x; Tue, 12 Feb 2019 14:21:50 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 99C8C1128114; Tue, 12 Feb 2019 14:21:49 +0000 (GMT) From: Mark Brown To: Peter Seiderer Cc: Mark Brown , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Kuninori Morimoto , Takashi Iwai , Liam Girdwood , b-ak , Mark Brown , alsa-devel@alsa-project.org Subject: Applied "tlv320aic32x4: delay i2c access by 1 ms after hardware reset" to the asoc tree In-Reply-To: <20190211210630.16592-1-ps.report@gmx.net> X-Patchwork-Hint: ignore Message-Id: <20190212142149.99C8C1128114@debutante.sirena.org.uk> Date: Tue, 12 Feb 2019 14:21:49 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch tlv320aic32x4: delay i2c access by 1 ms after hardware reset has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 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 From 674f9abd094552dc297a2afd0cb72d30aec539a3 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Mon, 11 Feb 2019 22:06:30 +0100 Subject: [PATCH] tlv320aic32x4: delay i2c access by 1 ms after hardware reset As stated in 'TLV320AIC3254 Application Reference Guide' ([1]): 3.2 Device Startup Lockout Times After the TLV320AIC3254 initializes through hardware reset at power-up or software reset, the internal registers initialize to default values. This initialization takes place within 1ms after pulling the RESET signal high. During this initialization phase, no register-read or register-write operation should be performed on ADC or DAC coefficient buffers. Also, no block within the codec should be powered up during the initialization phase. [1] http://www.ti.com/lit/an/slaa408a/slaa408a.pdf Signed-off-by: Peter Seiderer Signed-off-by: Mark Brown --- sound/soc/codecs/tlv320aic32x4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/tlv320aic32x4.c b/sound/soc/codecs/tlv320aic32x4.c index e1bfba62fc08..96f1526cb258 100644 --- a/sound/soc/codecs/tlv320aic32x4.c +++ b/sound/soc/codecs/tlv320aic32x4.c @@ -970,6 +970,7 @@ static int aic32x4_component_probe(struct snd_soc_component *component) if (gpio_is_valid(aic32x4->rstn_gpio)) { ndelay(10); gpio_set_value(aic32x4->rstn_gpio, 1); + mdelay(1); } snd_soc_component_write(component, AIC32X4_RESET, 0x01); -- 2.20.1