From: Sylwester Nawrocki <s.nawrocki@samsung.com> To: kgene.kim@samsung.com Cc: kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sylwester Nawrocki <s.nawrocki@samsung.com> Subject: [PATCH v4 08/13] ARM: dts: Add camera device nodes for Exynos4412 TRATS2 board Date: Wed, 24 Jul 2013 15:17:20 +0200 [thread overview] Message-ID: <1374671845-30373-9-git-send-email-s.nawrocki@samsung.com> (raw) In-Reply-To: <1374671845-30373-1-git-send-email-s.nawrocki@samsung.com> This patch enables the front camera using the internal camera ISP (FIMC-IS). Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> --- Changes since v3: - #address-cells/#size-cells properties in csis nodes moved to exynos4.dtsi, - added clock properties to s5k6a3 sensor node, - s/voltage-regulator@3/voltage-regulator-1. --- arch/arm/boot/dts/exynos4412-trats2.dts | 88 +++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index cab4c0e..5558e5a 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -62,6 +62,15 @@ enable-active-high; }; + cam_io_reg: voltage-regulator-1 { + compatible = "regulator-fixed"; + regulator-name = "CAM_SENSOR_A"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + gpio = <&gpm0 2 0>; + enable-active-high; + }; + /* More to come */ }; @@ -472,4 +481,83 @@ gpios = <&gpj0 7 0>; }; }; + + camera { + pinctrl-0 = <&cam_port_b_clk_active>; + pinctrl-names = "default"; + status = "okay"; + + fimc_0: fimc@11800000 { + status = "okay"; + }; + + fimc_1: fimc@11810000 { + status = "okay"; + }; + + fimc_2: fimc@11820000 { + status = "okay"; + }; + + fimc_3: fimc@11830000 { + status = "okay"; + }; + + csis_1: csis@11890000 { + vddcore-supply = <&ldo8_reg>; + vddio-supply = <&ldo10_reg>; + clock-frequency = <160000000>; + status = "okay"; + + /* Camera D (4) MIPI CSI-2 (CSIS1) */ + port@4 { + reg = <4>; + csis1_ep: endpoint { + remote-endpoint = <&is_s5k6a3_ep>; + data-lanes = <1>; + samsung,csis-hs-settle = <18>; + samsung,csis-wclk; + }; + }; + }; + + fimc_lite_0: fimc-lite@12390000 { + status = "okay"; + }; + + fimc_lite_1: fimc-lite@123A0000 { + status = "okay"; + }; + + fimc-is@12000000 { + pinctrl-0 = <&fimc_is_uart>; + pinctrl-names = "default"; + status = "okay"; + + i2c1_isp: i2c-isp@12140000 { + pinctrl-0 = <&fimc_is_i2c1>; + pinctrl-names = "default"; + + s5k6a3@10 { + compatible = "samsung,s5k6a3"; + reg = <0x10>; + svdda-supply = <&cam_io_reg>; + svddio-supply = <&ldo19_reg>; + clock-frequency = <24000000>; + /* CAM_B_CLKOUT */ + clocks = <&clock_cam 1>; + clock-names = "mclk"; + samsung,camclk-out = <1>; + gpios = <&gpm1 6 0>; + + port { + is_s5k6a3_ep: endpoint { + remote-endpoint = <&csis1_ep>; + data-lanes = <1>; + }; + }; + }; + }; + }; + }; }; -- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: s.nawrocki@samsung.com (Sylwester Nawrocki) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 08/13] ARM: dts: Add camera device nodes for Exynos4412 TRATS2 board Date: Wed, 24 Jul 2013 15:17:20 +0200 [thread overview] Message-ID: <1374671845-30373-9-git-send-email-s.nawrocki@samsung.com> (raw) In-Reply-To: <1374671845-30373-1-git-send-email-s.nawrocki@samsung.com> This patch enables the front camera using the internal camera ISP (FIMC-IS). Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> --- Changes since v3: - #address-cells/#size-cells properties in csis nodes moved to exynos4.dtsi, - added clock properties to s5k6a3 sensor node, - s/voltage-regulator at 3/voltage-regulator-1. --- arch/arm/boot/dts/exynos4412-trats2.dts | 88 +++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index cab4c0e..5558e5a 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -62,6 +62,15 @@ enable-active-high; }; + cam_io_reg: voltage-regulator-1 { + compatible = "regulator-fixed"; + regulator-name = "CAM_SENSOR_A"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + gpio = <&gpm0 2 0>; + enable-active-high; + }; + /* More to come */ }; @@ -472,4 +481,83 @@ gpios = <&gpj0 7 0>; }; }; + + camera { + pinctrl-0 = <&cam_port_b_clk_active>; + pinctrl-names = "default"; + status = "okay"; + + fimc_0: fimc at 11800000 { + status = "okay"; + }; + + fimc_1: fimc at 11810000 { + status = "okay"; + }; + + fimc_2: fimc at 11820000 { + status = "okay"; + }; + + fimc_3: fimc at 11830000 { + status = "okay"; + }; + + csis_1: csis at 11890000 { + vddcore-supply = <&ldo8_reg>; + vddio-supply = <&ldo10_reg>; + clock-frequency = <160000000>; + status = "okay"; + + /* Camera D (4) MIPI CSI-2 (CSIS1) */ + port at 4 { + reg = <4>; + csis1_ep: endpoint { + remote-endpoint = <&is_s5k6a3_ep>; + data-lanes = <1>; + samsung,csis-hs-settle = <18>; + samsung,csis-wclk; + }; + }; + }; + + fimc_lite_0: fimc-lite at 12390000 { + status = "okay"; + }; + + fimc_lite_1: fimc-lite at 123A0000 { + status = "okay"; + }; + + fimc-is at 12000000 { + pinctrl-0 = <&fimc_is_uart>; + pinctrl-names = "default"; + status = "okay"; + + i2c1_isp: i2c-isp at 12140000 { + pinctrl-0 = <&fimc_is_i2c1>; + pinctrl-names = "default"; + + s5k6a3 at 10 { + compatible = "samsung,s5k6a3"; + reg = <0x10>; + svdda-supply = <&cam_io_reg>; + svddio-supply = <&ldo19_reg>; + clock-frequency = <24000000>; + /* CAM_B_CLKOUT */ + clocks = <&clock_cam 1>; + clock-names = "mclk"; + samsung,camclk-out = <1>; + gpios = <&gpm1 6 0>; + + port { + is_s5k6a3_ep: endpoint { + remote-endpoint = <&csis1_ep>; + data-lanes = <1>; + }; + }; + }; + }; + }; + }; }; -- 1.7.9.5
next prev parent reply other threads:[~2013-07-24 13:19 UTC|newest] Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-07-24 13:17 [PATCH v4 00/13] ARM: dts: Add camera and magnetometer support for TRATS(2) board Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 01/13] ARM: dts: Correct camera pinctrl nodes for Exynos4x12 SoCs Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 02/13] ARM: dts: Add pinctrl entries for Exynos4x12 FIMC-IS peripherals Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 03/13] ARM: dts: Add ISP power domain node for Exynos4x12 Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 04/13] ARM: dts: Use generic DMA bindings for Exynos4 SPI devices Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 05/13] ARM: dts: Add camera subsystem device nodes to exynos4.dtsi Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-08-05 17:50 ` Kukjin Kim 2013-08-05 17:50 ` Kukjin Kim 2013-07-24 13:17 ` [PATCH v4 06/13] ARM: dts: Add camera subsystem nodes to exynos4x12.dtsi Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 07/13] ARM: dts: Add AK8975 device node for Exynos4412 TRATS2 board Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki [this message] 2013-07-24 13:17 ` [PATCH v4 08/13] ARM: dts: Add camera device nodes " Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 09/13] ARM: dts: Add SPI1 controller and s5c73m3 sensor node for TRATS2 Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-08-05 17:53 ` Kukjin Kim 2013-08-05 17:53 ` Kukjin Kim 2013-08-05 18:00 ` Sylwester Nawrocki 2013-08-05 18:00 ` Sylwester Nawrocki 2013-08-05 18:16 ` Kukjin Kim 2013-08-05 18:16 ` Kukjin Kim 2013-08-05 18:50 ` Sylwester Nawrocki 2013-08-05 18:50 ` Sylwester Nawrocki 2013-08-06 22:14 ` Kukjin Kim 2013-08-06 22:14 ` Kukjin Kim 2013-07-24 13:17 ` [PATCH v4 10/13] ARM: dts: Add camera device nodes for Exynos4210 SoCs Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 11/13] ARM: dts: Add FIMC nodes for Exynos4210 Trats board Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 12/13] ARM: dts: Add Exynos4210 SoC camera port pinctrl nodes Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-07-24 13:17 ` [PATCH v4 13/13] ARM: dts: Add S5K5BA sensor regulator definitions for Trats board Sylwester Nawrocki 2013-07-24 13:17 ` Sylwester Nawrocki 2013-08-05 17:42 ` [PATCH v4 00/13] ARM: dts: Add camera and magnetometer support for TRATS(2) board Kukjin Kim 2013-08-05 17:42 ` Kukjin Kim
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=1374671845-30373-9-git-send-email-s.nawrocki@samsung.com \ --to=s.nawrocki@samsung.com \ --cc=devicetree@vger.kernel.org \ --cc=kgene.kim@samsung.com \ --cc=kyungmin.park@samsung.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.