LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v3] MediaTek PMIC support
@ 2015-02-05 15:25 Sascha Hauer
  2015-02-05 15:25 ` [PATCH 1/8] soc: Add MediaTek infracfg controller support Sascha Hauer
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Sascha Hauer @ 2015-02-05 15:25 UTC (permalink / raw)
  To: Olof Johansson, Arnd Bergmann
  Cc: linux-arm-kernel, linux-kernel, Rob Herring, Eddie Huang,
	Matthias Brugger, Samuel Ortiz, Lee Jones,
	Yingjoe Chen (陳英洲),
	Henry Chen, YH Chen (陳昱豪),
	kernel

This series adds initial support for the MediaTek MT6397 PMIC and the
necessary infrastructure to attach it on the MT8135 / MT8173 SoCs.

The infrastructure includes:

- pericfg / infracfg controller support
  The pericfg / infracfg controllers contain miscellaneous registers for
  reset controllers and clocks.

- PMIC wrapper support
  On MediaTek MT8135, MT8173 and other SoCs the PMIC is connected via
  SPI. The SPI master interface is not directly visible to the CPU, but
  only through the PMIC wrapper inside the SoC. The communication between
  the SoC and the PMIC can optionally be encrypted. Also a non standard
  Dual IO SPI mode can be used to increase speed. The MT8135 also supports
  a special feature named "IP Pairing". With IP Pairing the pins of some
  SoC internal peripherals can be on the PMIC. The signals of these pins
  are routed over the SPI bus using the pwrap bridge. Because of these
  optional non SPI conform features the PMIC driver is not implemented as
  a SPI bus master driver.

The MT6397 PMIC itself is implemented as a regular mfd device driver which
uses regmap to access the PMIC registers.

This series also adds regulator support for the MT6397 PMIC.

The first 6 patches can be merged through the ARM SoC tree. The mfd
patch is independent of the first 6 patches and can be merged through the
mfd maintainer trees.

changes since v2:

- put device tree docs into a separate patch
- Fix lockdep issues in irq mt6397 handler
- cosmetic changes

Changes since v1:

- document reset bindings for infracfg/pericfg
- fix base addresses in infracfg binding example
- Remove more Email addresses from Flora Fu (She is not working at
  MediaTek anymore, her address is no longer valid)
- drop Regulator support patch, it's already in next

Sascha


^ permalink raw reply	[flat|nested] 11+ messages in thread
* MediaTek PMIC support
@ 2015-01-20  9:47 Sascha Hauer
  2015-01-20  9:47 ` [PATCH 4/8] soc: mediatek: Add PMIC wrapper for MT8135 and MT6397 SoC Sascha Hauer
  0 siblings, 1 reply; 11+ messages in thread
From: Sascha Hauer @ 2015-01-20  9:47 UTC (permalink / raw)
  To: Olof Johansson, Arnd Bergmann
  Cc: linux-arm-kernel, linux-kernel, Rob Herring, Eddie Huang,
	Matthias Brugger, Samuel Ortiz, Lee Jones, Mark Brown

This series adds initial support for the MediaTek MT6397 PMIC and the
necessary infrastructure to attach it on the MT8135 / MT8173 SoCs.

The infrastructure includes:

- pericfg / infracfg controller support
  The pericfg / infracfg controllers contain miscellaneous registers for
  reset controllers and clocks.

- PMIC wrapper support
  On MediaTek MT8135, MT8173 and other SoCs the PMIC is connected via
  SPI. The SPI master interface is not directly visible to the CPU, but
  only through the PMIC wrapper inside the SoC. The communication between
  the SoC and the PMIC can optionally be encrypted. Also a non standard
  Dual IO SPI mode can be used to increase speed. The MT8135 also supports
  a special feature named "IP Pairing". With IP Pairing the pins of some
  SoC internal peripherals can be on the PMIC. The signals of these pins
  are routed over the SPI bus using the pwrap bridge. Because of these
  optional non SPI conform features the PMIC driver is not implemented as
  a SPI bus master driver.

The MT6397 PMIC itself is implemented as a regular mfd device driver which
uses regmap to access the PMIC registers.

This series also adds regulator support for the MT6397 PMIC.

The first 6 patches can be merged through the ARM SoC tree. The mfd/regulator
patches are independent of the first 6 patches and can be merged through the
mfd/regulator maintainer trees.

Sascha


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-02-05 17:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-05 15:25 [PATCH v3] MediaTek PMIC support Sascha Hauer
2015-02-05 15:25 ` [PATCH 1/8] soc: Add MediaTek infracfg controller support Sascha Hauer
2015-02-05 15:25 ` [PATCH 2/8] soc: Add MediaTek pericfg " Sascha Hauer
2015-02-05 15:25 ` [PATCH 3/8] dt: bindings: Add MediaTek MT8135/MT8173 reset controller defines Sascha Hauer
2015-02-05 15:25 ` [PATCH 4/8] soc: mediatek: Add PMIC wrapper for MT8135 and MT6397 SoC Sascha Hauer
2015-02-05 15:25 ` [PATCH 5/8] ARM: dts: mt8135: Add pericfg, infracfg and pmic wrapper nodes Sascha Hauer
2015-02-05 15:25 ` [PATCH 6/8] ARM: dts: mt8135-evbp1: Add PMIC support Sascha Hauer
2015-02-05 15:25 ` [PATCH 7/8] mfd: dt-bindings: Add bindings for the MediaTek MT6397 PMIC Sascha Hauer
2015-02-05 15:25 ` [PATCH 8/8] mfd: Add support " Sascha Hauer
2015-02-05 17:05 ` [PATCH v3] MediaTek PMIC support Matthias Brugger
  -- strict thread matches above, loose matches on Subject: below --
2015-01-20  9:47 Sascha Hauer
2015-01-20  9:47 ` [PATCH 4/8] soc: mediatek: Add PMIC wrapper for MT8135 and MT6397 SoC Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).