ide: add hwif_register_devices() helper