From patchwork Thu Mar 1 18:07:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 130373 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp3114658edc; Thu, 1 Mar 2018 10:09:23 -0800 (PST) X-Google-Smtp-Source: AG47ELtJLJ+gZ89ClyJFnV3rG44Q4LO7QBokPRI3+oQHIuSgDuLYTp+DkoTMWo2fQuN/5R9t6dtP X-Received: by 10.28.202.26 with SMTP id a26mr2503519wmg.45.1519927763754; Thu, 01 Mar 2018 10:09:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519927763; cv=none; d=google.com; s=arc-20160816; b=QuMQb12VIsqmWKa76uPGFlYroCmypS6CJmk0XsGMO47Q4eBlnLmpXOy7OMjj/v8EBp IJVDASoizQRSRSjnR2AXeKQBkkgO2p9QVF6Ms0o60+jz4hy6Iit4ZxxGq6uH4g4RCDLR 1kM2E61gD/wHlhiNiJ4uL2wPvCuRz+7yU6rLZui24CWTeM/c/jjFxCy1Ui10WEfanjx8 s+lzXPKlwHljeZ/JAcLgPBm6JNo80hj3uIw8+EPpGt3YYkK1jiNijpX2Tv1U7Fwc2AKh JwP7zOWYM9YF1gAwpXlVjC1jmuPm7PyxmEZsAi2ic0QaKz8zSZ8aFMbUoS/Dy2d+CqeP gygg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=D4Y0wNr7FZyc0dh9ZpsPnr08aieEKo99VG7B9Ckklek=; b=ARw6YHNvVbTz22sC5wX6qr7qsV/ZYeiV/3FyDfGMT23dG8ANWzvNNwEqZnencjy9FS V7qheD7VxKSDd0QOWtLXPZZCY6aaDVZ7Hf+74Osf+e3hEb8lcn3chXtdIL5tMAZ+nXxF UQRC7I8PNacyK8nc2/E3Y/Jsa82fNgby4yXSwuLcWMEWDKmTbGuIG3+JKfhfqsMlfwag NjFlYwc1HO6en/GYIyY441iWi51xxJDWShorZ+mB5RhO4ADxIz31NLbwXxHZnmA0QBbu ZvHp7PMGM+QRNjjO2f5r2ggbCHq6Yuji/8QfPYV53uKnfsD0yyI8r/vSpTzkaMgDa2mw sO4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=cDNkBQUg; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id c124si2950764wmd.211.2018.03.01.10.09.23; Thu, 01 Mar 2018 10:09:23 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=cDNkBQUg; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 7A831267B87; Thu, 1 Mar 2018 19:07:34 +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 8F5D8267B84; Thu, 1 Mar 2018 19:07:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 5524F267B64 for ; Thu, 1 Mar 2018 19:07:24 +0100 (CET) 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=UV9Esr9hni0YvJlAihFLaFClGJXrccnrQjDfULtWMSo=; b=cDNkBQUgmULc iuBT1yiG31esABwGm4Gi0hgGHNYMqIs0uWV4+jjS2MP0FO8Kz78Hadc3s3JMS95ELl6VbTJTl6I51 d76EMSbShwI7db9UWm86i5SoHxP8HsqYVnyKuQUP8N9j3fB1UDbRsPY0qOmuMofWrbHUOBK3oB6sS UFSoI=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1erSbj-0005XB-HO; Thu, 01 Mar 2018 18:07:07 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1erSbj-0005v8-2w; Thu, 01 Mar 2018 18:07:07 +0000 From: Mark Brown To: Naveen Manohar In-Reply-To: <1519008302-24432-1-git-send-email-naveen.m@intel.com> Message-Id: Date: Thu, 01 Mar 2018 18:07:07 +0000 Cc: alsa-devel@alsa-project.org, vinod.koul@intel.com, broonie@kernel.org, Kevin Cheng , naveen.m@intel.com, pierre-louis.bossart@intel.com Subject: [alsa-devel] Applied "ASoC: Intel: kbl: Enable mclk and ssp sclk early for rt5663" to the asoc tree 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: Intel: kbl: Enable mclk and ssp sclk early for rt5663 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 256ac58a7ea343600bd6d0e3df3eb7eebb2d65e0 Mon Sep 17 00:00:00 2001 From: Naveen Manohar Date: Mon, 19 Feb 2018 08:15:02 +0530 Subject: [PATCH] ASoC: Intel: kbl: Enable mclk and ssp sclk early for rt5663 rt5663 requires mclk/sclk early to synchronize its internal clocks. Enable these clocks early. Signed-off-by: Naveen Manohar Signed-off-by: Kevin Cheng Signed-off-by: Mark Brown --- sound/soc/intel/boards/kbl_rt5663_max98927.c | 5 +++++ 1 file changed, 5 insertions(+) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/boards/kbl_rt5663_max98927.c b/sound/soc/intel/boards/kbl_rt5663_max98927.c index 3c9585eb6860..0e6b7e79441c 100644 --- a/sound/soc/intel/boards/kbl_rt5663_max98927.c +++ b/sound/soc/intel/boards/kbl_rt5663_max98927.c @@ -204,13 +204,18 @@ static const struct snd_soc_dapm_widget kabylake_5663_widgets[] = { SND_SOC_DAPM_MIC("Headset Mic", NULL), SND_SOC_DAPM_SPK("DP", NULL), SND_SOC_DAPM_SPK("HDMI", NULL), + SND_SOC_DAPM_SUPPLY("Platform Clock", SND_SOC_NOPM, 0, 0, + platform_clock_control, SND_SOC_DAPM_PRE_PMU | + SND_SOC_DAPM_POST_PMD), }; static const struct snd_soc_dapm_route kabylake_5663_map[] = { + { "Headphone Jack", NULL, "Platform Clock" }, { "Headphone Jack", NULL, "HPOL" }, { "Headphone Jack", NULL, "HPOR" }, /* other jacks */ + { "Headset Mic", NULL, "Platform Clock" }, { "IN1P", NULL, "Headset Mic" }, { "IN1N", NULL, "Headset Mic" },