i2c: dw: add polling write implementation
i2c: dw: add polling write implementation

This implementation will wait to write, and wait for transfer
to complete before returning from the function. Currently has
a default timeout of 100ms to prevent being stuck in the loop
waiting for hardware to be ready.

Change-Id: I0340fc6fed100f1d31c0306c5b0ab09689364f63
Signed-off-by: Daniel Leung <d94e04d205b5962d7873a139ef298b03c1717f72@intel.com>

fbsder/zephyr,fbsder/zephyr,pklazy/zephyr,runchip/zephyr-cc3200,coldnew/zephyr-project-fork,punitvara/zephyr,ldts/zephyr,ldts/zephyr,explora26/zephyr,finikorg/zephyr,Vudentz/zephyr,punitvara/zephyr,nashif/zephyr,runchip/zephyr-cc3220,mirzak/zephyr-os,fractalclone/zephyr-riscv,galak/zephyr,mirzak/zephyr-os,jamesonwilliams/zephyr-kernel,zephyrproject-rtos/zephyr,zephyriot/zephyr,nashif/zephyr,sharronliu/zephyr,bboozzoo/zephyr,punitvara/zephyr,holtmann/zephyr,aceofall/zephyr-iotos,sharronliu/zephyr,galak/zephyr,finikorg/zephyr,nashif/zephyr,zephyriot/zephyr,finikorg/zephyr,runchip/zephyr-cc3200,fbsder/zephyr,finikorg/zephyr,32bitmicro/zephyr,tidyjiang8/zephyr-doc,jamesonwilliams/zephyr-kernel,mirzak/zephyr-os,aceofall/zephyr-iotos,punitvara/zephyr,rsalveti/zephyr,fractalclone/zephyr-riscv,fractalclone/zephyr-riscv,explora26/zephyr,galak/zephyr,pklazy/zephyr,kraj/zephyr,pklazy/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,erwango/zephyr,sharronliu/zephyr,runchip/zephyr-cc3200,zephyrproject-rtos/zephyr,finikorg/zephyr,coldnew/zephyr-project-fork,runchip/zephyr-cc3220,holtmann/zephyr,coldnew/zephyr-project-fork,jamesonwilliams/zephyr-kernel,holtmann/zephyr,nashif/zephyr,zephyriot/zephyr,bigdinotech/zephyr,32bitmicro/zephyr,zephyriot/zephyr,bboozzoo/zephyr,erwango/zephyr,Vudentz/zephyr,runchip/zephyr-cc3220,bboozzoo/zephyr,erwango/zephyr,mbolivar/zephyr,kraj/zephyr,jamesonwilliams/zephyr-kernel,aceofall/zephyr-iotos,runchip/zephyr-cc3200,bigdinotech/zephyr,GiulianoFranchetto/zephyr,tidyjiang8/zephyr-doc,Vudentz/zephyr,fbsder/zephyr,bigdinotech/zephyr,GiulianoFranchetto/zephyr,mirzak/zephyr-os,runchip/zephyr-cc3200,kraj/zephyr,aceofall/zephyr-iotos,holtmann/zephyr,rsalveti/zephyr,galak/zephyr,32bitmicro/zephyr,zephyrproject-rtos/zephyr,rsalveti/zephyr,fbsder/zephyr,Vudentz/zephyr,ldts/zephyr,punitvara/zephyr,explora26/zephyr,ldts/zephyr,bboozzoo/zephyr,bigdinotech/zephyr,tidyjiang8/zephyr-doc,mbolivar/zephyr,zephyriot/zephyr,Vudentz/zephyr,rsalveti/zephyr,bboozzoo/zephyr,mbolivar/zephyr,GiulianoFranchetto/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,galak/zephyr,tidyjiang8/zephyr-doc,kraj/zephyr,tidyjiang8/zephyr-doc,sharronliu/zephyr,jamesonwilliams/zephyr-kernel,runchip/zephyr-cc3220,holtmann/zephyr,aceofall/zephyr-iotos,GiulianoFranchetto/zephyr,32bitmicro/zephyr,kraj/zephyr,runchip/zephyr-cc3220,fractalclone/zephyr-riscv,explora26/zephyr,erwango/zephyr,pklazy/zephyr,ldts/zephyr,bigdinotech/zephyr,mbolivar/zephyr,fractalclone/zephyr-riscv,32bitmicro/zephyr,coldnew/zephyr-project-fork,pklazy/zephyr,explora26/zephyr,mirzak/zephyr-os,sharronliu/zephyr,Vudentz/zephyr,coldnew/zephyr-project-fork,erwango/zephyr,rsalveti/zephyr