From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EB81C433DB for ; Mon, 11 Jan 2021 18:55:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D8FCB22ADF for ; Mon, 11 Jan 2021 18:55:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390376AbhAKSzr (ORCPT ); Mon, 11 Jan 2021 13:55:47 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:49935 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727833AbhAKSzq (ORCPT ); Mon, 11 Jan 2021 13:55:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610391259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uN8LVAFq57erg1VZoogi4pvvwx0ELMzBGbyuGNoOJNQ=; b=ZPhnY6c1GiLyVD1X8GZSiDAqK6GrLJNib8kGLzCWmT5GLSDE6AbeGeJaK4Z8HtfQQNCSzV ZHZckDrk34j+gpNRpP1Q5Pyw/z9oVPVE3wNItgkq7HD24vpWn324b9co8Pvjq+GgvUlqpj a8ZZeKULXIM5SUfCA2S6P6wdAjWfHsA= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-500-6bDCKNLwPrqHRzEVct_kkg-1; Mon, 11 Jan 2021 13:54:17 -0500 X-MC-Unique: 6bDCKNLwPrqHRzEVct_kkg-1 Received: by mail-ed1-f69.google.com with SMTP id n18so113663eds.2 for ; Mon, 11 Jan 2021 10:54:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uN8LVAFq57erg1VZoogi4pvvwx0ELMzBGbyuGNoOJNQ=; b=d5GR79ZM6AXyzgGGIP89UjIZrjpcSRyOncFa6NzoKLlJ5R4tLHhzoZY/BH2E1b7Cfx mq3Dd8Aez846IBYryPAxFdhb+GJwfPEGxb6BhzmhcuUfHUEWIxHDoJnaMsJvtCBtK+DI QtX3iktJ+7XE0Cbs7FkmcS6+Zcg/Q8//5Sn4HvCuGcS7ouV0bC8JftCFNiblJbXPccxG anV+LFocR4JrtMPGG0dkTTHSe1aR81Z+MvGKfQJgGsE+IYUIGWpuWt8Uz5X7sj+jDWlk U34K5B0jyfZS9ScIF3G06Pq5ouzfeulZy2M1cDDRy+9PNxznuoPN1lw5Y7TUsmufSqoO /7UQ== X-Gm-Message-State: AOAM533kJBPAy+vplH8tERwxK9Qx9fL0mmQ133m5EfQAgSb0grO/8Wnt WBn71wU6CRc3NSjF9K8Xyws1r0GSWBCpnZ2c+4YowTbgcOMDv1CT8N+gW7l2RQq8K0453pcJlRh v//1yyTgUUP8XeG0vYpRj7L0o X-Received: by 2002:a17:906:fb1a:: with SMTP id lz26mr618250ejb.194.1610391255756; Mon, 11 Jan 2021 10:54:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVXqLUxJh5i0c1UI1w2DoRmg/BYR5TJnoaTSIEr6tFF0zm1S8TKTiTVqTLEmyXNS1iRoH3pA== X-Received: by 2002:a17:906:fb1a:: with SMTP id lz26mr618229ejb.194.1610391255588; Mon, 11 Jan 2021 10:54:15 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c1e-bf00-37a3-353b-be90-1238.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:37a3:353b:be90:1238]) by smtp.gmail.com with ESMTPSA id z10sm201661ejl.30.2021.01.11.10.54.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Jan 2021 10:54:15 -0800 (PST) Subject: Re: [PATCH 00/14] MFD/extcon/ASoC: Add support for Intel Bay Trail boards with WM5102 codec To: Andy Shevchenko Cc: Lee Jones , MyungJoo Ham , Chanwoo Choi , Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , patches@opensource.cirrus.com, Linux Kernel Mailing List , ALSA Development Mailing List References: <20201227211232.117801-1-hdegoede@redhat.com> From: Hans de Goede Message-ID: Date: Mon, 11 Jan 2021 19:54:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 12/28/20 3:19 PM, Andy Shevchenko wrote: > On Sun, Dec 27, 2020 at 11:15 PM Hans de Goede wrote: >> >> Hi All, >> >> This patch series adds support for Intel Bay Trail based device which use >> a WM5102 codec for audio output/input. This was developed and tested on a >> Lenovo Yoga Tablet 1051L. >> >> This series consists of 3 parts: >> 1. Arizona MFD drv patches for ACPI bindings, better jack-detect support >> and misc. fixes >> 2. extcon-arizona driver fixes and improved jack reporting (this depends >> on the MFD changes) >> 3. ASoC patches in the form of a quirk for BYTCR detecting, a new >> machine driver for BYT + WM5102 and jack-detect support for the new >> machine driver (which again depends on the MFD changes). >> >> Given that 2. and 3. depend on the MFD changes I believe that it is best >> if all patches in this series are merged through the MFD tree (once >> reviewed and acked) and then Lee can provide a immutable branch for >> the ASoC and extcon maintainers to merge into their trees. >> >> I have a patch with matching UCM profile changes available here: >> https://github.com/jwrdegoede/alsa-ucm-conf/commit/316109e7814926ba984322c1d9190575fab9021c >> >> This series + the UCM profile has been tested with both the SST and >> SOF ASoC drivers for BYT devices. > > Thanks for fixing this! > I found the series pretty much in a good shape (only two patches I > think need a bit of work), FWIW > Reviewed-by: Andy Shevchenko > after addressing comments. Thank you, because of the jack-handling discussion I've extensively reworked this series (and I'm going to split it into 2 series for v2). I've kept your Reviewed-by: for the patches which are >= 99% unchanged from v1. I've not added it to a whole bunch of new patches (and some other patches were dropped). >> BugLink: https://github.com/thesofproject/linux/issues/2485 > > Shouldn't this be somewhere in the "main" fix? (Yes, I understand that > it may sound silly and should be copied to almost half of the series, > but if there is a good place it would be nice to have in the Git > history) Ack. I've added this to the: "ASoC: Intel: bytcr_wm5102: Add machine driver for BYT/WM5102" patches' commit msg now. Regards, Hans From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87530C433E0 for ; Mon, 11 Jan 2021 18:55:26 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7B8422AAF for ; Mon, 11 Jan 2021 18:55:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7B8422AAF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 41947172F; Mon, 11 Jan 2021 19:54:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 41947172F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1610391321; bh=nSEcBSpGjdUw/N7IV/KQ30OyHCdl3cldfKUMvEy3ZfI=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=MM1ARcP1nVDBPU2QIKWXr32gZDGKvd6Th61T6OFpZJ7LG6BjWVBqcb4kHD2qpVGV6 4/6qXPHntGEEIATpF1ZoBM1roN1fKHHHGXARdrcEt0zmOYALRGJsGhMiwUO9krRH7K kG6iR8zF68Q3UtQYOyadPCe+1Z9fuA8sKTYDRONc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 758F7F8013D; Mon, 11 Jan 2021 19:54:30 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4BDB8F8016D; Mon, 11 Jan 2021 19:54:26 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C21E3F8013D for ; Mon, 11 Jan 2021 19:54:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C21E3F8013D Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Po5rRmSL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610391261; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uN8LVAFq57erg1VZoogi4pvvwx0ELMzBGbyuGNoOJNQ=; b=Po5rRmSLpjT8pjl9UkZAhXGq11XnGkkb9tyuMvuLe84srZhblalCQ4HqBX5WRFStVitR5K bvMyLSUK+4jOI8N5MbuNfNMeVQ8e/2h/EyUaQ3Y0Gwg+Orlv4VgzN7KiLW4h7BamQVPKs0 Td3dtOAVUTJ+Dx8E125S12c02/1GpZ8= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-274-EbzvPXQ8NBqTtszxIPYqTg-1; Mon, 11 Jan 2021 13:54:17 -0500 X-MC-Unique: EbzvPXQ8NBqTtszxIPYqTg-1 Received: by mail-ed1-f70.google.com with SMTP id dc6so98655edb.14 for ; Mon, 11 Jan 2021 10:54:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uN8LVAFq57erg1VZoogi4pvvwx0ELMzBGbyuGNoOJNQ=; b=bsXMNTgDyICQPDW1lb/gImhVFn2GXzVGR7cQ/3xLmDnazCBwqKwQTQv7xZFO3VjSgY lLy5jLOHc5ISExfRNWvnSIaw6jxP83oNPWIQ4GQJ+g0dIaTvreomg8oQX3NUBIY4dlnZ c1kPGZjoCCUOXT2rdhDccb/8qkEUjkA6EI6ec5M9luCXZxmg9UkO/Ud5+D5QcgYutgOQ BNuqDOgHDwjy07g6cvP3WutP9VstkinJoDCZqRimtpyrC94JrbaXd7Us5ug1+zb6j5p7 Csk1S3c66F59HC/bhDRHEtaV6qpT3D3Z9ZqdW48E8nf+SR90nN3hUV23hW6rJta20TFu JQ8A== X-Gm-Message-State: AOAM533ma9hMXJkLomElZuU1/UWD7qDM25ue2nEJFnfDY0GaQLfnuVSI ZIv/vShc7ZzOovqrGPu8FOB3izqREtQ5+7Y8HsZsca9F050EthMCeOCjRX/LiAjWiGBHTqdgSqZ CAVOEGtTR6YnVimm/y88J26xnScFaw4ZUcezidx3sZvwIwBCSTKXSFdDylzs3RaIPcHeZ3GQxo3 A= X-Received: by 2002:a17:906:fb1a:: with SMTP id lz26mr618251ejb.194.1610391255786; Mon, 11 Jan 2021 10:54:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVXqLUxJh5i0c1UI1w2DoRmg/BYR5TJnoaTSIEr6tFF0zm1S8TKTiTVqTLEmyXNS1iRoH3pA== X-Received: by 2002:a17:906:fb1a:: with SMTP id lz26mr618229ejb.194.1610391255588; Mon, 11 Jan 2021 10:54:15 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c1e-bf00-37a3-353b-be90-1238.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:37a3:353b:be90:1238]) by smtp.gmail.com with ESMTPSA id z10sm201661ejl.30.2021.01.11.10.54.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Jan 2021 10:54:15 -0800 (PST) Subject: Re: [PATCH 00/14] MFD/extcon/ASoC: Add support for Intel Bay Trail boards with WM5102 codec To: Andy Shevchenko References: <20201227211232.117801-1-hdegoede@redhat.com> From: Hans de Goede Message-ID: Date: Mon, 11 Jan 2021 19:54:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hdegoede@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: Cezary Rojewski , ALSA Development Mailing List , patches@opensource.cirrus.com, Mark Brown , Jie Yang , Pierre-Louis Bossart , Linux Kernel Mailing List , Liam Girdwood , Chanwoo Choi , MyungJoo Ham , Lee Jones X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" Hi, On 12/28/20 3:19 PM, Andy Shevchenko wrote: > On Sun, Dec 27, 2020 at 11:15 PM Hans de Goede wrote: >> >> Hi All, >> >> This patch series adds support for Intel Bay Trail based device which use >> a WM5102 codec for audio output/input. This was developed and tested on a >> Lenovo Yoga Tablet 1051L. >> >> This series consists of 3 parts: >> 1. Arizona MFD drv patches for ACPI bindings, better jack-detect support >> and misc. fixes >> 2. extcon-arizona driver fixes and improved jack reporting (this depends >> on the MFD changes) >> 3. ASoC patches in the form of a quirk for BYTCR detecting, a new >> machine driver for BYT + WM5102 and jack-detect support for the new >> machine driver (which again depends on the MFD changes). >> >> Given that 2. and 3. depend on the MFD changes I believe that it is best >> if all patches in this series are merged through the MFD tree (once >> reviewed and acked) and then Lee can provide a immutable branch for >> the ASoC and extcon maintainers to merge into their trees. >> >> I have a patch with matching UCM profile changes available here: >> https://github.com/jwrdegoede/alsa-ucm-conf/commit/316109e7814926ba984322c1d9190575fab9021c >> >> This series + the UCM profile has been tested with both the SST and >> SOF ASoC drivers for BYT devices. > > Thanks for fixing this! > I found the series pretty much in a good shape (only two patches I > think need a bit of work), FWIW > Reviewed-by: Andy Shevchenko > after addressing comments. Thank you, because of the jack-handling discussion I've extensively reworked this series (and I'm going to split it into 2 series for v2). I've kept your Reviewed-by: for the patches which are >= 99% unchanged from v1. I've not added it to a whole bunch of new patches (and some other patches were dropped). >> BugLink: https://github.com/thesofproject/linux/issues/2485 > > Shouldn't this be somewhere in the "main" fix? (Yes, I understand that > it may sound silly and should be copied to almost half of the series, > but if there is a good place it would be nice to have in the Git > history) Ack. I've added this to the: "ASoC: Intel: bytcr_wm5102: Add machine driver for BYT/WM5102" patches' commit msg now. Regards, Hans