From patchwork Tue May 31 08:43:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pietro X-Patchwork-Id: 9143813 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DBA5C60761 for ; Tue, 31 May 2016 08:43:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE7FC25D97 for ; Tue, 31 May 2016 08:43:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1C4027BF1; Tue, 31 May 2016 08:43:20 +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=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no 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 09AFC25D97 for ; Tue, 31 May 2016 08:43:19 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 93651265740; Tue, 31 May 2016 10:43:18 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id A51FF2654E6; Tue, 31 May 2016 10:43:09 +0200 (CEST) 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 E546A265593; Tue, 31 May 2016 10:43:08 +0200 (CEST) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by alsa0.perex.cz (Postfix) with ESMTP id BECB82654C3 for ; Tue, 31 May 2016 10:43:03 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id e3so30196642wme.2 for ; Tue, 31 May 2016 01:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=vWodaZR4v3fk8dNMrGUwAMWzYJzUJkhbB6bQ9EGKtso=; b=dMC6H0TLcnJK3H2Hs/uaCYdsGYIZq6Fs3k9QPdWwwRu7LAxDQ2HRqcSn169eAv8VeJ GoIi3ZU18tp1YyubOiJVHV5pobgNVVkowjr3XXh91DjIiUOPTcaAyz73br5WtBlGcmDM FcFIoCCANRw4Acb9EPt8gBspY/i8pwaRSofkXAPh9sL2y+6LFBLL2Whtft8Y4sItFpmd +0T5De8rIgXanNX16xa8RJq+b8e6TnY8/QbQATfb3exPvl+xej7Q2e2ghHgoPK244oHF JQkjyytJjcF5lvVFLwDrk4HL/yZneUYLBcxjwWVvHWORg8plCsAgUNr3D1i9B1JrMBpX iajg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=vWodaZR4v3fk8dNMrGUwAMWzYJzUJkhbB6bQ9EGKtso=; b=HibVqnuKJH1xDYcRPdn0hJLf3M//hlm0gDZcSczRWBDeVr7kCf1g0lVKVPOQVXd8sH elHGtPjcFQGsllXXwU03301EHdpDa6xYhPhZrBNGXpTDm0KzYJKhBn2JSQ8DOmY7OJGf JqYYVnEJqXuEKGpXopmcp3FZh8rVfN+pYa5GQahhGwJTtfm4lYxA+528jErbcJj8tKQa Uu3LIe5WhTprpuWxMxmQcCpd6lzOW3Ohd8zvOF6C5S0wavMTlySTfHeMP+ySFAetYrEt NGym0ywLmLq0eEmunP1LuzkiulfAGABZUFunei69kZBtyumlFmNR/URXj5ZrPVVJfZH+ 6Wkw== X-Gm-Message-State: ALyK8tJofOzjYoihGKMmTQPMnNbPUZrwvO/XLAZoKD0sk2e3AKKm8/n4FdLd/z+7DljphQ== X-Received: by 10.195.17.166 with SMTP id gf6mr30129318wjd.124.1464684183366; Tue, 31 May 2016 01:43:03 -0700 (PDT) Received: from wks-pdc-gentoo.localnet ([2a00:6d40:0:ffff:36e6:d7ff:fe70:250d]) by smtp.gmail.com with ESMTPSA id h2sm16029276wjv.15.2016.05.31.01.43.02 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2016 01:43:02 -0700 (PDT) From: Pietro To: alsa-devel@alsa-project.org Date: Tue, 31 May 2016 10:43:01 +0200 Message-ID: <1851514.XmzcdsvJt0@wks-pdc-gentoo> User-Agent: KMail/4.14.10 (Linux/4.5.5-gentoo; KDE/4.14.16; x86_64; ; ) MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Subject: Re: [alsa-devel] Applied "ASoC: Intel: add bytct-rt5651 machine driver" 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, I'm an owner of a 2 in 1 Netbook with an Atom X5 Z8300 SoC with rt5651 codec (Cube iWork 11). To get audio working I Added these lines of code to the ./soc/intel/atom/sst/sst_acpi.c file: Then i added the UCM files linked in these archive: https://github.com/plbossart/UCM/tree/master/bytcr-rt5651 With this configuration, audio seems to work, but is 'slow': Playback speed is at slow motion, and seconds move slowly (Tried with aplay and audacious with many sound files, using directly Alsa and Pulseaudio with no differencies). This seems to be a DSP Clock problem. Have you got any suggestions to solve this problem? Thanks, Pietro --- ./soc/intel/atom/sst/sst_acpi.c.old 2016-05-31 09:05:40.045682194 +0200 +++ ./soc/intel/atom/sst/sst_acpi.c 2016-05-31 09:07:26.829324148 +0200 @@ -342,9 +342,12 @@ &chv_platform_data }, {"193C9890", "cht-bsw-max98090", "intel/fw_sst_22a8.bin", "cht-bsw", NULL, &chv_platform_data }, + {"10EC5651", "bytcr_rt5651", "intel/fw_sst_0f28.bin", "bytcr_rt5651", NULL, + &byt_rvp_platform_data }, {}, }; + static const struct acpi_device_id sst_acpi_ids[] = { { "80860F28", (unsigned long)&sst_acpi_bytcr}, { "808622A8", (unsigned long) &sst_acpi_chv},