From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 2 May 2018 14:42:08 +0200 Subject: [U-Boot] [PATCH v3 1/2] pwm: sunxi: add support for PWM found on Allwinner A64 In-Reply-To: <20180502092436.4t7s56be7y36ghx3@flea> References: <20180428210515.12993-1-anarsoul@gmail.com> <20180428210515.12993-2-anarsoul@gmail.com> <20180502092436.4t7s56be7y36ghx3@flea> Message-ID: <20180502144208.65dd17fa@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Wed, 2 May 2018 11:24:36 +0200 Maxime Ripard maxime.ripard at 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