[PATCH v2] ARM: dts: add bcm2835-pwm bindings

Stephen Warren swarren at wwwdotorg.org
Sat Jan 10 08:34:27 PST 2015


On 01/07/2015 04:00 AM, Bart Tanghe wrote:
> To probe the bcm2835-pwm driver properly, this dts bindings has to be added 
> to the bcm2835 dtsi file.
> In expectation of a bcm2835 clock driver, I've added fixed-clock clock binding.

> diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi

> +		pwm: pwm at 7e20e000 {
> +			compatible = "brcm,bcm2835-pwm";
> +			reg = <0x7e20c000 0x28>;
> +			clocks = <&clk_pwm>;
> +			#pwm-cells = <2>;
> +			status = "disabled";
> +		};

Can the nodes be kept sorted by reg value; I think this should be added
between the existing i2c at 20205000 and sdhci at 7e300000 nodes.

Aside from that,
Acked-by: Stephen Warren <swarren at wwwdotorg.org>



More information about the linux-rpi-kernel mailing list