hw/p8-i2c: Set poll interval from the current port
hw/p8-i2c: Set poll interval from the current port

The rate at which we need to poll the master depends on the speed of the
bus. Faster I2C buses will require more frequent polling so it doesn't
make a whole lot of sense to set this on a per-master basis. This patch
sets the master's polling interval to a per-port setting calculated
from the port speed.

Signed-off-by: Oliver O'Halloran <3dfaff8fa6ae977f042064a112a6aac576279b9b@gmail.com>
Signed-off-by: Vasant Hegde <a6d753843573f7bfed5075c1e875b0be8007a0ab@linux.vnet.ibm.com>

open-power/skiboot,shenki/skiboot,open-power/skiboot,legoater/skiboot,legoater/skiboot,open-power/skiboot,legoater/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,shenki/skiboot,qemu/skiboot,shenki/skiboot,qemu/skiboot,legoater/skiboot,qemu/skiboot,open-power/skiboot,shenki/skiboot,legoater/skiboot,qemu/skiboot