Skip to content

OMAP System Control Module

Konstantin Baydarov linux-arm-kernel linux-omap linux-pm 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesNew
  2. v37 patches 0 repliesSuperseded
  3. v2 RFC10 of 11 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC10 of 11 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: OMAP4: Remove un-used control module headers and defines.arch/arm/mach-omap2/control.h arch/arm/mach-omap2/include/mach/ctrl_module_core_44xx.h arch/arm/mach-omap2/include/mach/ctrl_module_pad_core_44xx.h +2 more+43 -21341 reply
1/4ARM: OMAP4: Remove un-used control module headers and defines.+0 -01 reply
2/4mfd: omap: control: core system control driverDocumentation/devicetree/bindings/mfd/omap_control.txt arch/arm/mach-omap2/Kconfig arch/arm/plat-omap/Kconfig +4 more+241 -05 replies
2/4mfd: omap: control: core system control driver+0 -01 reply
2/4mfd: omap: control: core system control driverarch/arm/mach-omap2/control.c arch/arm/mach-omap2/id.c drivers/mfd/omap-control-core.c+28 -161 reply
3/4OMAP2+: use control module mfd driver in omap_typearch/arm/mach-omap2/id.c+6 -51 reply
3/4OMAP2+: use control module mfd driver in omap_type+0 -00 replies
4/4ARM: DT: Add support to system control module for OMAP4arch/arm/boot/dts/omap4.dtsi+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] OMAP System Control Module

Hello.

This is a next version of series of patches(based on Eduardo Valentin's patch set) adding a basic support for system control module, on OMAP4+ context. As Bandgap and usb phy drivers are now independent from control module driver and they will be sent separately. IIUC, Bandgap driver has already been sent.

OMAP system control module driver provides only one API function - read of CONTROL_STATUS register:
u32 omap_control_status_read(void) that is used in omap_type()

The physical address of CONTROL_STATUS register is specified in DT:

ctrl_module_core: ctrl_module_core at 4A0022C4 {
	compatible = "ti,omap4-control";
	#address-cells = <1>;
	#size-cells = <1>;
	/* ranges; */
	ti,hwmods = "ctrl_module_core";
	reg = <0x4A0022C4 0x4>; /* CONTROL_STATUS register */
};

Eduardo Valentin (3):
From d4c6cf571e403f30a97db32ba6198b0c35a864b7 Mon Sep 17 00:00:00

    2001
  From 116a0111a6e2e563a81b0aa2dbf7a18e9ef9dbd1 Mon Sep 17 00:00:00
    2001
  From dda5f1badbfb82718c9ff21098998a842ce6886e Mon Sep 17 00:00:00
    2001

Santosh Shilimkar (1):
From 1c2af619cc34aafc027330fbb823595e3b2d139b Mon Sep 17 00:00:00

    2001
 .../devicetree/bindings/mfd/omap_control.txt       |   32 +
 arch/arm/boot/dts/omap4.dtsi                       |   10 +
 arch/arm/mach-omap2/Kconfig                        |    1 +
 arch/arm/mach-omap2/control.h                      |   48 +-
 arch/arm/mach-omap2/id.c                           |   11 +-
 .../include/mach/ctrl_module_core_44xx.h           |  392 ------
 .../include/mach/ctrl_module_pad_core_44xx.h       | 1409 --------------------
 .../include/mach/ctrl_module_pad_wkup_44xx.h       |  236 ----
 .../include/mach/ctrl_module_wkup_44xx.h           |   92 --
 arch/arm/plat-omap/Kconfig                         |    4 +
 drivers/mfd/Kconfig                                |    6 +
 drivers/mfd/Makefile                               |    1 +
 drivers/mfd/omap-control-core.c                    |  162 +++
 include/linux/mfd/omap_control.h                   |   35 +
 14 files changed, 300 insertions(+), 2139 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/omap_control.txt
 delete mode 100644 arch/arm/mach-omap2/include/mach/ctrl_module_core_44xx.h
 delete mode 100644 arch/arm/mach-omap2/include/mach/ctrl_module_pad_core_44xx.h
 delete mode 100644 arch/arm/mach-omap2/include/mach/ctrl_module_pad_wkup_44xx.h
 delete mode 100644 arch/arm/mach-omap2/include/mach/ctrl_module_wkup_44xx.h
 create mode 100644 drivers/mfd/omap-control-core.c
 create mode 100644 include/linux/mfd/omap_control.h
Signature · 1 line
1.7.7.6