Commit 1: add write operation from  ADE7878