Received: by 10.192.165.148 with SMTP id m20csp3524060imm; Mon, 30 Apr 2018 01:31:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoSmmJAy1gJeUMSKqP+55y02ao5i+a3del5eyIC1HnPOw31TDBtU0nIJs7X12OCNIh7k9rZ X-Received: by 2002:a17:902:4c88:: with SMTP id b8-v6mr905341ple.285.1525077083909; Mon, 30 Apr 2018 01:31:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525077083; cv=none; d=google.com; s=arc-20160816; b=TEzpMXqM6vXff3w4589IjLTUbzLBmL2K5YlCjFasJbUJgKC1SqEtoQCdsJBMsksa24 e2lDo50Cn6s+g209CYw+YH0YTBP8OsZ9q/YD6h+WHEQphSOOLOooqIlV9Dz4h9um3nTz hSnHEhOFEwxbvtBQaHEnCLdXLzoICitZCFbMWFblj5aCv40WDiBWtI9MdcxGJauBRJ2B e1Yp3y8q/gYPPjyDkSsPEYIXEy4IuSoZshDBxpFFWeTh7xBJxC5c9UZzmlx0QZ2gvh/Q vnW67eXHo+MP+8o6GUn7l/QInu7z7/NK0DA3vurk+P18ExaVt08PZUbJcfKPBsr77ydB e34Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=a3Z1J4CVHFW1TeX02DAL6xUQDaOc3YW7QJu9VZWXiEA=; b=cn/Mg7wqbv2uFuwtL5mNqOshjTl4lHNSUNleWtFLWK7N0qfdUXt8JtLqF36oC1+kLq h76noEm1djfYjaN5SEUUKN7P13I3/enLbufbOwX4l8DkkJhaj2VtmLneClbi9AE8dpTf m2Ya4VHX2UAg6XW47uOBjl7exKedBoOk40mMaYCwzpOfkprNjTAt4p4B/4xc9BVlQKba ri7u/5/vxnna88gKLH810cuIl89ST6u2QILAJTwP3RgLZHHxwzZGcD8owSOFI5E8V8Pa TNcmMKm74UqWXLRpQxhmzCXNgXhKYEWwnFHVZrYE7XQZ7lGQn4qtA68haEpxXKS6x3ir BKRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=m41A7Ale; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3-v6si1122803plc.14.2018.04.30.01.31.09; Mon, 30 Apr 2018 01:31:23 -0700 (PDT) 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=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=m41A7Ale; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752379AbeD3Iaz (ORCPT + 99 others); Mon, 30 Apr 2018 04:30:55 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:36540 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751807AbeD3Iav (ORCPT ); Mon, 30 Apr 2018 04:30:51 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3U8UXUr019526; Mon, 30 Apr 2018 03:30:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1525077033; bh=2ZKVqDEJKu93N0XIgNphdv+vCtgKYWMpo6PIr10zU0Q=; h=From:To:CC:Subject:Date; b=m41A7AleOz2N88L+BqT7Yh4fqh4bkyxdfOqYekgjyFbVCT8TdngDQi3M3dDqK/ucM 104iyEhgcLMnDO09WIRm8fHaAIT6BMsgmfDPpUKVHQrJMaBsChZfrXXn6bkCuWoJLm GFOdIJNrHzAbM5z7UD3qDl4jdNREwVO+hyCJkVr0= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3U8UXaS019288; Mon, 30 Apr 2018 03:30:33 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 30 Apr 2018 03:30:32 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 30 Apr 2018 03:30:32 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3U8UVSs028572; Mon, 30 Apr 2018 03:30:32 -0500 From: Jean-Jacques Hiblot To: , , , , CC: , , , , , Jean-Jacques Hiblot Subject: [PATCH v3 0/3] ASoc: TAS6424: Add support for mute, standby, and faster power on Date: Mon, 30 Apr 2018 10:30:15 +0200 Message-ID: <1525077018-15863-1-git-send-email-jjhiblot@ti.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mute and standby pins are available on the codec. If they are connected, they should be managed by the driver, instead of relying on gpio hogs or on the initial state of the GPIOs. This series also includes a patch to improve the start-up time of the channels by disabling built-in DC diagnostics. Those diagnosdtics basically serve to detect : - wires shorted together - wire shorted to ground or vbat - wire disconnected This is not useful for all platforms and the addition to the startup time is quite noticeable (230ms). The diagnostics can be enabled/disabled using a dedicated ALSA control. Changes in v3: - use SOC_SINGLE_STROBE() to register the "auto diagniostics switch" control Changes in v2: - use a ALSA control to enable/disable the auto diagnostics instead of relying on a DTS property. - fixed typos - use gpios (plural) instead of gpio in the documentation of the bindings Jean-Jacques Hiblot (3): ASoC: tas6424: Add support for the standby pin ASoC: tas6424: Add support for the mute pin ASoC: tas6424: Allow disabling auto diagnostics for faster power-on .../devicetree/bindings/sound/ti,tas6424.txt | 2 + sound/soc/codecs/tas6424.c | 72 +++++++++++++++++++++- sound/soc/codecs/tas6424.h | 4 ++ 3 files changed, 75 insertions(+), 3 deletions(-) -- 2.7.4