Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579983

Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors

From Kevin Hilman <khilman@baylibre.com>
Newsgroups linux.kernel
Subject Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors
Date 2017-02-13 19:30 +0100
Message-ID <tatxT-7jT-13@gated-at.bofh.it> (permalink)
References <t8h7P-5ki-3@gated-at.bofh.it> <t8h7R-5ki-33@gated-at.bofh.it>
Organization BayLibre

Show all headers | View raw


Bartosz Golaszewski <bgolaszewski@baylibre.com> writes:

> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Acked-by: Kevin Hilman <khilman@baylibre.com>

> ---
>  arch/arm/boot/dts/da850-evm.dts | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
> index c970b6e..94938a3 100644
> --- a/arch/arm/boot/dts/da850-evm.dts
> +++ b/arch/arm/boot/dts/da850-evm.dts
> @@ -301,14 +301,14 @@
>  	/* VPIF capture port */
>  	port {
>  		vpif_ch0: endpoint@0 {
> -			  reg = <0>;
> -			  bus-width = <8>;
> +			reg = <0>;
> +			bus-width = <8>;
>  		};
>  
>  		vpif_ch1: endpoint@1 {
> -			  reg = <1>;
> -			  bus-width = <8>;
> -			  data-shift = <8>;
> +			reg = <1>;
> +			bus-width = <8>;
> +			data-shift = <8>;
>  		};
>  	};
>  };

Bartosz Golaszewski <bgolaszewski@baylibre.com> writes:

> Extend the vpif node with an output port with a single channel.
>
> NOTE: this is still just hardware description - the actual driver
> is registered using pdata-quirks.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> ---
>  arch/arm/boot/dts/da850-evm.dts | 14 +++++++++++---
>  arch/arm/boot/dts/da850.dtsi    |  8 +++++++-
>  2 files changed, 18 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
> index 94938a3..3d6dd66 100644
> --- a/arch/arm/boot/dts/da850-evm.dts
> +++ b/arch/arm/boot/dts/da850-evm.dts
> @@ -299,16 +299,24 @@
>  	status = "okay";
>  
>  	/* VPIF capture port */
> -	port {
> -		vpif_ch0: endpoint@0 {
> +	port@0 {
> +		vpif_input_ch0: endpoint@0 {
>  			reg = <0>;
>  			bus-width = <8>;
>  		};
>  
> -		vpif_ch1: endpoint@1 {
> +		vpif_input_ch1: endpoint@1 {
>  			reg = <1>;
>  			bus-width = <8>;
>  			data-shift = <8>;
>  		};
>  	};
> +
> +	/* VPIF display port */
> +	port@1 {
> +		vpif_output_ch0: endpoint@0 {
> +			reg = <0>;
> +			bus-width = <8>;
> +		};
> +	};
>  };
> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> index 69ec5e7..768a58c 100644
> --- a/arch/arm/boot/dts/da850.dtsi
> +++ b/arch/arm/boot/dts/da850.dtsi
> @@ -494,7 +494,13 @@
>  			status = "disabled";
>  
>  			/* VPIF capture port */
> -			port {
> +			port@0 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +			};
> +
> +			/* VPIF display port */
> +			port@1 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  			};

Bartosz Golaszewski <bgolaszewski@baylibre.com> writes:

> There's a stray tab in da850_vpif_legacy_init(). Remove it.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> ---
>  arch/arm/mach-davinci/pdata-quirks.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-davinci/pdata-quirks.c b/arch/arm/mach-davinci/pdata-quirks.c
> index a186513..94948c1 100644
> --- a/arch/arm/mach-davinci/pdata-quirks.c
> +++ b/arch/arm/mach-davinci/pdata-quirks.c
> @@ -111,7 +111,7 @@ static struct vpif_capture_config da850_vpif_capture_config = {
>  static void __init da850_vpif_legacy_init(void)
>  {
>  	int ret;
> -	
> +
>  	/* LCDK doesn't have the 2nd TVP514x on CH1 */
>  	if (of_machine_is_compatible("ti,da850-lcdk"))
>  		da850_vpif_capture_config.subdev_count = 1;

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/10] ARM: davinci: add vpif display support Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 03/10] media: dt-bindings: vpif: extend the example with an output port Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
    Re: [PATCH 03/10] media: dt-bindings: vpif: extend the example with  an output port Rob Herring <robh@kernel.org> - 2017-02-15 23:10 +0100
      Re: [PATCH 03/10] media: dt-bindings: vpif: extend the example with an output port Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2017-02-16 08:40 +0100
      Re: [PATCH 03/10] media: dt-bindings: vpif: extend the example with  an output port Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-16 17:10 +0100
    Re: [PATCH 03/10] media: dt-bindings: vpif: extend the example with  an output port Rob Herring <robh@kernel.org> - 2017-02-15 23:10 +0100
  [PATCH 04/10] ARM: dts: da850-evm: add the output port to the vpif node Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 06/10] ARM: davinci_all_defconfig: enable VPIF display modules Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
    Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors Kevin Hilman <khilman@baylibre.com> - 2017-02-13 19:30 +0100
    Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors Kevin Hilman <khilman@baylibre.com> - 2017-02-13 19:40 +0100
      Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors Kevin Hilman <khilman@baylibre.com> - 2017-02-13 22:10 +0100
        Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors Sekhar Nori <nsekhar@ti.com> - 2017-02-14 07:40 +0100
  [PATCH 05/10] ARM: dts: da850: add vpif video display pins Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 01/10] media: dt-bindings: vpif: fix whitespace errors Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
    Re: [PATCH 01/10] media: dt-bindings: vpif: fix whitespace errors Rob Herring <robh@kernel.org> - 2017-02-15 23:10 +0100
  [PATCH 07/10] ARM: davinci: fix a whitespace error Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
    Re: [PATCH 07/10] ARM: davinci: fix a whitespace error Kevin Hilman <khilman@baylibre.com> - 2017-02-13 19:40 +0100
      Re: [PATCH 07/10] ARM: davinci: fix a whitespace error Kevin Hilman <khilman@baylibre.com> - 2017-02-13 22:10 +0100
  Re: [PATCH 00/10] ARM: davinci: add vpif display support Sekhar Nori <nsekhar@ti.com> - 2017-02-13 10:30 +0100
    Re: [PATCH 00/10] ARM: davinci: add vpif display support Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-16 18:50 +0100

csiph-web