Home
last modified time | relevance | path

Searched +full:mt6873 +full:- +full:spmi (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/spmi/
H A Dmtk,spmi-mtk-pmif.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spmi/mtk,spmi-mtk-pmif.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek SPMI Controller
10 - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
13 On MediaTek SoCs the PMIC is connected via SPMI and the controller allows
14 for multiple SoCs to control a single SPMI master.
17 - $ref: spmi.yaml
22 - enum:
[all …]
/openbmc/linux/drivers/spmi/
H A Dspmi-mtk-pmif.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/spmi.h>
218 /* MT8195 spmi regs */
267 return readl(arb->base + arb->data->regs[reg]); in pmif_readl()
272 writel(val, arb->base + arb->data->regs[reg]); in pmif_writel()
277 writel(val, arb->spmimst_base + arb->data->spmimst_regs[reg]); in mtk_spmi_writel()
284 reg_rdata = pmif_readl(arb, arb->chan.ch_sta); in pmif_is_fsm_vldclr()
297 return -EINVAL; in pmif_arb_cmd()
299 cmd = opc - SPMI_CMD_RESET; in pmif_arb_cmd()
302 ret = readl_poll_timeout_atomic(arb->spmimst_base + arb->data->spmimst_regs[SPMI_OP_ST_STA], in pmif_arb_cmd()
[all …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8192.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/clock/mt8192-clk.h>
9 #include <dt-bindings/gce/mt8192-gce.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/memory/mt8192-larb-port.h>
13 #include <dt-bindings/pinctrl/mt8192-pinfunc.h>
14 #include <dt-bindings/phy/phy.h>
15 #include <dt-bindings/power/mt8192-power.h>
[all …]