/** * sam9x5_periph_clk_bind() - for the periph clock driver * Recursively bind its children as clk devices. * * @return: 0 on success, or negative error code on failure */ static int sam9x5_periph_clk_bind(struct udevice *dev) { return at91_clk_sub_device_bind(dev, "periph-clk"); }
/** * at91_system_clk_bind() - for the system clock driver * Recursively bind its children as clk devices. * * @return: 0 on success, or negative error code on failure */ static int at91_system_clk_bind(struct udevice *dev) { return at91_clk_sub_device_bind(dev, "system-clk"); }
/** * generated_clk_bind() - for the generated clock driver * Recursively bind its children as clk devices. * * @return: 0 on success, or negative error code on failure */ static int generated_clk_bind(struct udevice *dev) { return at91_clk_sub_device_bind(dev, "generic-clk"); }