Add driver for dvfsrc, support for active state of scpsys
Subsystems (4)
v6 cover Add driver for dvfsrc, support for active state of scpsys
This series is based on v5.10-rc1.
The patchsets add support for MediaTek hardware module named DVFSRC (dynamic voltage and frequency scaling resource collector). The DVFSRC is a HW module which is used to collect all the requests from both software and hardware and turn into the decision of minimum operating voltage and minimum DRAM frequency to fulfill those requests.
So, This series is to implement the dvfsrc driver to collect all the requests of operating voltage or DRAM bandwidth from other device drivers likes GPU/Camera through 3 frameworks basically:
1. interconnect framework: to aggregate the bandwidth requirements from different clients
[1] https://patchwork.kernel.org/cover/10766329/
There has a hw module "DRAM scheduler", which used to control the throughput. The DVFSRC will collect forecast data of dram bandwidth from
SW consumers(camera/gpu...), and according the forecast to change the DRAM frequency
2. Regualtor framework: to handle the operating voltage requirement from user or cosumer which not belong any power domain
Changes in V6:
* Remove the performace state support, because the request from consumer can be replaced by using interconnect and regulator framework.
* Update the DT patches and convert them to DT schema. (Georgi)
* Modify the comment format and coding style. (Mark)
Changes in V5:
* Support more platform mt6873/mt8192
* Drop the compatible and interconnect provider node and make the parent node an interconnect provider. (Rob/Georgi)
* Make modification of interconnect driver from coding suggestion. (Georgi)
* Move interconnect diagram into the commit text of patch. (Georgi)
* Register the interconnect provider as a platform sub-device. (Georgi)
Changes in V4:
* Add acked TAG on dt-bindings patches. (Rob)
* Declaration of emi_icc_aggregate since the prototype of aggregate function has changed meanwhile. (Georgi)
* Used emi_icc_remove instead of icc_provider_del on probe. (Georgi)
* Add dvfsrc regulator driver into series.
* Bug fixed of mt8183_get_current_level.
* Add mutex protection for pstate operation on dvfsrc_set_performance.
Changes in V3:
* Remove RFC from the subject prefix of the series
* Combine dt-binding patch and move interconnect dt-binding document into dvfsrc. (Rob)
* Remove unused header, add unit descirption to the bandwidth, rename compatible name on interconnect driver. (Georgi)
* Fixed some coding style: check flow, naming, used readx_poll_timeout on dvfsrc driver. (Ryan)
* Rename interconnect driver mt8183.c to mtk-emi.c
* Rename interconnect header mtk,mt8183.h to mtk,emi.h
* mtk-scpsys.c: Add opp table check first to avoid OF runtime parse failed
Changes in RFC V2:
* Remove the DT property dram_type. (Rob)
* Used generic dts property 'opp-level' to get the performace state. (Stephen)
* Remove unecessary dependency config on Kconfig. (Stephen)
* Remove unused header file, fixed some coding style issue, typo, error handling on dvfsrc driver. (Nicolas/Stephen)
* Remove irq handler on dvfsrc driver. (Stephen)
* Remove init table on dvfsrc driver, combine hw init on trustzone.
* Add interconnect support of mt8183 to aggregate the emi bandwidth. (Georgi)
V5: https://patchwork.kernel.org/project/linux-mediatek/list/?series=348065
V4: https://lore.kernel.org/patchwork/cover/1209284/
V3: https://patchwork.kernel.org/cover/11118867/
RFC V2: https://lore.kernel.org/patchwork/patch/1068113/
RFC V1: https://lore.kernel.org/patchwork/cover/1028535/
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v6 1/13 dt-bindings: soc: Add dvfsrc driver bindings
Document the binding for enabling dvfsrc on MediaTek SoC.
--- .../devicetree/bindings/soc/mediatek/dvfsrc.yaml | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/dvfsrc.yaml
Documentation/devicetree/bindings/soc/mediatek/dvfsrc.yaml new file +68 -0
@@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/mediatek/dvfsrc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: MediaTek dynamic voltage and frequency scaling resource collector (DVFSRC) + +description: | + The Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC) is a + HW module which is used to collect all the requests from both software and + hardware and turn into the decision of minimum operating voltage and minimum + DRAM frequency to fulfill those requests. + +maintainers: + - henryc.chen <[email protected]> + +properties: + reg: + description: DVFSRC common register address and length. + + compatible: + enum: + - mediatek,mt6873-dvfsrc + - mediatek,mt8183-dvfsrc + - mediatek,mt8192-dvfsrc + + '#interconnect-cells': + const: 1 + +patternProperties: + dvfsrc-vcore: + type: object + description: + The DVFSRC regulator is modelled as a subdevice of the DVFSRC. + Because DVFSRC can request power directly via register read/write, likes + vcore which is a core power of mt8183. As such, the DVFSRC regulator + requires that DVFSRC nodes be present. + $ref: /schemas/regulator/regulator.yaml# + +required: + - compatible + - reg + - "#interconnect-cells" + +additionalProperties: false + +examples: + - | + #include <dt-bindings/soc/mtk,dvfsrc.h> + #include <dt-bindings/interconnect/mtk,mt8183-emi.h> + + soc { + #address-cells = <2>; + #size-cells = <2>; + + dvfsrc@10012000 { + compatible = "mediatek,mt8183-dvfsrc"; + reg = <0 0x10012000 0 0x1000>; + #interconnect-cells = <1>; + dvfsrc_vcore: dvfsrc-vcore { + regulator-name = "dvfsrc-vcore"; + regulator-min-microvolt = <725000>; + regulator-max-microvolt = <800000>; + regulator-always-on; + }; + }; + };
Signature · 5 lines
1.9.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Rob Herring
maintainerRe: [PATCH V6 01/13] dt-bindings: soc: Add dvfsrc driver bindings
Quoted 8 lines · Henry Chen
Document the binding for enabling dvfsrc on MediaTek SoC.
Signed-off-by Henry Chen <[email protected]>--- .../devicetree/bindings/soc/mediatek/dvfsrc.yaml | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/dvfsrc.yaml
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:Documentation/devicetree/bindings/soc/mediatek/dvfsrc.example.dts:19:18: fatal error: dt-bindings/soc/mtk,dvfsrc.h: No such file or directory
19 | #include <dt-bindings/soc/mtk,dvfsrc.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.lib:342: Documentation/devicetree/bindings/soc/mediatek/dvfsrc.example.dt.yaml] Error 1
make: *** [Makefile:1370: dt_binding_check] Error 2
See https://patchwork.ozlabs.org/patch/1420382
This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit.
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH V6 01/13] dt-bindings: soc: Add dvfsrc driver bindings
Quoted 27 lines · Rob Herring
Quoted 8 lines · Henry Chen
Document the binding for enabling dvfsrc on MediaTek SoC.
Signed-off-by Henry Chen <[email protected]>--- .../devicetree/bindings/soc/mediatek/dvfsrc.yaml | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/dvfsrc.yamlMy bot found errors running 'make
dt_binding_check' on your patch:yamllint warnings/errors:
dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/soc/mediatek/dvfsrc.example.dts:19:18: fatal error:dt-bindings/soc/mtk,dvfsrc.h: No such file or directory
19 | #include <dt-bindings/soc/mtk,dvfsrc.h>| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~compilation terminated.
make[1]: *** [scripts/Makefile.lib:342:Documentation/devicetree/bindings/soc/mediatek/dvfsrc.example.dt.yaml] Error 1
make: *** [Makefile:1370:dt_binding_check] Error 2See https://patchwork.ozlabs.org/patch/1420382
This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.
Quoted 8 lines
If you already ran 'make
dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:pip3 install dtschema --upgrade
Please check and re-submit.
Hi Rob,
Sorry for the check error, I will re-check and submit again.
Thanks,
Henry
PATCH v6 2/13 soc: mediatek: add header for mediatek SIP interface
In reply to Henry ChenFrom: Arvin Wang <[email protected]>
Add a header to collect SIPs and add one SIP call to initialize power management hardware for the SIP interface defined to access the SPM handling vcore voltage and ddr rate changes on mt8183 (and most likely later socs).
--- include/linux/soc/mediatek/mtk_sip_svc.h | 4 ++++ 1 file changed, 4 insertions(+)
include/linux/soc/mediatek/mtk_sip_svc.h +4 -0
@@ -22,4 +22,8 @@ARM_SMCCC_CALL_VAL (ARM_SMCCC_FAST_CALL ,MTK_SIP_SMC_CONVENTION , \ARM_SMCCC_OWNER_SIP , fn_id) +/* VCOREFS */ +#define MTK_SIP_VCOREFS_CONTROL \ + MTK_SIP_SMC_CMD(0x506) +#endif
Signature · 1 line
1.9.1
PATCH v6 3/13 soc: mediatek: add driver for dvfsrc support
In reply to Henry ChenAdd dvfsrc driver for MT6873/MT8183/MT8192
--- drivers/soc/mediatek/Kconfig | 12 + drivers/soc/mediatek/Makefile | 1 + drivers/soc/mediatek/mtk-dvfsrc.c | 538 ++++++++++++++++++++++++++++++++ include/linux/soc/mediatek/mtk_dvfsrc.h | 35 +++ 4 files changed, 586 insertions(+) create mode 100644 drivers/soc/mediatek/mtk-dvfsrc.c create mode 100644 include/linux/soc/mediatek/mtk_dvfsrc.h
drivers/soc/mediatek/Kconfig +12 -0
@@ -17,6 +17,18 @@ config MTK_CMDQ time limitation, such as updating display configuration during the vblank. +config MTK_DVFSRC + tristate "MediaTek DVFSRC Support" + depends on ARCH_MEDIATEK + depends on MTK_SCPSYS + help + Say yes here to add support for the MediaTek DVFSRC (dynamic voltage + and frequency scaling resource collector) found + on different MediaTek SoCs. The DVFSRC is a proprietary + hardware which is used to collect all the requests from + system and turn into the decision of minimum Vcore voltage + and minimum DRAM frequency to fulfill those requests. + config MTK_INFRACFG bool "MediaTek INFRACFG Support" select REGMAP
drivers/soc/mediatek/Makefile +1 -0
@@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only obj-$(CONFIG_MTK_CMDQ) += mtk-cmdq-helper.o +obj-$(CONFIG_MTK_DVFSRC) += mtk-dvfsrc.o obj-$(CONFIG_MTK_INFRACFG) += mtk-infracfg.o obj-$(CONFIG_MTK_PMIC_WRAP) += mtk-pmic-wrap.o obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o
drivers/soc/mediatek/mtk-dvfsrc.c new file +538 -0
538 lines not on this page · raw message
include/linux/soc/mediatek/mtk_dvfsrc.h new file +35 -0
@@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: GPL-2.0 +* +* Copyright (c) 2020 MediaTek Inc. +*/ + +#ifndef __SOC_MTK_DVFSRC_H +#define __SOC_MTK_DVFSRC_H + +#define MTK_DVFSRC_CMD_BW_REQUEST 0 +#define MTK_DVFSRC_CMD_OPP_REQUEST 1 +#define MTK_DVFSRC_CMD_VCORE_REQUEST 2 +#define MTK_DVFSRC_CMD_HRTBW_REQUEST 3 +#define MTK_DVFSRC_CMD_VSCP_REQUEST 4 +#define MTK_DVFSRC_CMD_PEAK_BW_REQUEST 5 + +#define MTK_DVFSRC_CMD_VCORE_LEVEL_QUERY 0 +#define MTK_DVFSRC_CMD_VSCP_LEVEL_QUERY 1 + +#if IS_ENABLED (CONFIG_MTK_DVFSRC ) +void mtk_dvfsrc_send_request (const struct device *dev,u32 cmd,u64 data); +int mtk_dvfsrc_query_info (const struct device *dev,u32 cmd,int *data); + +#else + +static inline void mtk_dvfsrc_send_request (const struct device *dev,u32 cmd, +u64 data) +{return -ENODEV ; } + +static inline int mtk_dvfsrc_query_info (const struct device *dev,u32 cmd, +int *data); +{return -ENODEV ; } + +#endif /* CONFIG_MTK_DVFSRC */ + +#endif
Signature · 5 lines
1.9.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH V6 03/13] soc: mediatek: add driver for dvfsrc support
Hi, Henry:
Henry Chen <[email protected]> 於 2020年12月24日 週四 下午2:09寫道:
Quoted 2 lines
Add dvfsrc driver for MT6873/MT8183/MT8192
Separate this patch for each SoC.
Regards,
Chun-Kuang.
Quoted 11 lines
Signed-off-by Henry Chen <[email protected]>--- drivers/soc/mediatek/Kconfig | 12 + drivers/soc/mediatek/Makefile | 1 + drivers/soc/mediatek/mtk-dvfsrc.c | 538 ++++++++++++++++++++++++++++++++ include/linux/soc/mediatek/mtk_dvfsrc.h | 35 +++ 4 files changed, 586 insertions(+) create mode 100644 drivers/soc/mediatek/mtk-dvfsrc.c create mode 100644 include/linux/soc/mediatek/mtk_dvfsrc.h
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH V6 03/13] soc: mediatek: add driver for dvfsrc support
On Thu, 2020-12-24 at 22:33 +0800, Chun-Kuang Hu wrote:
Hi CK,
Quoted 7 lines
Hi, Henry:
Henry Chen <[email protected]> 於 2020年12月24日 週四 下午2:09寫道:
Quoted 2 lines
Add dvfsrc driver for MT6873/MT8183/MT8192
Separate this patch for each SoC.
OK, thanks.
Henry
Quoted 15 lines
Regards,
Chun-Kuang.Quoted 11 lines
Signed-off-by Henry Chen <[email protected]>--- drivers/soc/mediatek/Kconfig | 12 + drivers/soc/mediatek/Makefile | 1 + drivers/soc/mediatek/mtk-dvfsrc.c | 538 ++++++++++++++++++++++++++++++++ include/linux/soc/mediatek/mtk_dvfsrc.h | 35 +++ 4 files changed, 586 insertions(+) create mode 100644 drivers/soc/mediatek/mtk-dvfsrc.c create mode 100644 include/linux/soc/mediatek/mtk_dvfsrc.h
PATCH v6 4/13 arm64: dts: mt8183: add dvfsrc related nodes
In reply to Henry ChenEnable dvfsrc on mt8183 platform.
--- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +5 -0
@@ -328,6 +328,11 @@ #clock-cells = <1>; }; + ddr_emi: dvfsrc@10012000 { + compatible = "mediatek,mt8183-dvfsrc"; + reg = <0 0x10012000 0 0x1000>; + }; + pwrap: pwrap@1000d000 { compatible = "mediatek,mt8183-pwrap"; reg = <0 0x1000d000 0 0x1000>;
Signature · 1 line
1.9.1
PATCH v6 5/13 arm64: dts: mt8192: add dvfsrc related nodes
In reply to Henry ChenFrom: "henryc.chen" <[email protected]>
Enable dvfsrc on mt8192 platform.
--- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +5 -0
@@ -263,6 +263,11 @@ #clock-cells = <1>; }; + ddr_emi: dvfsrc@10012000 { + compatible = "mediatek,mt8192-dvfsrc"; + reg = <0 0x10012000 0 0x1000>; + }; + systimer: timer@10017000 { compatible = "mediatek,mt8192-timer", "mediatek,mt6765-timer";
Signature · 5 lines
1.9.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v6 6/13 dt-bindings: interconnect: add MT8183 interconnect dt-bindings
In reply to Henry ChenAdd interconnect provider dt-bindings for MT8183.
--- include/dt-bindings/interconnect/mtk,mt8183-emi.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/dt-bindings/interconnect/mtk,mt8183-emi.h
include/dt-bindings/interconnect/mtk,mt8183-emi.h new file +21 -0
@@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0 +* +* Copyright (c) 2020 MediaTek Inc. +*/ + +#ifndef __DT_BINDINGS_INTERCONNECT_MTK_MT8183_EMI_H +#define __DT_BINDINGS_INTERCONNECT_MTK_MT8183_EMI_H + +#define MT8183_SLAVE_DDR_EMI 0 +#define MT8183_MASTER_MCUSYS 1 +#define MT8183_MASTER_GPU 2 +#define MT8183_MASTER_MMSYS 3 +#define MT8183_MASTER_MM_VPU 4 +#define MT8183_MASTER_MM_DISP 5 +#define MT8183_MASTER_MM_VDEC 6 +#define MT8183_MASTER_MM_VENC 7 +#define MT8183_MASTER_MM_CAM 8 +#define MT8183_MASTER_MM_IMG 9 +#define MT8183_MASTER_MM_MDP 10 + +#endif
Signature · 5 lines
1.9.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH V6 06/13] dt-bindings: interconnect: add MT8183 interconnect dt-bindings
Quoted 8 lines · Henry Chen
Add interconnect provider dt-bindings for MT8183.
Signed-off-by Henry Chen <[email protected]>--- include/dt-bindings/interconnect/mtk,mt8183-emi.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/dt-bindings/interconnect/mtk,mt8183-emi.h
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v6 7/13 dt-bindings: interconnect: add MT6873 interconnect dt-bindings
In reply to Henry ChenFrom: "henryc.chen" <[email protected]>
Add interconnect provider dt-bindings for MT6873.
--- include/dt-bindings/interconnect/mtk,mt6873-emi.h | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 include/dt-bindings/interconnect/mtk,mt6873-emi.h
include/dt-bindings/interconnect/mtk,mt6873-emi.h new file +41 -0
@@ -0,0 +1,41 @@ +/* SPDX-License-Identifier: GPL-2.0 +* +* Copyright (c) 2020 MediaTek Inc. +*/ + +#ifndef __DT_BINDINGS_INTERCONNECT_MTK_MT6873_EMI_H +#define __DT_BINDINGS_INTERCONNECT_MTK_MT6873_EMI_H + +#define MT6873_SLAVE_DDR_EMI 0 +#define MT6873_MASTER_MCUSYS 1 +#define MT6873_MASTER_GPUSYS 2 +#define MT6873_MASTER_MMSYS 3 +#define MT6873_MASTER_MM_VPU 4 +#define MT6873_MASTER_MM_DISP 5 +#define MT6873_MASTER_MM_VDEC 6 +#define MT6873_MASTER_MM_VENC 7 +#define MT6873_MASTER_MM_CAM 8 +#define MT6873_MASTER_MM_IMG 9 +#define MT6873_MASTER_MM_MDP 10 +#define MT6873_MASTER_VPUSYS 11 +#define MT6873_MASTER_VPU_0 12 +#define MT6873_MASTER_VPU_1 13 +#define MT6873_MASTER_MDLASYS 14 +#define MT6873_MASTER_MDLA_0 15 +#define MT6873_MASTER_UFS 16 +#define MT6873_MASTER_PCIE 17 +#define MT6873_MASTER_USB 18 +#define MT6873_MASTER_DBGIF 19 +#define MT6873_SLAVE_HRT_DDR_EMI 20 +#define MT6873_MASTER_HRT_MMSYS 21 +#define MT6873_MASTER_HRT_MM_DISP 22 +#define MT6873_MASTER_HRT_MM_VDEC 23 +#define MT6873_MASTER_HRT_MM_VENC 24 +#define MT6873_MASTER_HRT_MM_CAM 25 +#define MT6873_MASTER_HRT_MM_IMG 26 +#define MT6873_MASTER_HRT_MM_MDP 27 +#define MT6873_MASTER_HRT_DBGIF 28 +#define MT6873_MASTER_WIFI 29 +#define MT6873_MASTER_BT 30 +#define MT6873_MASTER_NETSYS 31 +#endif
Signature · 5 lines
1.9.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH V6 07/13] dt-bindings: interconnect: add MT6873 interconnect dt-bindings
Quoted 5 lines · Henry Chen
From: "henryc.chen" <[email protected]>
Add interconnect provider dt-bindings for MT6873.
Signed-off-by Henry Chen <[email protected]>
checkpatch complains:
From:/Signed-off-by: email name mismatch:
'From: "henryc.chen" <[email protected]>' != 'Signed-off-by: Henry Chen <[email protected]>'
Thanks,
Georgi
Quoted 43 lines
--- include/dt-bindings/interconnect/mtk,mt6873-emi.h | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+)create mode 100644
include/dt-bindings/interconnect/mtk,mt6873-emi.hinclude/dt-bindings/interconnect/mtk,mt6873-emi.h new file +31
-0@@ -0,0 +1,41 @@ +/* SPDX-License-Identifier: GPL-2.0 +* +* Copyright (c) 2020 MediaTek Inc. +*/ + +#ifndef __DT_BINDINGS_INTERCONNECT_MTK_MT6873_EMI_H +#define __DT_BINDINGS_INTERCONNECT_MTK_MT6873_EMI_H + +#define MT6873_SLAVE_DDR_EMI 0 +#define MT6873_MASTER_MCUSYS 1 +#define MT6873_MASTER_GPUSYS 2 +#define MT6873_MASTER_MMSYS 3 +#define MT6873_MASTER_MM_VPU 4 +#define MT6873_MASTER_MM_DISP 5 +#define MT6873_MASTER_MM_VDEC 6 +#define MT6873_MASTER_MM_VENC 7 +#define MT6873_MASTER_MM_CAM 8 +#define MT6873_MASTER_MM_IMG 9 +#define MT6873_MASTER_MM_MDP 10 +#define MT6873_MASTER_VPUSYS 11 +#define MT6873_MASTER_VPU_0 12 +#define MT6873_MASTER_VPU_1 13 +#define MT6873_MASTER_MDLASYS 14 +#define MT6873_MASTER_MDLA_0 15 +#define MT6873_MASTER_UFS 16 +#define MT6873_MASTER_PCIE 17 +#define MT6873_MASTER_USB 18 +#define MT6873_MASTER_DBGIF 19 +#define MT6873_SLAVE_HRT_DDR_EMI 20 +#define MT6873_MASTER_HRT_MMSYS 21 +#define MT6873_MASTER_HRT_MM_DISP 22
include/dt-bindings/interconnect/mtk,mt6873-emi.h line 41
Quoted 10 lines
include/dt-bindings/interconnect/mtk,mt6873-emi.h new file +10
-0+#define MT6873_MASTER_HRT_MM_VDEC 23 +#define MT6873_MASTER_HRT_MM_VENC 24 +#define MT6873_MASTER_HRT_MM_CAM 25 +#define MT6873_MASTER_HRT_MM_IMG 26 +#define MT6873_MASTER_HRT_MM_MDP 27 +#define MT6873_MASTER_HRT_DBGIF 28 +#define MT6873_MASTER_WIFI 29 +#define MT6873_MASTER_BT 30 +#define MT6873_MASTER_NETSYS 31 +#endif
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH V6 07/13] dt-bindings: interconnect: add MT6873 interconnect dt-bindings
Quoted 7 lines · Georgi Djakov
Quoted 5 lines · Henry Chen
From: "henryc.chen" <[email protected]>
Add interconnect provider dt-bindings for MT6873.
Signed-off-by Henry Chen <[email protected]>
Quoted 8 lines
checkpatch complains:
From:/Signed-off-by: email name mismatch:
'From: "henryc.chen" <[email protected]>' != 'Signed-off-by: Henry Chen <[email protected]>'Thanks,
Georgi
It will be fixed in the next version.
Thanks,
Henry
Quoted 46 lines
Quoted 46 lines
--- include/dt-bindings/interconnect/mtk,mt6873-emi.h | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+)create mode 100644
include/dt-bindings/interconnect/mtk,mt6873-emi.hinclude/dt-bindings/interconnect/mtk,mt6873-emi.h new file +34
-0@@ -0,0 +1,41 @@ +/* SPDX-License-Identifier: GPL-2.0 +* +* Copyright (c) 2020 MediaTek Inc. +*/ + +#ifndef __DT_BINDINGS_INTERCONNECT_MTK_MT6873_EMI_H +#define __DT_BINDINGS_INTERCONNECT_MTK_MT6873_EMI_H + +#define MT6873_SLAVE_DDR_EMI 0 +#define MT6873_MASTER_MCUSYS 1 +#define MT6873_MASTER_GPUSYS 2 +#define MT6873_MASTER_MMSYS 3 +#define MT6873_MASTER_MM_VPU 4 +#define MT6873_MASTER_MM_DISP 5 +#define MT6873_MASTER_MM_VDEC 6 +#define MT6873_MASTER_MM_VENC 7 +#define MT6873_MASTER_MM_CAM 8 +#define MT6873_MASTER_MM_IMG 9 +#define MT6873_MASTER_MM_MDP 10 +#define MT6873_MASTER_VPUSYS 11 +#define MT6873_MASTER_VPU_0 12 +#define MT6873_MASTER_VPU_1 13 +#define MT6873_MASTER_MDLASYS 14 +#define MT6873_MASTER_MDLA_0 15 +#define MT6873_MASTER_UFS 16 +#define MT6873_MASTER_PCIE 17 +#define MT6873_MASTER_USB 18 +#define MT6873_MASTER_DBGIF 19 +#define MT6873_SLAVE_HRT_DDR_EMI 20 +#define MT6873_MASTER_HRT_MMSYS 21 +#define MT6873_MASTER_HRT_MM_DISP 22 +#define MT6873_MASTER_HRT_MM_VDEC 23 +#define MT6873_MASTER_HRT_MM_VENC 24 +#define MT6873_MASTER_HRT_MM_CAM 25
Quoted 8 lines
include/dt-bindings/interconnect/mtk,mt6873-emi.h line 41
Quoted 8 lines
include/dt-bindings/interconnect/mtk,mt6873-emi.h new file +7
-0+#define MT6873_MASTER_HRT_MM_IMG 26 +#define MT6873_MASTER_HRT_MM_MDP 27 +#define MT6873_MASTER_HRT_DBGIF 28 +#define MT6873_MASTER_WIFI 29 +#define MT6873_MASTER_BT 30 +#define MT6873_MASTER_NETSYS 31 +#endif
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v6 8/13 interconnect: mediatek: Add interconnect provider driver
In reply to Henry ChenIntroduce Mediatek MT6873/MT8183/MT8192 specific provider driver using the interconnect framework.
ICC provider ICC Nodes
---- ----
--------- |CPU | |--- |VPU |
----- | |----- ---- | ----
|DRAM |--|DRAM | ---- | ----
| |--|scheduler|----- |GPU | |--- |DISP|
| |--|(EMI) | ---- | ----
| |--| | ----- | ----
----- | |----- |MMSYS|--|--- |VDEC|
--------- ----- | ----
/|\ | ----
|change DRAM freq |--- |VENC|
---------- | ----
| DVFSR | |
| | | ----
---------- |--- |IMG |
| ----
| ----
|--- |CAM |
------- drivers/interconnect/Kconfig | 1 + drivers/interconnect/Makefile | 1 + drivers/interconnect/mediatek/Kconfig | 13 ++ drivers/interconnect/mediatek/Makefile | 3 + drivers/interconnect/mediatek/mtk-emi.c | 330 ++++++++++++++++++++++++++++++++ 5 files changed, 348 insertions(+) create mode 100644 drivers/interconnect/mediatek/Kconfig create mode 100644 drivers/interconnect/mediatek/Makefile create mode 100644 drivers/interconnect/mediatek/mtk-emi.c
drivers/interconnect/Kconfig +1 -0
@@ -13,5 +13,6 @@ if INTERCONNECT source "drivers/interconnect/imx/Kconfig" source "drivers/interconnect/qcom/Kconfig" +source "drivers/interconnect/mediatek/Kconfig" endif
drivers/interconnect/Makefile +1 -0
@@ -6,3 +6,4 @@ icc-core-objs := core.o bulk.o obj-$(CONFIG_INTERCONNECT) += icc-core.o obj-$(CONFIG_INTERCONNECT_IMX) += imx/ obj-$(CONFIG_INTERCONNECT_QCOM) += qcom/ +obj-$(CONFIG_INTERCONNECT_MTK) += mediatek/
drivers/interconnect/mediatek/Kconfig new file +13 -0
@@ -0,0 +1,13 @@ +config INTERCONNECT_MTK + bool "Mediatek Network-on-Chip interconnect drivers" + depends on ARCH_MEDIATEK + help + Support for Mediatek's Network-on-Chip interconnect hardware. + +config INTERCONNECT_MTK_EMI + tristate "Mediatek EMI interconnect driver" + depends on INTERCONNECT_MTK + depends on (MTK_DVFSRC && OF) + help + This is a driver for the Mediatek Network-on-Chip on DVFSRC-based + platforms.
drivers/interconnect/mediatek/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_INTERCONNECT_MTK_EMI) += mtk-emi.o
drivers/interconnect/mediatek/mtk-emi.c new file +330 -0
330 lines not on this page · raw message
Signature · 1 line
1.9.1
Re: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driver
Quoted 41 lines · Henry Chen
Introduce Mediatek MT6873/MT8183/MT8192 specific provider driver using the interconnect framework.
ICC provider ICC Nodes ---- ---- --------- |CPU | |--- |VPU | ----- | |----- ---- | ---- |DRAM |--|DRAM | ---- | ---- | |--|scheduler|----- |GPU | |--- |DISP| | |--|(EMI) | ---- | ---- | |--| | ----- | ---- ----- | |----- |MMSYS|--|--- |VDEC| --------- ----- | ---- /|\ | ---- |change DRAM freq |--- |VENC| ---------- | ---- | DVFSR | | | | | ---- ---------- |--- |IMG | | ---- | ---- |--- |CAM | ----Signed-off-by Henry Chen <[email protected]>--- drivers/interconnect/Kconfig | 1 + drivers/interconnect/Makefile | 1 + drivers/interconnect/mediatek/Kconfig | 13 ++ drivers/interconnect/mediatek/Makefile | 3 + drivers/interconnect/mediatek/mtk-emi.c | 330 ++++++++++++++++++++++++++++++++ 5 files changed, 348 insertions(+)create mode 100644
drivers/interconnect/mediatek/Kconfigcreate mode 100644drivers/interconnect/mediatek/Makefilecreate mode 100644drivers/interconnect/mediatek/mtk-emi.cdrivers/interconnect/Kconfig +0
-0
drivers/interconnect/Kconfig if INTERCONNECT · line 16
Quoted 4 lines
drivers/interconnect/Kconfig +1
-0@@ -13,5 +13,6 @@ if INTERCONNECT source "drivers/interconnect/imx/Kconfig" source "drivers/interconnect/qcom/Kconfig" +source "drivers/interconnect/mediatek/Kconfig"
Sort alphabetically please.
drivers/interconnect/Makefile icc-core-objs := core.o bulk.o · line 9
Quoted 11 lines
drivers/interconnect/Kconfig +0
-0endifdrivers/interconnect/Makefile +1
-0@@ -6,3 +6,4 @@ icc-core-objs := core.o bulk.o obj-$(CONFIG_INTERCONNECT) += icc-core.o obj-$(CONFIG_INTERCONNECT_IMX) += imx/ obj-$(CONFIG_INTERCONNECT_QCOM) += qcom/ +obj-$(CONFIG_INTERCONNECT_MTK) += mediatek/
Ditto.
Quoted 6 lines
drivers/interconnect/mediatek/Kconfig new file +0
-0
drivers/interconnect/mediatek/Kconfig line 10
Quoted 10 lines
drivers/interconnect/mediatek/Kconfig new file +10
-0@@ -0,0 +1,13 @@ +config INTERCONNECT_MTK + bool "Mediatek Network-on-Chip interconnect drivers" + depends on ARCH_MEDIATEK + help + Support for Mediatek's Network-on-Chip interconnect hardware. + +config INTERCONNECT_MTK_EMI + tristate "Mediatek EMI interconnect driver" + depends on INTERCONNECT_MTK + depends on (MTK_DVFSRC && OF)
Would it be possible to enable COMPILE_TEST?
Quoted 19 lines
drivers/interconnect/mediatek/Kconfig new file +3
-0+ help + This is a driver for the Mediatek Network-on-Chip on DVFSRC-based + platforms.drivers/interconnect/mediatek/Makefile new file +3
-0@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_INTERCONNECT_MTK_EMI) += mtk-emi.odrivers/interconnect/mediatek/mtk-emi.c new file +0
-0
drivers/interconnect/mediatek/mtk-emi.c line 3
Quoted 3 lines
drivers/interconnect/mediatek/mtk-emi.c new file +3
-0@@ -0,0 +1,330 @@ +// SPDX-License-Identifier: GPL-2.0 +/* +* Copyright (c) 2020, The Linux Foundation. All rights reserved.
Just a reminder that the year should be updated when you re-submit.
drivers/interconnect/mediatek/mtk-emi.c line 14
Quoted 11 lines
drivers/interconnect/mediatek/mtk-emi.c new file +11
-0+* +*/ + +#include <linux/device.h> +#include <linux/interconnect-provider.h> +#include <linux/module.h> +#include <linux/of_device.h> +#include <linux/platform_device.h> +#include <linux/soc/mediatek/mtk_dvfsrc.h> +#include <dt-bindings/interconnect/mtk,mt8183-emi.h> +#include <dt-bindings/interconnect/mtk,mt6873-emi.h>
Nit: Alphanumeric order please.
[..]
Quoted 59 lines
drivers/interconnect/mediatek/mtk-emi.c new file +59
-0+static int emi_icc_remove (struct platform_device *pdev); +static int emi_icc_probe (struct platform_device *pdev) +{ +const struct of_device_id *match; +const struct mtk_icc_desc *desc; +struct device *dev = &pdev->dev; +struct icc_node *node; +struct icc_onecell_data *data; +struct icc_provider *provider; +struct mtk_icc_node **mnodes; +size_t num_nodes, i, j; +int ret; + + match =of_match_node (emi_icc_of_match, dev->parent->of_node); + +if (!match) { +dev_err (dev,"invalid compatible string\n" ); +return -ENODEV ; + } + + desc = match->data; + mnodes = desc->nodes; + num_nodes = desc->num_nodes; + + provider =devm_kzalloc (dev,sizeof (*provider),GFP_KERNEL ); +if (!provider) +return -ENOMEM ; + + data =devm_kzalloc (dev,struct_size (data, nodes, num_nodes), +GFP_KERNEL ); +if (!data) +return -ENOMEM ; + + provider->dev = pdev->dev.parent; + provider->set = emi_icc_set; + provider->aggregate = emi_icc_aggregate; + provider->xlate = of_icc_xlate_onecell; +INIT_LIST_HEAD (&provider->nodes); + provider->data = data; + + ret =icc_provider_add (provider); +if (ret) { +dev_err (&pdev->dev,"error adding interconnect provider\n" ); +return ret; + } + +for (i =0 ; i < num_nodes; i++) { + node =icc_node_create (mnodes[i]->id); +if (IS_ERR (node)) { + ret =PTR_ERR (node); + goto err; + } + + node->name = mnodes[i]->name; + node->data = mnodes[i]; +icc_node_add (node, provider); + +for (j =0 ; j < mnodes[i]->num_links; j++) +icc_link_create (node, mnodes[i]->links[j]);
drivers/interconnect/mediatek/mtk-emi.c line 297
Quoted 10 lines
drivers/interconnect/mediatek/mtk-emi.c new file +10
-0+ + data->nodes[i] = node; + } + data->num_nodes = num_nodes; + +platform_set_drvdata (pdev, provider); + +return 0 ; +err: +icc_nodes_remove (provider);
Also call icc_provider_del() to restore the original state on error.
Thanks,
Georgi
drivers/interconnect/mediatek/mtk-emi.c line 308
Quoted 11 lines
drivers/interconnect/mediatek/mtk-emi.c new file +11
-0+return ret; +} + +static int emi_icc_remove (struct platform_device *pdev) +{ +struct icc_provider *provider =platform_get_drvdata (pdev); + +icc_nodes_remove (provider); +return icc_provider_del (provider); +} +
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driver
Quoted 43 lines · Georgi Djakov
Quoted 42 lines · Henry Chen
Introduce Mediatek MT6873/MT8183/MT8192 specific provider driver using the interconnect framework.
ICC provider ICC Nodes ---- ---- --------- |CPU | |--- |VPU | ----- | |----- ---- | ---- |DRAM |--|DRAM | ---- | ---- | |--|scheduler|----- |GPU | |--- |DISP| | |--|(EMI) | ---- | ---- | |--| | ----- | ---- ----- | |----- |MMSYS|--|--- |VDEC| --------- ----- | ---- /|\ | ---- |change DRAM freq |--- |VENC| ---------- | ---- | DVFSR | | | | | ---- ---------- |--- |IMG | | ---- | ---- |--- |CAM | ----Signed-off-by Henry Chen <[email protected]>--- drivers/interconnect/Kconfig | 1 + drivers/interconnect/Makefile | 1 + drivers/interconnect/mediatek/Kconfig | 13 ++ drivers/interconnect/mediatek/Makefile | 3 + drivers/interconnect/mediatek/mtk-emi.c | 330 ++++++++++++++++++++++++++++++++ 5 files changed, 348 insertions(+)create mode 100644
drivers/interconnect/mediatek/Kconfigcreate mode 100644drivers/interconnect/mediatek/Makefilecreate mode 100644drivers/interconnect/mediatek/mtk-emi.cdrivers/interconnect/Kconfig +0
-0@@ -13,5 +13,6 @@ if INTERCONNECT
Quoted 5 lines
drivers/interconnect/Kconfig if INTERCONNECT · line 16
Quoted 3 lines
drivers/interconnect/Kconfig +1
-0source "drivers/interconnect/imx/Kconfig" source "drivers/interconnect/qcom/Kconfig" +source "drivers/interconnect/mediatek/Kconfig"Sort alphabetically please.
Ok
Quoted 14 lines
drivers/interconnect/Makefile icc-core-objs := core.o bulk.o · line 9
Quoted 12 lines
drivers/interconnect/Kconfig +0
-0endifdrivers/interconnect/Makefile +1
-0@@ -6,3 +6,4 @@ icc-core-objs := core.o bulk.o obj-$(CONFIG_INTERCONNECT) += icc-core.o obj-$(CONFIG_INTERCONNECT_IMX) += imx/ obj-$(CONFIG_INTERCONNECT_QCOM) += qcom/ +obj-$(CONFIG_INTERCONNECT_MTK) += mediatek/Ditto.
Ok
Quoted 11 lines
Quoted 11 lines
drivers/interconnect/mediatek/Kconfig new file +4
-0@@ -0,0 +1,13 @@ +config INTERCONNECT_MTK + bool "Mediatek Network-on-Chip interconnect drivers" + depends on ARCH_MEDIATEK + help
Quoted 8 lines
drivers/interconnect/mediatek/Kconfig line 10
Quoted 6 lines
drivers/interconnect/mediatek/Kconfig new file +6
-0+ Support for Mediatek's Network-on-Chip interconnect hardware. + +config INTERCONNECT_MTK_EMI + tristate "Mediatek EMI interconnect driver" + depends on INTERCONNECT_MTK + depends on (MTK_DVFSRC && OF)Would it be possible to enable
COMPILE_TEST?
Do you means change to "depends on (MTK_DVFSRC && OF) || COMPILE_TEST" ?
Quoted 17 lines
Quoted 17 lines
drivers/interconnect/mediatek/Kconfig new file +3
-0+ help + This is a driver for the Mediatek Network-on-Chip on DVFSRC-based + platforms.drivers/interconnect/mediatek/Makefile new file +3
-0@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_INTERCONNECT_MTK_EMI) += mtk-emi.odrivers/interconnect/mediatek/mtk-emi.c new file +0
-0
Quoted 8 lines
drivers/interconnect/mediatek/mtk-emi.c line 3
Quoted 6 lines
drivers/interconnect/mediatek/mtk-emi.c new file +3
-0@@ -0,0 +1,330 @@ +// SPDX-License-Identifier: GPL-2.0 +/* +* Copyright (c) 2020, The Linux Foundation. All rights reserved. Just a reminder that the year should be updated when you re-submit.
OK, thanks for reminding me.
Quoted 14 lines
drivers/interconnect/mediatek/mtk-emi.c line 14
Quoted 12 lines
drivers/interconnect/mediatek/mtk-emi.c new file +11
-0+* +*/ + +#include <linux/device.h> +#include <linux/interconnect-provider.h> +#include <linux/module.h> +#include <linux/of_device.h> +#include <linux/platform_device.h> +#include <linux/soc/mediatek/mtk_dvfsrc.h> +#include <dt-bindings/interconnect/mtk,mt8183-emi.h> +#include <dt-bindings/interconnect/mtk,mt6873-emi.h> Nit: Alphanumeric order please.
OK.
Quoted 65 lines
[..]
Quoted 63 lines
drivers/interconnect/mediatek/mtk-emi.c new file +63
-0+static int emi_icc_remove (struct platform_device *pdev); +static int emi_icc_probe (struct platform_device *pdev) +{ +const struct of_device_id *match; +const struct mtk_icc_desc *desc; +struct device *dev = &pdev->dev; +struct icc_node *node; +struct icc_onecell_data *data; +struct icc_provider *provider; +struct mtk_icc_node **mnodes; +size_t num_nodes, i, j; +int ret; + + match =of_match_node (emi_icc_of_match, dev->parent->of_node); + +if (!match) { +dev_err (dev,"invalid compatible string\n" ); +return -ENODEV ; + } + + desc = match->data; + mnodes = desc->nodes; + num_nodes = desc->num_nodes; + + provider =devm_kzalloc (dev,sizeof (*provider),GFP_KERNEL ); +if (!provider) +return -ENOMEM ; + + data =devm_kzalloc (dev,struct_size (data, nodes, num_nodes), +GFP_KERNEL ); +if (!data) +return -ENOMEM ; + + provider->dev = pdev->dev.parent; + provider->set = emi_icc_set; + provider->aggregate = emi_icc_aggregate; + provider->xlate = of_icc_xlate_onecell; +INIT_LIST_HEAD (&provider->nodes); + provider->data = data; + + ret =icc_provider_add (provider); +if (ret) { +dev_err (&pdev->dev,"error adding interconnect provider\n" ); +return ret; + } + +for (i =0 ; i < num_nodes; i++) { + node =icc_node_create (mnodes[i]->id); +if (IS_ERR (node)) { + ret =PTR_ERR (node); + goto err; + } + + node->name = mnodes[i]->name; + node->data = mnodes[i]; +icc_node_add (node, provider); + +for (j =0 ; j < mnodes[i]->num_links; j++) +icc_link_create (node, mnodes[i]->links[j]); + + data->nodes[i] = node; + } + data->num_nodes = num_nodes;
Quoted 8 lines
drivers/interconnect/mediatek/mtk-emi.c line 297
Quoted 6 lines
drivers/interconnect/mediatek/mtk-emi.c new file +6
-0+ +platform_set_drvdata (pdev, provider); + +return 0 ; +err: +icc_nodes_remove (provider);Also call
icc_provider_del()to restore the original state on error.
OK.
Thanks,
Henry
Quoted 4 lines
Thanks,
Georgi
Quoted 11 lines
drivers/interconnect/mediatek/mtk-emi.c line 308
Quoted 11 lines
drivers/interconnect/mediatek/mtk-emi.c new file +11
-0+return ret; +} + +static int emi_icc_remove (struct platform_device *pdev) +{ +struct icc_provider *provider =platform_get_drvdata (pdev); + +icc_nodes_remove (provider); +return icc_provider_del (provider); +} +
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driver
Quoted 84 lines · Henry Chen
Quoted 43 lines · Georgi Djakov
Quoted 42 lines · Henry Chen
Introduce Mediatek MT6873/MT8183/MT8192 specific provider driver using the interconnect framework.
ICC provider ICC Nodes ---- ---- --------- |CPU | |--- |VPU | ----- | |----- ---- | ---- |DRAM |--|DRAM | ---- | ---- | |--|scheduler|----- |GPU | |--- |DISP| | |--|(EMI) | ---- | ---- | |--| | ----- | ---- ----- | |----- |MMSYS|--|--- |VDEC| --------- ----- | ---- /|\ | ---- |change DRAM freq |--- |VENC| ---------- | ---- | DVFSR | | | | | ---- ---------- |--- |IMG | | ---- | ---- |--- |CAM | ----Signed-off-by Henry Chen <[email protected]>--- drivers/interconnect/Kconfig | 1 + drivers/interconnect/Makefile | 1 + drivers/interconnect/mediatek/Kconfig | 13 ++ drivers/interconnect/mediatek/Makefile | 3 + drivers/interconnect/mediatek/mtk-emi.c | 330 ++++++++++++++++++++++++++++++++ 5 files changed, 348 insertions(+)create mode 100644
drivers/interconnect/mediatek/Kconfigcreate mode 100644drivers/interconnect/mediatek/Makefilecreate mode 100644drivers/interconnect/mediatek/mtk-emi.cdrivers/interconnect/Kconfig +0
-0@@ -13,5 +13,6 @@ if INTERCONNECTQuoted 5 lines
drivers/interconnect/Kconfig if INTERCONNECT · line 16
Quoted 3 lines
drivers/interconnect/Kconfig +1
-0source "drivers/interconnect/imx/Kconfig" source "drivers/interconnect/qcom/Kconfig" +source "drivers/interconnect/mediatek/Kconfig"Sort alphabetically please.
Ok
Quoted 14 lines
drivers/interconnect/Makefile icc-core-objs := core.o bulk.o · line 9
Quoted 12 lines
drivers/interconnect/Kconfig +0
-0endifdrivers/interconnect/Makefile +1
-0@@ -6,3 +6,4 @@ icc-core-objs := core.o bulk.o obj-$(CONFIG_INTERCONNECT) += icc-core.o obj-$(CONFIG_INTERCONNECT_IMX) += imx/ obj-$(CONFIG_INTERCONNECT_QCOM) += qcom/ +obj-$(CONFIG_INTERCONNECT_MTK) += mediatek/Ditto.
Ok
Quoted 11 lines
Quoted 11 lines
drivers/interconnect/mediatek/Kconfig new file +4
-0@@ -0,0 +1,13 @@ +config INTERCONNECT_MTK + bool "Mediatek Network-on-Chip interconnect drivers" + depends on ARCH_MEDIATEK + helpQuoted 8 lines
drivers/interconnect/mediatek/Kconfig line 10
Quoted 6 lines
drivers/interconnect/mediatek/Kconfig new file +6
-0+ Support for Mediatek's Network-on-Chip interconnect hardware. + +config INTERCONNECT_MTK_EMI + tristate "Mediatek EMI interconnect driver" + depends on INTERCONNECT_MTK + depends on (MTK_DVFSRC && OF)Would it be possible to enable
COMPILE_TEST?
Quoted 1 line
Do you means change to "depends on (
MTK_DVFSRC&& OF) ||COMPILE_TEST" ?
Yeah, there is a stub for mtk_dvfsrc_send_request(). Maybe we could even change it for INTERCONNECT_MTK to something like:
depends on ARCH_MEDIATEK || COMPILE_TEST
Will this work?
Thanks,
Georgi
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
RE: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driver
Quoted 99 lines
-----Original Message-----
From: Georgi Djakov [mailto:[email protected]]
Sent: Wednesday, January 06, 2021 4:14 PM
To: HenryC Chen (陳建豪)
Cc: Rob Herring; Matthias Brugger; Stephen Boyd; Ryan Case; Mark Brown; Mark Rutland; Nicolas Boichat; Fan Chen (陳凡); JamesJJ Liao (廖建智); Arvin Wang (王志銘); [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driverQuoted 26 lines · Henry Chen
Quoted 25 lines · Georgi Djakov
Quoted 24 lines · Henry Chen
Introduce Mediatek MT6873/MT8183/MT8192 specific provider driver using the interconnect framework.
ICC provider ICC Nodes ---- ---- --------- |CPU | |--- |VPU | ----- | |----- ---- | ---- |DRAM |--|DRAM | ---- | ---- | |--|scheduler|----- |GPU | |--- |DISP| | |--|(EMI) | ---- | ---- | |--| | ----- | ---- ----- | |----- |MMSYS|--|--- |VDEC| --------- ----- | ---- /|\ | ---- |change DRAM freq |--- |VENC| ---------- | ---- | DVFSR | | | | | ---- ---------- |--- |IMG | | ---- | ---- |--- |CAM | ----Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Signed-off-by Henry Chen <[email protected]>--- drivers/interconnect/Kconfig | 1 + drivers/interconnect/Makefile | 1 + drivers/interconnect/mediatek/Kconfig | 13 ++ drivers/interconnect/mediatek/Makefile | 3 + drivers/interconnect/mediatek/mtk-emi.c | 330++++++++++++++++++++++++++++++++
Quoted 52 lines
Quoted 11 lines
Quoted 11 lines
5 files changed, 348 insertions(+)create mode 100644
drivers/interconnect/mediatek/Kconfigcreate mode 100644drivers/interconnect/mediatek/Makefilecreate mode 100644drivers/interconnect/mediatek/mtk-emi.c(quoted diff) +0
-0b/drivers/interconnect/Kconfig index 5b7204e..e939f5a 100644
drivers/interconnect/Kconfig +0
-0@@ -13,5 +13,6 @@ if INTERCONNECTQuoted 5 lines
drivers/interconnect/Kconfig if INTERCONNECT · line 16
Quoted 3 lines
drivers/interconnect/Kconfig +1
-0source "drivers/interconnect/imx/Kconfig" source "drivers/interconnect/qcom/Kconfig" +source "drivers/interconnect/mediatek/Kconfig"Sort alphabetically please.
Ok
Quoted 14 lines
drivers/interconnect/Makefile icc-core-objs := core.o bulk.o · line 9
Quoted 12 lines
drivers/interconnect/Kconfig +0
-0endif(quoted diff) +0
-0b/drivers/interconnect/Makefile index d203520..0643a24 100644
drivers/interconnect/Makefile +1
-0@@ -6,3 +6,4 @@ icc-core-objs := core.o bulk.o obj-$(CONFIG_INTERCONNECT) += icc-core.o obj-$(CONFIG_INTERCONNECT_IMX) += imx/ obj-$(CONFIG_INTERCONNECT_QCOM) += qcom/ +obj-$(CONFIG_INTERCONNECT_MTK) += mediatek/Ditto.
Ok
Quoted 20 lines
Quoted 8 lines
drivers/interconnect/mediatek/Kconfig new file +0
-0drivers/interconnect/mediatek/Kconfig line 10
Quoted 10 lines
drivers/interconnect/mediatek/Kconfig new file +10
-0@@ -0,0 +1,13 @@ +config INTERCONNECT_MTK + bool "Mediatek Network-on-Chip interconnect drivers" + depends on ARCH_MEDIATEK + help + Support for Mediatek's Network-on-Chip interconnect hardware. + +config INTERCONNECT_MTK_EMI + tristate "Mediatek EMI interconnect driver" + depends on INTERCONNECT_MTK + depends on (MTK_DVFSRC && OF)Would it be possible to enable
COMPILE_TEST?
Quoted 5 lines
Quoted 1 line
Do you means change to "depends on (
MTK_DVFSRC&& OF) ||COMPILE_TEST" ?Yeah, there is a stub for
mtk_dvfsrc_send_request(). Maybe we could even change it forINTERCONNECT_MTKto something like:depends on ARCH_MEDIATEK || COMPILE_TEST Will this work?
Hi Georgi,
So..only change to as following?
config INTERCONNECT_MTK
bool "Mediatek Network-on-Chip interconnect drivers" depends on ARCH_MEDIATEK || COMPILE_TEST
help
Support for Mediatek's Network-on-Chip interconnect hardware.
Quoted 3 lines
Thanks,
Georgi
Re: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driver
Quoted 106 lines · HenryC Chen (陳建豪)
Quoted 99 lines
-----Original Message-----
From: Georgi Djakov [mailto:[email protected]]
Sent: Wednesday, January 06, 2021 4:14 PM
To: HenryC Chen (陳建豪)
Cc: Rob Herring; Matthias Brugger; Stephen Boyd; Ryan Case; Mark Brown; Mark Rutland; Nicolas Boichat; Fan Chen (陳凡); JamesJJ Liao (廖建智); Arvin Wang (王志銘); [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driverQuoted 26 lines · Henry Chen
Quoted 25 lines · Georgi Djakov
Quoted 24 lines · Henry Chen
Introduce Mediatek MT6873/MT8183/MT8192 specific provider driver using the interconnect framework.
ICC provider ICC Nodes ---- ---- --------- |CPU | |--- |VPU | ----- | |----- ---- | ---- |DRAM |--|DRAM | ---- | ---- | |--|scheduler|----- |GPU | |--- |DISP| | |--|(EMI) | ---- | ---- | |--| | ----- | ---- ----- | |----- |MMSYS|--|--- |VDEC| --------- ----- | ---- /|\ | ---- |change DRAM freq |--- |VENC| ---------- | ---- | DVFSR | | | | | ---- ---------- |--- |IMG | | ---- | ---- |--- |CAM | ----Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Signed-off-by Henry Chen <[email protected]>--- drivers/interconnect/Kconfig | 1 + drivers/interconnect/Makefile | 1 + drivers/interconnect/mediatek/Kconfig | 13 ++ drivers/interconnect/mediatek/Makefile | 3 + drivers/interconnect/mediatek/mtk-emi.c | 330++++++++++++++++++++++++++++++++
Quoted 52 lines
Quoted 11 lines
Quoted 11 lines
5 files changed, 348 insertions(+)create mode 100644
drivers/interconnect/mediatek/Kconfigcreate mode 100644drivers/interconnect/mediatek/Makefilecreate mode 100644drivers/interconnect/mediatek/mtk-emi.c(quoted diff) +0
-0b/drivers/interconnect/Kconfig index 5b7204e..e939f5a 100644
drivers/interconnect/Kconfig +0
-0@@ -13,5 +13,6 @@ if INTERCONNECTQuoted 5 lines
drivers/interconnect/Kconfig if INTERCONNECT · line 16
Quoted 3 lines
drivers/interconnect/Kconfig +1
-0source "drivers/interconnect/imx/Kconfig" source "drivers/interconnect/qcom/Kconfig" +source "drivers/interconnect/mediatek/Kconfig"Sort alphabetically please.
Ok
Quoted 14 lines
drivers/interconnect/Makefile icc-core-objs:= core.o bulk.o · line 9
Quoted 12 lines
drivers/interconnect/Kconfig +0
-0endif(quoted diff) +0
-0b/drivers/interconnect/Makefile index d203520..0643a24 100644
drivers/interconnect/Makefile +1
-0@@ -6,3 +6,4 @@ icc-core-objs:= core.o bulk.o obj-$(CONFIG_INTERCONNECT)+= icc-core.o obj-$(CONFIG_INTERCONNECT_IMX)+= imx/ obj-$(CONFIG_INTERCONNECT_QCOM)+= qcom/ +obj-$(CONFIG_INTERCONNECT_MTK)+= mediatek/Ditto.
Ok
Quoted 20 lines
Quoted 8 lines
drivers/interconnect/mediatek/Kconfig new file +0
-0drivers/interconnect/mediatek/Kconfig line 10
Quoted 10 lines
drivers/interconnect/mediatek/Kconfig new file +10
-0@@ -0,0 +1,13 @@ +config INTERCONNECT_MTK +bool "Mediatek Network-on-Chip interconnect drivers" +depends on ARCH_MEDIATEK +help + Support for Mediatek's Network-on-Chip interconnect hardware. + +config INTERCONNECT_MTK_EMI +tristate "Mediatek EMI interconnect driver" +depends on INTERCONNECT_MTK +depends on (MTK_DVFSRC && OF)Would it be possible to enable
COMPILE_TEST?Quoted 5 lines
Quoted 1 line
Do you means change to "depends on (
MTK_DVFSRC&& OF) ||COMPILE_TEST" ?Yeah, there is a stub for
mtk_dvfsrc_send_request(). Maybe we could even change it forINTERCONNECT_MTKto something like:
depends onARCH_MEDIATEK||COMPILE_TESTWill this work?Hi Georgi,
Quoted 7 lines
So..only change to as following?
config
INTERCONNECT_MTK
bool "Mediatek Network-on-Chip interconnect drivers" depends onARCH_MEDIATEK||COMPILE_TEST
help
Support for Mediatek's Network-on-Chip interconnect hardware.
I would say to add COMPILE_TEST for both INTERCONNECT_MTK and INTERCONNECT_MTK_EMI, unless there is some dependency which does not allow us to do so.
Thanks,
Georgi
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
RE: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driver
Quoted 125 lines
-----Original Message-----
From: Georgi Djakov [mailto:[email protected]]
Sent: Wednesday, January 06, 2021 8:50 PM
To: HenryC Chen (陳建豪)
Cc: Rob Herring; Matthias Brugger; Stephen Boyd; Ryan Case; Mark Brown; Mark Rutland; Nicolas Boichat; Fan Chen (陳凡); JamesJJ Liao (廖建智); Arvin Wang (王志銘); [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driverQuoted 110 lines · HenryC Chen (陳建豪)
Quoted 101 lines
-----Original Message-----
From: Georgi Djakov [mailto:[email protected]]
Sent: Wednesday, January 06, 2021 4:14 PM
To: HenryC Chen (陳建豪)
Cc: Rob Herring; Matthias Brugger; Stephen Boyd; Ryan Case; Mark Brown; Mark Rutland; Nicolas Boichat; Fan Chen (陳凡); JamesJJ Liao (廖建智); Arvin Wang
(王志銘); [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH V6 08/13] interconnect: mediatek: Add interconnect provider driverQuoted 26 lines · Henry Chen
Quoted 25 lines · Georgi Djakov
Quoted 24 lines · Henry Chen
Introduce Mediatek MT6873/MT8183/MT8192 specific provider driver using the interconnect framework.
ICC provider ICC Nodes ---- ---- --------- |CPU | |--- |VPU | ----- | |----- ---- | ---- |DRAM |--|DRAM | ---- | ---- | |--|scheduler|----- |GPU | |--- |DISP| | |--|(EMI) | ---- | ---- | |--| | ----- | ---- ----- | |----- |MMSYS|--|--- |VDEC| --------- ----- | ---- /|\ | ---- |change DRAM freq |--- |VENC| ---------- | ---- | DVFSR | | | | | ---- ---------- |--- |IMG | | ---- | ---- |--- |CAM | ----Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Signed-off-by Henry Chen <[email protected]>--- drivers/interconnect/Kconfig | 1 + drivers/interconnect/Makefile | 1 + drivers/interconnect/mediatek/Kconfig | 13 ++ drivers/interconnect/mediatek/Makefile | 3 + drivers/interconnect/mediatek/mtk-emi.c | 330++++++++++++++++++++++++++++++++
Quoted 52 lines
Quoted 11 lines
Quoted 11 lines
5 files changed, 348 insertions(+)create mode 100644
drivers/interconnect/mediatek/Kconfigcreate mode 100644drivers/interconnect/mediatek/Makefilecreate mode 100644drivers/interconnect/mediatek/mtk-emi.c(quoted diff) +0
-0b/drivers/interconnect/Kconfig index 5b7204e..e939f5a 100644
drivers/interconnect/Kconfig +0
-0@@ -13,5 +13,6 @@ if INTERCONNECTQuoted 5 lines
drivers/interconnect/Kconfig if INTERCONNECT · line 16
Quoted 3 lines
drivers/interconnect/Kconfig +1
-0source "drivers/interconnect/imx/Kconfig" source "drivers/interconnect/qcom/Kconfig" +source "drivers/interconnect/mediatek/Kconfig"Sort alphabetically please.
Ok
Quoted 14 lines
drivers/interconnect/Makefile icc-core-objs:= core.o bulk.o · line 9
Quoted 12 lines
drivers/interconnect/Kconfig +0
-0endif(quoted diff) +0
-0b/drivers/interconnect/Makefile index d203520..0643a24 100644
drivers/interconnect/Makefile +1
-0@@ -6,3 +6,4 @@ icc-core-objs:= core.o bulk.o obj-$(CONFIG_INTERCONNECT)+= icc-core.o obj-$(CONFIG_INTERCONNECT_IMX)+= imx/ obj-$(CONFIG_INTERCONNECT_QCOM)+= qcom/ +obj-$(CONFIG_INTERCONNECT_MTK)+= mediatek/Ditto.
Ok
Quoted 20 lines
Quoted 8 lines
drivers/interconnect/mediatek/Kconfig new file +0
-0drivers/interconnect/mediatek/Kconfig line 10
Quoted 10 lines
drivers/interconnect/mediatek/Kconfig new file +10
-0@@ -0,0 +1,13 @@ +config INTERCONNECT_MTK +bool "Mediatek Network-on-Chip interconnect drivers" +depends on ARCH_MEDIATEK +help + Support for Mediatek's Network-on-Chip interconnect hardware. + +config INTERCONNECT_MTK_EMI +tristate "Mediatek EMI interconnect driver" +depends on INTERCONNECT_MTK +depends on (MTK_DVFSRC && OF)Would it be possible to enable
COMPILE_TEST?Quoted 5 lines
Quoted 1 line
Do you means change to "depends on (
MTK_DVFSRC&& OF) ||COMPILE_TEST" ?Yeah, there is a stub for
mtk_dvfsrc_send_request(). Maybe we could even change it forINTERCONNECT_MTKto something like:
depends onARCH_MEDIATEK||COMPILE_TESTWill this work?Hi Georgi,
So..only change to as following?
Quoted 8 lines
Quoted 4 lines
config
INTERCONNECT_MTK
bool "Mediatek Network-on-Chip interconnect drivers" depends onARCH_MEDIATEK||COMPILE_TESThelp
Support for Mediatek's Network-on-Chip interconnect hardware.I would say to add
COMPILE_TESTfor bothINTERCONNECT_MTKandINTERCONNECT_MTK_EMI, unless there is some dependency which does not allow us to do so.
Understood, thanks.
Quoted 3 lines
Thanks,
Georgi
PATCH v6 9/13 arm64: dts: mt8183: add dvfsrc related nodes
In reply to Henry ChenAdd DDR EMI provider dictating dram interconnect bus performance found on MT8183-based platforms
--- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +2 -0
@@ -11,6 +11,7 @@ #include <dt-bindings/reset-controller/mt8183-resets.h> #include <dt-bindings/phy/phy.h> #include "mt8183-pinfunc.h" +#include <dt-bindings/interconnect/mtk,mt8183-emi.h> / { compatible = "mediatek,mt8183";
@@ -331,6 +332,7 @@ ddr_emi: dvfsrc@10012000 { compatible = "mediatek,mt8183-dvfsrc"; reg = <0 0x10012000 0 0x1000>; + #interconnect-cells = <1>; }; pwrap: pwrap@1000d000 {
Signature · 1 line
1.9.1
PATCH v6 10/13 arm64: dts: mt8192: add dvfsrc related nodes
In reply to Henry ChenAdd DDR EMI provider dictating dram interconnect bus performance found on MT8192-based platforms
--- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +2 -0
@@ -9,6 +9,7 @@ #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/pinctrl/mt8192-pinfunc.h> +#include <dt-bindings/interconnect/mtk,mt6873-emi.h> / { compatible = "mediatek,mt8192";
@@ -266,6 +267,7 @@ ddr_emi: dvfsrc@10012000 { compatible = "mediatek,mt8192-dvfsrc"; reg = <0 0x10012000 0 0x1000>; + #interconnect-cells = <1>; }; systimer: timer@10017000 {
Signature · 1 line
1.9.1
PATCH v6 11/13 regulator: Regulator driver for the Mediatek DVFSRC
In reply to Henry ChenFrom: "henryc.chen" <[email protected]>
Driver for regulators exposed by the DVFSRC (dynamic voltage and frequency scaling resource collector) found in devices based on mt8183 and newer platforms.
--- drivers/regulator/Kconfig | 10 ++ drivers/regulator/Makefile | 1 + drivers/regulator/mtk-dvfsrc-regulator.c | 215 +++++++++++++++++++++++++++++++ 3 files changed, 226 insertions(+) create mode 100644 drivers/regulator/mtk-dvfsrc-regulator.c
drivers/regulator/Kconfig +10 -0
@@ -748,6 +748,16 @@ config REGULATOR_MT6397 This driver supports the control of different power rails of device through regulator interface. +config REGULATOR_MTK_DVFSRC + tristate "MediaTek DVFSRC regulator driver" + depends on MTK_DVFSRC + help + Say y here to control regulator by DVFSRC (dynamic voltage + and frequency scaling resource collector). + This driver supports to control regulators via the DVFSRC + of Mediatek. It allows for voting on regulator state + between multiple users. + config REGULATOR_PALMAS tristate "TI Palmas PMIC Regulators" depends on MFD_PALMAS
drivers/regulator/Makefile +1 -0
@@ -92,6 +92,7 @@ obj-$(CONFIG_REGULATOR_MT6358) += mt6358-regulator.o obj-$(CONFIG_REGULATOR_MT6360) += mt6360-regulator.o obj-$(CONFIG_REGULATOR_MT6380) += mt6380-regulator.o obj-$(CONFIG_REGULATOR_MT6397) += mt6397-regulator.o +obj-$(CONFIG_REGULATOR_MTK_DVFSRC) += mtk-dvfsrc-regulator.o obj-$(CONFIG_REGULATOR_QCOM_LABIBB) += qcom-labibb-regulator.o obj-$(CONFIG_REGULATOR_QCOM_RPM) += qcom_rpm-regulator.o obj-$(CONFIG_REGULATOR_QCOM_RPMH) += qcom-rpmh-regulator.o
drivers/regulator/mtk-dvfsrc-regulator.c new file +215 -0
215 lines not on this page · raw message
Signature · 5 lines
1.9.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v6 12/13 arm64: dts: mt8183: add dvfsrc regulator nodes
In reply to Henry ChenAdd dvfsrc regulator nodes which is for MT8183-based platforms
--- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +6 -0
@@ -333,6 +333,12 @@ compatible = "mediatek,mt8183-dvfsrc"; reg = <0 0x10012000 0 0x1000>; #interconnect-cells = <1>; + dvfsrc_vcore: dvfsrc-vcore { + regulator-name = "dvfsrc-vcore"; + regulator-min-microvolt = <725000>; + regulator-max-microvolt = <800000>; + regulator-always-on; + }; }; pwrap: pwrap@1000d000 {
Signature · 1 line
1.9.1
PATCH v6 13/13 arm64: dts: mt8192: add dvfsrc regulator nodes
In reply to Henry ChenFrom: "henryc.chen" <[email protected]>
Add dvfsrc regulator nodes which is for MT8192-based platforms
--- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +6 -0
@@ -268,6 +268,12 @@ compatible = "mediatek,mt8192-dvfsrc"; reg = <0 0x10012000 0 0x1000>; #interconnect-cells = <1>; + dvfsrc_vcore: dvfsrc-vcore { + regulator-name = "dvfsrc-vcore"; + regulator-min-microvolt = <575000>; + regulator-max-microvolt = <725000>; + regulator-always-on; + }; }; systimer: timer@10017000 {
Signature · 5 lines
1.9.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Mark Brown
maintainerRe: (subset) [PATCH V6 00/13] Add driver for dvfsrc, support for active state of scpsys
In reply to Henry ChenQuoted 9 lines · Henry Chen
This series is based on v5.10-rc1.
The patchsets add support for MediaTek hardware module named DVFSRC (dynamic voltage and frequency scaling resource collector). The DVFSRC is a HW module which is used to collect all the requests from both software and hardware and turn into the decision of minimum operating voltage and minimum DRAM frequency to fulfill those requests.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[11/13] regulator: Regulator driver for the Mediatek DVFSRC
commit: a0db6b0aa670ba040f959a000ef24dd4238e016b
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek