[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f3f23e16-2045-78bd-b77e-f236cab3b85d@ti.com>
Date: Wed, 31 Jan 2018 11:12:20 +0200
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: Ladislav Michl <ladis@...ux-mips.org>, Pavel Machek <pavel@....cz>
CC: <mark.rutland@....com>, <alsa-devel@...a-project.org>,
<lgirdwood@...il.com>, <tony@...mide.com>, <abcloriens@...il.com>,
<tiwai@...e.com>, <martijn@...xit.nl>,
Filip Matijević <filip.matijevic.pz@...il.com>,
<patrikbachan@...il.com>, <ivo.g.dimitrov.75@...il.com>,
<khilman@...nel.org>, <serge@...lyn.com>,
<devicetree@...r.kernel.org>, <pali.rohar@...il.com>,
<robh+dt@...nel.org>, <linux-omap@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
<aaro.koskinen@....fi>, <linux-kernel@...r.kernel.org>,
<broonie@...nel.org>, <clayton@...ftyguy.net>,
<sakari.ailus@...ux.intel.com>, <sre@...nel.org>,
<bhumirks@...il.com>
Subject: Re: [alsa-devel] [PATCH] sound/tlv320dac33: Add device tree support
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 <pavel@....cz>
>>
>> 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
Powered by blists - more mailing lists