Merge tag 'xilinx-for-v2022.07-rc1-v2' of https://source.denx.de/u-boot/custodians/u-boot-microblaze
Xilinx changes for v2022.07-rc1 v2 xilinx: - Allow booting bigger kernels till 100MB zynqmp: - DT updates (reset IDs) - Remove unneeded low level uart initialization from psu_init* - Enable PWM features - Add support for 1EG device serial_zynq: - Change fifo behavior in DEBUG mode zynq_sdhci: - Fix BASECLK setting calculation clk_zynqmp: - Add support for showing video clock gpio: - Update slg driver to handle DT flags net: - Update ethernet_id code to support also DM_ETH_PHY - Add support for DM_ETH_PHY in gem driver - Enable dynamic mode for SGMII config in gem driver pwm: - Add driver for cadence PWM versal: - Add support for reserved memory firmware: - Handle PD enabling for SPL - Add support for IOUSLCR SGMII configurations include: - Sync phy.h with Linux - Update xilinx power domain dt binding headers
This commit is contained in:
@@ -97,6 +97,17 @@ static int cadence_ttc_of_to_plat(struct udevice *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int cadence_ttc_bind(struct udevice *dev)
|
||||
{
|
||||
const char *cells;
|
||||
|
||||
cells = dev_read_prop(dev, "#pwm-cells", NULL);
|
||||
if (cells)
|
||||
return -ENODEV;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct timer_ops cadence_ttc_ops = {
|
||||
.get_count = cadence_ttc_get_count,
|
||||
};
|
||||
@@ -114,4 +125,5 @@ U_BOOT_DRIVER(cadence_ttc) = {
|
||||
.priv_auto = sizeof(struct cadence_ttc_priv),
|
||||
.probe = cadence_ttc_probe,
|
||||
.ops = &cadence_ttc_ops,
|
||||
.bind = cadence_ttc_bind,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user