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/power/supply/nokia,n900-battery.yaml

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 # SPDX-License-Identifier: GPL-2.0
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/power/supply/nokia,n900-battery.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Nokia N900 battery
    8 
    9 maintainers:
   10   - Pali Rohár <pali@kernel.org>
   11   - Sebastian Reichel <sre@kernel.org>
   12 
   13 allOf:
   14   - $ref: power-supply.yaml#
   15 
   16 properties:
   17   compatible:
   18     const: nokia,n900-battery
   19 
   20   io-channels:
   21     items:
   22       - description: ADC channel for temperature reading
   23       - description: ADC channel for battery size identification
   24       - description: ADC channel to measure the battery voltage
   25 
   26   io-channel-names:
   27     items:
   28       - const: temp
   29       - const: bsi
   30       - const: vbat
   31 
   32 required:
   33   - compatible
   34   - io-channels
   35   - io-channel-names
   36 
   37 additionalProperties: false
   38 
   39 examples:
   40   - |
   41     battery {
   42       compatible = "nokia,n900-battery";
   43       io-channels = <&twl4030_madc 0>,
   44                     <&twl4030_madc 4>,
   45                     <&twl4030_madc 12>;
   46       io-channel-names = "temp",
   47                          "bsi",
   48                          "vbat";
   49     };

Cache object: 74b977a4d107c333e535ee99ad599d5f


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