are not defined in it.
Signed-off-by: Fabien Parent
---
drivers/spi/spi-davinci.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c
index cb80c1d3f86a..b73072ae8adb 100644
--- a/drivers/spi/spi-davinci.c
+++ b/drivers/spi/spi-davinci.c
to handle the DMA mapping of buffers coming from an upper
layer.
Signed-off-by: Fabien Parent
---
drivers/spi/spi-davinci.c | 78 ---
1 file changed, 46 insertions(+), 32 deletions(-)
diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c
index
The timer IP on MT8516 requires two clocks to be enabled. Add both
clocks.
Signed-off-by: Fabien Parent
---
.../devicetree/bindings/timer/mediatek,mtk-timer.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
b
Some MediaTek SoC like MT8516 need to enable additional clocks
for the GPT timer. Enable them if present.
Signed-off-by: Fabien Parent
---
drivers/clocksource/timer-mediatek.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/clocksource/timer-mediatek.c
b/drivers
dev_comp field is used in a couple of places but it is never set. This
results in kernel oops when dereferencing a NULL pointer. Set the
`dev_comp` field correctly in the probe function.
Fixes: 6d97024dce23 ("iio: adc: mediatek: mt6577-auxadc, add mt6765 support")
Signed-off-by: Fab
Hi Jonathan,
On Sun, Oct 18, 2020 at 12:07 PM Jonathan Cameron wrote:
>
> On Tue, 13 Oct 2020 17:37:12 +0200
> Matthias Brugger wrote:
>
> > On 12/10/2020 21:46, Fabien Parent wrote:
> > > dev_comp field is used in a couple of places but it is never set. This
> &
As the binding documentation says, #mbox-cells must have a value of 2,
but the example use a value 3. The MT8173 device tree correctly use
mbox-cells = <2>. This commit fixes the example.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/mailbox/mtk-gce.txt | 2 +-
e31bc7 ("arm64: dts: add gce node for mt8183")
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index 102105871d
Hi Andy
On Sun, Oct 18, 2020 at 8:33 PM Andy Shevchenko
wrote:
>
> On Sun, Oct 18, 2020 at 9:31 PM Andy Shevchenko
> wrote:
> >
> > On Sun, Oct 18, 2020 at 8:16 PM Fabien Parent wrote:
> > >
> > > dev_comp field is used in a couple of places but it is
dev_comp field is used in a couple of places but it is never set. This
results in kernel oops when dereferencing a NULL pointer. Set the
`dev_comp` field correctly in the probe function.
Fixes: 6d97024dce23 ("iio: adc: mediatek: mt6577-auxadc, add mt6765 support")
Signed-off-by: Fab
This patch series adds PWM to MT8183 EVB. MT8183 has 4 PWM channels.
Fabien Parent (5):
dt-bindings: pwm: pwm-mediatek: Add documentation for MT8183 SoC
pwm: pwm-mediatek: always use bus clock
pwm: pwm-mediatek: Add MT8183 SoC support
arm64: dts: mediatek: mt8183: add pwm node
arm64
Enable the pwm driver and set the pinctrl for PWM A line.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
Add binding documentation for the MT8183 SoC.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt
b/Documentation/devicetree/bindings/pwm/pwm
Add PWM support for the MT8183 SoC
Signed-off-by: Fabien Parent
---
drivers/pwm/pwm-mediatek.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
index 108881619aea..9052b500b8f0 100644
--- a/drivers/pwm/pwm-mediatek.c
+++ b
the SoC I don't have the datasheet
(MT2712, MT7622, MT7623, MT7628, MT7629) I kept the behavior
to be the same as before this change.
Signed-off-by: Fabien Parent
---
drivers/pwm/pwm-mediatek.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm
MT8183 SoC has 4 PWMs. Add the pwm node in order to support them.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
Add node for the MT8167's IOMMU.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8167.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi
b/arch/arm64/boot/dts/mediatek/mt8167.dtsi
index 9b352031c5f6..3ba03ca749b2 100644
Add routing table for DSI on MT8167 SoC. The registers are mostly
incompatible with the current defines, so new one for MT8167 are added.
Signed-off-by: Fabien Parent
---
V2: Rebased on top of [0]
[0]
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=for-next
Add binding documentation for MT8167 SoC.
Signed-off-by: Fabien Parent
Reviewed-by: Chun-Kuang Hu
Acked-by: Rob Herring
---
V2: Rebased + fix typo in commit message.
.../devicetree/bindings/arm/mediatek/mediatek,mmsys.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
Add the smi_common node.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8167.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi
b/arch/arm64/boot/dts/mediatek/mt8167.dtsi
index 9d765034dfb0..4b951f81db9e 100644
--- a/arch
Add node for MMSYS.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8167.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi
b/arch/arm64/boot/dts/mediatek/mt8167.dtsi
index 156fbdad01fb..9d765034dfb0 100644
--- a/arch/arm64
Add larb nodes for MT8167:
* larb0 is used for display (dsi and hdmi)
* larb1 is used for camera (csi)
* larb2 is used for the video hardware decoder
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8167.dtsi | 33
1 file changed, 33 insertions(+)
diff
Add all the DRM nodes required to get DSI to work on MT8167 SoC.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8167.dtsi | 149 +++
1 file changed, 149 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi
b/arch/arm64/boot/dts/mediatek
Add support for the MT8167 power domains.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8167.dtsi | 68
1 file changed, 68 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi
b/arch/arm64/boot/dts/mediatek/mt8167.dtsi
index
o the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch]
>
> url:
> https://github.com/0day-ci/linux/commits/Fabien-Parent/arm64-dts-mediatek-mt8167-add-mmsys-node/20210406
Add node for the MT8167's IOMMU.
Signed-off-by: Fabien Parent
---
Note: This series is based on
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.12-next/dts64-2
V3:
* Removed unicode character in commit summary
V2:
* Remove unneeded cell-index
Add all the DRM nodes required to get DSI to work on MT8167 SoC.
Signed-off-by: Fabien Parent
---
Note: This series is based on
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.12-next/dts64-2
V3:
* Removed unicode character in commit summary
V2
Add larb nodes for MT8167:
* larb0 is used for display (dsi and hdmi)
* larb1 is used for camera (csi)
* larb2 is used for the video hardware decoder
Signed-off-by: Fabien Parent
---
Note: This series is based on
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h
Oops, some unicode character ended up in the patch. Removing them in v3
On Tue, Apr 6, 2021 at 1:32 PM Fabien Parent wrote:
>
> Add larb nodes for MT8167:
> * larb0 is used for display (dsi and hdmi)
> * larb1 is used for camera (csi)
> * larb2 is used for the video hardware dec
Add larb nodes for MT8167:
* larb0 is used for display (dsi and hdmi)
* larb1 is used for camera (csi)
* larb2 is used for the video hardware decoder
Signed-off-by: Fabien Parent
---
Note: This series is based on
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h
Add node for the MT8167's IOMMU.
Signed-off-by: Fabien Parent
---
Note: This series is based on
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.12-next/dts64-2
V2:
* Remove unneeded cell-index property
arch/arm64/boot/dts/mediatek/mt8167.dtsi | 8
Add all the DRM nodes required to get DSI to work on MT8167 SoC.
Signed-off-by: Fabien Parent
---
Note: This series is based on
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.12-next/dts64-2
V2:
* No changes
arch/arm64/boot/dts/mediatek/mt8167.dtsi
Hi Matthias,
Pinging you in case you didn't see @Chun-Kuang Hu's question for you.
Thanks,
Best regards,
Fabien
On Sun, Jan 10, 2021 at 12:18 AM Chun-Kuang Hu wrote:
>
> Hi, Matthias:
>
> Rob Herring 於 2020年10月31日 週六 上午3:17寫道:
> >
> > On Tue, 27 Oct 2020 17:06:29 +0
The tca6416 chip is active low. Fix the reset-gpios value.
Fixes: e2a8fa1e0faa ("arm64: dts: mediatek: fix tca6416 reset GPIOs in pumpkin")
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --
Add binding documentation for the MT8516 Pumpkin board.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/arm/mediatek.yaml | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml
b/Documentation/devicetree/bindings/arm
Add binding documentation for the MT8183 Pumpkin board.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/arm/mediatek.yaml | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml
b/Documentation/devicetree/bindings/arm
only port
* 1 Jack for audio
* RPI compatible header
* MT7668 wiresless chip with Wi-Fi AC and BT 5
* Micro-HDMI port
* 2 connectors for CSI cameras
* 1 connector for DSI display
* 1 JTAG port
Signed-off-by: Fabien Parent
---
arch/arm64
201 - 237 of 237 matches
Mail list logo