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/sprd,sc27xx-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 Spreadtrum SC27XX series PMICs ADC binding
    2 
    3 Required properties:
    4 - compatible: Should be one of the following.
    5         "sprd,sc2720-adc"
    6         "sprd,sc2721-adc"
    7         "sprd,sc2723-adc"
    8         "sprd,sc2730-adc"
    9         "sprd,sc2731-adc"
   10 - reg: The address offset of ADC controller.
   11 - interrupt-parent: The interrupt controller.
   12 - interrupts: The interrupt number for the ADC device.
   13 - #io-channel-cells: Number of cells in an IIO specifier.
   14 - hwlocks: Reference to a phandle of a hwlock provider node.
   15 - nvmem-cells: A phandle to the calibration cells provided by eFuse device.
   16 - nvmem-cell-names: Should be "big_scale_calib", "small_scale_calib".
   17 
   18 Example:
   19 
   20         sc2731_pmic: pmic@0 {
   21                 compatible = "sprd,sc2731";
   22                 reg = <0>;
   23                 spi-max-frequency = <26000000>;
   24                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
   25                 interrupt-controller;
   26                 #interrupt-cells = <2>;
   27                 #address-cells = <1>;
   28                 #size-cells = <0>;
   29 
   30                 pmic_adc: adc@480 {
   31                         compatible = "sprd,sc2731-adc";
   32                         reg = <0x480>;
   33                         interrupt-parent = <&sc2731_pmic>;
   34                         interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
   35                         #io-channel-cells = <1>;
   36                         hwlocks = <&hwlock 4>;
   37                         nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
   38                         nvmem-cell-names = "big_scale_calib", "small_scale_calib";
   39                 };
   40         };

Cache object: bf91db559102fe9e36984f47fc19c4c9


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