The latest Raspbian Stretch (wheezy has expired, Jessie has retired) includes two Raspberry Pi Foundation dtb overlays for 1-wire devices. Before continuing with your stuff, try those.
The souce for both of those is available at https://github.com/raspberrypi/linux
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+
Any DMs sent on Twitter will be answered next month.