dht22 - dht11 - AM2301 temp / humidity sensor and classic Beagle on GPIO


Has anyone got any code for the DHT22 temperature and humidity sensor (also known as DHT11 AM2301).
I want to interface it with the classic Beagleboard on a standard GPIO.

I can find lots of code online but it is all for the Raspberry Pi or Arduino.

If anyone knows of either a kernel module or code base which I would be able to work from?