* [PATCH] ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor
@ 2015-03-12 23:38 Lad Prabhakar
2015-03-16 22:17 ` Tony Lindgren
0 siblings, 1 reply; 7+ messages in thread
From: Lad Prabhakar @ 2015-03-12 23:38 UTC (permalink / raw)
To: linux-omap, devicetree, Tony Lindgren, Benoît Cousson
Cc: linux-arm-kernel, linux-kernel, Lad, Prabhakar
From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
this patch does the following:
1: adds DT node for fixed oscillator.
2: adds DT node entries for ov2659 sensor
3: adds remote-endpoint entry for VPFE.
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
---
Note this patch depends on
https://patchwork.kernel.org/patch/6000161/
arch/arm/boot/dts/am437x-gp-evm.dts | 42 +++++++++++++++++++++++++++++++++++--
1 file changed, 40 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index f84d971..195f452 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -106,6 +106,14 @@
};
};
};
+
+ /* fixed 12MHz oscillator */
+ refclk: oscillator {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <12000000>;
+ };
+
};
&am43xx_pinmux {
@@ -404,6 +412,21 @@
regulator-always-on;
};
};
+
+ ov2659@30 {
+ compatible = "ovti,ov2659";
+ reg = <0x30>;
+
+ clocks = <&refclk 0>;
+ clock-names = "xvclk";
+
+ port {
+ ov2659_0: endpoint {
+ remote-endpoint = <&vpfe1_ep>;
+ link-frequencies = /bits/ 64 <70000000>;
+ };
+ };
+ };
};
&i2c1 {
@@ -423,6 +446,21 @@
touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
};
+
+ ov2659@30 {
+ compatible = "ovti,ov2659";
+ reg = <0x30>;
+
+ clocks = <&refclk 0>;
+ clock-names = "xvclk";
+
+ port {
+ ov2659_1: endpoint {
+ remote-endpoint = <&vpfe0_ep>;
+ link-frequencies = /bits/ 64 <70000000>;
+ };
+ };
+ };
};
&epwmss0 {
@@ -626,7 +664,7 @@
port {
vpfe0_ep: endpoint {
- /* remote-endpoint = <&sensor>; add once we have it */
+ remote-endpoint = <&ov2659_1>;
ti,am437x-vpfe-interface = <0>;
bus-width = <8>;
hsync-active = <0>;
@@ -643,7 +681,7 @@
port {
vpfe1_ep: endpoint {
- /* remote-endpoint = <&sensor>; add once we have it */
+ remote-endpoint = <&ov2659_0>;
ti,am437x-vpfe-interface = <0>;
bus-width = <8>;
hsync-active = <0>;
--
2.1.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor
2015-03-12 23:38 [PATCH] ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor Lad Prabhakar
@ 2015-03-16 22:17 ` Tony Lindgren
2015-03-17 1:20 ` Lad, Prabhakar
[not found] ` <20150316221740.GQ12397-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
0 siblings, 2 replies; 7+ messages in thread
From: Tony Lindgren @ 2015-03-16 22:17 UTC (permalink / raw)
To: Lad Prabhakar
Cc: linux-omap, devicetree, Benoît Cousson, linux-arm-kernel,
linux-kernel
* Lad Prabhakar <prabhakar.csengg@gmail.com> [150312 16:38]:
> From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
>
> this patch does the following:
> 1: adds DT node for fixed oscillator.
> 2: adds DT node entries for ov2659 sensor
> 3: adds remote-endpoint entry for VPFE.
>
> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Applying into omap-for-v4.1/dt thanks.
Tony
> ---
> Note this patch depends on
> https://patchwork.kernel.org/patch/6000161/
>
> arch/arm/boot/dts/am437x-gp-evm.dts | 42 +++++++++++++++++++++++++++++++++++--
> 1 file changed, 40 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
> index f84d971..195f452 100644
> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
> @@ -106,6 +106,14 @@
> };
> };
> };
> +
> + /* fixed 12MHz oscillator */
> + refclk: oscillator {
> + #clock-cells = <0>;
> + compatible = "fixed-clock";
> + clock-frequency = <12000000>;
> + };
> +
> };
>
> &am43xx_pinmux {
> @@ -404,6 +412,21 @@
> regulator-always-on;
> };
> };
> +
> + ov2659@30 {
> + compatible = "ovti,ov2659";
> + reg = <0x30>;
> +
> + clocks = <&refclk 0>;
> + clock-names = "xvclk";
> +
> + port {
> + ov2659_0: endpoint {
> + remote-endpoint = <&vpfe1_ep>;
> + link-frequencies = /bits/ 64 <70000000>;
> + };
> + };
> + };
> };
>
> &i2c1 {
> @@ -423,6 +446,21 @@
> touchscreen-size-x = <1024>;
> touchscreen-size-y = <600>;
> };
> +
> + ov2659@30 {
> + compatible = "ovti,ov2659";
> + reg = <0x30>;
> +
> + clocks = <&refclk 0>;
> + clock-names = "xvclk";
> +
> + port {
> + ov2659_1: endpoint {
> + remote-endpoint = <&vpfe0_ep>;
> + link-frequencies = /bits/ 64 <70000000>;
> + };
> + };
> + };
> };
>
> &epwmss0 {
> @@ -626,7 +664,7 @@
>
> port {
> vpfe0_ep: endpoint {
> - /* remote-endpoint = <&sensor>; add once we have it */
> + remote-endpoint = <&ov2659_1>;
> ti,am437x-vpfe-interface = <0>;
> bus-width = <8>;
> hsync-active = <0>;
> @@ -643,7 +681,7 @@
>
> port {
> vpfe1_ep: endpoint {
> - /* remote-endpoint = <&sensor>; add once we have it */
> + remote-endpoint = <&ov2659_0>;
> ti,am437x-vpfe-interface = <0>;
> bus-width = <8>;
> hsync-active = <0>;
> --
> 2.1.0
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor
2015-03-16 22:17 ` Tony Lindgren
@ 2015-03-17 1:20 ` Lad, Prabhakar
2015-03-17 2:23 ` Tony Lindgren
[not found] ` <20150316221740.GQ12397-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
1 sibling, 1 reply; 7+ messages in thread
From: Lad, Prabhakar @ 2015-03-17 1:20 UTC (permalink / raw)
To: Tony Lindgren
Cc: Linux OMAP Mailing List, devicetree@vger.kernel.org,
Benoît Cousson, LAK, LKML
Hi Tony,
On Mon, Mar 16, 2015 at 10:17 PM, Tony Lindgren <tony@atomide.com> wrote:
> * Lad Prabhakar <prabhakar.csengg@gmail.com> [150312 16:38]:
>> From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
>>
>> this patch does the following:
>> 1: adds DT node for fixed oscillator.
>> 2: adds DT node entries for ov2659 sensor
>> 3: adds remote-endpoint entry for VPFE.
>>
>> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
>
> Applying into omap-for-v4.1/dt thanks.
>
I would like to get this one in via media tree to avoid dependency
as I am still waiting for Acks from DT maintainers for the sensor
driver.
If I can get your Ack on this I'll queue it up along with sensor
driver via media tree.
Cheers,
--Prabhakar Lad
> Tony
>
>> ---
>> Note this patch depends on
>> https://patchwork.kernel.org/patch/6000161/
>>
>> arch/arm/boot/dts/am437x-gp-evm.dts | 42 +++++++++++++++++++++++++++++++++++--
>> 1 file changed, 40 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
>> index f84d971..195f452 100644
>> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
>> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
>> @@ -106,6 +106,14 @@
>> };
>> };
>> };
>> +
>> + /* fixed 12MHz oscillator */
>> + refclk: oscillator {
>> + #clock-cells = <0>;
>> + compatible = "fixed-clock";
>> + clock-frequency = <12000000>;
>> + };
>> +
>> };
>>
>> &am43xx_pinmux {
>> @@ -404,6 +412,21 @@
>> regulator-always-on;
>> };
>> };
>> +
>> + ov2659@30 {
>> + compatible = "ovti,ov2659";
>> + reg = <0x30>;
>> +
>> + clocks = <&refclk 0>;
>> + clock-names = "xvclk";
>> +
>> + port {
>> + ov2659_0: endpoint {
>> + remote-endpoint = <&vpfe1_ep>;
>> + link-frequencies = /bits/ 64 <70000000>;
>> + };
>> + };
>> + };
>> };
>>
>> &i2c1 {
>> @@ -423,6 +446,21 @@
>> touchscreen-size-x = <1024>;
>> touchscreen-size-y = <600>;
>> };
>> +
>> + ov2659@30 {
>> + compatible = "ovti,ov2659";
>> + reg = <0x30>;
>> +
>> + clocks = <&refclk 0>;
>> + clock-names = "xvclk";
>> +
>> + port {
>> + ov2659_1: endpoint {
>> + remote-endpoint = <&vpfe0_ep>;
>> + link-frequencies = /bits/ 64 <70000000>;
>> + };
>> + };
>> + };
>> };
>>
>> &epwmss0 {
>> @@ -626,7 +664,7 @@
>>
>> port {
>> vpfe0_ep: endpoint {
>> - /* remote-endpoint = <&sensor>; add once we have it */
>> + remote-endpoint = <&ov2659_1>;
>> ti,am437x-vpfe-interface = <0>;
>> bus-width = <8>;
>> hsync-active = <0>;
>> @@ -643,7 +681,7 @@
>>
>> port {
>> vpfe1_ep: endpoint {
>> - /* remote-endpoint = <&sensor>; add once we have it */
>> + remote-endpoint = <&ov2659_0>;
>> ti,am437x-vpfe-interface = <0>;
>> bus-width = <8>;
>> hsync-active = <0>;
>> --
>> 2.1.0
>>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor
2015-03-17 1:20 ` Lad, Prabhakar
@ 2015-03-17 2:23 ` Tony Lindgren
[not found] ` <20150317022344.GB31346-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Tony Lindgren @ 2015-03-17 2:23 UTC (permalink / raw)
To: Lad, Prabhakar
Cc: Linux OMAP Mailing List, devicetree@vger.kernel.org,
Benoît Cousson, LAK, LKML
* Lad, Prabhakar <prabhakar.csengg@gmail.com> [150316 18:20]:
> Hi Tony,
>
> On Mon, Mar 16, 2015 at 10:17 PM, Tony Lindgren <tony@atomide.com> wrote:
> > * Lad Prabhakar <prabhakar.csengg@gmail.com> [150312 16:38]:
> >> From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
> >>
> >> this patch does the following:
> >> 1: adds DT node for fixed oscillator.
> >> 2: adds DT node entries for ov2659 sensor
> >> 3: adds remote-endpoint entry for VPFE.
> >>
> >> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
> >
> > Applying into omap-for-v4.1/dt thanks.
> >
> I would like to get this one in via media tree to avoid dependency
> as I am still waiting for Acks from DT maintainers for the sensor
> driver.
OK dropping it.
> If I can get your Ack on this I'll queue it up along with sensor
> driver via media tree.
Sorry the chances are too big for pointless merge conflicts with
these files with constant patching going on.
Please just resend this patch alone again to me later on once the
driver changes are merged into Linux next and on their way to the
mainline kernel.
Regards,
Tony
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20150316221740.GQ12397-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH] ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor
[not found] ` <20150316221740.GQ12397-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
@ 2015-05-20 18:14 ` Tony Lindgren
0 siblings, 0 replies; 7+ messages in thread
From: Tony Lindgren @ 2015-05-20 18:14 UTC (permalink / raw)
To: Lad Prabhakar
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Benoît Cousson,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
* Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> [150316 15:22]:
> * Lad Prabhakar <prabhakar.csengg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [150312 16:38]:
> > From: "Lad, Prabhakar" <prabhakar.csengg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> >
> > this patch does the following:
> > 1: adds DT node for fixed oscillator.
> > 2: adds DT node entries for ov2659 sensor
> > 3: adds remote-endpoint entry for VPFE.
> >
> > Signed-off-by: Lad, Prabhakar <prabhakar.csengg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> Applying into omap-for-v4.1/dt thanks.
Hmm looks like I somehow dropped this one, sorry. Applying into
omap-for-v4.2/dt now thanks.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-05-20 18:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12 23:38 [PATCH] ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor Lad Prabhakar
2015-03-16 22:17 ` Tony Lindgren
2015-03-17 1:20 ` Lad, Prabhakar
2015-03-17 2:23 ` Tony Lindgren
[not found] ` <20150317022344.GB31346-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-04-10 20:22 ` Lad, Prabhakar
[not found] ` <CA+V-a8u-Y7M9ynJDD05=XeMjZMsb_0Utd-TuwJzEuRziPksvGQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-01 8:55 ` Lad, Prabhakar
[not found] ` <20150316221740.GQ12397-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-05-20 18:14 ` Tony Lindgren
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).