]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tlv320adc3xxx: Allow MICBIAS pins to be used as
authorMark Brown <broonie@kernel.org>
Sun, 23 Jun 2024 12:12:24 +0000 (13:12 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 23 Jun 2024 12:12:24 +0000 (13:12 +0100)
commitb493c97d088afa61245aa06a02f0b87369806062
treef29ae3823af93a17c2dc2edac8c04521231a743a
parentf6272b59e8b86efb1c18ea1d467471b1dd974561
parent6c01001414ce477311d872c40e23dfec4866d608
tlv320adc3xxx: Allow MICBIAS pins to be used as

Merge series from Ricard Wanderlof <ricard.wanderlof@axis.com>:

In some cases, depending on system design, the MICBIAS pins on the
chip are not needed as such, but a couple of extra GPIO pins would be
useful. This patch allows the MICBIAS pins to be configured in the
device tree as general purpose output pins, controlled via the GPIO
framework.

Owing to their originally intended purpose there are some limitations:
when the MICBIAS pins are deactivated, they will float, so will likely
need a pulldown in many applications. When activated, they will
assume the voltage specified by the micbias1-vg and micbias2-vg
properties, respectively, meaning that the resulting output voltage
will be 2.0 V, 2.5 V or AVDD .