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
Hi Enric,
> - scpsys: power-controller@10006000 {
> - compatible = "mediatek,mt8173-scpsys";
> - #power-domain-cells = <1>;
This change generates a lot of warning when compiling the MT8173 device-trees.
Warning (power_domains_property):
On Wed, Oct 28, 2020 at 1:33 PM Mark Brown wrote:
>
> You should be using the of_node from the parent device to find the
> regulators set, look at how other drivers do this.
Thanks for the help. I got it to work. I will send a new revision of
the patches.
Hi Weiyi,
The clock driver for MT8167 has been merged in v5.10-rc1. Can you also
apply the change to that driver.
Thank you
Fabien
On Fri, Oct 23, 2020 at 2:44 AM Weiyi Lu wrote:
>
> remove pll_en_bit(bit0) from en_mask to make en_mask a pure en_mask
> that only used for pll dividers.
>
>
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
Add documentation for the auxadc binding for MT8516 SoC.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt
b/Documentation/devicetree
Add node for the auxadc IP. The IP is compatible with the one found
in MT8173 SoC.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi
b/arch/arm64/boot/dts/mediatek
Hi Matthias,
> Any reason you don't enable the status in the pumpkin dts?
No particular reasons. I looked at what other MTK SoC did for this IP,
and half went with the status to be disabled and the other half went
with an enabled status. So I went the mt8183 way since it is the last
MTK SoC to
Add MT8516 to cpufreq-dt-platdev blacklist since the actual scaling is
handled by the 'mediatek-cpufreq' driver.
Signed-off-by: Fabien Parent
---
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c
b/drivers/cpufreq
Add compatible string for mediatek mt8167
Signed-off-by: Fabien Parent
---
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
drivers/cpufreq/mediatek-cpufreq.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c
b/drivers/cpufreq/cpufreq-dt-platdev.c
index
On MT8167, the two registers SYS_CFG1C and SYS_CFG20 don't have the
same address as on MT8173. Add OF data in order to store the address
of these two registers.
Signed-off-by: Fabien Parent
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 45 ++---
1 file changed, 34 insertions
Add support for HDMI on MT8167. HDMI on MT8167 is similar to
MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20
Signed-off-by: Fabien Parent
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 7 +++
drivers/gpu/drm/mediatek/mtk_hdmi_regs.h | 2 ++
2 files changed, 9 insertions
On Tue, Oct 13, 2020 at 7:28 PM Fabien Parent wrote:
>
> Add support for HDMI on MT8167. HDMI on MT8167 is similar to
> MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20
>
> Signed-off-by: Fabien Parent
> ---
> drivers/gpu/drm/mediatek/mtk_hdmi.c |
On MT8167, the two registers SYS_CFG1C and SYS_CFG20 don't have the
same address as on MT8173. Add OF data in order to store the address
of these two registers.
Signed-off-by: Fabien Parent
---
Changelog:
v2: no changes
drivers/gpu/drm/mediatek/mtk_hdmi.c | 45 ++---
1
Add support for HDMI on MT8167. HDMI on MT8167 is similar to
MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20
Signed-off-by: Fabien Parent
---
Changelog:
v2: fix name of pdata structure
drivers/gpu/drm/mediatek/mtk_hdmi.c | 7 +++
drivers/gpu/drm/mediatek
Add the compatible and the platform data to support PWM on the MT8516
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 eb6674ce995f..6697e30811e7 100644
Add the device-tree documentation for the PWM IP on the MediaTek
MT8516 SoCs.
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
Add the compatible for MT8516 in order to take advantage of the
MediaTek CPUFreq driver for Mediatek's MT8516 SoC.
Signed-off-by: Fabien Parent
---
drivers/cpufreq/mediatek-cpufreq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/cpufreq/mediatek-cpufreq.c
b/drivers/cpufreq
add a call to i2c_check_quirks which will check whether
the quirks pointer is set, and if so will check if the IP has the
NO_ZERO_LEN quirk.
Fixes: abf4923e97c3 ("i2c: mediatek: disable zero-length transfers for mt8183")
Signed-off-by: Fabien Parent
---
v2:
* use i2c_check_quirks
/0x9c
[0.040060] timer_probe+0x6c/0xe0
[0.040507] time_init+0x14/0x44
[0.040932] start_kernel+0x2d0/0x46c
This commit remove the calls to timer_of_cleanup when timer_of_init
fails since it is unnecessary and actually cause warnings to be printed.
Signed-off-by: Fabien Parent
dd a check on the quirk pointer before dereferencing it.
Fixes: abf4923e97c3 ("i2c: mediatek: disable zero-length transfers for mt8183")
Signed-off-by: Fabien Parent
---
drivers/i2c/busses/i2c-mt65xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2
Use the correct macro when adding the MFD devices instead of using
directly '-1' value.
Signed-off-by: Fabien Parent
---
drivers/mfd/mt6397-core.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
index
Use the DEFINE_RES_{MEM,IRQ} to define the RTC reosurce for the MT6397
PMIC.
Signed-off-by: Fabien Parent
---
drivers/mfd/mt6397-core.c | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
index 190ed86ad93e
On Mon, Jun 3, 2019 at 11:37 AM Lee Jones wrote:
>
> On Wed, 15 May 2019, Fabien Parent wrote:
>
> > Update the MT6397 MFD driver to support the MT6392 PMIC.
> >
> > Signed-off-by: Fabien Parent
> > ---
> >
> > V3:
> > * No change
> &g
Add binding documentation of the regulator for MT6392 SoCs.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
v4:
* No change
v3:
* No change
v2:
* Use 'pmic' as node name for the pmic.
* Use 'regulators' as node name for the regulators
* use
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
---
V4:
* No change
V3:
* fix regulator's of_match
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
v4:
* Patch was previously sent separately but merge to this patch series
since there is a hard dependency on the MFD patch
Add the regulator nodes for the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V4:
* No change
V3:
* No change
V2:
* Use 'pmic' as node name for the pmic.
* Use 'regulators' as node name for the regulators
* use dash instead of underscore for regulator's
This patch series aims at bringing support for the MediaTek MT6392 PMIC. This
PMIC is used on the MT8516 Pumpkin board.
This patch series adds support for the following features:
* PMIC keys
* regulator
* RTC
Fabien Parent (7):
dt-bindings: regulator: add support for MT6392
dt-bindings
Update the MT6397 MFD driver to support the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V4:
* Use DEFINE_RES_* macro to define RTC ressources.
* Use PLATFORM_DEVID_NONE instead of -1 value when registering devices.
V3:
* No change
V2:
* Pass IRQ comain to fix
Add support for MT6392 PMIC's keys.
Signed-off-by: Fabien Parent
Acked-by: Dmitry Torokhov
---
V4:
* Patch was previously sent separately but merge to this patch series
since there is a hard dependency on the MFD patch.
---
drivers/input/keyboard/mtk-pmic-keys.c | 14
Add the currently supported bindings for the MT6392 PMIC.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
V4:
* No change
V3:
* No change
V2:
* New patch
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 12
add a call to i2c_check_quirks which will check whether
the quirks pointer is set, and if so will check if the IP has the
NO_ZERO_LEN quirk.
Fixes: abf4923e97c3 ("i2c: mediatek: disable zero-length transfers for mt8183")
Signed-off-by: Fabien Parent
Reviewed-by: Cengiz Can
Reviewed-by:
Use the correct macro when adding the MFD devices instead of using
directly '-1' value.
Signed-off-by: Fabien Parent
Reviewed-by: Matthias Brugger
---
drivers/mfd/mt6397-core.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/mfd/mt6397-core.c b/drivers
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
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
-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
This commit adds the pinctrl driver for the MediaTek's MT8516 SoC.
Signed-off-by: Fabien Parent
---
v2:
* Don't assign anything to eint_regs since the registers are similar
to the default provided by the common pinctrl driver.
---
drivers/pinctrl/mediatek/Kconfig
On Tue, Apr 16, 2019 at 10:25 AM lei liu wrote:
>
> On Tue, 2019-04-16 at 09:55 +0200, Matthias Brugger wrote:
> >
> > On 23/03/2019 22:16, Fabien Parent wrote:
> > > Add binding documentation of spi-mt65xx for MT8516 SoC.
> > >
> > > Signed-off-by:
Add support for MT6392 PMIC's keys.
Signed-off-by: Fabien Parent
---
drivers/input/keyboard/mtk-pmic-keys.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/input/keyboard/mtk-pmic-keys.c
b/drivers/input/keyboard/mtk-pmic-keys.c
index 8e6ebab05ab4..aaf68cbf7e5b
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs.
Signed-off-by: Fabien Parent
---
.../devicetree/bindings/input/mtk-pmic-keys.txt | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/input/mtk-pmic
This patch series aims at bringing support for the MediaTek MT6392 PMIC. This
PMIC is used on the MT8516 Pumpkin board.
This patch series adds support for the following features:
* PMIC keys
* regulator
* RTC
Fabien Parent (5):
dt-bindings: regulator: add support for MT6392
regulator
Add binding documentation of the regulator for MT6392 SoCs.
Signed-off-by: Fabien Parent
---
v2:
* Use 'pmic' as node name for the pmic.
* Use 'regulators' as node name for the regulators
* use dash instead of underscore for regulator's node names.
---
.../bindings
Add the currently supported bindings for the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V2:
* New patch
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd
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
---
V2:
* no changes
---
drivers/regulator/Kconfig
Add the regulator nodes for the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V2:
* Use 'pmic' as node name for the pmic.
* Use 'regulators' as node name for the regulators
* use dash instead of underscore for regulator's node names.
---
arch/arm64/boot/dts/mediatek
Update the MT6397 MFD driver to support the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V2:
* Pass IRQ comain to fix invalid MFD devices IRQs.
* Remove resources and mfd cells for device we don't support.
* Rename IRQ names to follow what's done for MT6397
Add the currently supported bindings for the MT6392 PMIC.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
V3:
* No change
V2:
* New patch
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff
Update the MT6397 MFD driver to support the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V3:
* No change
V2:
* Pass IRQ comain to fix invalid MFD devices IRQs.
* Remove resources and mfd cells for device we don't support.
* Rename IRQ names to follow what's
Add binding documentation of the regulator for MT6392 SoCs.
Signed-off-by: Fabien Parent
Reviewed-by: Rob Herring
---
v3:
* No change
v2:
* Use 'pmic' as node name for the pmic.
* Use 'regulators' as node name for the regulators
* use dash instead of underscore
This patch series aims at bringing support for the MediaTek MT6392 PMIC. This
PMIC is used on the MT8516 Pumpkin board.
This patch series adds support for the following features:
* PMIC keys
* regulator
* RTC
Fabien Parent (5):
dt-bindings: regulator: add support for MT6392
regulator
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
---
V3:
* fix regulator's of_match following the renaming
Add the regulator nodes for the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
V3:
* No change
V2:
* Use 'pmic' as node name for the pmic.
* Use 'regulators' as node name for the regulators
* use dash instead of underscore for regulator's node names.
---
arch
Add the ADDA DAI driver for the MediaTek MT8516 SoC.
Signed-off-by: Fabien Parent
---
sound/soc/mediatek/mt8516/Makefile| 3 +-
sound/soc/mediatek/mt8516/mt8516-afe-common.h | 18 +
sound/soc/mediatek/mt8516/mt8516-dai-adda.c | 316 ++
3 files changed, 336
This commit adds the PCM driver for the MediaTek MT8516 SoC.
Signed-off-by: Fabien Parent
---
sound/soc/mediatek/Kconfig | 10 +
sound/soc/mediatek/Makefile | 1 +
sound/soc/mediatek/mt8516/Makefile | 6 +
sound/soc/mediatek/mt8516/mt8516-afe-pcm.c
Not every SoC have the following registers: agent_disable_reg,
msg_reg, and hd_reg. Make them optional in order to allow more
SoC to use the common DAI FE code.
Signed-off-by: Fabien Parent
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 23 +-
1 file changed, 14 insertions
Register the ADDA DAI driver into the MT8516 PCM driver.
Signed-off-by: Fabien Parent
---
sound/soc/mediatek/mt8516/mt8516-afe-pcm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/mediatek/mt8516/mt8516-afe-pcm.c
b/sound/soc/mediatek/mt8516/mt8516-afe-pcm.c
index 84fbb5dbbd14
Add documentation for the bindings of the MT8516 AFE PCM driver.
Signed-off-by: Fabien Parent
---
.../bindings/sound/mt8516-afe-pcm.txt | 28 +++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/mt8516-afe-pcm.txt
diff --git
This patch series add a basic PCM driver for MediaTek MT8516 with only
support for ADDA Playback & Recording for now.
Fabien Parent (5):
ASoC: mediatek: make agent_disable, msb & hd fields optional
dt-bindings: sound: Add MT8516 AFE PCM bindings
ASoC: mediatek: Add MT8516 PCM drive
Add audsys clock driver for MediaTek MT8516 SoC.
Signed-off-by: Fabien Parent
---
drivers/clk/mediatek/Kconfig | 6 +++
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt8516-aud.c | 65 +++
3 files changed, 72 insertions(+)
create mode
Add AUDSYS device tree bindings documentation for MediaTek MT8516 SoC.
Signed-off-by: Fabien Parent
---
.../bindings/arm/mediatek/mediatek,audsys.txt | 1 +
include/dt-bindings/clock/mt8516-clk.h | 17 +
2 files changed, 18 insertions(+)
diff --git a/Documentation
Register the ADDA DAI driver into the MT8516 PCM driver.
Signed-off-by: Fabien Parent
---
This patch depends on patch serie:
[PATCH 0/5] ASoC: mediatek: Add basic PCM driver for MT8516
v2:
* Register ADDA before memif to fix ordering issue.
---
sound/soc/mediatek/mt8516
'top_base' memory region is optional. Check that the resource is valid
before using it. This avoid getting a "invalid resource" error message
printed by the kernel.
Signed-off-by: Fabien Parent
---
V2:
Fix invalid condition: check against 'res' variable instead of 'ret'.
--
Add binding documentation of infracfg for MT8516 SoC.
Signed-off-by: Fabien Parent
---
.../bindings/arm/mediatek/mediatek,infracfg.txt | 1 +
include/dt-bindings/clock/mt8516-clk.h | 9 +
2 files changed, 10 insertions(+)
diff --git
a/Documentation
Add binding documentation of the regulator for MT6392 SoCs.
Signed-off-by: Fabien Parent
---
.../bindings/regulator/mt6392-regulator.txt | 220 ++
1 file changed, 220 insertions(+)
create mode 100644
Documentation/devicetree/bindings/regulator/mt6392-regulator.txt
diff
analog in),
serial over USB, and an expansion header.
This patch series adds the basic board support to be able to boot
on the eMMC of the MT8516 based Pumpkin board.
The board is using a MT6392 PMIC.
Fabien Parent (24):
dt-bindings: regulator: add support for MT6392
regulator: mt6392: Add
The variable rstc is set only when the SoC PWRAP have the
PWRAP_CAP_RESET capability. Check whether rstc is set before
using it to avoid errors.
Signed-off-by: Fabien Parent
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers
Signed-off-by: Fabien Parent
---
drivers/pinctrl/mediatek/Kconfig |7 +
drivers/pinctrl/mediatek/Makefile |1 +
drivers/pinctrl/mediatek/pinctrl-mt8516.c | 384 ++
drivers/pinctrl/mediatek/pinctrl-mtk-mt8516.h | 1182 +
4 files changed
Add binding documentation of mediatek,sysirq for MT8516 SoC.
Signed-off-by: Fabien Parent
---
.../bindings/interrupt-controller/mediatek,sysirq.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/Documentation/devicetree/bindings/interrupt-controller/mediatek
Add binding documentation of spi-mt65xx for MT8516 SoC.
Signed-off-by: Fabien Parent
---
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
-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt8516-pinfunc.h | 663 ++
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 409 +++
2 files changed, 1072 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt8516-pinfunc.h
create mode 100644 arch/arm64/boot/dts
Add binding documentation of mtk-uart for MT8516 SoC.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/serial/mtk-uart.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt
b/Documentation/devicetree/bindings/serial/mtk
Add binding documentation of topckgen for MT8516 SoC.
Signed-off-by: Fabien Parent
---
.../arm/mediatek/mediatek,topckgen.txt| 1 +
include/dt-bindings/clock/mt8516-clk.h| 192 ++
2 files changed, 193 insertions(+)
create mode 100644 include/dt-bindings/clock
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
---
drivers/regulator/Kconfig | 9 +
drivers
Add the regulator nodes for the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/mt6392.dtsi | 208 +++
1 file changed, 208 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt6392.dtsi
diff --git a/arch/arm64/boot/dts/mediatek/mt6392
Add binding documentation of pinctrl-mt65xx for MT8516 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
Add binding documentation of pwrap for MT8516 SoCs.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/soc/mediatek/pwrap.txt
b/Documentation/devicetree/bindings/soc
'top_base' memory region is optional. Check that the resource is valid
before using it. This avoid getting a "invalid resource" error message
printed by the kernel.
Signed-off-by: Fabien Parent
---
drivers/mmc/host/mtk-sd.c | 8 +---
1 file changed, 5 insertions(+), 3 deletion
Add binding documentation of mtk-timer for MT8516 SoC.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
b/Documentation/devicetree
Add binding documentation of mtk-sd for MT8516 SoCs.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/mmc/mtk-sd.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt
b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
index
Add binding documentation of i2c-mtk for MT8516 SoC.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
together.
This commit is adding the basic boot support for the Pumpkin MT8516
board on the eMMC.
Signed-off-by: Fabien Parent
---
arch/arm64/boot/dts/mediatek/Makefile | 1 +
.../boot/dts/mediatek/mt8516-pumpkin.dts | 19 ++
.../boot/dts/mediatek/pumpkin-common.dtsi | 210
Add binding documentation of mtk-wdt for MT8516 SoC.
Signed-off-by: Fabien Parent
---
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
b/Documentation/devicetree/bindings/watchdog
Add the clock driver for the MT8516 SoC.
Signed-off-by: Fabien Parent
---
drivers/clk/mediatek/Kconfig | 9 +
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt8516.c | 815 ++
3 files changed, 825 insertions(+)
create mode 100644 drivers
Add binding documentation of apmixedsys for MT8516 SoC.
Signed-off-by: Fabien Parent
---
.../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 +
include/dt-bindings/clock/mt8516-clk.h | 10 ++
2 files changed, 11 insertions(+)
diff --git
a/Documentation
Update the MT6397 MFD driver to support the MT6392 PMIC.
Signed-off-by: Fabien Parent
---
drivers/mfd/mt6397-core.c| 96 ++
include/linux/mfd/mt6392/core.h | 42 +++
include/linux/mfd/mt6392/registers.h | 487 +++
3 files changed, 625 insertions
Add the code to support the pwrap IP on the MediaTek MT8516 SoC.
Signed-off-by: Fabien Parent
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 106 +++
1 file changed, 106 insertions(+)
diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c
b/drivers/soc/mediatek/mtk-pmic-wrap.c
Add the MSDC configuration for the MT8516 SoC.
Signed-off-by: Fabien Parent
---
drivers/mmc/host/mtk-sd.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 573aa127d00b..51139275b1b2 100644
--- a/drivers/mmc/host/mtk
On Sun, Mar 24, 2019 at 4:34 AM Yingjoe Chen wrote:
>
> On Sat, 2019-03-23 at 22:15 +0100, Fabien Parent wrote:
> > 'top_base' memory region is optional. Check that the resource is valid
> > before using it. This avoid getting a "invalid resource" error messa
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
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
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
---
arch/arm/boot/dts/da850-lcdk.dts | 1 +
1 file changed, 1 insertion(+)
diff
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
---
arch/arm/boot/dts/da850-evm.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch
101 - 200 of 237 matches
Mail list logo