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/spmi/mtk,spmi-mtk-pmif.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 OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/spmi/mtk,spmi-mtk-pmif.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Mediatek SPMI Controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
   11 
   12 description: |+
   13   On MediaTek SoCs the PMIC is connected via SPMI and the controller allows
   14   for multiple SoCs to control a single SPMI master.
   15 
   16 allOf:
   17   - $ref: "spmi.yaml"
   18 
   19 properties:
   20   compatible:
   21     enum:
   22       - mediatek,mt6873-spmi
   23       - mediatek,mt8195-spmi
   24 
   25   reg:
   26     maxItems: 2
   27 
   28   reg-names:
   29     items:
   30       - const: pmif
   31       - const: spmimst
   32 
   33   clocks:
   34     minItems: 3
   35     maxItems: 3
   36 
   37   clock-names:
   38     items:
   39       - const: pmif_sys_ck
   40       - const: pmif_tmr_ck
   41       - const: spmimst_clk_mux
   42 
   43   assigned-clocks:
   44     maxItems: 1
   45 
   46   assigned-clock-parents:
   47     maxItems: 1
   48 
   49 required:
   50   - compatible
   51   - reg
   52   - reg-names
   53   - clocks
   54   - clock-names
   55 
   56 unevaluatedProperties: false
   57 
   58 examples:
   59   - |
   60     #include <dt-bindings/clock/mt8192-clk.h>
   61 
   62     spmi: spmi@10027000 {
   63         compatible = "mediatek,mt6873-spmi";
   64         reg = <0x10027000 0xe00>,
   65               <0x10029000 0x100>;
   66         reg-names = "pmif", "spmimst";
   67         clocks = <&infracfg CLK_INFRA_PMIC_AP>,
   68                  <&infracfg CLK_INFRA_PMIC_TMR>,
   69                  <&topckgen CLK_TOP_SPMI_MST_SEL>;
   70         clock-names = "pmif_sys_ck",
   71                       "pmif_tmr_ck",
   72                       "spmimst_clk_mux";
   73         assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC_SEL>;
   74         assigned-clock-parents = <&topckgen CLK_TOP_OSC_D10>;
   75     };
   76 ...

Cache object: 1a5a3f129bcb6b675772735583d1149c


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