linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: shc_work@mail.ru (Alexander Shiyan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/8] ARM: dts: imx27-phytec-phycore-rdk: Add CSI enable switch
Date: Sat, 26 Apr 2014 08:52:10 +0400	[thread overview]
Message-ID: <1398487933-5683-5-git-send-email-shc_work@mail.ru> (raw)
In-Reply-To: <1398487933-5683-1-git-send-email-shc_work@mail.ru>

This patch adds a GPIO fixed regulator which used on RDK to
enable CSI bus.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts b/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
index ac18ccf..72c773e 100644
--- a/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
+++ b/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
@@ -38,6 +38,20 @@
 		};
 	};
 
+	regulators {
+		regulator at 2 {
+			compatible = "regulator-fixed";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_csien>;
+			reg = <2>;
+			regulator-name = "CSI_EN";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			gpio = <&gpio2 24 GPIO_ACTIVE_LOW>;
+			regulator-always-on;
+		};
+	};
+
 	usbphy {
 		usbphy2: usbphy at 2 {
 			compatible = "usb-nop-xceiv";
@@ -83,6 +97,12 @@
 
 &iomuxc {
 	imx27_phycore_rdk {
+		pinctrl_csien: csiengrp {
+			fsl,pins = <
+				MX27_PAD_USB_OC_B__GPIO2_24 0x0
+			>;
+		};
+
 		pinctrl_cspi1cs1: cspi1cs1grp {
 			fsl,pins = <
 				MX27_PAD_CSPI1_SS1__GPIO4_27 0x0
-- 
1.8.3.2

  parent reply	other threads:[~2014-04-26  4:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-26  4:52 [PATCH 1/8] ARM: dts: imx27-phytec-phycore-rdk: Remove duplicate entries for USB PHY Alexander Shiyan
2014-04-26  4:52 ` [PATCH 2/8] ARM: dts: imx27-phytec-phycore-som: Fix active level for FEC reset Alexander Shiyan
2014-04-26  4:52 ` [PATCH 3/8] ARM: dts: imx27-phytec-phycore-som: Disable PM pins for USB OTG Alexander Shiyan
2014-04-26  4:52 ` [PATCH 4/8] ARM: dts: imx: Remove excess entries for PMIC Alexander Shiyan
2014-04-26  4:52 ` Alexander Shiyan [this message]
2014-04-26  4:52 ` [PATCH 6/8] ARM: dts: imx27-phytec-phycore-rdk: Fix "reg" property for USBH2 PHY Alexander Shiyan
2014-04-26  4:52 ` [PATCH 7/8] ARM: dts: imx27: Trim node name for FEC Alexander Shiyan
2014-04-26 16:32   ` Sergei Shtylyov
2014-04-26 16:39     ` Alexander Shiyan
2014-04-26 16:54       ` Sergei Shtylyov
2014-04-26 17:04         ` Alexander Shiyan
2014-04-26  4:52 ` [PATCH 8/8] ARM: dts: imx27-phytec-phycore-*: Move "iomux" node to the bottom of file Alexander Shiyan
2014-04-26 19:09   ` Sascha Hauer
2014-04-26 19:15     ` Alexander Shiyan
2014-04-27  6:53       ` Sascha Hauer
2014-04-29  6:06   ` Shawn Guo
2014-04-29  6:08 ` [PATCH 1/8] ARM: dts: imx27-phytec-phycore-rdk: Remove duplicate entries for USB PHY Shawn Guo

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=1398487933-5683-5-git-send-email-shc_work@mail.ru \
    --to=shc_work@mail.ru \
    --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;
as well as URLs for NNTP newsgroup(s).