2017-11-29 12:54:45

by Sean Wang

[permalink] [raw]
Subject: [PATCH 0/3] Misc fixes up for MT7623 mmc

From: Sean Wang <[email protected]>

Just add some fixes up for the current MT7623 support

Patch 1) complement the missing dt-bindings definitions
Patch 2) pick up the proper falling back as patch 1 defines.
Patch 3) SD-card detection issue caused by the wrong polarity is being fixed up

Sean Wang (3):
mmc: dt-bindings: add mmc support to MT7623 SoC
arm: dts: mt7623: update mmc related nodes with the appropriate
fallback
arm: dts: mt7623: fix card detection issue on bananapi-r2

Documentation/devicetree/bindings/mmc/mtk-sd.txt | 2 ++
arch/arm/boot/dts/mt7623.dtsi | 4 ++--
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)

--
2.7.4


From 1585425440548298820@xxx Wed Nov 29 18:18:43 +0000 2017
X-GM-THRID: 1585425440548298820
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread


2017-11-29 10:12:11

by Sean Wang

[permalink] [raw]
Subject: [PATCH 2/3] arm: dts: mt7623: update mmc related nodes with the appropriate fallback

From: Sean Wang <[email protected]>

The current mmc related nodes should be falling back to MT2701
as the dt-binding defines and which has more appropriate setup
for MT7623.

Signed-off-by: Sean Wang <[email protected]>
---
arch/arm/boot/dts/mt7623.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 0640fb7..343d3b1 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -641,7 +641,7 @@

mmc0: mmc@11230000 {
compatible = "mediatek,mt7623-mmc",
- "mediatek,mt8135-mmc";
+ "mediatek,mt2701-mmc";
reg = <0 0x11230000 0 0x1000>;
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_LOW>;
clocks = <&pericfg CLK_PERI_MSDC30_0>,
@@ -652,7 +652,7 @@

mmc1: mmc@11240000 {
compatible = "mediatek,mt7623-mmc",
- "mediatek,mt8135-mmc";
+ "mediatek,mt2701-mmc";
reg = <0 0x11240000 0 0x1000>;
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_LOW>;
clocks = <&pericfg CLK_PERI_MSDC30_1>,
--
2.7.4


From 1585239426503589469@xxx Mon Nov 27 17:02:06 +0000 2017
X-GM-THRID: 1585239426503589469
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread

2017-11-29 10:12:39

by Sean Wang

[permalink] [raw]
Subject: [PATCH 1/3] mmc: dt-bindings: add mmc support to MT7623 SoC

From: Sean Wang <[email protected]>

Add the devicetree binding for MT7623 SoC using MT2701 as the fallback.

Cc: [email protected]
Signed-off-by: Sean Wang <[email protected]>
---
Documentation/devicetree/bindings/mmc/mtk-sd.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
index 72d2a73..1732588 100644
--- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt
+++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
@@ -12,6 +12,8 @@ Required properties:
"mediatek,mt8173-mmc": for mmc host ip compatible with mt8173
"mediatek,mt2701-mmc": for mmc host ip compatible with mt2701
"mediatek,mt2712-mmc": for mmc host ip compatible with mt2712
+ "mediatek,mt7623-mmc",
+ "mediatek,mt2701-mmc": for mmc host ip compatible with mt7623
- reg: physical base address of the controller and length
- interrupts: Should contain MSDC interrupt number
- clocks: Should contain phandle for the clock feeding the MMC controller
--
2.7.4


From 1583528992435666631@xxx Wed Nov 08 19:55:29 +0000 2017
X-GM-THRID: 1583528992435666631
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread