Received: by 10.223.185.116 with SMTP id b49csp6064066wrg; Thu, 8 Mar 2018 00:55:50 -0800 (PST) X-Google-Smtp-Source: AG47ELte2wrHHGtTZye89P2PnuS2onlnCacx6kDjtnnSCC/A0fKx1bFXTnyOVP5vCnutM5zjpaf0 X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr23270173plb.115.1520499350483; Thu, 08 Mar 2018 00:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520499350; cv=none; d=google.com; s=arc-20160816; b=cRkFyR5XPXl3phyGIAFMERTiHY/k9s6H5tqgXhIFqnX9H/16ZFH/OvguTOIixhgxxP I9AdLtLwui8Rsp4jZyrCyaWLsrxuUSceql7XKjDI/APh7axzXcn1r1GXZGLGV0gMVc6F 9VKlqOnE3hkfJEIW9OiUZJ5v5EGSC8M1k+UhO90Nfq6NJmvbTs4KLMDE1oO2zFEwAMqf /nhWfY1Y67AEqsu/BU4l+0YAjYmx4mPugw/Mwdw1unB16iLZpSpSAkZQofIbmIEHEhba 6MMhbws4Z0CVfn47hex/CsVkc4hqJx9GiMzXvWoE/qil+S1ex5lYgHLvXVLsGnRqd8Tx PtZw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=5PfPn4WsWh3umoSfsgv0rsFQVg9mAcj5ogJtfYodcEk=; b=bU+JBLW6DZL+3NRJr+bPB9yusiz+JtcbkTgiyVOwWVza4xTOG8y4hG4zZ7WG77KQ4/ vF+TNAjredqM/3ClGIu8aVOYMgAK8E/cIMt+SXmO85ERYHn+VVUuhML9yWRKeClWFs9Y L1g57zr+SYjb3dqCI+RywzVIl7FUOLyWZBHa4FUvmg2AOjs1pRaA0WNEyUpcSOoyW2S5 HYcyZ4m10W7cGSrKuRCfUUaMcZ/ApVTMJpfQG52Rqa9EMH0xjADU5N80m8BM2JxfGuoL CFnhvHVb61DlPAIvQCc697wqDNPeOWpssUdZ3Ab+CnkbQbO41NsuDpTGswzMMpwaZkvM rQ1Q== 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 c200si15289899pfb.373.2018.03.08.00.55.35; Thu, 08 Mar 2018 00:55:50 -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 S1755364AbeCHIyo convert rfc822-to-8bit (ORCPT + 99 others); Thu, 8 Mar 2018 03:54:44 -0500 Received: from mail.bootlin.com ([62.4.15.54]:40201 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755259AbeCHIyn (ORCPT ); Thu, 8 Mar 2018 03:54:43 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 59A40206FB; Thu, 8 Mar 2018 09:54:40 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.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.home (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id D4F692037A; Thu, 8 Mar 2018 09:54:39 +0100 (CET) Date: Thu, 8 Mar 2018 09:54:40 +0100 From: =?UTF-8?B?TXlsw6huZQ==?= Josserand To: Rob Herring Cc: lgirdwood@gmail.com, broonie@kernel.org, mark.rutland@arm.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alexandre.belloni@bootlin.com, thomas.petazzoni@bootlin.com, michael@amarulasolutions.com Subject: Re: [PATCH v2 2/2] ASoC: Add bindings for PCM1789 Message-ID: <20180308095440.515458eb@dell-desktop.home> In-Reply-To: <20180307223048.lqnryaazr5egg2m7@rob-hp-laptop> References: <20180305124817.7421-1-mylene.josserand@bootlin.com> <20180305124817.7421-3-mylene.josserand@bootlin.com> <20180307223048.lqnryaazr5egg2m7@rob-hp-laptop> Organization: Bootlin X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) 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 Rob, Thank you for the review. On Wed, 7 Mar 2018 16:30:48 -0600 Rob Herring wrote: > On Mon, Mar 05, 2018 at 01:48:17PM +0100, Mylène Josserand wrote: > > 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 > > What function does this device provide? Sorry, I forgot to mention this information. > > > + > > +This driver supports the I2C bus. > > Bindings describe h/w, not drivers. True, I will reformulate it. > > > + > > +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 { > > audio-codec@4c > > If that's the function... Yep, I will change that. > > > + compatible = "ti,pcm1789"; > > + reg = <0x4c>; > > + reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; > > + #sound-dai-cells = <0>; > > + }; > > -- > > 2.11.0 > > Thanks, Best regards, -- Mylène Josserand, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com