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/amlogic,meson-saradc.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 * Amlogic Meson SAR (Successive Approximation Register) A/D converter
    2 
    3 Required properties:
    4 - compatible:   depending on the SoC this should be one of:
    5                         - "amlogic,meson8-saradc" for Meson8
    6                         - "amlogic,meson8b-saradc" for Meson8b
    7                         - "amlogic,meson8m2-saradc" for Meson8m2
    8                         - "amlogic,meson-gxbb-saradc" for GXBB
    9                         - "amlogic,meson-gxl-saradc" for GXL
   10                         - "amlogic,meson-gxm-saradc" for GXM
   11                         - "amlogic,meson-axg-saradc" for AXG
   12                         - "amlogic,meson-g12a-saradc" for AXG
   13                 along with the generic "amlogic,meson-saradc"
   14 - reg:          the physical base address and length of the registers
   15 - interrupts:   the interrupt indicating end of sampling
   16 - clocks:       phandle and clock identifier (see clock-names)
   17 - clock-names:  mandatory clocks:
   18                         - "clkin" for the reference clock (typically XTAL)
   19                         - "core" for the SAR ADC core clock
   20                 optional clocks:
   21                         - "adc_clk" for the ADC (sampling) clock
   22                         - "adc_sel" for the ADC (sampling) clock mux
   23 - vref-supply:  the regulator supply for the ADC reference voltage
   24 - #io-channel-cells: must be 1, see ../iio-bindings.txt
   25 
   26 Optional properties:
   27 - amlogic,hhi-sysctrl:  phandle to the syscon which contains the 5th bit
   28                         of the TSC (temperature sensor coefficient) on
   29                         Meson8b and Meson8m2 (which used to calibrate the
   30                         temperature sensor)
   31 - nvmem-cells:          phandle to the temperature_calib eFuse cells
   32 - nvmem-cell-names:     if present (to enable the temperature sensor
   33                         calibration) this must contain "temperature_calib"
   34 
   35 
   36 Example:
   37         saradc: adc@8680 {
   38                 compatible = "amlogic,meson-gxl-saradc", "amlogic,meson-saradc";
   39                 #io-channel-cells = <1>;
   40                 reg = <0x0 0x8680 0x0 0x34>;
   41                 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
   42                 clocks = <&xtal>,
   43                          <&clkc CLKID_SAR_ADC>,
   44                          <&clkc CLKID_SANA>,
   45                          <&clkc CLKID_SAR_ADC_CLK>,
   46                          <&clkc CLKID_SAR_ADC_SEL>;
   47                 clock-names = "clkin", "core", "sana", "adc_clk", "adc_sel";
   48         };

Cache object: d2ba76b7c6f1b03efa982200823ebe5b


[ 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.