The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/adc/brcm,iproc-static-adc.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * Broadcom's IPROC Static ADC controller
    2 
    3 Broadcom iProc ADC controller has 8 channels 10bit ADC.
    4 Allows user to convert analog input voltage values to digital.
    5 
    6 Required properties:
    7 
    8 - compatible: Must be "brcm,iproc-static-adc"
    9 
   10 - adc-syscon: Handler of syscon node defining physical base address of the
   11   controller and length of memory mapped region.
   12 
   13 - #io-channel-cells = <1>; As ADC has multiple outputs
   14   refer to Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
   15 
   16 - io-channel-ranges:
   17   refer to Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
   18 
   19 - clocks: Clock used for this block.
   20 
   21 - clock-names: Clock name should be given as tsc_clk.
   22 
   23 - interrupts: interrupt line number.
   24 
   25 For example:
   26 
   27         ts_adc_syscon: ts_adc_syscon@180a6000 {
   28                 compatible = "brcm,iproc-ts-adc-syscon","syscon";
   29                 reg = <0x180a6000 0xc30>;
   30         };
   31 
   32         adc: adc@180a6000 {
   33                 compatible = "brcm,iproc-static-adc";
   34                 adc-syscon = <&ts_adc_syscon>;
   35                 #io-channel-cells = <1>;
   36                 io-channel-ranges;
   37                 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
   38                 clock-names = "tsc_clk";
   39                 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
   40         };

Cache object: 53d3fd70a08486ee5f648e7740bce4c1


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.