Received: by 10.223.185.116 with SMTP id b49csp2628983wrg; Mon, 5 Mar 2018 06:16:28 -0800 (PST) X-Google-Smtp-Source: AG47ELucyOrMO3UP00/AO4+iv8EVELWRyt/VEvBmYi27YzSGivb5Xwbsm83LdE+OnS77USSoj+Gp X-Received: by 2002:a17:902:5269:: with SMTP id z96-v6mr13347831plh.385.1520259388085; Mon, 05 Mar 2018 06:16:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520259388; cv=none; d=google.com; s=arc-20160816; b=UEOeVPoJUJPUwGmwnMCh6Z/LXWoDoushPIG3+ZPIw+yyYkKmuWEiaMYfglauXnD2un lyNjUO23HmNjfz23QxfR/SaenmZj2yD+tg7YfMXjD5jIaHO2N9JAniZrUoTnZvIpPOZH 6xPiqB+V3g6xg5iJ0g87lKwY24XDCALY9zcG0wE9F09gzwzHLffgXV+0XlYQ8BR2jZN/ 3UK2uvWININ3M+XThPNj9MUFKsQJZZ3cGvicUzfoJe5PLVwgTaw1bkEMJ0VhL7cGXHJX jG2EAKMc5bOBzvXcRCaO0aTWQ1Cdxzk97MWuqwfVQ/CrFnEMMFTqKa3RJsN6DT79f3Tk DOaw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=UHNyRp0H+qQ3Ndmu8aU49sOpPKHE+usy8lcVODHsLH8=; b=KwL4SeuZnVDNreSlK6FoI8Ybs13zadD6OOdNhnPIqSsT3vMIP1vXv/5xbW/6RBatuZ 2TCxLjVuSVemkmyYU5dNicKSqGdLZj7iT7eh4rs1fjYyda/YbL6YRToJkyqR53UrQLCR 7V41fgUZKTJwIcTfMxFolf4doiImsNT4/dRkCO16KyrVx8zrRi/ydBmrr9BsJixvYY4O 27l/R3ZuqLXuMRB7ZoB6uZda+5XBJk62PW5ra7ku8/Cp8gWvoGA0uOjXPbz72b2XxmHx fXCmR9HayLVkehV8q/rwGQiM7M6kYRLqzB07/47phC9cZVbLT2Ilwkuu652SQCLbENYu 1mIQ== 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 k136si6181980pga.630.2018.03.05.06.16.13; Mon, 05 Mar 2018 06:16:28 -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 S934948AbeCEMsy (ORCPT + 99 others); Mon, 5 Mar 2018 07:48:54 -0500 Received: from mail.bootlin.com ([62.4.15.54]:56180 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934287AbeCEMss (ORCPT ); Mon, 5 Mar 2018 07:48:48 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 53A2C203B1; Mon, 5 Mar 2018 13:48:45 +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, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.lan (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id C7BDF2046F; Mon, 5 Mar 2018 13:48:34 +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, michael@amarulasolutions.com Subject: [PATCH v2 2/2] ASoC: Add bindings for PCM1789 Date: Mon, 5 Mar 2018 13:48:17 +0100 Message-Id: <20180305124817.7421-3-mylene.josserand@bootlin.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180305124817.7421-1-mylene.josserand@bootlin.com> References: <20180305124817.7421-1-mylene.josserand@bootlin.com> 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 Add a device-tree binding for Texas Instrument's PCM1789 codec. For the moment, only I2C bus is supported but SPI could be added in future. Signed-off-by: Mylène Josserand --- Documentation/devicetree/bindings/sound/pcm1789.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/pcm1789.txt diff --git a/Documentation/devicetree/bindings/sound/pcm1789.txt b/Documentation/devicetree/bindings/sound/pcm1789.txt new file mode 100644 index 000000000000..a6cdc2c83c98 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/pcm1789.txt @@ -0,0 +1,21 @@ +Texas Instruments pcm1789 DT bindings + +This driver supports the I2C bus. + +Required properties: + + - compatible: "ti,pcm1789" + +Required properties on I2C: + + - reg: the I2C address + - reset-gpios: GPIO to control the RESET pin + +Examples: + + codec: pcm1789@4c { + compatible = "ti,pcm1789"; + reg = <0x4c>; + reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; + #sound-dai-cells = <0>; + }; -- 2.11.0