Re: vf610_adc: Division by zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 3, 2015 at 1:26 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote:
> Hi Andy,
>
> Enabling vf610-adc in a imx6sx dts file causes the following error:

Ok, passing fsl,adck-max-frequency in the dtsi avoids the issue:

--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -1152,6 +1152,8 @@
                 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
                 clocks = <&clks IMX6SX_CLK_IPG>;
                 clock-names = "adc";
+                fsl,adck-max-frequency = <30000000>, <40000000>,
+                             <20000000>;
                 status = "disabled";
                         };

@@ -1161,6 +1163,8 @@
                 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
                 clocks = <&clks IMX6SX_CLK_IPG>;
                 clock-names = "adc";
+                fsl,adck-max-frequency = <30000000>, <40000000>,
+                             <20000000>;
                 status = "disabled";
                         };

,but we still should better add some default frequencies in case
'adck-max-frequency' property is absent.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux