Hi, On Wed, 2 May 2018 11:24:36 +0200 Maxime Ripard maxime.rip...@bootlin.com wrote:
> Hi, > > On Sat, Apr 28, 2018 at 02:05:14PM -0700, Vasily Khoruzhick wrote: > > +static const struct udevice_id sunxi_pwm_ids[] = { > > + { .compatible = "allwinner,sun50i-a64-pwm" }, > > + { } > > +}; > > + > > +U_BOOT_DRIVER(sunxi_pwm) = { > > + .name = "sunxi_pwm", > > + .id = UCLASS_PWM, > > + .of_match = sunxi_pwm_ids, > > + .ops = &sunxi_pwm_ops, > > + .ofdata_to_platdata = sunxi_pwm_ofdata_to_platdata, > > + .probe = sunxi_pwm_probe, > > + .priv_auto_alloc_size = sizeof(struct sunxi_pwm_priv), > > +}; > > The binding should be the same one than used in Linux. Linux (in next) uses "allwinner,sun50i-a64-pwm", "allwinner,sun5i-a13-pwm" binding, so please add "allwinner,sun5i-a13-pwm" here. -- Anatolij _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot