Hello,
I'm looking at the TLV320ADCx140 device driver that is in upstream in the following Linux driver:
https://git.ti.com/gitweb?p=ti-analog-linux-kernel/dmurphy-analog.git;a=shortlog;h=refs/heads/tlv320adcx140_upstream
I am trying to convert the code over to be used on our EVK for the Pocket Beagle, but i'm having trouble figuring out what is hooked up to what on the EVK.
Looking at the am335x-boneblack-common.dtsi:
I have FSX, AHCLKX, ACLKX, AM335X_PIN_MCASP0_AXR0 and I2C hooked up and functioning.
What are these pins hooked up to though?
tlv320adc5140_default: tlv320adc5140_default { pinctrl-single,pins = < AM33XX_IOPAD(0x844, PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* gpmc_a1.gpio1_17 */ AM33XX_IOPAD(0x878, PIN_INPUT | MUX_MODE7 ) /* gpmc_ben1.gpio1_28 */ >; };
and:
AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_a11.GPIO1_27 */
For .GPIO1_27 i see that it toggles high each time i try to arecord and then it goes back low after recording is done. The code states that it is Beagle Bone Black clock enable, but i don't see a clock enable on the EVK.
Thanks!