Skip to content

Commit

Permalink
Merge pull request linux4kix#17 from linux4kix/linux-linaro-lsk-v3.14…
Browse files Browse the repository at this point in the history
…-mx6

PWM and fec initialization cleanup
  • Loading branch information
rabeeh committed Oct 23, 2014
2 parents 828f1bb + dc5edb8 commit ee05b81
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,13 @@
MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x80000000
>;
};

pinctrl_pwm1: pwm1grp {
fsl,pins = <
MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1
>;
};

};
};

Expand Down Expand Up @@ -339,3 +346,22 @@
no-msi;
};

&pwm1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm1>;
status = "okay";
};

&pwm2 {
pinctrl-names = "default";
status = "okay";
};

&pwm3 {
status = "disabled";
};

&pwm4 {
status = "disabled";
};

2 changes: 2 additions & 0 deletions drivers/net/ethernet/freescale/fec_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2704,6 +2704,8 @@ fec_probe(struct platform_device *pdev)
failed_init:
if (fep->reg_phy)
regulator_disable(fep->reg_phy);
if (fep->ptp_clock)
ptp_clock_unregister(fep->ptp_clock);
failed_regulator:
fec_enet_clk_enable(ndev, false);
failed_clk:
Expand Down

0 comments on commit ee05b81

Please sign in to comment.