/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mediatek,mt6397.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT6397/MT6323 PMIC 10 - Sen Chu <sen.chu@mediatek.com> 11 - Macpaul Lin <macpaul.lin@mediatek.com> 14 MT6397/MT6323 is a power management system chip. 15 Please see the sub-modules below for supported features. 17 MT6397/MT6323 is a multifunction device with the following sub modules: 18 - Regulators [all …]
|
/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt6323.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 10 pmic: mt6323 { 11 compatible = "mediatek,mt6323"; 12 interrupt-parent = <&pio>; 14 interrupt-controller; 15 #interrupt-cells = <2>; 18 compatible = "mediatek,mt6323-led"; 19 #address-cells = <1>; 20 #size-cells = <0>; [all …]
|
H A D | mt7623a-rfb-emmc.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "mt6323.dtsi" 15 compatible = "mediatek,mt7623a-rfb-emmc", "mediatek,mt7623"; 22 stdout-path = "serial2:115200n8"; 27 proc-supply = <&mt6323_vproc_reg>; 31 proc-supply = <&mt6323_vproc_reg>; 35 proc-supply = <&mt6323_vproc_reg>; [all …]
|
H A D | mt7623a-rfb-nand.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "mt6323.dtsi" 15 compatible = "mediatek,mt7623a-rfb-nand", "mediatek,mt7623"; 22 stdout-path = "serial2:115200n8"; 27 proc-supply = <&mt6323_vproc_reg>; 31 proc-supply = <&mt6323_vproc_reg>; 35 proc-supply = <&mt6323_vproc_reg>; [all …]
|
H A D | mt7623n-rfb-emmc.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "mt6323.dtsi" 15 compatible = "mediatek,mt7623n-rfb-emmc", "mediatek,mt7623"; 24 stdout-path = "serial2:115200n8"; 28 compatible = "hdmi-connector"; 31 ddc-i2c-bus = <&hdmiddc0>; 35 remote-endpoint = <&hdmi0_out>; [all …]
|
H A D | mt7623n-bananapi-bpi-r2.dts | 2 * Copyright 2017-2018 Sean Wang <sean.wang@mediatek.com> 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/input.h> 10 #include "mt6323.dtsi" 13 model = "Bananapi BPI-R2"; 14 compatible = "bananapi,bpi-r2", "mediatek,mt7623"; 21 stdout-path = "serial2:115200n8"; 25 compatible = "hdmi-connector"; 28 ddc-i2c-bus = <&hdmiddc0>; [all …]
|
/linux/drivers/mfd/ |
H A D | mt6397-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/mfd/mt6323/core.h> 22 #include <linux/mfd/mt6323/registers.h> 122 .name = "mt6323-rtc", 125 .of_compatible = "mediatek,mt6323-rtc", 127 .name = "mt6323-regulator", 128 .of_compatible = "mediatek,mt6323-regulator" 130 .name = "mt6323-led", 131 .of_compatible = "mediatek,mt6323-led" 133 .name = "mtk-pmic-keys", [all …]
|
/linux/drivers/regulator/ |
H A D | mt6323-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/mfd/mt6323/registers.h> 12 #include <linux/regulator/driver.h> 13 #include <linux/regulator/machine.h> 14 #include <linux/regulator/mt6323-regulator.h> 15 #include <linux/regulator/of_regulator.h> 21 * MT6323 regulators' information 23 * @desc: standard fields of regulator description. 49 .n_voltages = (max - min)/step + 1, \ 163 ret = regmap_read(rdev->regmap, info->desc.enable_reg, ®val); in mt6323_get_status() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for regulator drivers. 7 obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o irq_helpers.o 8 obj-$(CONFIG_REGULATOR_NETLINK_EVENTS) += event.o 9 obj-$(CONFIG_OF) += of_regulator.o 10 obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o 11 obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o 12 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o 14 obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o 15 obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o [all …]
|
H A D | mt6332-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Based on mt6323-regulator.c, 16 #include <linux/regulator/driver.h> 17 #include <linux/regulator/machine.h> 18 #include <linux/regulator/mt6332-regulator.h> 19 #include <linux/regulator/of_regulator.h> 27 * @desc: standard fields of regulator description. 32 * @status_reg: Register for regulator enable status where qi unavailable 33 * @status_mask: Mask for querying regulator enable status 57 .n_voltages = (max - min)/step + 1, \ [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menuconfig REGULATOR config 3 bool "Voltage and Current Regulator Support" 6 Generic Voltage and Current Regulator support. 14 The intention is to allow systems to dynamically control regulator 26 if REGULATOR 29 bool "Regulator debug support" 34 tristate "Fixed voltage regulator support" 38 managed regulators and simple non-configurable regulators. 41 tristate "Virtual regulator consumer support" [all …]
|
H A D | mt6331-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Based on mt6323-regulator.c, 16 #include <linux/regulator/driver.h> 17 #include <linux/regulator/machine.h> 18 #include <linux/regulator/mt6331-regulator.h> 19 #include <linux/regulator/of_regulator.h> 27 * @desc: standard fields of regulator description. 32 * @status_reg: Register for regulator enable status where qi unavailable 33 * @status_mask: Mask for querying regulator enable status 57 .n_voltages = (max - min)/step + 1, \ [all …]
|
/linux/drivers/power/reset/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 bool "ams AS3722 power-off driver" 16 This driver supports turning off board via a ams AS3722 power-off. 35 tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver" 43 tristate "Actions Semi ATC260x PMIC power-off driver" 46 This driver provides power-off and restart support for a system 64 Say Y here if you have a Broadcom Kona-based board and you wish 90 bool "Cortina Gemini power-off driver" 99 bool "GPIO power-off driver" 115 bool "Hisilicon power-off driver" [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_POWER_RESET_AS3722) += as3722-poweroff.o 3 obj-$(CONFIG_POWER_RESET_AT91_POWEROFF) += at91-poweroff.o 4 obj-$(CONFIG_POWER_RESET_AT91_RESET) += at91-reset.o 5 obj-$(CONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC) += at91-sama5d2_shdwc.o 6 obj-$(CONFIG_POWER_RESET_ATC260X) += atc260x-poweroff.o 7 obj-$(CONFIG_POWER_RESET_AXXIA) += axxia-reset.o 8 obj-$(CONFIG_POWER_RESET_BRCMKONA) += brcm-kona-reset.o 9 obj-$(CONFIG_POWER_RESET_BRCMSTB) += brcmstb-reboot.o 10 obj-$(CONFIG_POWER_RESET_EP93XX) += ep93xx-restart.o [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | mt6323-regulator.txt | 1 Mediatek MT6323 Regulator 5 PMIC's node. Each regulator is named according to its regulator type, 8 Documentation/devicetree/bindings/regulator/regulator.txt. 21 pmic: mt6323 { 24 regulator-name = "vproc"; 25 regulator-min-microvolt = < 700000>; 26 regulator-max-microvolt = <1350000>; 27 regulator-ramp-delay = <12500>; 28 regulator-always-on; 29 regulator-boot-on; [all …]
|
/linux/drivers/leds/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 obj-$(CONFIG_NEW_LEDS) += led-core.o 5 obj-$(CONFIG_LEDS_CLASS) += led-class.o 6 obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o 7 obj-$(CONFIG_LEDS_CLASS_MULTICOLOR) += led-class-multicolor.o 8 obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o 10 # LED Platform Drivers (keep this sorted, M-| sort) 11 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o 12 obj-$(CONFIG_LEDS_ACER_A500) += leds-acer-a500.o 13 obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 56 See Documentation/ABI/testing/sysfs-class-led for details. 65 This option enables support for on-chip LED drivers found on Marvell 72 This option enables support for the AN30259A 3-channel 76 will be called leds-an30259a. 86 If you're looking for APU2/3, use the pcengines-apu2 driver. 90 module will be called leds-apu. 112 - AW20036 (3x12) 36 LEDs 113 - AW20054 (6x9) 54 LEDs 114 - AW20072 (6x12) 72 LEDs [all …]
|
/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | mediatek,mt7530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arınç ÜNAL <arinc.unal@arinc9.com> 11 - Landen Chao <Landen.Chao@mediatek.com> 12 - DENG Qingfang <dqfext@gmail.com> 13 - Sean Wang <sean.wang@mediatek.com> 14 - Daniel Golle <daniel@makrotopia.org> 17 There are three versions of MT7530, standalone, in a multi-chip module and 18 built-into a SoC. [all …]
|
/linux/drivers/soc/mediatek/ |
H A D | mtk-pmic-wrap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 103 /* MT6323 only regs */ 1346 * struct pwrap_slv_type - PMIC device wrapper definitions 1391 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl() 1396 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel() 1404 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_get_fsm_state() 1460 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16() 1471 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16() 1516 return wrp->slave->regops->pwrap_read(wrp, adr, rdata); in pwrap_read() 1531 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) { in pwrap_write16() [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|