On Thu, Jul 30, 2020 at 1:37 PM H. Nikolaus Schaller <hns@goldelico.com> wrote:

Hm. Is there a clock polarity setting? Either in McPDM or the twl6040?
If clock polarity would be wrong, then it may depend on power supply noise if the data line is sampled correctly and the previous bit value creeps in or some random bit is read.
Some trivia: we had this exact same issue just after pandora's mass production start back in 2010...
https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff;h=d0b55dac46924d029d3e123adde5e82aba7613ed

GraÅžvydas