All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Generic PHY driver for the Exynos SoC MIPI CSI-2/DSI DPHYs
@ 2013-06-26 15:02 ` Sylwester Nawrocki
  0 siblings, 0 replies; 57+ messages in thread
From: Sylwester Nawrocki @ 2013-06-26 15:02 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc
  Cc: kishon, linux-media, kyungmin.park, balbi, t.figa,
	devicetree-discuss, kgene.kim, dh09.lee, jg1.han, inki.dae,
	plagnioj, linux-fbdev, Sylwester Nawrocki

This patch series adds a simple driver for the Samsung S5P/Exynos SoC
series MIPI CSI-2 receiver (MIPI CSIS) and MIPI DSI transmitter (MIPI
DSIM) DPHYs, using the generic PHY framework [1]. Previously the MIPI
CSIS and MIPI DSIM used a platform callback to control the PHY power
enable and reset bits. The platform callback can now be dropped and
those drivers don't need any calls back to the platform code, which
makes migration to the device tree complete for MIPI CSIS.

Changes since v2:
 - adapted to the generic PHY API v9: use phy_set/get_drvdata(),
 - fixed of_xlate callback to return ERR_PTR() instead of NULL,
 - namespace cleanup, put "GPL v2" as MODULE_LICENSE, removed pr_debug,
 - removed phy id check in __set_phy_state().

Patches 2...3/5 are unchanged, description of patch 5/5 has been
updated.

Changes since v1:
 - enabled build as module and with CONFIG_OF disabled,
 - added phy_id enum,
 - of_address_to_resource() replaced with platform_get_resource(),
 - adapted to changes in the PHY API v7, v8 - added phy labels,
 - added MODULE_DEVICE_TABLE() entry,
 - the driver file renamed to phy-exynos-mipi-video.c,
 - changed DT compatible string to "samsung,s5pv210-mipi-video-phy",
 - corrected the compatible property's description.
 - patch 3/5 "video: exynos_dsi: Use generic PHY driver" replaced
   with a patch modifying the MIPI DSIM driver which is currently
   in mainline.

This series depends on the generic PHY framework [1]. It can be browsed at:
 http://git.linuxtv.org/snawrocki/samsung.git/exynos-mipi-phy
This branch is based on the 'for-next' branch from:
 git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
and the patch series:
 http://www.spinics.net/lists/arm-kernel/msg254667.html

[1] https://lkml.org/lkml/2013/6/26/259

Sylwester Nawrocki (5):
  phy: Add driver for Exynos MIPI CSIS/DSIM DPHYs
  ARM: dts: Add MIPI PHY node to exynos4.dtsi
  video: exynos_mipi_dsim: Use the generic PHY driver
  exynos4-is: Use the generic MIPI CSIS PHY driver
  ARM: Samsung: Remove the MIPI PHY setup code

 .../phy/samsung,s5pv210-mipi-video-phy.txt         |   14 ++
 arch/arm/boot/dts/exynos4.dtsi                     |   10 ++
 arch/arm/mach-exynos/include/mach/regs-pmu.h       |    5 -
 arch/arm/mach-s5pv210/include/mach/regs-clock.h    |    4 -
 arch/arm/plat-samsung/Kconfig                      |    5 -
 arch/arm/plat-samsung/Makefile                     |    1 -
 arch/arm/plat-samsung/setup-mipiphy.c              |   60 -------
 drivers/media/platform/exynos4-is/mipi-csis.c      |   16 +-
 drivers/phy/Kconfig                                |    9 ++
 drivers/phy/Makefile                               |    3 +-
 drivers/phy/phy-exynos-mipi-video.c                |  170 ++++++++++++++++++++
 drivers/video/exynos/exynos_mipi_dsi.c             |   18 +--
 include/linux/platform_data/mipi-csis.h            |   11 +-
 include/video/exynos_mipi_dsim.h                   |    6 +-
 14 files changed, 233 insertions(+), 99 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/phy/samsung,s5pv210-mipi-video-phy.txt
 delete mode 100644 arch/arm/plat-samsung/setup-mipiphy.c
 create mode 100644 drivers/phy/phy-exynos-mipi-video.c

--
1.7.9.5

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

end of thread, other threads:[~2013-07-01  5:36 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-26 15:02 [PATCH v3 0/5] Generic PHY driver for the Exynos SoC MIPI CSI-2/DSI DPHYs Sylwester Nawrocki
2013-06-26 15:02 ` Sylwester Nawrocki
2013-06-26 15:02 ` Sylwester Nawrocki
2013-06-26 15:02 ` [PATCH v3 1/5] phy: Add driver for Exynos MIPI CSIS/DSIM DPHYs Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-27  7:52   ` Felipe Balbi
2013-06-27  7:52     ` Felipe Balbi
2013-06-27  7:52     ` Felipe Balbi
2013-06-27  7:52     ` Felipe Balbi
2013-06-27  8:37     ` Sylwester Nawrocki
2013-06-27  8:37       ` Sylwester Nawrocki
2013-06-27  8:37       ` Sylwester Nawrocki
2013-06-27  8:40       ` Felipe Balbi
2013-06-27  8:40         ` Felipe Balbi
2013-06-27  8:40         ` Felipe Balbi
2013-06-27  8:40         ` Felipe Balbi
2013-06-28  8:17   ` Hui Wang
2013-06-28  8:17     ` Hui Wang
2013-06-28  8:17     ` Hui Wang
2013-06-28 10:11     ` Sylwester Nawrocki
2013-06-28 10:11       ` Sylwester Nawrocki
2013-06-28 10:11       ` Sylwester Nawrocki
2013-06-29  8:57       ` Kishon Vijay Abraham I
2013-06-29  8:58         ` Kishon Vijay Abraham I
2013-06-29  8:57         ` Kishon Vijay Abraham I
2013-06-29  8:57         ` Kishon Vijay Abraham I
2013-06-29 19:34         ` Sylwester Nawrocki
2013-06-29 19:34           ` Sylwester Nawrocki
2013-06-29 19:34           ` Sylwester Nawrocki
2013-07-01  5:24           ` Kishon Vijay Abraham I
2013-07-01  5:36             ` Kishon Vijay Abraham I
2013-07-01  5:24             ` Kishon Vijay Abraham I
2013-07-01  5:24             ` Kishon Vijay Abraham I
2013-06-26 15:02 ` [PATCH v3 2/5] ARM: dts: Add MIPI PHY node to exynos4.dtsi Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-27  7:52   ` Felipe Balbi
2013-06-27  7:52     ` Felipe Balbi
2013-06-27  7:52     ` Felipe Balbi
2013-06-27  7:52     ` Felipe Balbi
2013-06-26 15:02 ` [PATCH v3 3/5] video: exynos_mipi_dsim: Use the generic PHY driver Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-28  6:18   ` Donghwa Lee
2013-06-28  6:18     ` Donghwa Lee
2013-06-28  6:18     ` Donghwa Lee
2013-06-26 15:02 ` [PATCH v3 4/5] exynos4-is: Use the generic MIPI CSIS " Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-26 15:02 ` [PATCH v3 5/5] ARM: Samsung: Remove the MIPI PHY setup code Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
2013-06-26 15:02   ` Sylwester Nawrocki
     [not found]   ` <1372258946-15607-6-git-send-email-s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-06-27  9:34     ` Kukjin Kim
2013-06-27  9:34       ` Kukjin Kim
2013-06-27  9:34       ` Kukjin Kim
2013-06-27  9:34       ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.