Received: by 10.223.176.5 with SMTP id f5csp1168958wra; Wed, 31 Jan 2018 02:18:50 -0800 (PST) X-Google-Smtp-Source: AH8x226GlXVolDHyFp8V7NSy6sa7hkFoY0DtkVygaUem3xkSlYlUNCulkOtOvAJM0LbXTJPvH4xy X-Received: by 10.98.62.69 with SMTP id l66mr33490475pfa.20.1517393929926; Wed, 31 Jan 2018 02:18:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517393929; cv=none; d=google.com; s=arc-20160816; b=kAuZ/8KIcLdJCYP4YJ3V4Dt2WvX1PAMMR+L5e4omBPEfQDYhwOu7Lcm7pIHZ5iVKEr lNaGEpFXx3yfzwocnUm8cDsiIDGkdezxYT4J3sGjeOoEdiQG4wKSDSmFy6Rzh3QyAiNE 8e8+bJ90ihFc2zUXzKKNDtpiFe1BXc8CCB/0seLTqnvChDoNTq7dvLQtIPF1UzqU9mKD ehQfuGvtChnWEh9j++eTTb5UhuQ45Tl/6cicPICP9qKj8z6VqE1SQuY4U658CvoIfOOj TxH+Tegd/1WGRNTG0klNH5l5vsc8ivV6umCtseLtE/9h4zUJrO+J2EvOzPXDoERAFE0M xV1w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=l37BkNx0Tu86k50ZL+TYbs6RWuOVieCqFnbMdInoTlI=; b=q5dyPyHIpQXT98LzLwnOIloXzvrtOF47QrDBV38//wcjHJwh14GLrmXnCN9LzjlkNe t1+1Gdh7VTvzH2J6tIlYPncQ7eq08fJ2faGhkqTTbN4rzRULTByn0PyiauXv9WoLx3IB ujziA9a5dVBsFcIwXrShxXR2JskeD5DH8EF5rh5PJL8Xf+lbTfZ9FNtNx9mQXQOA04A9 RxRDNzshKykM4F2U5q/PFgGUHH0nH3DPFyEiSz94DM82CS/U8G4J/qDPdzqhv4iUUCeb iYFZY5GkJquXYjK7XDApqODFXSvpCX+XQoQzB3NKf9IHNIP/uB2skhuT+QB0RL8w/JKF tlcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Zx2pk0LD; 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 z1-v6si1806842plb.178.2018.01.31.02.18.34; Wed, 31 Jan 2018 02:18:49 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Zx2pk0LD; 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 S1752926AbeAaJOS (ORCPT + 99 others); Wed, 31 Jan 2018 04:14:18 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:31977 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752097AbeAaJNq (ORCPT ); Wed, 31 Jan 2018 04:13:46 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w0V9C0Cb004953; Wed, 31 Jan 2018 03:12:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517389920; bh=Sxy3VO+voMJ/h2uq0PPxc1xxGnS5S5Mdlr9J2ZMOnT8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Zx2pk0LDSHCmBH+TRfQ7wclwvnT106E0poTFFP2IzIAXpZL4sKvT6cz4y9097iHCj 5wqkx8FO9gB2wQsMOTxArPggk0Nz3zgip9pSuP91fty1UKO0oKL9bKOliQRNpfz/74 EopeySCiM5fIwDq/SLuru9avWSAXr1OJgWNQDbb4= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w0V9C0II004763; Wed, 31 Jan 2018 03:12:00 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 31 Jan 2018 03:11:59 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Wed, 31 Jan 2018 03:11:59 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w0V9BsUm027819; Wed, 31 Jan 2018 03:11:54 -0600 Subject: Re: [alsa-devel] [PATCH] sound/tlv320dac33: Add device tree support To: Ladislav Michl , Pavel Machek CC: , , , , , , , =?UTF-8?Q?Filip_Matijevi=c4=87?= , , , , , , , , , linux-arm-kernel , , , , , , , References: <20180129230539.GA18280@amd> <20180129232031.GA7695@lenoch> From: Peter Ujfalusi Message-ID: Date: Wed, 31 Jan 2018 11:12:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180129232031.GA7695@lenoch> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit 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 On 2018-01-30 01:20, Ladislav Michl wrote: > On Tue, Jan 30, 2018 at 12:05:39AM +0100, Pavel Machek wrote: >> >> This adds device tree support to tlv320dac33.c. >> >> Signed-off-by: Pavel Machek >> >> diff --git a/Documentation/devicetree/bindings/sound/tlv320dac33.txt b/Documentation/devicetree/bindings/sound/tlv320dac33.txt >> new file mode 100644 >> index 0000000..6cbd311 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/sound/tlv320dac33.txt >> @@ -0,0 +1,32 @@ >> +Texas Instruments - tlv320dac33 Codec module >> + >> +The tlv320dac33 serial control bus communicates through I2C protocols. >> + >> +Required properties: >> + >> +- compatible - "ti,tlv320dac33" >> +- reg - I2C slave address >> + >> +Optional properties: >> + >> +- power-gpios - gpio pin to power the device, active high > > While driver used gpio in platform data, isn't it more likely > regulator which powers device? It is GPIO, and according to the non public TRM it is connected to the reset pin of the codec. So the correct name should be reset-gpios - Péter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki