From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/3] ARM: S5P: Extend MIPI-CSIS platform_data with the PHY control callback
Date: Thu, 10 Mar 2011 20:29:08 +0900 [thread overview]
Message-ID: <008d01cbdf16$63de2ad0$2b9a8070$%kim@samsung.com> (raw)
In-Reply-To: <1299755195-9055-3-git-send-email-s.nawrocki@samsung.com>
Sylwester Nawrocki wrote:
>
> Extend MIPI-CSIS driver's platform data structure with a callback
> for D-PHY enable and reset control. Also add a flag indicating
> whether the external MIPI-CSI (VDD18_MIPI) power supply should
> be managed in the driver through the "vdd" power supply. On some
> boards this regulator may be a fixed voltage regulator without
> an inhibit function.
>
Grrr...you submitted same patch yesterday like following :(
"[PATCH v2] ARM: S5P: Extend MIPI-CSIS platform_data with the PHY"
http://marc.info/?l=linux-arm-kernel&m=129968557727858&w=2
...
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> arch/arm/plat-s5p/include/plat/mipi_csis.h | 15 +++++++++++++++
> 1 files changed, 15 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/plat-s5p/include/plat/mipi_csis.h b/arch/arm/plat-
> s5p/include/plat/mipi_csis.h
> index eb3beab..bb4f396 100644
> --- a/arch/arm/plat-s5p/include/plat/mipi_csis.h
> +++ b/arch/arm/plat-s5p/include/plat/mipi_csis.h
> @@ -11,18 +11,33 @@
> #ifndef PLAT_S5P_MIPI_CSIS_H_
> #define PLAT_S5P_MIPI_CSIS_H_ __FILE__
>
> +struct platform_device;
> +
> /**
> * struct s5p_platform_mipi_csis - platform data for S5P MIPI-CSIS driver
> * @clk_rate: bus clock frequency
> * @lanes: number of data lanes used
> * @alignment: data alignment in bits
> * @hs_settle: HS-RX settle time
> + * @fixed_phy_vdd: set to 0 if the driver should be managing external
> + * D-PHY power supply through the "vdd" regulator supply
> + * @phy_enable: pointer to a callback controlling D-PHY enable/reset
> */
> struct s5p_platform_mipi_csis {
> unsigned long clk_rate;
> u8 lanes;
> u8 alignment;
> u8 hs_settle;
> + unsigned fixed_phy_vdd:1;
+ bool fixed_phy_vdd:1;
> + int (*phy_enable)(struct platform_device *pdev, bool on);
> };
>
> +/**
> + * s5p_csis_phy_enable - global MIPI-CSI receiver D-PHY control
> + * @pdev: MIPI-CSIS platform device
> + * @on: true to enable D-PHY and deassert its reset
> + * false to disable D-PHY
> + */
> +int s5p_csis_phy_enable(struct platform_device *pdev, bool on);
> +
> #endif /* PLAT_S5P_MIPI_CSIS_H_ */
> --
> 1.7.4.1
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
next prev parent reply other threads:[~2011-03-10 11:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-02 17:34 [PATCH/RFC 0/3] ARM: S5P: Add common DPHY control code for MIPI-CSIS/MIPI-DSIM devices Sylwester Nawrocki
2011-03-02 17:34 ` [PATCH 1/3] ARM: S5P: Rename MIPI-CSIS header and update Copyright Sylwester Nawrocki
2011-03-03 4:33 ` Kukjin Kim
2011-03-03 9:34 ` Sylwester Nawrocki
2011-03-02 17:34 ` [PATCH 2/3] ARM: S5PV210: Add clock entries for MIPI DPHY control Sylwester Nawrocki
2011-03-02 17:34 ` [PATCH 3/3] ARM: EXYNOS4: " Sylwester Nawrocki
2011-03-03 4:43 ` [PATCH/RFC 0/3] ARM: S5P: Add common DPHY control code for MIPI-CSIS/MIPI-DSIM devices Kukjin Kim
2011-03-03 19:04 ` [PATCH v2 0/3] ARM: S5P: Add D-PHY control platform helpers for MIPI-CSIS/DSIM drivers Sylwester Nawrocki
2011-03-08 23:05 ` Kukjin Kim
2011-03-03 19:04 ` [PATCH v2 1/3] ARM: S5P: Rename MIPI-CSIS driver header and update Copyright Sylwester Nawrocki
2011-03-03 19:04 ` [PATCH v2 2/3] ARM: S5P: Extend MIPI-CSIS platform_data with the PHY control callback Sylwester Nawrocki
2011-03-09 15:44 ` [PATCH v2] " Sylwester Nawrocki
2011-03-03 19:04 ` [PATCH v2 3/3] ARM: S5P: Add support for common MIPI CSIS/DSIM D-PHY control Sylwester Nawrocki
2011-03-09 22:55 ` Kukjin Kim
2011-03-10 11:06 ` [PATCH v3 0/3] ARM: S5P: Add platform helpers for MIPI-CSIS/DSIM DPHY Sylwester Nawrocki
2011-03-10 11:06 ` [PATCH v3 1/3] ARM: S5P: Rename MIPI-CSIS driver header and update Copyright Sylwester Nawrocki
2011-03-10 11:13 ` Kukjin Kim
2011-03-10 11:06 ` [PATCH v3 2/3] ARM: S5P: Extend MIPI-CSIS platform_data with the PHY control callback Sylwester Nawrocki
2011-03-10 11:29 ` Kukjin Kim [this message]
2011-03-10 11:06 ` [PATCH v3 3/3] ARM: S5P: Add support for common MIPI CSIS/DSIM D-PHY control Sylwester Nawrocki
2011-03-10 11:20 ` [PATCH v2 " Sylwester Nawrocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='008d01cbdf16$63de2ad0$2b9a8070$%kim@samsung.com' \
--to=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox