Received: by 10.223.185.116 with SMTP id b49csp5441028wrg; Tue, 27 Feb 2018 13:26:00 -0800 (PST) X-Google-Smtp-Source: AH8x224JZ1aQQC1U+GriP2+pDNetrkTHasDjm7XHyCjbYYKO8TamhANWBGctcMuBF6z3ECSC4Pfo X-Received: by 2002:a17:902:51ee:: with SMTP id y101-v6mr15814298plh.157.1519766760755; Tue, 27 Feb 2018 13:26:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519766760; cv=none; d=google.com; s=arc-20160816; b=Z/58FJ2Sz3dB76hsVbjbcHKj4Va5qnbfPQewr3BhcCrp0oiCcFeSiNwRuUMC825L3b L8bxGyH+EPSqthjr5id1Cimqzoy2WJVpKzOVUpT9Zs8ljr4/noqgdFEmjPOZ4OWjGL9E LmVIoTJVcoCNda8yD6xMBKwz6VCDLLmsiiNQSywAdL87n243PIWOiIXlZeHoBd+f6vZY xeI2Qo4T3QDkWPMiWha0eb522nO8QSWKz/hZXPFZ5J8GjpnFfN7/qCQNwxQQCYXx8r+P caTvi4jBwWZb+LkW9Gjcj5mLB+mOlTdIdSoU8QEd0w5MZTDqwraNDXMKWPFfbK+LtgSI b8Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=LS+CAckwH3qBZ45mPD8+wxeKfz8iY04QQdrqAIhdrEk=; b=dh0F2Vli6Hppv6cx5PFCUbvaq4DtJkz9IpMvSMrJKseF/aYHEg4534n43LAuq38r/q C8SCrocNEw8Zs/zQnONRdKxpkYoC8qFXANKOpaTQtBDPgeEuql18JSo3T7DaAMHnCAQG 1YC/Wban7hRG8XKwvHVEfegXnM5/QuDNut+1N/l0NL81QCg1F5LoSmi8NRLs+fDtjATs 1ooWGugxcs3/elIvWQ9KZ/VrzhVIjglUfEFNlQ27CHofawnMK+5x8Nw7Emwv66vgay2C JckQO12veMTnwEa9qSlvwQ1siV0E0D2gO3Fa6aN/91K2CRO5QitvCIlo/K2+cklOQZmF iIPg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b91-v6si64762plb.268.2018.02.27.13.25.44; Tue, 27 Feb 2018 13:26:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751886AbeB0VZA (ORCPT + 99 others); Tue, 27 Feb 2018 16:25:00 -0500 Received: from mail.bootlin.com ([62.4.15.54]:39256 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751689AbeB0VY5 (ORCPT ); Tue, 27 Feb 2018 16:24:57 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 257BF207E4; Tue, 27 Feb 2018 22:24:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.home (vol75-h03-176-137-37-244.dsl.sta.abo.bbox.fr [176.137.37.244]) by mail.bootlin.com (Postfix) with ESMTPSA id 6DF3E2036E; Tue, 27 Feb 2018 22:24:41 +0100 (CET) From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, perex@perex.cz, tiwai@suse.com Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mylene.josserand@bootlin.com, alexandre.belloni@bootlin.com, thomas.petazzoni@bootlin.com Subject: [PATCH v1 0/4] ASoC: Add support for DAC PCM1789 Date: Tue, 27 Feb 2018 22:24:29 +0100 Message-Id: <20180227212433.2189-1-mylene.josserand@bootlin.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello everyone, You will find in this series the support of Texas Instrument's DAC PCM1789. This DAC is very minimalist and is similar to PCM1792a except for some differences in registers. Series based on asoc tree, "for-next" branch (last commit 130c3888dfdc). It is important to notice that this DAC needs to always have clocks enabled (even without any data) otherwise it will be in a "desynchronized" state and can not send data correctly. This issue has been solved by performing a reset each time a sound is played (see patch 04). This reset can produce a "pop" noise. Thank you in advance for any review. Best regards, Mylène Mylène Josserand (4): ASoC: codecs: pcm179x: Add PCM1789 id ASoC: codecs: pcm179x: Add support for PCM1789 ASoC: codecs: pcm179x: Add reset gpio ASoC: codecs: pcm179x: Add trigger function to perform a reset .../devicetree/bindings/sound/pcm179x.txt | 2 +- sound/soc/codecs/pcm179x-i2c.c | 17 +- sound/soc/codecs/pcm179x.c | 242 ++++++++++++++++++++- sound/soc/codecs/pcm179x.h | 10 +- 4 files changed, 264 insertions(+), 7 deletions(-) -- 2.11.0