From: Matthias Brugger
The dsi children don't have any reg property, so we don't need address and
size cells. This makes dtbs_check happy.
CC: Hsin-Yi Wang
CC: Enric Balletbo i Serra
CC: Nicolas Boichat
Signed-off-by: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 3
From: Matthias Brugger
Fix unit names to make dtbs_check happy.
Signed-off-by: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
b/arch/arm64/boot/dts/mediatek/mt818
From: Matthias Brugger
Fix unit names to make dtbs_check happy.
Signed-off-by: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
b/arch/arm64/boot/dts/me
From: Matthias Brugger
The regulator framework does not need compatible, it's actually
superfluous. Drop it from the DT.
Signed-off-by: Matthias Brugger
Series-to: lee.jo...@linaro.org
Series-to: robh...@kernel.org
Series-to: matthias@gmail.com
Series-to: lgirdw...@gmail.com
Series-to: bro
From: Matthias Brugger
The regulator framework does not need compatible, it's acutall
superfluous. Drop it from the DT.
Signed-off-by: Matthias Brugger
---
arch/arm/boot/dts/mt6323.dtsi | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/mt6323.dtsi b/arch/
From: Matthias Brugger
Define the regulator node under which the regulators are described.
Signed-off-by: Matthias Brugger
---
drivers/regulator/mt6323-regulator.c | 3 +++
drivers/regulator/mt6358-regulator.c | 4
drivers/regulator/mt6397-regulator.c | 10 +++---
3 files changed, 1
From: Matthias Brugger
The regulator framework does not need compatible, it's actually
superfluous. Drop it from the DT.
Signed-off-by: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt6358.dtsi | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/media
From: Matthias Brugger
The regulator does not need to have a device tree compatible, if it's
part of an MFD. We leave the node name to the SoC specific name (e.g.
mt6323regulator) to allow older kernels to work with the new binding.
Signed-off-by: Matthias Brugger
---
.../bindings/regulator/mt
From: Matthias Brugger
For regulators a compatible string is superfluous. Drop the string.
Signed-off-by: Matthias Brugger
---
drivers/mfd/mt6397-core.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
index 7518d74c3b4c3..13037f4bc54e
From: Matthias Brugger
Having a separate compatible for the regulator node is redundant and not
needed. Delete the corresponding requierement.
Signed-off-by: Matthias Brugger
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Documentati
From: Matthias Brugger
The header file of GCE should be for MT8183 SoC instead of MT8173.
Fixes: 91f9c963ce79 ("arm64: dts: mt8183: Add display nodes for MT8183")
Reported-by: CK Hu
Signed-off-by: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +-
1 file changed, 1 insert
From: Matthias Brugger
The binding documentation mentions that a compatible is required for the
MT6358 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .ueve
From: Matthias Brugger
The binding documentation mentions that a compatible is required for the
MT6323 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .ueve
From: Matthias Brugger
MFD cell names and compatibles use '_' instead of '-', which is common
practice for names and the standard for DT compatibles.
This will also fix the probing for the drivers already implemented
(mt6360-adc and mt6360-tcpc).
Fixes: 7edd363421da ("mfd: Add support for PMIC M
From: Matthias Brugger
The binding documentation mentions that a compatible is required for the
MT6323 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .ueve
From: Matthias Brugger
The binding documentation mentions that a compatible is required for the
MT6358 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .ueve
From: Matthias Brugger
Binding documentation mentions that a compatible is required for the
MT6360 device node, but the driver doesn't provide a OF match table.
Fixes: d321571d5e4c ("regulator: mt6360: Add support for MT6360 regulator")
Signed-off-by: Matthias Brugger
---
Changes in v2:
- che
From: Matthias Brugger
The binding documentation mentions that a compatible is required for the
MT6323 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .ueve
From: Matthias Brugger
The binding documentation mentions that a compatible is required for the
MT6358 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .ueve
From: Matthias Brugger
Binding documentation mentions that a compatible is required for the
MT6360 device node, but the driver doesn't provide a OF match table.
Signed-off-by: Matthias Brugger
---
drivers/regulator/mt6360-regulator.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/
From: Matthias Brugger
When trying to disable the block we bitwise or the control
register with value zero. This is confusing as using bitwise or with
value zero doesn't have any effect at all. Drop this as we already set
the enable bit to zero by appling inverted RNG_RBGEN_MASK.
Signed-off-by:
From: Matthias Brugger
We are calling the same code for enable and disable the block in various
parts of the driver. Put that code into a new function to reduce code
duplication.
Signed-off-by: Matthias Brugger
Acked-by: Florian Fainelli
---
Changes in v2:
- rename function to iproc_rng200_e
From: Matthias Brugger
When trying to disable the block we bitwise or the control
register with value zero. This will leave the block always turned on.
Fix this by setting the corresponding bit to zero.
Fixes: c83d45d5685f ("hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver")
Signed-off-by: Ma
From: Matthias Brugger
We are calling the same code for enable and disable the block in various
parts of the driver. Put that code into a new function to reduce code
duplication.
Signed-off-by: Matthias Brugger
---
drivers/char/hw_random/iproc-rng200.c | 37 ---
1 fil
From: Matthias Brugger
Apart from a firmware binary the chip needs a config file used by the
FW. Add the config files to modinfo so that they can be read by
userspace.
Signed-off-by: Matthias Brugger
---
Changes in v3:
Use only two more generic wildcards.
Changes in v2:
In comparison to firs
From: Matthias Brugger
Apart from a firmware binary the chip needs a config file used by the
FW. Add the config files to modinfo so that they can be read by
userspace.
Signed-off-by: Matthias Brugger
---
Changes in v2:
In comparison to first version [0] we use wildcards to enumerate the
firmw
From: Matthias Brugger
The old wiki page unfortunately got lost by server crash.
The new wiki can be found on the kernel.org infrastructure
Signed-off-by: Matthias Brugger
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 14b8ec
From: Matthias Brugger
The struct i2c_spec_values have it's members documented but is
missing the starting '@', which leads to warings like:
drivers/i2c/busses/i2c-mt65xx.c:267: warning: Function parameter or member
'min_low_ns' not described in 'i2c_spec_values'
We also delete min_high_ns mem
From: Matthias Brugger
Apart from a firmware binary the chip needs a config file used by the
FW. Add the config files to modinfo so that they can be read by
userspace.
Signed-off-by: Matthias Brugger
---
.../wireless/broadcom/brcm80211/brcmfmac/sdio.c | 16
1 file changed,
From: Matthias Brugger
The driver relies on the compatible string from DT to determine which
FW configuration file it should load. The DTS spec allows for '/' as
part of the compatible string. We change this to '-' so that we will
still be able to load the config file, even when the compatible ha
From: Matthias Brugger
The driver relies on the compatible string from DT to determine which
FW configuration file it should load. The DTS spec allows for '/' as
part of the compatible string. We change this to '-' so that we will
still be able to load the config file, even when the compatible ha
From: Matthias Brugger
The driver relies on the compatible string from DT to determine which
FW configuration file it should load. The DTS spec allows for '/' as
part of the compatible string. We change this to '-' so that we will
still be able to load the config file, even when the compatible ha
From: Matthias Brugger
The driver does not have a name, this will lead to a NULL pointer
deref when we try to register the driver to a bus.
Fixes: 7edd363421da ("mfd: Add support for PMIC MT6360")
Reported-by: kernel test robot
Signed-off-by: Matthias Brugger
---
drivers/mfd/mt6360-core.c | 1
From: Matthias Brugger
If we pass a driver without a name, we end up in a NULL pointer
derefernce. Check for the name before trying to register the driver.
As we don't have a driver name to point to in the error message, we dump
the call stack to make it easier to detect the buggy driver.
Report
From: Matthias Brugger
The file mixes printk calls together with calls to pr_*().
Covert to printk alias functions to unify the code.
Signed-off-by: Matthias Brugger
---
drivers/base/driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/driver.c b/driver
From: Matthias Brugger
The binding example is missing the fallback compatible.
This is needed as the driver only matches against mt6577.
Signed-off-by: Matthias Brugger
---
Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --
From: Matthias Brugger
The mmsys driver is now the top level entry point for the multimedia
system (mmsys), we bind the clock driver by creating a platform device.
We also bind the MediaTek DRM driver which is not yet implement and
therefor will errror out for now.
Signed-off-by: Matthias Brugge
From: Matthias Brugger
Node names are supposed to match the class of the device. The
mmsys node is a syscon as it provides more then just a clock controller.
Update the name.
Signed-off-by: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt6797.dtsi | 2 +-
1 file changed, 1 insertion(+),
From: Matthias Brugger
The mmsys driver is now the top level entry point for the multimedia
system (mmsys), we bind the clock driver by creating a platform device.
We also bind the MediaTek DRM driver which is not yet implement and
therefor will errror out for now.
Signed-off-by: Matthias Brugge
From: Matthias Brugger
The mmsys driver is now the top level entry point for the multimedia
system (mmsys), we bind the clock driver by creating a platform device.
We also bind the MediaTek DRM driver which is not yet implement and
therefor will errror out for now.
Signed-off-by: Matthias Brugge
From: Matthias Brugger
The driver will be loaded by via a platform device. So we
will need to get the device_node from the parent device.
Depending on this we will set the driver data.
As all this is done later already, just delete the call to
of_device_get_match_data.
Signed-off-by: Matthias Br
From: Matthias Brugger
The maximal usable DMA burst size can vary in different SoCs.
Add a optional property to configure the DMA channels properly.
Signed-off-by: Matthias Brugger
---
Documentation/devicetree/bindings/net/brcm,bcmgenet.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Matthias Brugger
Enable Gigabit Ethernet support on the Raspberry Pi 4
Model B.
Signed-off-by: Matthias Brugger
---
arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 22 ++
arch/arm/boot/dts/bcm2711.dtsi| 18 ++
2 files changed, 40 insertions(+)
diff
From: Matthias Brugger
Raspberry Pi 4 uses the broadcom genet chip in version five.
This chip has a dma controller integrated. Up to now the maximal
burst size was hard-coded to 0x10. But it turns out that Raspberry Pi 4
does only work with the smaller maximal burst size of 0x8.
This series adds
From: Matthias Brugger
Depending on the HW, the maximal usable DMA burst size can vary.
If not set accordingly a timeout in the transmit queue happens and no
package can be sent. Read to optional max-burst-sz property, if not
present, fallback to the standard value.
Signed-off-by: Matthias Brugg
From: Jasper Mattsson
Currently, DRAM-related clocks are not marked with CLK_IS_CRITICAL
for MT6797. This causes memory corruption when the system is
booted without clk_ignore_unused.
This patch marks MUX ddrphycfg_sel as well as gates infra_dramc_f26m
and infra_dramc_b_f26m as CLK_IS_CRITICAL.
From: Jasper Mattsson
This is required to mark outputs of certain MUXes as CLK_IS_CRITICAL.
Signed-off-by: Jasper Mattsson
Acked-by: Mars Cheng
Signed-off-by: Matthias Brugger
---
drivers/clk/mediatek/clk-mtk.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drive
From: Jasper Mattsson
This is required to mark gates as CLK_IS_CRITICAL.
Signed-off-by: Jasper Mattsson
Acked-by: Mars Cheng
Signed-off-by: Matthias Brugger
---
drivers/clk/mediatek/clk-gate.c | 4 +++-
drivers/clk/mediatek/clk-gate.h | 3 ++-
drivers/clk/mediatek/clk-mtk.c | 2 +-
drivers/
From: Matthias Brugger
Jasper send this series some month ago. As there was no reaction from
his side, I'll do a friendly take-over.
I tested the patches on my Helios X20 boards and they fix the issue.
I didn't add a Tested-by tag as I added my Signed-off-by.
Changes since v3:
- add comments exp
From: Jasper Mattsson
Currently, DRAM-related clocks are not marked with CLK_IS_CRITICAL
for MT6797. This causes memory corruption when the system is
booted without clk_ignore_unused.
This patch marks MUX ddrphycfg_sel as well as gates infra_dramc_f26m
and infra_dramc_b_f26m as CLK_IS_CRITICAL.
From: Jasper Mattsson
This is required to mark gates as CLK_IS_CRITICAL.
Signed-off-by: Jasper Mattsson
Acked-by: Mars Cheng
Signed-off-by: Matthias Brugger
---
drivers/clk/mediatek/clk-gate.c | 4 +++-
drivers/clk/mediatek/clk-gate.h | 3 ++-
drivers/clk/mediatek/clk-mtk.c | 2 +-
drivers/
From: Matthias Brugger
Jasper send this series some month ago. As there was no reaction from
his side, I'll do a friendly take-over.
I tested the patches on my Helios X20 boards and they fix the issue.
I didn't add a Tested-by tag as I added my Signed-off-by.
Changes since v2 (https://patchwork.
From: Jasper Mattsson
This is required to mark outputs of certain MUXes as CLK_IS_CRITICAL.
Signed-off-by: Jasper Mattsson
Acked-by: Mars Cheng
Signed-off-by: Matthias Brugger
---
drivers/clk/mediatek/clk-mtk.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drive
From: Jasper Mattsson
Currently, DRAM-related clocks are not marked with CLK_IS_CRITICAL
for MT6797. This causes memory corruption when the system is
booted without clk_ignore_unused.
This patch marks MUX ddrphycfg_sel as well as gates infra_dramc_f26m
and infra_dramc_b_f26m as CLK_IS_CRITICAL.
From: Matthias Brugger
This patch adds the pinctrl configuration for the mt6797 EVB.
Signed-off-by: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 2 ++
arch/arm64/boot/dts/mediatek/mt6797.dtsi| 7 +++
2 files changed, 9 insertions(+)
diff --git a/arch/arm64/boot/d
From: Jasper Mattsson
This marks MUXes axi_sel and ddrphycfg_sel as well as gates
infra_dramc_f26m and infra_dramc_b_f26m as with CLK_IS_CRITICAL.
Fixes: 96596aa06628 ("clk: mediatek: add clk support for MT6797")
Signed-off-by: Jasper Mattsson
Signed-off-by: Matthias Brugger
---
drivers/clk/m
From: Jasper Mattsson
This is required to mark outputs of certain MUXes as CLK_IS_CRITICAL.
Fixes: 96596aa06628 ("clk: mediatek: add clk support for MT6797")
Signed-off-by: Jasper Mattsson
Signed-off-by: Matthias Brugger
---
drivers/clk/mediatek/clk-mtk.h | 8 ++--
1 file changed, 6 inser
From: Jasper Mattsson
This is required to mark gates as CLK_IS_CRITICAL.
Fixes: 96596aa06628 ("clk: mediatek: add clk support for MT6797")
Signed-off-by: Jasper Mattsson
Signed-off-by: Matthias Brugger
---
drivers/clk/mediatek/clk-gate.c | 4 +++-
drivers/clk/mediatek/clk-gate.h | 3 ++-
driv
From: Matthias Brugger
Jasper send this series some month ago. As there was no reaction from
his side, I'll do a friendly take-over.
I tested the patches on my Helios X20 boards and they fix the issue.
I didn't add a Tested-by tag as I added my Signed-off-by.
Changes since v1:
- add a fixes tag.
From: Matthias Brugger
The clock node is now a child of the mmsys node.
Update the driver to support this and thenew compatible
in the driver.
Signed-off-by: Matthias Brugger
---
drivers/clk/mediatek/clk-mt6797-mm.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/d
From: Matthias Brugger
By defaul of-based thermal driver do not enable hwmon.
This patch does this explicitly, so that the temperature can be read
through the common hwmon sysfs.
Signed-off-by: Matthias Brugger
---
drivers/thermal/broadcom/bcm2835_thermal.c | 11 +++
1 file changed, 11
From: Matthias Brugger
Some hardware does not implement two-level page tables so that
the amount of contigious memory needed by the baser is bigger
then the zone order. This is a known problem on Cavium Thunderx
with 4K page size.
We fix this by adding an errata which allocates the memory early
From: Matthias Brugger
It can happen that the clock drivers wasn't probed before the
ddp driver gets invoked. The driver used to omit a warning
that the driver failed to get the clocks. Omit this error on
the defered probe path.
Signed-off-by: Matthias Brugger
Acked-by: CK Hu
---
drivers/gpu/
From: Matthias Brugger
The mmsys memory space is shared between the drm and the
clk driver. Use regmap to access it.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 +--
drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 38 ++
From: Matthias Brugger
Add binding description for the mmsys mfd for some Mediatek
devices. mmsys has some registers to control clock gates (which is
used in the clk driver) and some registers to set the routing and enable
the differnet blocks of the display subsystem.
Signed-off-by: Matthias Br
From: Matthias Brugger
As the new mfd device is in place, switch probing
for the MMSYS to support invocation from the mfd device.
Signed-off-by: Matthias Brugger
Acked-by: Stephen Boyd
---
drivers/clk/mediatek/clk-mt8173.c | 19 ---
1 file changed, 16 insertions(+), 3 deletion
From: Matthias Brugger
With the mtk-mmsys MFD device in place, we switch the probing for
mt2701 from device-tree to mfd.
Signed-off-by: Matthias Brugger
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 30 +++---
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git
From: Matthias Brugger
Mediatek SoCs include several soc specific drivers as well
as a mfd device. Add these to the maintainers file.
Signed-off-by: Matthias Brugger
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0a1410d5a621..74f7ea345096
From: Matthias Brugger
The MMSYS subsystem includes clocks and drm components.
This patch adds a MFD device to probe both drivers from the same
device tree compatible.
Signed-off-by: Matthias Brugger
---
drivers/mfd/Kconfig | 9 ++
drivers/mfd/Makefile| 2 ++
drivers/mfd/mtk-mmsy
From: Matthias Brugger
Changes since v2:
- fix kconfig typo (shame on me)
- delete __initconst from mm_clocks as converted to a platform driver
Changes since v1:
- add binding documentation
- ddp: use regmap_update_bits
- ddp: ignore EPROBE_DEFER on clock probing
- mfd: delete mmsys_private
- ad
From: Matthias Brugger
Add devices for the mt8173 SoC.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/mfd/mtk-mmsys.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/mfd/mtk-mmsys.c b/drivers/mfd/mtk-mmsys.c
index c802343fb1c6..5585a561a02f
From: Matthias Brugger
Use the MFD device for SoC mt8173. Probing via devicetree
is no longer needed for any SoC, so delete it.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 28 +++-
1 file changed, 7 insertions
From: Matthias Brugger
When probe through the MFD, it can happen that the
clock drivers wasn't probed before the ddp driver gets
invoked. The driver used to omit a warning that the driver
failed to get the clocks. Omit this error on the defered probe path.
Signed-off-by: Matthias Brugger
---
d
From: Matthias Brugger
As the new mfd device is in place, switch probing
for the MMSYS to support invocation from the mfd device.
Signed-off-by: Matthias Brugger
Acked-by: Stephen Boyd
---
drivers/clk/mediatek/clk-mt2701-mm.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
d
From: Matthias Brugger
The mmsys memory space is shared between the drm and the
clk driver. Use regmap to access it.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 ++--
drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 38 +
From: Matthias Brugger
With the mtk-mmsys MFD device in place, we switch the probing for
mt2701 from device-tree to mfd.
Signed-off-by: Matthias Brugger
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 30 +++---
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git
From: Matthias Brugger
When probe through the MFD, it can happen that the
clock drivers wasn't probed before the ddp driver gets
invoked. The driver used to omit a warning that the driver
failed to get the clocks. Omit this error on the defered probe path.
Signed-off-by: Matthias Brugger
---
d
From: Matthias Brugger
Use the MFD device for SoC mt8173. Probing via devicetree
is no longer needed for any SoC, so delete it.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 28 +++-
1 file changed, 7 insertions
From: Matthias Brugger
As the new mfd device is in place, switch probing
for the MMSYS to support invocation from the mfd device.
Signed-off-by: Matthias Brugger
Acked-by: Stephen Boyd
---
drivers/clk/mediatek/clk-mt8173.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(
From: Matthias Brugger
Add devices for the mt8173 SoC.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/mfd/mtk-mmsys.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/mfd/mtk-mmsys.c b/drivers/mfd/mtk-mmsys.c
index c802343fb1c6..5585a561a02f
From: Matthias Brugger
Mediatek SoCs include several soc specific drivers as well
as a mfd device. Add these to the maintainers file.
Signed-off-by: Matthias Brugger
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0a1410d5a621..74f7ea345096
From: Matthias Brugger
The MMSYS subsystem includes clocks and drm components.
This patch adds a MFD device to probe both drivers from the same
device tree compatible.
Signed-off-by: Matthias Brugger
---
drivers/mfd/Kconfig | 9 ++
drivers/mfd/Makefile| 2 ++
drivers/mfd/mtk-mmsy
From: Matthias Brugger
Changes since v1:
- add binding documentation
- ddp: use regmap_update_bits
- ddp: ignore EPROBE_DEFER on clock probing
- mfd: delete mmsys_private
- add Reviewed-by and Acked-by tags
---
MMSYS in Mediatek SoCs has some registers to control clock gates (which is
used in
From: Matthias Brugger
As the new mfd device is in place, switch probing
for the MMSYS to support invocation from the mfd device.
Signed-off-by: Matthias Brugger
Acked-by: Stephen Boyd
---
drivers/clk/mediatek/clk-mt2701-mm.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
d
From: Matthias Brugger
Add binding description for the mmsys mfd for some Mediatek
devices. mmsys has some registers to control clock gates (which is
used in the clk driver) and some registers to set the routing and enable
the differnet blocks of the display subsystem.
Signed-off-by: Matthias Br
From: Matthias Brugger
The mmsys memory space is shared between the drm and the
clk driver. Use regmap to access it.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 ++--
drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 38 +
From: Matthias Brugger
The mmsys memory space is shared between the drm and the
clk driver. Use regmap to access it.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 ++--
drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 38 +
From: Matthias Brugger
As the new mfd device is in place, switch probing
for the MMSYS to support invocation from the mfd device.
Signed-off-by: Matthias Brugger
Acked-by: Stephen Boyd
---
drivers/clk/mediatek/clk-mt8173.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(
From: Matthias Brugger
Use the MFD device for SoC mt8173. Probing via devicetree
is no longer needed for any SoC, so delete it.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 28 +++-
1 file changed, 7 insertions
From: Matthias Brugger
When probe through the MFD, it can happen that the
clock drivers wasn't probed before the ddp driver gets
invoked. The driver used to omit a warning that the driver
failed to get the clocks. Omit this error on the defered probe path.
Signed-off-by: Matthias Brugger
---
d
From: Matthias Brugger
Add devices for the mt8173 SoC.
Signed-off-by: Matthias Brugger
Reviewed-by: Philipp Zabel
---
drivers/mfd/mtk-mmsys.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/mfd/mtk-mmsys.c b/drivers/mfd/mtk-mmsys.c
index c802343fb1c6..5585a561a02f
From: Matthias Brugger
Mediatek SoCs include several soc specific drivers as well
as a mfd device. Add these to the maintainers file.
Signed-off-by: Matthias Brugger
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0a1410d5a621..74f7ea345096
From: Matthias Brugger
As the new mfd device is in place, switch probing
for the MMSYS to support invocation from the mfd device.
Signed-off-by: Matthias Brugger
Acked-by: Stephen Boyd
---
drivers/clk/mediatek/clk-mt2701-mm.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
d
From: Matthias Brugger
With the mtk-mmsys MFD device in place, we switch the probing for
mt2701 from device-tree to mfd.
Signed-off-by: Matthias Brugger
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 30 +++---
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git
From: Matthias Brugger
Add binding description for the mmsys mfd for some Mediatek
devices. mmsys has some registers to control clock gates (which is
used in the clk driver) and some registers to set the routing and enable
the differnet blocks of the display subsystem.
Signed-off-by: Matthias Br
From: Matthias Brugger
The MMSYS subsystem includes clocks and drm components.
This patch adds a MFD device to probe both drivers from the same
device tree compatible.
Signed-off-by: Matthias Brugger
---
drivers/mfd/Kconfig | 9 ++
drivers/mfd/Makefile| 2 ++
drivers/mfd/mtk-mmsy
From: Matthias Brugger
Changes since v1:
- add binding documentation
- ddp: use regmap_update_bits
- ddp: ignore EPROBE_DEFER on clock probing
- mfd: delete mmsys_private
- add Reviewed-by and Acked-by tags
---
MMSYS in Mediatek SoCs has some registers to control clock gates (which is
used in
97 matches
Mail list logo