Re: [PATCH v2 2/2] pwm: add Axiado AX3000 PWM driver

Krzysztof Kozlowski <[email protected]> Fri, 24 Jul 2026 10:36:25 +0200
Newsgroups org.kernel.vger.linux-pwm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <20260724-comical-chubby-dragon-9c73ff@quoll>
On Thu, Jul 23, 2026 at 02:32:19AM -0700, Petar Stepanovic wrote:
> +	chip->ops = &axiado_pwm_ops;
> +	chip->atomic = true;
> +
> +	ret = devm_pwmchip_add(dev, chip);
> +	if (ret)
> +		return dev_err_probe(dev, ret, "Failed to add PWM chip\n");
> +
> +	return 0;
> +}
> +
> +static const struct of_device_id axiado_pwm_match[] = {
> +	{ .compatible = "axiado,ax3000-pwm" },
> +	{ .compatible = "axiado,ax3005-pwm" },

This suggests deviecs are fully compatible, so drop the second entry and
express compatibility (see writing bindings, example schema, DTS101
talk/slides).

Best regards,
Krzysztof