diff options
author | Christian Hemp <c.hemp@phytec.de> | 2021-07-26 09:35:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:35 +0200 |
commit | ae47ee5fc4703bb55278c4185f76c81f980f91eb (patch) | |
tree | 6aa20ca50ead4c5e27e3f0f4c01e152e7c8b86f2 /include/media/i2c | |
parent | b9c18096f5948aae9c792aee9f355bfd64452569 (diff) |
media: mt9p031: Make pixel clock polarity configurable by DT
Evaluate the desired pixel clock polarity from the device tree.
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media/i2c')
-rw-r--r-- | include/media/i2c/mt9p031.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/i2c/mt9p031.h b/include/media/i2c/mt9p031.h index 7c29c53aa988..f933cd0be8e5 100644 --- a/include/media/i2c/mt9p031.h +++ b/include/media/i2c/mt9p031.h @@ -10,6 +10,7 @@ struct v4l2_subdev; * @target_freq: Pixel clock frequency */ struct mt9p031_platform_data { + unsigned int pixclk_pol:1; int ext_freq; int target_freq; }; |