https://events.linuxfoundation.org/sites/events/files/slides/petazzoni-device-tree-dummies.pdfcheck page 29/45
I would recommend to get your hands dirty. Start playing with userspace i2c toolsto get an idea and also there are many raspberry project out there to get you started with.