Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1655954 > unrolled thread
| Started by | Leilk Liu <leilk.liu@mediatek.com> |
|---|---|
| First post | 2017-06-02 09:20 +0200 |
| Last post | 2017-06-06 21:10 +0200 |
| Articles | 5 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/3] add mt7622 spi support Leilk Liu <leilk.liu@mediatek.com> - 2017-06-02 09:20 +0200
[PATCH 3/3] spi: mediatek: add compatible support for mt7622 IC Leilk Liu <leilk.liu@mediatek.com> - 2017-06-02 09:20 +0200
[PATCH 1/3] dt-bindings: spi: mediatek: Add bindings for mediatek MT7622 soc platform Leilk Liu <leilk.liu@mediatek.com> - 2017-06-02 09:30 +0200
Re: [PATCH 1/3] dt-bindings: spi: mediatek: Add bindings for mediatek MT7622 soc platform Mark Brown <broonie@kernel.org> - 2017-06-06 21:00 +0200
Applied "spi: mediatek: Add bindings for mediatek MT7622 soc platform" to the spi tree Mark Brown <broonie@kernel.org> - 2017-06-06 21:10 +0200
| From | Leilk Liu <leilk.liu@mediatek.com> |
|---|---|
| Date | 2017-06-02 09:20 +0200 |
| Subject | [PATCH 0/3] add mt7622 spi support |
| Message-ID | <tNP2i-6d4-21@gated-at.bofh.it> |
This series are based on 4.12-rc1 and provide 4 patches to support mt7622 IC.
Change in this series:
1. update document to add mt7622;
2. add adjust register define support;
3. add mt7622_compat.
Leilk Liu (3):
dt-bindings: spi: mediatek: Add bindings for mediatek MT7622 soc
platform
spi: mediatek: support adjust register define
spi: mediatek: add spi support for mt7622 IC
.../devicetree/bindings/spi/spi-mt65xx.txt | 1 +
drivers/spi/spi-mt65xx.c | 54 ++++++++++++++++++--
include/linux/platform_data/spi-mt65xx.h | 2 +
3 files changed, 52 insertions(+), 5 deletions(-)
--
1.7.9.5
[toc] | [next] | [standalone]
| From | Leilk Liu <leilk.liu@mediatek.com> |
|---|---|
| Date | 2017-06-02 09:20 +0200 |
| Subject | [PATCH 3/3] spi: mediatek: add compatible support for mt7622 IC |
| Message-ID | <tNP2i-6d4-27@gated-at.bofh.it> |
| In reply to | #1655954 |
this patch add compatible support for mt7622 IC.
Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
---
drivers/spi/spi-mt65xx.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index 3d7cd2d..ebc4b1a 100644
--- a/drivers/spi/spi-mt65xx.c
+++ b/drivers/spi/spi-mt65xx.c
@@ -104,6 +104,12 @@ struct mtk_spi {
};
static const struct mtk_spi_compatible mtk_common_compat;
+
+static const struct mtk_spi_compatible mt7622_compat = {
+ .must_tx = true,
+ .adjust_reg = true,
+};
+
static const struct mtk_spi_compatible mt8173_compat = {
.need_pad_sel = true,
.must_tx = true,
@@ -127,6 +133,9 @@ struct mtk_spi {
{ .compatible = "mediatek,mt6589-spi",
.data = (void *)&mtk_common_compat,
},
+ { .compatible = "mediatek,mt7622-spi",
+ .data = (void *)&mt7622_compat,
+ },
{ .compatible = "mediatek,mt8135-spi",
.data = (void *)&mtk_common_compat,
},
--
1.7.9.5
[toc] | [prev] | [next] | [standalone]
| From | Leilk Liu <leilk.liu@mediatek.com> |
|---|---|
| Date | 2017-06-02 09:30 +0200 |
| Subject | [PATCH 1/3] dt-bindings: spi: mediatek: Add bindings for mediatek MT7622 soc platform |
| Message-ID | <tNPbY-6hW-25@gated-at.bofh.it> |
| In reply to | #1655954 |
This patch adds a DT binding documentation for the MT7622 soc.
Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
---
.../devicetree/bindings/spi/spi-mt65xx.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
index e43f4cf..c0b1f01 100644
--- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
+++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
@@ -4,6 +4,7 @@ Required properties:
- compatible: should be one of the following.
- mediatek,mt2701-spi: for mt2701 platforms
- mediatek,mt6589-spi: for mt6589 platforms
+ - mediatek,mt7622-spi: for mt7622 platforms
- mediatek,mt8135-spi: for mt8135 platforms
- mediatek,mt8173-spi: for mt8173 platforms
--
1.7.9.5
[toc] | [prev] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2017-06-06 21:00 +0200 |
| Subject | Re: [PATCH 1/3] dt-bindings: spi: mediatek: Add bindings for mediatek MT7622 soc platform |
| Message-ID | <tPrRT-48M-1@gated-at.bofh.it> |
| In reply to | #1655965 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Jun 02, 2017 at 03:18:41PM +0800, Leilk Liu wrote: > This patch adds a DT binding documentation for the MT7622 soc. Please submit patches using subject lines reflecting the style for the subsystem. This makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing.
[toc] | [prev] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2017-06-06 21:10 +0200 |
| Subject | Applied "spi: mediatek: Add bindings for mediatek MT7622 soc platform" to the spi tree |
| Message-ID | <tPs1B-4ry-47@gated-at.bofh.it> |
| In reply to | #1655965 |
The patch
spi: mediatek: Add bindings for mediatek MT7622 soc platform
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
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
From d27ae103bf89a0ed28976da58a8f5e1c4c85ecb5 Mon Sep 17 00:00:00 2001
From: Leilk Liu <leilk.liu@mediatek.com>
Date: Fri, 2 Jun 2017 15:18:41 +0800
Subject: [PATCH] spi: mediatek: Add bindings for mediatek MT7622 soc platform
This patch adds a DT binding documentation for the MT7622 soc.
Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
index e43f4cf4cf35..c0b1f0134390 100644
--- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
+++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
@@ -4,6 +4,7 @@ Required properties:
- compatible: should be one of the following.
- mediatek,mt2701-spi: for mt2701 platforms
- mediatek,mt6589-spi: for mt6589 platforms
+ - mediatek,mt7622-spi: for mt7622 platforms
- mediatek,mt8135-spi: for mt8135 platforms
- mediatek,mt8173-spi: for mt8173 platforms
--
2.11.0
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web