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
ails.
Signed-off-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 688
; to reflect whether a port
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_u
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
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
ails.
Signed-off-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
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: add s
; to reflect whether a port
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..d44
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 new c
+ 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
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/mediat
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:
'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 i
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 --
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 1
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
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-nod
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.dts
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
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
V3:
* Removed unicode character in commit summary
V2:
* Remove unneeded cell-
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 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
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 a
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 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 1
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 a
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 Herring
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 for
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 patch
t 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_q
/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
add 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/buss
t 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
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..aaf68cb
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
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.
---
arc
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
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 a
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
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
--- a
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/cp
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-co
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 regu
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_
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 unders
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
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 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
: 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(+),
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
1 - 100 of 223 matches
Mail list logo