]> git.dujemihanovic.xyz Git - u-boot.git/commit
timer: cadence: Add bind function to driver
authorMichal Simek <michal.simek@xilinx.com>
Fri, 15 Oct 2021 13:17:28 +0000 (15:17 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 30 Mar 2022 12:43:26 +0000 (14:43 +0200)
commitdcbdd24259beaff903e7ffffde646a3c5bd756ac
tree06c45053bc478c22e8fc3347479a8ca51c8dc95a
parent035d56f2386e009aaa41cd75022f8cddc04e5c1a
timer: cadence: Add bind function to driver

When DT node has pwm-cells property it shouldn't be bind as timer driver
but as PWM driver. That's why make sure that this property is checked.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/434ef195fbedea9f83672a12d1ace0da16e8832e.1634303847.git.michal.simek@xilinx.com
drivers/timer/cadence-ttc.c