cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

mt6360_charger.yaml (1218B)


      1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
      2%YAML 1.2
      3---
      4$id: http://devicetree.org/schemas/power/supply/mt6360_charger.yaml#
      5$schema: http://devicetree.org/meta-schemas/core.yaml#
      6
      7title: Battery charger driver for MT6360 PMIC from MediaTek Integrated.
      8
      9maintainers:
     10  - Gene Chen <gene_chen@richtek.com>
     11
     12description: |
     13  This module is part of the MT6360 MFD device.
     14  Provides Battery Charger, Boost for OTG devices and BC1.2 detection.
     15
     16properties:
     17  compatible:
     18    const: mediatek,mt6360-chg
     19
     20  richtek,vinovp-microvolt:
     21    description: Maximum CHGIN regulation voltage in uV.
     22    enum: [ 5500000, 6500000, 11000000, 14500000 ]
     23
     24
     25  usb-otg-vbus-regulator:
     26    type: object
     27    description: OTG boost regulator.
     28    $ref: /schemas/regulator/regulator.yaml#
     29
     30required:
     31  - compatible
     32
     33additionalProperties: false
     34
     35examples:
     36  - |
     37    mt6360_charger: charger {
     38      compatible = "mediatek,mt6360-chg";
     39      richtek,vinovp-microvolt = <14500000>;
     40
     41      otg_vbus_regulator: usb-otg-vbus-regulator {
     42        regulator-compatible = "usb-otg-vbus";
     43        regulator-name = "usb-otg-vbus";
     44        regulator-min-microvolt = <4425000>;
     45        regulator-max-microvolt = <5825000>;
     46      };
     47    };
     48...