devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Jacopo Mondi <jacopo+renesas@jmondi.org>
Cc: devicetree@vger.kernel.org, robh+dt@kernel.org,
	linux-renesas-soc@vger.kernel.org, horms@verge.net.au,
	hans.verkuil@cisco.com, laurent.pinchart@ideasonboard.com,
	sakari.ailus@linux.intel.com, geert@glider.be,
	mchehab@kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-media@vger.kernel.org
Subject: Re: [PATCH v3 3/8] media: v4l2-fwnode: parse 'data-enable-active' prop
Date: Mon, 4 Jun 2018 14:08:11 +0200	[thread overview]
Message-ID: <20180604120811.GD19674@bigcity.dyn.berto.se> (raw)
In-Reply-To: <1527606359-19261-4-git-send-email-jacopo+renesas@jmondi.org>

Hi Jacopo,

Thanks for your patch.

On 2018-05-29 17:05:54 +0200, Jacopo Mondi wrote:
> Parse the newly defined 'data-enable-active' property in parallel endpoint
> parsing function.
> 
> Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> 
> ---
> v3:
> - new patch
> ---
>  drivers/media/v4l2-core/v4l2-fwnode.c | 4 ++++
>  include/media/v4l2-mediabus.h         | 2 ++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/drivers/media/v4l2-core/v4l2-fwnode.c b/drivers/media/v4l2-core/v4l2-fwnode.c
> index 3f77aa3..6105191 100644
> --- a/drivers/media/v4l2-core/v4l2-fwnode.c
> +++ b/drivers/media/v4l2-core/v4l2-fwnode.c
> @@ -154,6 +154,10 @@ static void v4l2_fwnode_endpoint_parse_parallel_bus(
>  		flags |= v ? V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH :
>  			V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW;
> 
> +	if (!fwnode_property_read_u32(fwnode, "data-enable-active", &v))
> +		flags |= v ? V4L2_MBUS_DATA_ENABLE_HIGH :
> +			V4L2_MBUS_DATA_ENABLE_LOW;
> +
>  	bus->flags = flags;
> 
>  }
> diff --git a/include/media/v4l2-mediabus.h b/include/media/v4l2-mediabus.h
> index 4d8626c..4bbb5f3 100644
> --- a/include/media/v4l2-mediabus.h
> +++ b/include/media/v4l2-mediabus.h
> @@ -45,6 +45,8 @@
>  /* Active state of Sync-on-green (SoG) signal, 0/1 for LOW/HIGH respectively. */
>  #define V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH		BIT(12)
>  #define V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW		BIT(13)
> +#define V4L2_MBUS_DATA_ENABLE_HIGH		BIT(14)
> +#define V4L2_MBUS_DATA_ENABLE_LOW		BIT(15)
> 
>  /* Serial flags */
>  /* How many lanes the client can use */
> --
> 2.7.4
> 

-- 
Regards,
Niklas Söderlund

  reply	other threads:[~2018-06-04 12:08 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-29 15:05 [PATCH v3 0/8] media: rcar-vin: Brush endpoint properties Jacopo Mondi
2018-05-29 15:05 ` [PATCH v3 1/8] dt-bindings: media: rcar-vin: Describe optional ep properties Jacopo Mondi
2018-05-31  3:13   ` Rob Herring
2018-05-29 15:05 ` [PATCH v3 2/8] dt-bindings: media: Document data-enable-active property Jacopo Mondi
2018-05-31  3:14   ` Rob Herring
2018-06-01 10:29   ` Sakari Ailus
2018-06-01 14:58     ` jacopo mondi
2018-06-01 22:35       ` Sakari Ailus
2018-05-29 15:05 ` [PATCH v3 3/8] media: v4l2-fwnode: parse 'data-enable-active' prop Jacopo Mondi
2018-06-04 12:08   ` Niklas Söderlund [this message]
2018-05-29 15:05 ` [PATCH v3 4/8] dt-bindings: media: rcar-vin: Add 'data-enable-active' Jacopo Mondi
2018-05-31  3:16   ` Rob Herring
2018-06-04 12:10   ` Niklas Söderlund
2018-05-29 15:05 ` [PATCH v3 5/8] media: rcar-vin: Handle data-enable polarity Jacopo Mondi
2018-06-04 12:13   ` Niklas Söderlund
2018-05-29 15:05 ` [PATCH v3 6/8] dt-bindings: rcar-vin: Add 'hsync-as-de' custom prop Jacopo Mondi
2018-05-31  3:17   ` Rob Herring
2018-06-04 12:19   ` Niklas Söderlund
2018-06-12 13:29     ` jacopo mondi
2018-05-29 15:05 ` [PATCH v3 7/8] media: rcar-vin: Handle 'hsync-as-de' property Jacopo Mondi
2018-05-29 15:05 ` [PATCH v3 8/8] ARM: dts: rcar-gen2: Remove unused VIN properties Jacopo Mondi
2018-05-31  3:17   ` Rob Herring
2018-06-04 12:23   ` Niklas Söderlund
2018-06-05  7:49     ` Simon Horman
2018-06-05  8:12       ` jacopo mondi
2018-06-05  8:23         ` Geert Uytterhoeven

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=20180604120811.GD19674@bigcity.dyn.berto.se \
    --to=niklas.soderlund@ragnatech.se \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@glider.be \
    --cc=hans.verkuil@cisco.com \
    --cc=horms@verge.net.au \
    --cc=jacopo+renesas@jmondi.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sakari.ailus@linux.intel.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).