Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1464466 > unrolled thread
| Started by | Sekhar Nori <nsekhar@ti.com> |
|---|---|
| First post | 2016-08-17 12:00 +0200 |
| Last post | 2016-08-17 13:40 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 1/2] ARM: dts: da850-lcdk: Audio support via simple-card Sekhar Nori <nsekhar@ti.com> - 2016-08-17 12:00 +0200
Re: [PATCH 1/2] ARM: dts: da850-lcdk: Audio support via simple-card Karl Beldan <kbeldan@baylibre.com> - 2016-08-17 12:40 +0200
Re: [PATCH 1/2] ARM: dts: da850-lcdk: Audio support via simple-card Sekhar Nori <nsekhar@ti.com> - 2016-08-17 13:40 +0200
| From | Sekhar Nori <nsekhar@ti.com> |
|---|---|
| Date | 2016-08-17 12:00 +0200 |
| Subject | Re: [PATCH 1/2] ARM: dts: da850-lcdk: Audio support via simple-card |
| Message-ID | <s75NJ-7IP-27@gated-at.bofh.it> |
On Thursday 11 August 2016 01:38 AM, Karl Beldan wrote:
> The LCDK embeds a TLV320AIC3106 connected to the SoC McASP for analog
> audio. This relies on the 'dummy' regulator as the codec is always on.
> Quality is good with arecord -pipe- aplay on Line In/Line Out.
> The MIC path doesn't seem to work yet.
I tested the patch and I could not get the MIC to work as well. I
suggest dropping the MIC path parts till that is debugged and root caused.
> Signed-off-by: Karl Beldan <kbeldan@baylibre.com>
> ---
> arch/arm/boot/dts/da850-lcdk.dts | 75 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 75 insertions(+)
> +&i2c0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c0_pins>;
> + clock-frequency = <100000>;
> + status = "okay";
> +
> + tlv320aic3106: tlv320aic3106@18 {
> + #sound-dai-cells = <0>;
> + compatible = "ti,tlv320aic3106";
> + reg = <0x18>;
> + status = "okay";
> +
> + ai3x-micbias-vg = <MICBIAS_2_5V>;
It will be nice to add the codec regulators as well (and that in turn
needs the PMIC to be populated). Although I wont insist on that since
the regulators are optional properties.
Rest of the patch looks good to me.
Thanks,
Sekhar
[toc] | [next] | [standalone]
| From | Karl Beldan <kbeldan@baylibre.com> |
|---|---|
| Date | 2016-08-17 12:40 +0200 |
| Message-ID | <s76ql-8dD-1@gated-at.bofh.it> |
| In reply to | #1464466 |
On Wed, Aug 17, 2016 at 03:24:42PM +0530, Sekhar Nori wrote:
> On Thursday 11 August 2016 01:38 AM, Karl Beldan wrote:
> > The LCDK embeds a TLV320AIC3106 connected to the SoC McASP for analog
> > audio. This relies on the 'dummy' regulator as the codec is always on.
> > Quality is good with arecord -pipe- aplay on Line In/Line Out.
> > The MIC path doesn't seem to work yet.
>
> I tested the patch and I could not get the MIC to work as well. I
> suggest dropping the MIC path parts till that is debugged and root caused.
>
Ok.
> > Signed-off-by: Karl Beldan <kbeldan@baylibre.com>
> > ---
> > arch/arm/boot/dts/da850-lcdk.dts | 75 ++++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 75 insertions(+)
>
> > +&i2c0 {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&i2c0_pins>;
> > + clock-frequency = <100000>;
> > + status = "okay";
> > +
> > + tlv320aic3106: tlv320aic3106@18 {
> > + #sound-dai-cells = <0>;
> > + compatible = "ti,tlv320aic3106";
> > + reg = <0x18>;
> > + status = "okay";
> > +
> > + ai3x-micbias-vg = <MICBIAS_2_5V>;
>
> It will be nice to add the codec regulators as well (and that in turn
> needs the PMIC to be populated). Although I wont insist on that since
> the regulators are optional properties.
>
In the patch comment I stated it relied on the dummy regulator as the
codec is always on but maybe I should have been more precise: it is not
out of convenience to keep things on, it is by HW design: I mentioned
it in the comment of "ARM: dts: da850: Add basic DTS for the LCDK":
"the main PMIC, different and hard-wired on the LCDK (the LDOs and
DCDCs are always on)" after reviewing the schematics.
I could add that in the patch comment.
Thanks for reviewing.
Rgds,
Karl
[toc] | [prev] | [next] | [standalone]
| From | Sekhar Nori <nsekhar@ti.com> |
|---|---|
| Date | 2016-08-17 13:40 +0200 |
| Message-ID | <s77mp-pk-23@gated-at.bofh.it> |
| In reply to | #1464487 |
On Wednesday 17 August 2016 04:03 PM, Karl Beldan wrote:
> On Wed, Aug 17, 2016 at 03:24:42PM +0530, Sekhar Nori wrote:
>> On Thursday 11 August 2016 01:38 AM, Karl Beldan wrote:
>>> The LCDK embeds a TLV320AIC3106 connected to the SoC McASP for analog
>>> audio. This relies on the 'dummy' regulator as the codec is always on.
>>> Quality is good with arecord -pipe- aplay on Line In/Line Out.
>>> The MIC path doesn't seem to work yet.
>>
>> I tested the patch and I could not get the MIC to work as well. I
>> suggest dropping the MIC path parts till that is debugged and root caused.
>>
>
> Ok.
>
>>> Signed-off-by: Karl Beldan <kbeldan@baylibre.com>
>>> ---
>>> arch/arm/boot/dts/da850-lcdk.dts | 75 ++++++++++++++++++++++++++++++++++++++++
>>> 1 file changed, 75 insertions(+)
>>
>>> +&i2c0 {
>>> + pinctrl-names = "default";
>>> + pinctrl-0 = <&i2c0_pins>;
>>> + clock-frequency = <100000>;
>>> + status = "okay";
>>> +
>>> + tlv320aic3106: tlv320aic3106@18 {
>>> + #sound-dai-cells = <0>;
>>> + compatible = "ti,tlv320aic3106";
>>> + reg = <0x18>;
>>> + status = "okay";
>>> +
>>> + ai3x-micbias-vg = <MICBIAS_2_5V>;
>>
>> It will be nice to add the codec regulators as well (and that in turn
>> needs the PMIC to be populated). Although I wont insist on that since
>> the regulators are optional properties.
>>
>
> In the patch comment I stated it relied on the dummy regulator as the
> codec is always on but maybe I should have been more precise: it is not
> out of convenience to keep things on, it is by HW design: I mentioned
> it in the comment of "ARM: dts: da850: Add basic DTS for the LCDK":
> "the main PMIC, different and hard-wired on the LCDK (the LDOs and
> DCDCs are always on)" after reviewing the schematics.
> I could add that in the patch comment.
I see. PMIC on the LCDK is not software configurable at all. I think
what you have in the patch comment is already okay. More explanation
wont harm though :)
Regards,
Sekhar
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web