Home
last modified time | relevance | path

Searched +full:mt8135 +full:- +full:pwrap (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/mediatek/
Dpwrap.txt13 on MT8135 the pins of some SoC internal peripherals can be on the PMIC.
14 The signals of these pins are routed over the SPI bus using the pwrap
19 Required properties in pwrap device node.
20 - compatible:
21 "mediatek,mt2701-pwrap" for MT2701/7623 SoCs
22 "mediatek,mt6765-pwrap" for MT6765 SoCs
23 "mediatek,mt6779-pwrap" for MT6779 SoCs
24 "mediatek,mt6797-pwrap" for MT6797 SoCs
25 "mediatek,mt7622-pwrap" for MT7622 SoCs
26 "mediatek,mt8135-pwrap" for MT8135 SoCs
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/mediatek/
Dmediatek,pwrap.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/mediatek/mediatek,pwrap.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Flora Fu <flora.fu@mediatek.com>
11 - Alexandre Mergnat <amergnat@baylibre.com>
22 On MT8135 the pins of some SoC internal peripherals can be on the PMIC.
23 The signals of these pins are routed over the SPI bus using the pwrap
31 - items:
32 - enum:
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmt8135.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/mt8135-clk.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/reset/mt8135-resets.h>
12 #include "mt8135-pinfunc.h"
15 #address-cells = <2>;
16 #size-cells = <2>;
17 compatible = "mediatek,mt8135";
18 interrupt-parent = <&sysirq>;
[all …]
Dmt8135-evbp1.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
9 #include "mt8135.dtsi"
12 model = "MediaTek MT8135 evaluation board";
13 compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135";
21 &pwrap {
26 compatible = "mediatek,mt6397-regulator";
29 regulator-name = "vpca15";
30 regulator-min-microvolt = < 850000>;
31 regulator-max-microvolt = <1350000>;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/mediatek/
Dmt8135.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/mt8135-clk.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/reset/mt8135-resets.h>
12 #include <dt-bindings/pinctrl/mt8135-pinfunc.h>
15 #address-cells = <2>;
16 #size-cells = <2>;
17 compatible = "mediatek,mt8135";
18 interrupt-parent = <&sysirq>;
[all …]
Dmt8135-evbp1.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
9 #include "mt8135.dtsi"
12 model = "MediaTek MT8135 evaluation board";
13 compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135";
21 &pwrap {
26 compatible = "mediatek,mt6397-regulator";
29 regulator-name = "vpca15";
30 regulator-min-microvolt = < 850000>;
31 regulator-max-microvolt = <1350000>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmt6397.txt4 - Regulator
5 - RTC
6 - Audio codec
7 - GPIO
8 - Clock
9 - LED
10 - Keys
11 - Power controller
14 called PMIC wrapper or pwrap. MT6397/MT6323 MFD is a child device of pwrap.
16 ../soc/mediatek/pwrap.txt
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dmt6397.txt4 - Regulator
5 - RTC
6 - Audio codec
7 - GPIO
8 - Clock
9 - LED
10 - Keys
11 - Power controller
14 called PMIC wrapper or pwrap. MT6397/MT6323 MFD is a child device of pwrap.
16 ../soc/mediatek/mediatek,pwrap.yaml
[all …]
/kernel/linux/linux-5.10/drivers/soc/mediatek/
Dmtk-pmic-wrap.c1 // SPDX-License-Identifier: GPL-2.0-only
71 /* Group of bits used for shown pwrap capability */
379 /* MT8135 only regs */
1063 * pwrap operations are highly associated with the PMIC types,
1093 /* Flags indicating the capability for the target pwrap */
1101 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl()
1106 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel()
1159 return fp(wrp) ? 0 : -ETIMEDOUT; in pwrap_wait_for_state()
1218 return wrp->slave->pwrap_read(wrp, adr, rdata); in pwrap_read()
1254 * for the synchronization between two successive 16-bit in pwrap_write32()
[all …]
/kernel/linux/linux-6.6/drivers/soc/mediatek/
Dmtk-pmic-wrap.c1 // SPDX-License-Identifier: GPL-2.0-only
79 /* Group of bits used for shown pwrap capability */
425 /* MT8135 only regs */
1337 * pwrap operations are highly associated with the PMIC types,
1346 * struct pwrap_slv_type - PMIC device wrapper definitions
1387 /* Flags indicating the capability for the target pwrap */
1395 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl()
1400 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel()
1408 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_get_fsm_state()
1464 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16()
[all …]