are not defined in it.
Signed-off-by: Fabien Parent <fpar...@baylibre.com>
---
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/d
to handle the DMA mapping of buffers coming from an upper
layer.
Signed-off-by: Fabien Parent <fpar...@baylibre.com>
---
drivers/spi/spi-davinci.c | 78 ---
1 file changed, 46 insertions(+), 32 deletions(-)
diff --git a/drivers/spi/spi-davinci.c b/d
the FAST_READ command can be used to read data.
This commit specifies in the DTS that we should use FAST_READ command
instead of the READ command.
Signed-off-by: Fabien Parent <fpar...@baylibre.com>
---
arch/arm/boot/dts/da850-evm.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/bo
In order to avoid Linux generating a random mac address on every boot,
add an ethernet0 alias that will allow u-boot to patch the dtb with
the MAC address programmed into the EEPROM.
Signed-off-by: Fabien Parent <fpar...@baylibre.com>
---
arch/arm/boot/dts/da850-lcdk.dts | 1 +
1 file chan
Hi,
Making sure this patch and the next one [1] are not being forgotten.
[1] https://patchwork.kernel.org/patch/10437565/
On Wed, May 30, 2018 at 5:17 AM, Fabien Parent wrote:
> ChromeOS devices can have one optional dedicated port.
> The Dedicated port is unique and similar to the
ypec: tcpm: Add
sink side support for PPS)
* https://lkml.org/lkml/2018/4/18/229 ([RESEND PATCH v5 4/7] mfd:
cros_ec_dev: Register cros-ec-rtc driver as a subdevice.)
Best Regards,
Fabien
Fabien Parent (3):
mfd: cros: add charger port count command definition
power: supply: cros: a
is connected or not.
Signed-off-by: Fabien Parent
---
drivers/power/supply/cros_usbpd-charger.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/power/supply/cros_usbpd-charger.c
b/drivers/power/supply/cros_usbpd-charger.c
index 808688a6586c..d44ab35670ab 100644
--- a/drivers
charger driver.
Signed-off-by: Fabien Parent
---
include/linux/mfd/cros_ec_commands.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/include/linux/mfd/cros_ec_commands.h
b/include/linux/mfd/cros_ec_commands.h
index 0d926492ac3a..e3187f8bdb7e 100644
--- a/include/linux/mfd
-by: Fabien Parent
---
drivers/power/supply/cros_usbpd-charger.c | 115 +++---
1 file changed, 101 insertions(+), 14 deletions(-)
diff --git a/drivers/power/supply/cros_usbpd-charger.c
b/drivers/power/supply/cros_usbpd-charger.c
index 3a0c96fd1bc1..808688a6586c 100644
--- a/drivers/power
On Mon, Jun 4, 2018 at 1:59 AM, Lee Jones wrote:
> On Tue, 29 May 2018, Fabien Parent wrote:
>
>> A new more command has been added to the ChromeOS embedded controller
>> that allows to get the number of charger port count. Unlike
>> EC_CMD_USB_PD_PORTS, this n
+ Lee Jones for the mfd patch.
On Tue, May 29, 2018 at 8:17 PM, Fabien Parent wrote:
> Dear all,
>
> This patch series adds support for an optional dedicated port
> to the ChromeOS power supply driver and adds a new property that expose
> when a power supply is connected. The se
-by: Fabien Parent
---
V1 -> V2:
* Rebased
---
drivers/power/supply/cros_usbpd-charger.c | 115 +++---
1 file changed, 101 insertions(+), 14 deletions(-)
diff --git a/drivers/power/supply/cros_usbpd-charger.c
b/drivers/power/supply/cros_usbpd-charger.c
index 688a16bacfbb..fe1502715
is connected or not.
Signed-off-by: Fabien Parent
---
V1 -> V2:
* No change
---
drivers/power/supply/cros_usbpd-charger.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/power/supply/cros_usbpd-charger.c
b/drivers/power/supply/cros_usbpd-charger.c
index fe1502715
charger driver.
Signed-off-by: Fabien Parent
Acked-for-MFD-by: Lee Jones
---
V1 -> V2:
* No change
---
include/linux/mfd/cros_ec_commands.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/include/linux/mfd/cros_ec_commands.h
b/include/linux/mfd/cros_ec_commands.h
index 0d926492a
ypec: tcpm: Add
sink side support for PPS)
* https://lkml.org/lkml/2018/4/18/229 ([RESEND PATCH v5 4/7] mfd:
cros_ec_dev: Register cros-ec-rtc driver as a subdevice.)
Best Regards,
Fabien
V2:
* Rebased to fixed apply issue with patch #2
Fabien Parent (3):
mfd: cros: add charger port cou
The MT8516 has 2 USB instances. Add support for the second USB instance.
usb1 can only work in host mode.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi
The USB phy node is named usb0_phy but there is only one phy with
2 ports on MT8516. Rename the phy to make it more obvious it can
also support the usb1 node.
The usb1 node will be added in a follow-up commit.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 2
Hi Chun-Kuang,
On Wed, Oct 14, 2020 at 3:00 PM Chun-Kuang Hu wrote:
>
> Hi, Fabien:
>
> Fabien Parent 於 2020年10月14日 週三 上午2:19寫道:
> >
> > Add support for HDMI on MT8167. HDMI on MT8167 is similar to
> > MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SY
Hi Chun-Kuang,
On Wed, Oct 14, 2020 at 6:25 PM Fabien Parent wrote:
>
> Hi Chun-Kuang,
>
> On Wed, Oct 14, 2020 at 3:00 PM Chun-Kuang Hu wrote:
> >
> > Hi, Fabien:
> >
> > Fabien Parent 於 2020年10月14日 週三 上午2:19寫道:
> > >
> > > Add
Add bindings to APDMA for MT8516 SoC. MT8516 is compatible with MT6577.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt
b/Documentation
Add support the APDMA IP on MT8516. APDMA is a DMA controller
for UARTs.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 27
1 file changed, 27 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi
b/arch/arm64/boot/dts
Add node to support e-fuses on MT8516
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi
b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
index 89af661e7f63..18ddea519be2 100644
Add binding documentation for MT8516 SoCs.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt
b/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt
Add binding for MT8167 SoC. The IP is compatible with MT8173.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt
b/Documentation/devicetree/bindings
Add binding documentation for topckgen, apmixedsys, infracfg, audsys,
imgsys, mfgcfg, vdecsys on MT8167 SoC.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
ChangeLog:
V2: no changes
.../arm/mediatek/mediatek,apmixedsys.txt | 1 +
.../bindings/arm/mediatek/mediatek
Add the following clock support for MT8167 SoC: topckgen, apmixedsys,
infracfg, audsys, imgsys, mfgcfg, vdecsys.
Signed-off-by: Fabien Parent
---
ChangeLog:
V2: removed unused variable reported by kernel test robot
drivers/clk/mediatek/Kconfig | 48 +
drivers/clk
On Tue, Sep 8, 2020 at 3:53 PM Lee Jones wrote:
>
> On Mon, 07 Sep 2020, Fabien Parent wrote:
>
> > Update the MT6397 MFD driver to support the MT6392 PMIC.
> >
> > Signed-off-by: Fabien Parent
> > ---
> >
> > V5:
> > * Reba
Add the currently supported bindings for the MT6392 PMIC.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
V6:
* No changes
V5:
* Rebased, removed regulator documentation because it will be send later
on in another patch series
V4
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
v6:
* No changes
v5:
* rebased
* Rename MT6397/MT6392/MT6323 into MT63XX to make it more readable when
the list of support PMIC
Update the MT6397 MFD driver to support the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V6:
* Update copyrights
V5:
* Rebased
* removed mt6392-regulator compatible. This will be send in another
series to make this series easier to merge.
V4:
* Use
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
---
This patch depends on the patch series
"soc: mediatek: Prepare MMSYS for DDP routing using tables"
Add binding documentation for MT8167 SoC.
Signed-off-by: Fabien Parent
---
.../devicetree/bindings/arm/mediatek/mediatek,mmsys.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
b/Documentation/devicetree/bindings
Hi Chun-Kuang,
On Fri, Oct 23, 2020 at 5:52 PM Chun-Kuang Hu wrote:
>
> Hi, Fabien:
>
> Fabien Parent 於 2020年10月23日 週五 下午9:31寫道:
> >
> > Add the main (DSI) drm display path for MT8167.
> >
> > Signed-off-by: Fabien Parent
> > ---
> >
> >
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
v6:
* No changes
v5:
* rebased
* Rename MT6397/MT6392/MT6323 into MT63XX to make it more readable when
the list of support PMIC
Add the currently supported bindings for the MT6392 PMIC.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
V6:
* No changes
V5:
* Rebased, removed regulator documentation because it will be send later
on in another patch series
V4
Update the MT6397 MFD driver to support the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V6:
* Update copyrights
V5:
* Rebased
* removed mt6392-regulator compatible. This will be send in another
series to make this series easier to merge.
V4:
* Use
Add binding documentation for the MT8167 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
with MT8516 but provides multimedia IPs to it.
This commit is just adding the basic dtsi file with the support of the
following IOs: GPIO, Clocks.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8167-pinfunc.h | 744 ++
arch/arm64/boot/dts/mediatek/mt8167.dtsi | 61
.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/Makefile | 1 +
.../boot/dts/mediatek/mt8167-pumpkin.dts | 20 +++
2 files changed, 21 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt8167-pumpkin.dts
diff --git a/arch/arm64/boot/dts
Hi Mark,
On Mon, Oct 26, 2020 at 9:36 PM Mark Brown wrote:
>
> On Mon, Oct 26, 2020 at 07:38:14PM +0100, Fabien Parent wrote:
> > On Mon, Oct 26, 2020 at 6:24 PM Mark Brown wrote:
>
> > > > .name = "mt6392-regulator",
> > > >
Add bindings to APDMA for MT8516 SoC. MT8516 is compatible with MT6577.
Signed-off-by: Fabien Parent
Reviewed-by: Matthias Brugger
Acked-by: Rob Herring
---
V2: no change
Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
Add support the APDMA IP on MT8516. APDMA is a DMA controller
for UARTs.
Signed-off-by: Fabien Parent
---
V2: Add missing dma-names properties on uart nodes
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 30
1 file changed, 30 insertions(+)
diff --git a/arch/arm64/boot
Add bindings to APDMA for MT8516 SoC. MT8516 is compatible with MT6577.
Signed-off-by: Fabien Parent
Reviewed-by: Matthias Brugger
Acked-by: Rob Herring
---
V3: remove unicode symbol that slips into patch summary
V2: no change
Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt | 1
Add support the APDMA IP on MT8516. APDMA is a DMA controller
for UARTs.
Signed-off-by: Fabien Parent
---
V3: remove unicode symbol that slips into patch summary
V2: Add missing dma-names properties on uart nodes
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 30
1 file
Sorry, resending without the unicode symbol in the title
On Wed, Dec 9, 2020 at 12:44 PM Fabien Parent wrote:
>
> Add bindings to APDMA for MT8516 SoC. MT8516 is compatible with MT6577.
>
> Signed-off-by: Fabien Parent
> Reviewed-by: Matthias Brugger
> Acked-by: Rob Her
Sorry, resending without the unicode symbol in the title
On Wed, Dec 9, 2020 at 12:44 PM Fabien Parent wrote:
>
> Add support the APDMA IP on MT8516. APDMA is a DMA controller
> for UARTs.
>
> Signed-off-by: Fabien Parent
> ---
>
> V2: Add missing dma-names properties
MT8183 SoC has 4 PWMs. Add the pwm node in order to support them.
Signed-off-by: Fabien Parent
---
V2: rename pwm0 to pwm1 since disp-pwm has been merged in v5.11 as pwm0
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64
Enable the pwm driver and set the pinctrl for PWM A line.
Signed-off-by: Fabien Parent
---
V2:
* rename pwm0 to pwm1 since disp-pwm has been merged in v5.11 as pwm0
* rename the pio node and labels to match the coding standard of this
dts
arch/arm64/boot/dts/mediatek/mt8183
Add the needed board data to support mt8167 SoC.
Signed-off-by: Fabien Parent
Reviewed-by: Enric Balletbo i Serra
---
This patch was made on top of
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.10-next/soc
v3:
* s/MT8167_POWER_DOMAIN_DISP
Add power domains dt-bindings for MT8167.
Signed-off-by: Fabien Parent
Acked-by: Rob Herring
---
This patch was made on top of
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.10-next/soc
v3:
* Remove MT8167_POWER_DOMAIN_DISP since it was an alias
MT8516 SoC suffers from sometimes losing SDIO IRQs, this makes SDIO
devices sometimes unstable. Make use of the new property
recheck_sdio_irq to fix the SDIO stability issues on MT8516.
Signed-off-by: Fabien Parent
---
drivers/mmc/host/mtk-sd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
: removed 3 patches
Fabien Parent (5):
dt-bindings: display: mediatek: disp: add documentation for MT8167 SoC
dt-bindings: display: mediatek: dsi: add documentation for MT8167 SoC
drm/mediatek: add disp-color MT8167 support
drm/mediatek: add DDP support for MT8167
drm/mediatek: Add support
Add DDP support for MT8167 SoC.
Signed-off-by: Fabien Parent
---
Changelog:
V2: don't set DDP_MUTEX_SOF_DSI{1,2,3} since they are not available on MT8167
drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 47 ++
1 file changed, 47 insertions(+)
diff --git a/drivers/gpu/drm
Add support for disp-color on MT8167 SoC.
Signed-off-by: Fabien Parent
Reviewed-by: Chun-Kuang Hu
---
Changelog:
V2: No change
drivers/gpu/drm/mediatek/mtk_disp_color.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_disp_color.c
b/drivers/gpu/drm
Add binding documentation for the MT8167 SoC.
Signed-off-by: Fabien Parent
---
Changelog:
V2: removed part that added a new clock
.../devicetree/bindings/display/mediatek/mediatek,dsi.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/Documentation/devicetree
Add the main (DSI) drm display path for MT8167.
Signed-off-by: Fabien Parent
---
Changelog:
V2: No change
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
b/drivers/gpu/drm/mediatek
Add binding documentation for the MT8167 SoC
Signed-off-by: Fabien Parent
Reviewed-by: Chun-Kuang Hu
---
Changelog:
V2: No change
.../devicetree/bindings/display/mediatek/mediatek,disp.txt| 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/Documentation/devicetree
Add binding documentation of the regulator for MT6392 SoCs.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
v5:
* No change
v4:
* No change
v3:
* No change
v2:
* Use 'pmic' as node name for the pmic.
* Use 'regulators' as node name
The MT6392 is a regulator found on boards based on the MediaTek
MT8167, MT8516, and probably other SoCs. It is a so called PMIC and
connectcts as a slave to a SoC using SPI, wrapped inside PWRAP.
Signed-off-by: Fabien Parent
---
V5:
* Removed unneeded code
* Fix indentation
This series adds support for DSI on the MT8167 SoC. HDMI is not yet supported
as secondary display path.
mmsys is not supported by this series and will be sent in a seperate series
based on [0].
[0] https://patchwork.kernel.org/project/linux-mediatek/list/?series=360447
Fabien Parent (8):
dt
Add binding documentation for the MT8167 SoC. The SoC needs
an additional clock compared to the already supported SoC: mipi26m.
Signed-off-by: Fabien Parent
---
.../devicetree/bindings/display/mediatek/mediatek,dsi.txt | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
On MT8167, DSI seems to work fine only if we start the clk in HS mode.
If we don't start the clk in HS but try to switch later to HS, the
display does not work.
This commit adds a platform data variable to be used to start the
DSI clk in HS mode at power on.
Signed-off-by: Fabien Parent
MT8167 SoC needs an additional clock to be enabled. Add support for
the mipi26m clk.
Signed-off-by: Fabien Parent
---
drivers/gpu/drm/mediatek/mtk_dsi.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c
b/drivers/gpu/drm/mediatek/mtk_dsi.c
index
Add the main (DSI) drm display path for MT8167.
Signed-off-by: Fabien Parent
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index
Add platform data to support the MT8167 SoC.
Signed-off-by: Fabien Parent
---
drivers/gpu/drm/mediatek/mtk_dsi.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c
b/drivers/gpu/drm/mediatek/mtk_dsi.c
index 08786734df8e..d90dd0f83292 100644
Add binding documentation for the MT8167 SoC
Signed-off-by: Fabien Parent
---
.../devicetree/bindings/display/mediatek/mediatek,disp.txt| 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt
b
Add DDP support for MT8167 SoC.
Signed-off-by: Fabien Parent
---
drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 50 ++
1 file changed, 50 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c
b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c
index 014c1bbe1df2
Add support for disp-color on MT8167 SoC.
Signed-off-by: Fabien Parent
---
drivers/gpu/drm/mediatek/mtk_disp_color.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_disp_color.c
b/drivers/gpu/drm/mediatek/mtk_disp_color.c
index 3ae9c810845b..a1227cefbf31
Add binding documentation for the MediaTek MT8516 SoC.
The SoC thermal IP is similar to MT2701.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/thermal/mediatek
MT8516 does not support thermal reset. Use device_reset_optional
instead of device_reset.
Signed-off-by: Fabien Parent
---
drivers/thermal/mtk_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/mtk_thermal.c b/drivers/thermal/mtk_thermal.c
index
MT8516 Thermal IP does not support reset. Make the resets property
optional in order to be able to support MT8516 SoC.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Hi Chun-Kuang,
On Wed, Oct 21, 2020 at 7:01 PM Chun-Kuang Hu wrote:
>
> Hi, Fabien:
>
> Fabien Parent 於 2020年10月21日 週三 上午1:43寫道:
> >
> > Add binding documentation for the MT8167 SoC. The SoC needs
> > an additional clock compared to the already supported So
Hi Chun-Kuang,
On Wed, Oct 21, 2020 at 7:07 PM Chun-Kuang Hu wrote:
>
> Hi, Fabien:
>
> Fabien Parent 於 2020年10月21日 週三 上午1:43寫道:
> >
> > On MT8167, DSI seems to work fine only if we start the clk in HS mode.
> > If we don't start the clk in HS but try to switch lat
Hi Mark,
On Mon, Oct 26, 2020 at 1:13 PM Mark Brown wrote:
>
> On Sat, Oct 24, 2020 at 10:03:03PM +0200, Fabien Parent wrote:
>
> > +Required properties:
> > +- compatible: "mediatek,mt6392-regulator"
>
> This is no longer used by the driver, should be unnee
Hi Rob,
On Mon, Oct 26, 2020 at 2:30 PM Rob Herring wrote:
>
> On Sat, Oct 17, 2020 at 05:38:57PM +0200, Fabien Parent wrote:
> > Some MediaTek SoC like MT8516 need to enable additional clocks
> > for the GPT timer. Enable them if present.
> >
> >
Hi Mark,
On Mon, Oct 26, 2020 at 6:24 PM Mark Brown wrote:
>
> On Mon, Oct 26, 2020 at 06:18:35PM +0100, Fabien Parent wrote:
> > On Mon, Oct 26, 2020 at 1:13 PM Mark Brown wrote:
>
> > > On Sat, Oct 24, 2020 at 10:03:03PM +0200, Fabien Parent wrote:
>
&
> - ret = mtk_infracfg_set_bus_protection(pd->infracfg,
> - bpd[i].bus_prot_mask,
> -
> bpd[i].bus_prot_reg_update);
[snip]
> - ret =
Add the needed board data to support mt8167 SoC.
Signed-off-by: Fabien Parent
---
This patch depends on the SCPSYS PM domains driver [0].
v2:
* Implement on top of new SCPSYS PM domains driver [0]
[0] https://patchwork.kernel.org/project/linux-mediatek/list/?series=370737
drivers/soc
Add power domains dt-bindings for MT8167.
Signed-off-by: Fabien Parent
---
This patch depends on the SCPSYS PM domains driver [0].
v2:
* Implement on top of new SCPSYS PM domains driver [0]
[0] https://patchwork.kernel.org/project/linux-mediatek/list/?series=370737
.../power
Hi Daoyuan,
> Depend on:
>[1] https://lore.kernel.org/patchwork/patch/1164746/
>[2] https://patchwork.kernel.org/patch/11703299/
>[3] https://patchwork.kernel.org/patch/11283773/
Can you provide an updated list of dependencies because it seems this
patch depends on more than the
Add support for the IOMMU on MT8167
Signed-off-by: Fabien Parent
---
V3:
* use LEGACY_IVRP_PADDR flag instead of using a platform data member
V2:
* removed if based on m4u_plat, and using instead the new
has_legacy_ivrp_paddr member that was introduced in patch 2
This commit adds IOMMU binding documentation and larb port definitions
for the MT8167 SoC.
Signed-off-by: Fabien Parent
Acked-by: Rob Herring
---
V3: Added mt8167-larb-port.h file for iommu port definitions
V2: no change
---
.../bindings/iommu/mediatek,iommu.txt | 1 +
include/dt
Add a new flag in order to select which IVRP_PADDR format is used
by an SoC.
Signed-off-by: Fabien Parent
---
v3: set LEGACY_IVRP_PADDR as a flag instead of platform data
v2: new patch
---
drivers/iommu/mtk_iommu.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
On Sun, Sep 6, 2020 at 5:19 PM Fabien Parent wrote:
>
> Add support for the IOMMU on MT8167
>
> Signed-off-by: Fabien Parent
> ---
>
> V3:
> * use LEGACY_IVRP_PADDR flag instead of using a platform data member
Forgot to mention a change here: .larbid_remap has be
Add SCPSYS power domain support for MT8167 SoC.
Signed-off-by: Fabien Parent
---
drivers/soc/mediatek/mtk-scpsys.c | 99 +++
include/linux/soc/mediatek/infracfg.h | 8 +++
2 files changed, 107 insertions(+)
diff --git a/drivers/soc/mediatek/mtk-scpsys.c
b/drivers
Add the SCPSYS binding documentation for MediaTek MT8167 SoCs.
Signed-off-by: Fabien Parent
---
.../devicetree/bindings/soc/mediatek/scpsys.txt| 3 +++
include/dt-bindings/power/mt8167-power.h | 14 ++
2 files changed, 17 insertions(+)
create mode 100644 include/dt
Add device tree bindings documentation for MT8167 SMI.
Signed-off-by: Fabien Parent
---
.../bindings/memory-controllers/mediatek,smi-common.txt| 3 ++-
.../bindings/memory-controllers/mediatek,smi-larb.txt | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git
Add support for the SMI IP on MT8167
Signed-off-by: Fabien Parent
---
drivers/memory/mtk-smi.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/memory/mtk-smi.c b/drivers/memory/mtk-smi.c
index c21262502581..691e4c344cf8 100644
--- a/drivers/memory/mtk-smi.c
> > +static const struct mtk_iommu_plat_data mt8167_data = {
> > + .m4u_plat = M4U_MT8167,
> > + .flags= HAS_4GB_MODE | RESET_AXI | HAS_LEGACY_IVRP_PADDR,
>
> The 4GB mode flow was improved at[1] which has just been applied.
>
> If you add 4gb_mode flag but don't have
Add support for the IOMMU on MT8167
Signed-off-by: Fabien Parent
---
V4;
* Removed HAS_4GB_MODE flag since this SoC does not seem to support it
V3:
* use LEGACY_IVRP_PADDR flag instead of using a platform data member
V2:
* removed if based on m4u_plat, and using instead
Add a new flag in order to select which IVRP_PADDR format is used
by an SoC.
Signed-off-by: Fabien Parent
Reviewed-by: Yong Wu
---
v4: no change
v3: set LEGACY_IVRP_PADDR as a flag instead of platform data
v2: new patch
---
drivers/iommu/mtk_iommu.c | 6 --
1 file changed, 4 insertions
This commit adds IOMMU binding documentation and larb port definitions
for the MT8167 SoC.
Signed-off-by: Fabien Parent
Acked-by: Rob Herring
---
V4:
* Added path to mt8167 larb header file
* Added Honghui Zhang in copyright header
V3: Added mt8167-larb-port.h file for iommu
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
v5:
* rebased
* Rename MT6397/MT6392/MT6323 into MT63XX to make it more readable when
the list of support PMIC increase
* Removed
Update the MT6397 MFD driver to support the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V5:
* Rebased
* removed mt6392-regulator compatible. This will be send in another
series to make this series easier to merge.
V4:
* Use DEFINE_RES_* macro to define RTC
Add the currently supported bindings for the MT6392 PMIC.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
Acked-for-mfd-by: Lee Jones
---
V5:
* Rebased, removed regulator documentation because it will be send later
on in another patch series
V4:
* No change
V3
Add the following clock support for MT8167 SoC: topckgen, apmixedsys,
infracfg, audsys, imgsys, mfgcfg, mmsys, vdecsys.
Signed-off-by: Fabien Parent
---
drivers/clk/mediatek/Kconfig | 48 +
drivers/clk/mediatek/Makefile|6 +
drivers/clk/mediatek/clk-mt8167-aud.c
Add binding documentation for topckgen, apmixedsys, infracfg, audsys,
imgsys, mfgcfg, mmsys, vdecsys on MT8167 SoC.
Signed-off-by: Fabien Parent
---
.../arm/mediatek/mediatek,apmixedsys.txt | 1 +
.../bindings/arm/mediatek/mediatek,audsys.txt | 1 +
.../bindings/arm/mediatek/mediatek
Hi Chun-Kuang,
> Why don't you add compatible of "mediatek,mt8167-mmsys"?
I forgot to remove 'mmsys' from the commit message. I decided to add
the documentation as part of the series that add support for MT8167 to
drivers/soc/mediatek/mtk-mmsys.c.
If you think it would be better to document it
This commit adds the pinctrl driver for the MediaTek's MT8167 SoC.
Signed-off-by: Fabien Parent
---
drivers/pinctrl/mediatek/Kconfig |7 +
drivers/pinctrl/mediatek/Makefile |1 +
drivers/pinctrl/mediatek/pinctrl-mt8167.c | 362 +
drivers/pinctrl
Add binding documentation of pinctrl-mt65xx for MT8167 SoC.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt
b/Documentation/devicetree
1 - 100 of 237 matches
Mail list logo