Message ID | 1591665502-6573-5-git-send-email-chun-hung.wu@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mmc: mediatek: add mmc cqhci support | expand |
On Tue, Jun 09, 2020 at 09:18:22AM +0800, Chun-Hung Wu wrote: > Add compatible node for mt6779 mmc and HW cmdq selection > node "mediatek,cqhci". > > Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com> > --- > Documentation/devicetree/bindings/mmc/mtk-sd.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-sd.txt > index 8a532f4..d4d20b9 100644 > --- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt > +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt > @@ -12,6 +12,7 @@ Required properties: > "mediatek,mt8173-mmc": for mmc host ip compatible with mt8173 > "mediatek,mt8183-mmc": for mmc host ip compatible with mt8183 > "mediatek,mt8516-mmc": for mmc host ip compatible with mt8516 > + "mediatek,mt6779-mmc": for mmc host ip compatible with mt6779 > "mediatek,mt2701-mmc": for mmc host ip compatible with mt2701 > "mediatek,mt2712-mmc": for mmc host ip compatible with mt2712 > "mediatek,mt7622-mmc": for MT7622 SoC > @@ -49,6 +50,9 @@ Optional properties: > error caused by stop clock(fifo full) > Valid range = [0:0x7]. if not present, default value is 0. > applied to compatible "mediatek,mt2701-mmc". > +- mediatek,cqhci: HW cmdq selection > + If present, hw command queue is enabled. > + If not present, hw command queue is disabled. 'supports-cqe' does the same thing. > > Examples: > mmc0: mmc@11230000 { > -- > 1.9.1
On Thu, 2020-06-18 at 05:02 +0800, Rob Herring wrote: > On Tue, Jun 09, 2020 at 09:18:22AM +0800, Chun-Hung Wu wrote: > > Add compatible node for mt6779 mmc and HW cmdq selection > > node "mediatek,cqhci". > > > > Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com> > > --- > > Documentation/devicetree/bindings/mmc/mtk-sd.txt | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-sd.txt > > index 8a532f4..d4d20b9 100644 > > --- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt > > +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt > > @@ -12,6 +12,7 @@ Required properties: > > "mediatek,mt8173-mmc": for mmc host ip compatible with mt8173 > > "mediatek,mt8183-mmc": for mmc host ip compatible with mt8183 > > "mediatek,mt8516-mmc": for mmc host ip compatible with mt8516 > > + "mediatek,mt6779-mmc": for mmc host ip compatible with mt6779 > > "mediatek,mt2701-mmc": for mmc host ip compatible with mt2701 > > "mediatek,mt2712-mmc": for mmc host ip compatible with mt2712 > > "mediatek,mt7622-mmc": for MT7622 SoC > > @@ -49,6 +50,9 @@ Optional properties: > > error caused by stop clock(fifo full) > > Valid range = [0:0x7]. if not present, default value is 0. > > applied to compatible "mediatek,mt2701-mmc". > > +- mediatek,cqhci: HW cmdq selection > > + If present, hw command queue is enabled. > > + If not present, hw command queue is disabled. > > 'supports-cqe' does the same thing. Change to use 'supports-cqe' in patch v7. > > > > > Examples: > > mmc0: mmc@11230000 { > > -- > > 1.9.1
diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-sd.txt index 8a532f4..d4d20b9 100644 --- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt @@ -12,6 +12,7 @@ Required properties: "mediatek,mt8173-mmc": for mmc host ip compatible with mt8173 "mediatek,mt8183-mmc": for mmc host ip compatible with mt8183 "mediatek,mt8516-mmc": for mmc host ip compatible with mt8516 + "mediatek,mt6779-mmc": for mmc host ip compatible with mt6779 "mediatek,mt2701-mmc": for mmc host ip compatible with mt2701 "mediatek,mt2712-mmc": for mmc host ip compatible with mt2712 "mediatek,mt7622-mmc": for MT7622 SoC @@ -49,6 +50,9 @@ Optional properties: error caused by stop clock(fifo full) Valid range = [0:0x7]. if not present, default value is 0. applied to compatible "mediatek,mt2701-mmc". +- mediatek,cqhci: HW cmdq selection + If present, hw command queue is enabled. + If not present, hw command queue is disabled. Examples: mmc0: mmc@11230000 {
Add compatible node for mt6779 mmc and HW cmdq selection node "mediatek,cqhci". Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com> --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 4 ++++ 1 file changed, 4 insertions(+)