* [PATCH v2 0/2] arm64: Support Universal Flash Storage on MediaTek MT6779 platform
@ 2020-12-23 7:12 ` Stanley Chu
0 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: linux-mediatek, linux-arm-kernel, linux-kernel, kuohong.wang,
peter.wang, chun-hung.wu, andy.teng, chaotian.jing, cc.chou,
jiajie.hao, alice.chao, hanks.chen, Stanley Chu
Hi,
This series adds UFS (Universal Flash Storage) support on MediaTek MT6779 SoC platform.
Changes since v1:
- Fix irq attribute in dts in patch [2/2]
Stanley Chu (2):
arm64: configs: Support Universal Flash Storage on MediaTek platforms
arm64: dts: mt6779: Support ufshci and ufsphy
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 36 +++++++++++++++++++++++-
arch/arm64/configs/defconfig | 1 +
2 files changed, 36 insertions(+), 1 deletion(-)
--
2.18.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 0/2] arm64: Support Universal Flash Storage on MediaTek MT6779 platform
@ 2020-12-23 7:12 ` Stanley Chu
0 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: hanks.chen, andy.teng, cc.chou, chun-hung.wu, kuohong.wang,
linux-kernel, linux-mediatek, peter.wang, jiajie.hao,
Stanley Chu, chaotian.jing, linux-arm-kernel, alice.chao
Hi,
This series adds UFS (Universal Flash Storage) support on MediaTek MT6779 SoC platform.
Changes since v1:
- Fix irq attribute in dts in patch [2/2]
Stanley Chu (2):
arm64: configs: Support Universal Flash Storage on MediaTek platforms
arm64: dts: mt6779: Support ufshci and ufsphy
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 36 +++++++++++++++++++++++-
arch/arm64/configs/defconfig | 1 +
2 files changed, 36 insertions(+), 1 deletion(-)
--
2.18.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 0/2] arm64: Support Universal Flash Storage on MediaTek MT6779 platform
@ 2020-12-23 7:12 ` Stanley Chu
0 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: hanks.chen, andy.teng, cc.chou, chun-hung.wu, kuohong.wang,
linux-kernel, linux-mediatek, peter.wang, jiajie.hao,
Stanley Chu, chaotian.jing, linux-arm-kernel, alice.chao
Hi,
This series adds UFS (Universal Flash Storage) support on MediaTek MT6779 SoC platform.
Changes since v1:
- Fix irq attribute in dts in patch [2/2]
Stanley Chu (2):
arm64: configs: Support Universal Flash Storage on MediaTek platforms
arm64: dts: mt6779: Support ufshci and ufsphy
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 36 +++++++++++++++++++++++-
arch/arm64/configs/defconfig | 1 +
2 files changed, 36 insertions(+), 1 deletion(-)
--
2.18.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 1/2] arm64: configs: Support Universal Flash Storage on MediaTek platforms
2020-12-23 7:12 ` Stanley Chu
(?)
@ 2020-12-23 7:12 ` Stanley Chu
-1 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: linux-mediatek, linux-arm-kernel, linux-kernel, kuohong.wang,
peter.wang, chun-hung.wu, andy.teng, chaotian.jing, cc.chou,
jiajie.hao, alice.chao, hanks.chen, Stanley Chu
Support UFS on MediaTek platforms by enabling CONFIG_SCSI_UFS_MEDIATEK.
Reviewed-by: Hanks Chen <hanks.chen@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 17a2df6a263e..e92f42a43bfa 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -277,6 +277,7 @@ CONFIG_SCSI_MPT3SAS=m
CONFIG_SCSI_UFSHCD=y
CONFIG_SCSI_UFSHCD_PLATFORM=y
CONFIG_SCSI_UFS_QCOM=m
+CONFIG_SCSI_UFS_MEDIATEK=m
CONFIG_SCSI_UFS_HISI=y
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
--
2.18.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 1/2] arm64: configs: Support Universal Flash Storage on MediaTek platforms
@ 2020-12-23 7:12 ` Stanley Chu
0 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: hanks.chen, andy.teng, cc.chou, chun-hung.wu, kuohong.wang,
linux-kernel, linux-mediatek, peter.wang, jiajie.hao,
Stanley Chu, chaotian.jing, linux-arm-kernel, alice.chao
Support UFS on MediaTek platforms by enabling CONFIG_SCSI_UFS_MEDIATEK.
Reviewed-by: Hanks Chen <hanks.chen@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 17a2df6a263e..e92f42a43bfa 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -277,6 +277,7 @@ CONFIG_SCSI_MPT3SAS=m
CONFIG_SCSI_UFSHCD=y
CONFIG_SCSI_UFSHCD_PLATFORM=y
CONFIG_SCSI_UFS_QCOM=m
+CONFIG_SCSI_UFS_MEDIATEK=m
CONFIG_SCSI_UFS_HISI=y
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
--
2.18.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 1/2] arm64: configs: Support Universal Flash Storage on MediaTek platforms
@ 2020-12-23 7:12 ` Stanley Chu
0 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: hanks.chen, andy.teng, cc.chou, chun-hung.wu, kuohong.wang,
linux-kernel, linux-mediatek, peter.wang, jiajie.hao,
Stanley Chu, chaotian.jing, linux-arm-kernel, alice.chao
Support UFS on MediaTek platforms by enabling CONFIG_SCSI_UFS_MEDIATEK.
Reviewed-by: Hanks Chen <hanks.chen@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 17a2df6a263e..e92f42a43bfa 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -277,6 +277,7 @@ CONFIG_SCSI_MPT3SAS=m
CONFIG_SCSI_UFSHCD=y
CONFIG_SCSI_UFSHCD_PLATFORM=y
CONFIG_SCSI_UFS_QCOM=m
+CONFIG_SCSI_UFS_MEDIATEK=m
CONFIG_SCSI_UFS_HISI=y
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
--
2.18.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/2] arm64: dts: mt6779: Support ufshci and ufsphy
2020-12-23 7:12 ` Stanley Chu
(?)
@ 2020-12-23 7:12 ` Stanley Chu
-1 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: linux-mediatek, linux-arm-kernel, linux-kernel, kuohong.wang,
peter.wang, chun-hung.wu, andy.teng, chaotian.jing, cc.chou,
jiajie.hao, alice.chao, hanks.chen, Stanley Chu
Support UFS on MT6779 platforms by adding ufshci and ufsphy
nodes in dts file.
Reviewed-by: Hanks Chen <hanks.chen@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 36 +++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
index 370f309d32de..6eaf230bb0d1 100644
--- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
@@ -225,6 +225,41 @@
#clock-cells = <1>;
};
+ ufshci: ufshci@11270000 {
+ compatible = "mediatek,mt8183-ufshci";
+ reg = <0 0x11270000 0 0x2300>;
+ interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>;
+ phys = <&ufsphy>;
+
+ clocks = <&infracfg_ao CLK_INFRA_UFS>,
+ <&infracfg_ao CLK_INFRA_UFS_TICK>,
+ <&infracfg_ao CLK_INFRA_UFS_AXI>,
+ <&infracfg_ao CLK_INFRA_UNIPRO_TICK>,
+ <&infracfg_ao CLK_INFRA_UNIPRO_MBIST>,
+ <&topckgen CLK_TOP_FAES_UFSFDE>,
+ <&infracfg_ao CLK_INFRA_AES_UFSFDE>,
+ <&infracfg_ao CLK_INFRA_AES_BCLK>;
+ clock-names = "ufs", "ufs_tick", "ufs_axi",
+ "unipro_tick", "unipro_mbist",
+ "aes_top", "aes_infra", "aes_bclk";
+ freq-table-hz = <0 0>, <0 0>, <0 0>,
+ <0 0>, <0 0>, <0 0>,
+ <0 0>, <0 0>;
+
+ mediatek,ufs-disable-ah8;
+ mediatek,ufs-support-va09;
+ };
+
+ ufsphy: phy@11fa0000 {
+ compatible = "mediatek,mt8183-ufsphy";
+ reg = <0 0x11fa0000 0 0xc000>;
+ #phy-cells = <0>;
+
+ clocks = <&infracfg_ao CLK_INFRA_UNIPRO_SCK>,
+ <&infracfg_ao CLK_INFRA_UFS_MP_SAP_BCLK>;
+ clock-names = "unipro", "mp";
+ };
+
mfgcfg: clock-controller@13fbf000 {
compatible = "mediatek,mt6779-mfgcfg", "syscon";
reg = <0 0x13fbf000 0 0x1000>;
@@ -266,6 +301,5 @@
reg = <0 0x1b000000 0 0x1000>;
#clock-cells = <1>;
};
-
};
};
--
2.18.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/2] arm64: dts: mt6779: Support ufshci and ufsphy
@ 2020-12-23 7:12 ` Stanley Chu
0 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: hanks.chen, andy.teng, cc.chou, chun-hung.wu, kuohong.wang,
linux-kernel, linux-mediatek, peter.wang, jiajie.hao,
Stanley Chu, chaotian.jing, linux-arm-kernel, alice.chao
Support UFS on MT6779 platforms by adding ufshci and ufsphy
nodes in dts file.
Reviewed-by: Hanks Chen <hanks.chen@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 36 +++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
index 370f309d32de..6eaf230bb0d1 100644
--- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
@@ -225,6 +225,41 @@
#clock-cells = <1>;
};
+ ufshci: ufshci@11270000 {
+ compatible = "mediatek,mt8183-ufshci";
+ reg = <0 0x11270000 0 0x2300>;
+ interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>;
+ phys = <&ufsphy>;
+
+ clocks = <&infracfg_ao CLK_INFRA_UFS>,
+ <&infracfg_ao CLK_INFRA_UFS_TICK>,
+ <&infracfg_ao CLK_INFRA_UFS_AXI>,
+ <&infracfg_ao CLK_INFRA_UNIPRO_TICK>,
+ <&infracfg_ao CLK_INFRA_UNIPRO_MBIST>,
+ <&topckgen CLK_TOP_FAES_UFSFDE>,
+ <&infracfg_ao CLK_INFRA_AES_UFSFDE>,
+ <&infracfg_ao CLK_INFRA_AES_BCLK>;
+ clock-names = "ufs", "ufs_tick", "ufs_axi",
+ "unipro_tick", "unipro_mbist",
+ "aes_top", "aes_infra", "aes_bclk";
+ freq-table-hz = <0 0>, <0 0>, <0 0>,
+ <0 0>, <0 0>, <0 0>,
+ <0 0>, <0 0>;
+
+ mediatek,ufs-disable-ah8;
+ mediatek,ufs-support-va09;
+ };
+
+ ufsphy: phy@11fa0000 {
+ compatible = "mediatek,mt8183-ufsphy";
+ reg = <0 0x11fa0000 0 0xc000>;
+ #phy-cells = <0>;
+
+ clocks = <&infracfg_ao CLK_INFRA_UNIPRO_SCK>,
+ <&infracfg_ao CLK_INFRA_UFS_MP_SAP_BCLK>;
+ clock-names = "unipro", "mp";
+ };
+
mfgcfg: clock-controller@13fbf000 {
compatible = "mediatek,mt6779-mfgcfg", "syscon";
reg = <0 0x13fbf000 0 0x1000>;
@@ -266,6 +301,5 @@
reg = <0 0x1b000000 0 0x1000>;
#clock-cells = <1>;
};
-
};
};
--
2.18.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/2] arm64: dts: mt6779: Support ufshci and ufsphy
@ 2020-12-23 7:12 ` Stanley Chu
0 siblings, 0 replies; 9+ messages in thread
From: Stanley Chu @ 2020-12-23 7:12 UTC (permalink / raw)
To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb,
matthias.bgg, robh+dt, devicetree
Cc: hanks.chen, andy.teng, cc.chou, chun-hung.wu, kuohong.wang,
linux-kernel, linux-mediatek, peter.wang, jiajie.hao,
Stanley Chu, chaotian.jing, linux-arm-kernel, alice.chao
Support UFS on MT6779 platforms by adding ufshci and ufsphy
nodes in dts file.
Reviewed-by: Hanks Chen <hanks.chen@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 36 +++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
index 370f309d32de..6eaf230bb0d1 100644
--- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
@@ -225,6 +225,41 @@
#clock-cells = <1>;
};
+ ufshci: ufshci@11270000 {
+ compatible = "mediatek,mt8183-ufshci";
+ reg = <0 0x11270000 0 0x2300>;
+ interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>;
+ phys = <&ufsphy>;
+
+ clocks = <&infracfg_ao CLK_INFRA_UFS>,
+ <&infracfg_ao CLK_INFRA_UFS_TICK>,
+ <&infracfg_ao CLK_INFRA_UFS_AXI>,
+ <&infracfg_ao CLK_INFRA_UNIPRO_TICK>,
+ <&infracfg_ao CLK_INFRA_UNIPRO_MBIST>,
+ <&topckgen CLK_TOP_FAES_UFSFDE>,
+ <&infracfg_ao CLK_INFRA_AES_UFSFDE>,
+ <&infracfg_ao CLK_INFRA_AES_BCLK>;
+ clock-names = "ufs", "ufs_tick", "ufs_axi",
+ "unipro_tick", "unipro_mbist",
+ "aes_top", "aes_infra", "aes_bclk";
+ freq-table-hz = <0 0>, <0 0>, <0 0>,
+ <0 0>, <0 0>, <0 0>,
+ <0 0>, <0 0>;
+
+ mediatek,ufs-disable-ah8;
+ mediatek,ufs-support-va09;
+ };
+
+ ufsphy: phy@11fa0000 {
+ compatible = "mediatek,mt8183-ufsphy";
+ reg = <0 0x11fa0000 0 0xc000>;
+ #phy-cells = <0>;
+
+ clocks = <&infracfg_ao CLK_INFRA_UNIPRO_SCK>,
+ <&infracfg_ao CLK_INFRA_UFS_MP_SAP_BCLK>;
+ clock-names = "unipro", "mp";
+ };
+
mfgcfg: clock-controller@13fbf000 {
compatible = "mediatek,mt6779-mfgcfg", "syscon";
reg = <0 0x13fbf000 0 0x1000>;
@@ -266,6 +301,5 @@
reg = <0 0x1b000000 0 0x1000>;
#clock-cells = <1>;
};
-
};
};
--
2.18.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-12-23 7:24 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-23 7:12 [PATCH v2 0/2] arm64: Support Universal Flash Storage on MediaTek MT6779 platform Stanley Chu
2020-12-23 7:12 ` Stanley Chu
2020-12-23 7:12 ` Stanley Chu
2020-12-23 7:12 ` [PATCH v2 1/2] arm64: configs: Support Universal Flash Storage on MediaTek platforms Stanley Chu
2020-12-23 7:12 ` Stanley Chu
2020-12-23 7:12 ` Stanley Chu
2020-12-23 7:12 ` [PATCH v2 2/2] arm64: dts: mt6779: Support ufshci and ufsphy Stanley Chu
2020-12-23 7:12 ` Stanley Chu
2020-12-23 7:12 ` Stanley Chu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.