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/net/nfc/samsung,s3fwrn5.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-only OR BSD-2-Clause
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/net/nfc/samsung,s3fwrn5.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Samsung S3FWRN5 NCI NFC Controller
    8 
    9 maintainers:
   10   - Krzysztof Kozlowski <krzk@kernel.org>
   11   - Krzysztof Opasiak <k.opasiak@samsung.com>
   12 
   13 properties:
   14   compatible:
   15     enum:
   16       - samsung,s3fwrn5-i2c
   17       - samsung,s3fwrn82
   18 
   19   en-gpios:
   20     maxItems: 1
   21     description:
   22       Output GPIO pin used for enabling/disabling the chip
   23 
   24   interrupts:
   25     maxItems: 1
   26 
   27   reg:
   28     maxItems: 1
   29 
   30   clocks:
   31     maxItems: 1
   32 
   33   wake-gpios:
   34     maxItems: 1
   35     description:
   36       Output GPIO pin used to enter firmware mode and sleep/wakeup control
   37 
   38   s3fwrn5,en-gpios:
   39     maxItems: 1
   40     deprecated: true
   41     description:
   42       Use en-gpios
   43 
   44   s3fwrn5,fw-gpios:
   45     maxItems: 1
   46     deprecated: true
   47     description:
   48       Use wake-gpios
   49 
   50 additionalProperties: false
   51 
   52 required:
   53   - compatible
   54   - en-gpios
   55   - wake-gpios
   56 
   57 allOf:
   58   - if:
   59       properties:
   60         compatible:
   61           contains:
   62             const: samsung,s3fwrn5-i2c
   63     then:
   64       required:
   65         - interrupts
   66         - reg
   67 
   68 examples:
   69   - |
   70     #include <dt-bindings/gpio/gpio.h>
   71     #include <dt-bindings/interrupt-controller/irq.h>
   72 
   73     i2c4 {
   74         #address-cells = <1>;
   75         #size-cells = <0>;
   76 
   77         s3fwrn5@27 {
   78             compatible = "samsung,s3fwrn5-i2c";
   79             reg = <0x27>;
   80 
   81             interrupt-parent = <&gpa1>;
   82             interrupts = <3 IRQ_TYPE_EDGE_RISING>;
   83 
   84             en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>;
   85             wake-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>;
   86 
   87             clocks = <&rpmcc 20>;
   88         };
   89     };
   90   # UART example on Raspberry Pi
   91   - |
   92     uart0 {
   93         nfc {
   94             compatible = "samsung,s3fwrn82";
   95 
   96             en-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
   97             wake-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
   98 
   99         };
  100     };

Cache object: 32b943428cbaa4eb5e9ba66e636e37e5


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