Re: [PATCH v4 3/3] ARM:dts-Add dt node for Broadcom iproc-static-adc
From: Jonathan Cameron
Date: Sun Jul 03 2016 - 06:34:52 EST
On 28/06/16 08:40, Raveendra Padasalagi wrote:
> This patch adds DT node for Broadcom's iproc-static-adc
> controller driver.
>
> Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@xxxxxxxxxxxx>
> Reviewed-by: Ray Jui <ray.jui@xxxxxxxxxxxx>
> Reviewed-by: Scott Branden <scott.branden@xxxxxxxxxxxx>
Driver is working its way towards just making the next merge window...
Guessing this will go through the relevant path to the arm-soc tree
as normal.
Thanks,
Jonathan
> ---
> arch/arm/boot/dts/bcm-cygnus.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi
> index b42fe55..fabc9f3 100644
> --- a/arch/arm/boot/dts/bcm-cygnus.dtsi
> +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi
> @@ -366,5 +366,16 @@
> interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
> status = "disabled";
> };
> +
> + adc: adc@180a6000 {
> + compatible = "brcm,iproc-static-adc";
> + #io-channel-cells = <1>;
> + io-channel-ranges;
> + adc-syscon = <&ts_adc_syscon>;
> + clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
> + clock-names = "tsc_clk";
> + interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> + };
> };
> };
>