<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mute SGTL5000 LINE_OUT in Linux in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Mute-SGTL5000-LINE-OUT-in-Linux/m-p/480205#M76443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom i.MX6S board with a SGTL5000 Audio-Codec.&lt;/P&gt;&lt;P&gt;The codec is connected to a speaker (via amp) and a headphone jack. It runs with Linux 4.5.&lt;/P&gt;&lt;P&gt;It works very nice and all, but now I want to manually mute the Line-Out. I don't want to control the volume, just mute it.&lt;/P&gt;&lt;P&gt;Is there a simple way to set this bit via I2C?&lt;/P&gt;&lt;P&gt;Or do I have to implement this somehow in the driver?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 12:57:47 GMT</pubDate>
    <dc:creator>steffendoster</dc:creator>
    <dc:date>2016-04-26T12:57:47Z</dc:date>
    <item>
      <title>Mute SGTL5000 LINE_OUT in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Mute-SGTL5000-LINE-OUT-in-Linux/m-p/480205#M76443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom i.MX6S board with a SGTL5000 Audio-Codec.&lt;/P&gt;&lt;P&gt;The codec is connected to a speaker (via amp) and a headphone jack. It runs with Linux 4.5.&lt;/P&gt;&lt;P&gt;It works very nice and all, but now I want to manually mute the Line-Out. I don't want to control the volume, just mute it.&lt;/P&gt;&lt;P&gt;Is there a simple way to set this bit via I2C?&lt;/P&gt;&lt;P&gt;Or do I have to implement this somehow in the driver?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 12:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Mute-SGTL5000-LINE-OUT-in-Linux/m-p/480205#M76443</guid>
      <dc:creator>steffendoster</dc:creator>
      <dc:date>2016-04-26T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mute SGTL5000 LINE_OUT in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Mute-SGTL5000-LINE-OUT-in-Linux/m-p/480206#M76444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The headphone output has an independent mute that is controlled by the register field CHIP_ANA_CTRL-&amp;gt;MUTE_HP.&lt;/P&gt;&lt;P&gt;The line outputs also have a dedicated mute that is controlled by the register field CHIP_ANA_CTRL-&amp;gt;MUTE_LO.&lt;/P&gt;&lt;P&gt;For more details please refer the Reference Manual I attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 03:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Mute-SGTL5000-LINE-OUT-in-Linux/m-p/480206#M76444</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-04-27T03:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mute SGTL5000 LINE_OUT in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Mute-SGTL5000-LINE-OUT-in-Linux/m-p/480207#M76445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already know that. I have to set bit [8] in register [0x0024] to '1'.&lt;/P&gt;&lt;P&gt;But how can I do this on a Linux-Machine?&lt;/P&gt;&lt;P&gt;The implemented driver imx-sgtl5000.c doesn't seem to have such an option.&lt;/P&gt;&lt;P&gt;And I don't find a device in my filesystem where I can set easily this bit.&lt;/P&gt;&lt;P&gt;I also tried to set the bit with&lt;/P&gt;&lt;P&gt;i2cset -y -f 2 0x0a 0x0024 0x80&lt;/P&gt;&lt;P&gt;(The codec is on I2C-Bus 2 and has the device-address 0x0a)&lt;/P&gt;&lt;P&gt;If I do it with i2cset, the bit stays&amp;nbsp; '0', the whole register stays '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again: Is there a way to set Bit 8 in Register 0x0024 in SGTL5000 with Linux?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 06:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Mute-SGTL5000-LINE-OUT-in-Linux/m-p/480207#M76445</guid>
      <dc:creator>steffendoster</dc:creator>
      <dc:date>2016-04-27T06:20:32Z</dc:date>
    </item>
  </channel>
</rss>

