From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Josh Wu <josh.wu@atmel.com>
Cc: nicolas.ferre@atmel.com, voice.shen@atmel.com,
plagnioj@jcrosoft.com, boris.brezillon@free-electrons.com,
devicetree@vger.kernel.org, robh+dt@kernel.org,
linux-media@vger.kernel.org, g.liakhovetski@gmx.de,
laurent.pinchart@ideasonboard.com
Subject: Re: [PATCH 5/7] ARM: at91: dts: sama5d3: change name of pinctrl_isi_{power,reset}
Date: Fri, 19 Dec 2014 21:58:43 +0100 [thread overview]
Message-ID: <20141219205843.GX4885@piout.net> (raw)
In-Reply-To: <1418892667-27428-6-git-send-email-josh.wu@atmel.com>
Hi Josh,
On 18/12/2014 at 16:51:05 +0800, Josh Wu wrote :
> For sama5d3xmb board, the pins: pinctrl_isi_{power,reset} is used to
> power-down or reset camera sensor.
>
> So we should let camera sensor instead of ISI to configure the pins.
> This patch will change pinctrl name from pinctrl_isi_{power,reset} to
> pinctrl_sensor_{power,reset}.
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> ---
> arch/arm/boot/dts/sama5d3.dtsi | 2 ++
> arch/arm/boot/dts/sama5d3xmb.dtsi | 6 ++----
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index ed734e9..ff0fa3a 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -214,6 +214,8 @@
> compatible = "atmel,at91sam9g45-isi";
> reg = <0xf0034000 0x4000>;
> interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_isi_data_0_7>;
This should probably not be is that patch.
> clocks = <&isi_clk>;
> clock-names = "isi_clk";
> status = "disabled";
> diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi
> index 6af1cba..0aaebc6 100644
> --- a/arch/arm/boot/dts/sama5d3xmb.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xmb.dtsi
> @@ -60,8 +60,6 @@
> };
>
> isi: isi@f0034000 {
> - pinctrl-names = "default";
> - pinctrl-0 = <&pinctrl_isi_data_0_7 &pinctrl_isi_pck_as_mck &pinctrl_isi_power &pinctrl_isi_reset>;
> };
>
> mmc1: mmc@f8000000 {
> @@ -122,12 +120,12 @@
> <AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD31 periph B ISI_MCK */
> };
>
> - pinctrl_isi_reset: isi_reset-0 {
> + pinctrl_sensor_reset: sensor_reset-0 {
> atmel,pins =
> <AT91_PIOE 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE24 gpio */
> };
>
> - pinctrl_isi_power: isi_power-0 {
> + pinctrl_sensor_power: sensor_power-0 {
> atmel,pins =
> <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE29 gpio */
> };
> --
> 1.9.1
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-12-19 20:58 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-18 8:51 [PATCH 0/7] ARM: at91: dts: sama5d3: add dt support for atmel isi and ov2640 sensor Josh Wu
2014-12-18 8:51 ` [PATCH 1/7] ARM: at91: dts: sama5d3: add isi clock Josh Wu
2014-12-19 20:59 ` Alexandre Belloni
2014-12-18 8:51 ` [PATCH 2/7] ARM: at91: dts: sama5d3: split isi pinctrl Josh Wu
2014-12-19 20:59 ` Alexandre Belloni
2014-12-18 8:51 ` [PATCH 3/7] ARM: at91: dts: sama5d3: add missing pins of isi Josh Wu
2014-12-19 20:59 ` Alexandre Belloni
2014-12-18 8:51 ` [PATCH 4/7] ARM: at91: dts: sama5d3: move the isi mck pin to mb Josh Wu
2014-12-19 21:02 ` Alexandre Belloni
2014-12-18 8:51 ` [PATCH 5/7] ARM: at91: dts: sama5d3: change name of pinctrl_isi_{power,reset} Josh Wu
2014-12-19 20:58 ` Alexandre Belloni [this message]
2014-12-18 8:51 ` [PATCH 6/7] ARM: at91: dts: sama5d3: add ov2640 camera sensor support Josh Wu
2014-12-18 12:32 ` Laurent Pinchart
2014-12-19 5:37 ` Josh Wu
2014-12-19 21:05 ` Alexandre Belloni
2014-12-22 7:06 ` Josh Wu
2014-12-22 13:12 ` Alexandre Belloni
2014-12-18 8:51 ` [PATCH 7/7] ARM: at91: sama5: enable atmel-isi and ov2640 in defconfig Josh Wu
2014-12-19 21:05 ` Alexandre Belloni
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=20141219205843.GX4885@piout.net \
--to=alexandre.belloni@free-electrons.com \
--cc=boris.brezillon@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=g.liakhovetski@gmx.de \
--cc=josh.wu@atmel.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
--cc=plagnioj@jcrosoft.com \
--cc=robh+dt@kernel.org \
--cc=voice.shen@atmel.com \
/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).