All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency' property
@ 2015-11-03 16:25 Fabio Estevam
  2015-11-03 16:25 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select VF610_ADC Fabio Estevam
  2015-11-04  6:33 ` [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency' property Duan Andy
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2015-11-03 16:25 UTC (permalink / raw
  To: linux-arm-kernel

Specify the 'adck-max-frequency' property in the adc nodes.

According to Documentation/devicetree/bindings/iio/adc/vf610-adc.txt
this is a recommended property.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6sx.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 167f77b..da42566 100644
--- 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";
                         };
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select VF610_ADC
  2015-11-03 16:25 [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency' property Fabio Estevam
@ 2015-11-03 16:25 ` Fabio Estevam
  2015-11-04  6:32   ` Duan Andy
  2015-11-04  6:33 ` [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency' property Duan Andy
  1 sibling, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2015-11-03 16:25 UTC (permalink / raw
  To: linux-arm-kernel

The vf610 adc driver is present on Vybrid, MX6SX, MX6UL and MX7D.

Select it by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 4187f69..e528955 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -315,6 +315,8 @@ CONFIG_MXS_DMA=y
 CONFIG_FSL_EDMA=y
 CONFIG_STAGING=y
 # CONFIG_IOMMU_SUPPORT is not set
+CONFIG_IIO=y
+CONFIG_VF610_ADC=y
 CONFIG_PWM=y
 CONFIG_PWM_IMX=y
 CONFIG_EXT2_FS=y
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select VF610_ADC
  2015-11-03 16:25 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select VF610_ADC Fabio Estevam
@ 2015-11-04  6:32   ` Duan Andy
  0 siblings, 0 replies; 4+ messages in thread
From: Duan Andy @ 2015-11-04  6:32 UTC (permalink / raw
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com> Sent: Wednesday, November 04, 2015 12:26 AM
> To: shawnguo at kernel.org
> Cc: linux-arm-kernel at lists.infradead.org; Duan Fugang-B38611; Estevam
> Fabio-R49496
> Subject: [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select VF610_ADC
> 
> The vf610 adc driver is present on Vybrid, MX6SX, MX6UL and MX7D.
> 
> Select it by default.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/configs/imx_v6_v7_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/configs/imx_v6_v7_defconfig
> b/arch/arm/configs/imx_v6_v7_defconfig
> index 4187f69..e528955 100644
> --- a/arch/arm/configs/imx_v6_v7_defconfig
> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> @@ -315,6 +315,8 @@ CONFIG_MXS_DMA=y
>  CONFIG_FSL_EDMA=y
>  CONFIG_STAGING=y
>  # CONFIG_IOMMU_SUPPORT is not set
> +CONFIG_IIO=y
> +CONFIG_VF610_ADC=y
>  CONFIG_PWM=y
>  CONFIG_PWM_IMX=y
>  CONFIG_EXT2_FS=y
> --
> 1.9.1

Acked-by: Fugang Duan <B38611@freescale.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency' property
  2015-11-03 16:25 [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency' property Fabio Estevam
  2015-11-03 16:25 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select VF610_ADC Fabio Estevam
@ 2015-11-04  6:33 ` Duan Andy
  1 sibling, 0 replies; 4+ messages in thread
From: Duan Andy @ 2015-11-04  6:33 UTC (permalink / raw
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com> Sent: Wednesday, November 04, 2015 12:26 AM
> To: shawnguo at kernel.org
> Cc: linux-arm-kernel at lists.infradead.org; Duan Fugang-B38611; Estevam
> Fabio-R49496
> Subject: [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency'
> property
> 
> Specify the 'adck-max-frequency' property in the adc nodes.
> 
> According to Documentation/devicetree/bindings/iio/adc/vf610-adc.txt
> this is a recommended property.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/boot/dts/imx6sx.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6sx.dtsi
> b/arch/arm/boot/dts/imx6sx.dtsi index 167f77b..da42566 100644
> --- 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";
>                          };
> 
> --
> 1.9.1

Acked-by: Fugang Duan <B38611@freescale.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-04  6:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-03 16:25 [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency' property Fabio Estevam
2015-11-03 16:25 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select VF610_ADC Fabio Estevam
2015-11-04  6:32   ` Duan Andy
2015-11-04  6:33 ` [PATCH 1/2] ARM: dts: imx6sx: Pass the 'adck-max-frequency' property Duan Andy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.