Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GIT PULL] media updates for v5.15-rc1 #3

Closed
wants to merge 197 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
387caeb
media: dvbsky: add support for MyGica T230C2_LITE and T230A
pego149 Jun 17, 2021
caa7302
media: include/uapi/linux/cec.h: typo: SATERDAY -> SATURDAY
Jun 18, 2021
2a621b0
media: gspca: Drop default m
ezequielgarcia Jun 19, 2021
8db11ae
media: dib8000: rewrite the init prbs logic
mchehab Jun 17, 2021
54e80d9
media: sti: don't copy past the size
mchehab Jun 21, 2021
1a10d7f
media: uvc: don't do DMA on stack
mchehab Jun 17, 2021
ed638b1
media: ivtv: prevent going past the hw arrays
mchehab Jun 21, 2021
229e5bd
media: hevc: Add segment address field
jernejsk Jun 6, 2021
d92a4a2
media: cedrus: hevc: Add support for multiple slices
jernejsk Jun 6, 2021
e481ff3
media: drivers/media/pci/tw5864/Tw5864-reg.h: fix typo issues
Jun 9, 2021
9a58288
media: drivers/media/usb/gspca: fix typo Fliker -> Flicker
Jun 9, 2021
b6ef5c1
media: atomisp: remove redundant initialization of variable ret
Jun 9, 2021
123aaf8
media: atmel: atmel-sama5d2-isc: fix YUYV format
ehristev Jun 9, 2021
983eb35
media: drivers/media/platform/davinci/vpfe_capture.c : fix typo Proab…
Jun 10, 2021
331ca86
media: i2c: tvp5150: deleted the repeated word
Jun 11, 2021
bc3db19
media: saa7134: switch from 'pci_' to 'dma_' API
tititiou36 Jun 13, 2021
d229a91
media: drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c : fix typo 'in…
Jun 15, 2021
ea3e1c3
media: TDA1997x: enable EDID support
Jun 16, 2021
40c7f9c
media: vivid: increase max number of allowed
Jun 16, 2021
46fdc30
media: drivers/media/platform/marvell-ccic/mcam-core.c : fix typo 'ge…
Jun 16, 2021
3f3475a
media: saa7134: convert list_for_each to entry variant
Jun 16, 2021
afaff55
media: saa7164: remove redundant continue statement
Jun 18, 2021
4e11f02
media: ti-vpe: cal: add g/s_parm for legacy API
tomba Jun 14, 2021
918d6d1
media: ti-vpe: cal: fix error handling in cal_camerarx_create
tomba Jun 14, 2021
97a2c65
media: ti-vpe: cal: remove unused cal_camerarx->dev field
tomba Jun 14, 2021
27f86b9
media: ti-vpe: cal: rename "sensor" to "source"
tomba Jun 14, 2021
93080e2
media: ti-vpe: cal: move global config from cal_ctx_wr_dma_config to …
tomba Jun 14, 2021
bbdb9ae
media: ti-vpe: cal: use v4l2_get_link_freq
tomba Jun 14, 2021
2e63c4c
media: ti-vpe: cal: add cal_ctx_prepare/unprepare
tomba Jun 14, 2021
05b12b5
media: ti-vpe: cal: change index and cport to u8
tomba Jun 14, 2021
6266dde
media: ti-vpe: cal: Add CSI2 context
tomba Jun 14, 2021
0de6f41
media: ti-vpe: cal: Add pixel processing context
tomba Jun 14, 2021
42a1364
media: ti-vpe: cal: rename cal_ctx->index to dma_ctx
tomba Jun 14, 2021
2eef9ee
media: ti-vpe: cal: rename CAL_HL_IRQ_MASK
tomba Jun 14, 2021
aece634
media: ti-vpe: cal: clean up CAL_CSI2_VC_IRQ_* macros
tomba Jun 14, 2021
3b1fe1a
media: ti-vpe: cal: catch VC errors
tomba Jun 14, 2021
af981fc
media: ti-vpe: cal: remove wait when stopping camerarx
tomba Jun 14, 2021
38f7435
media: ti-vpe: cal: disable csi2 ctx and pix proc at ctx_stop
tomba Jun 14, 2021
4cb3a0f
media: ti-vpe: cal: allocate pix proc dynamically
tomba Jun 14, 2021
8927a9f
media: ti-vpe: cal: add 'use_pix_proc' field
tomba Jun 14, 2021
1a7adfd
media: ti-vpe: cal: add cal_ctx_wr_dma_enable and fix a race
tomba Jun 14, 2021
7d167e6
media: ti-vpe: cal: add vc and datatype fields to cal_ctx
tomba Jun 14, 2021
a6c9aad
media: ti-vpe: cal: handle cal_ctx_v4l2_register error
tomba Jun 14, 2021
37fa1d2
media: ti-vpe: cal: set field always to V4L2_FIELD_NONE
tomba Jun 14, 2021
d3409a6
media: ti-vpe: cal: fix typo in a comment
tomba Jun 14, 2021
7f9f812
media: ti-vpe: cal: add mbus_code support to cal_mc_enum_fmt_vid_cap
tomba Jun 14, 2021
e6a800d
media: ti-vpe: cal: rename non-MC funcs to cal_legacy_*
tomba Jun 14, 2021
8bfd1af
media: ti-vpe: cal: init ctx->v_fmt correctly in MC mode
tomba Jun 14, 2021
2e7e09a
media: ti-vpe: cal: remove cal_camerarx->fmtinfo
tomba Jun 14, 2021
75e7e58
media: ti-vpe: cal: support 8 DMA contexts
tomba Jun 14, 2021
b65836f
media: ti-vpe: cal: cleanup phy iteration in cal_remove
tomba Jun 14, 2021
9e67f24
media: ti-vpe: cal: fix ctx uninitialization
tomba Jun 14, 2021
892c37f
media: ti-vpe: cal: fix queuing of the initial buffer
tomba Jun 14, 2021
6cb0eee
media: ti-vpe: cal: add camerarx locking
tomba Jun 14, 2021
9eaca40
media: ti-vpe: cal: add camerarx enable/disable refcounting
tomba Jun 14, 2021
71e3a18
media: ti-vpe: cal: allow more than 1 source pads
tomba Jun 14, 2021
f4a87d5
media: ti-vpe: cal: add embedded data support
tomba Jun 14, 2021
e5dd864
media: rc: streamzap: Removed unnecessary 'return'
Jun 10, 2021
adb08a0
media: rc: redrat3: Fix a typo
Jun 10, 2021
86541f0
media: rc: rc-main.c: deleted the repeated word
Jun 10, 2021
dcb0145
media: cxd2880-spi: Fix an error handling path
tititiou36 Jun 10, 2021
4acb04d
media: dvb-frontends: cx24117: Delete 'break' after 'goto'
Jun 18, 2021
73415d7
media: usb: dvb-usb-v2: af9035: report if i2c client isn't bound
ukleinek Jun 12, 2021
379e205
media: usb: dvb-usb-v2: af9035: let subdrv autoselect enable si2168 a…
ukleinek Jun 12, 2021
6b7f554
media: rc-loopback: return number of emitters rather than error
seanyoung Jul 3, 2021
d9d0103
media: rc-loopback: use dev_dbg() rather than handrolled debug
seanyoung Jul 3, 2021
7300d0c
media: rc-loopback: send carrier reports
seanyoung Jul 3, 2021
5063454
media: rc-loopback: max_timeout of UINT_MAX does not work
seanyoung Jul 5, 2021
8b777ed
media: rc: rename s_learning_mode() to s_wideband_receiver()
seanyoung Jul 3, 2021
c545376
media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
mudongliang Jun 25, 2021
797c061
media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
mudongliang Jun 25, 2021
131ae38
media: dvb-usb: Fix error handling in dvb_usb_i2c_init
mudongliang Jun 21, 2021
6ad61a7
media: hantro: vp8: Move noisy WARN_ON to vpu_debug
ezequielgarcia Jul 19, 2021
96f33a5
media: hantro: Make struct hantro_variant.init() optional
ezequielgarcia Jul 19, 2021
b1e6056
media: hantro: Avoid redundant hantro_get_{dst,src}_buf() calls
ezequielgarcia Jul 19, 2021
a9096c5
media: hantro: h264: Move DPB valid and long-term bitmaps
ezequielgarcia Jul 19, 2021
678ddaf
media: hantro: h264: Move reference picture number to a helper
ezequielgarcia Jul 19, 2021
c07665f
media: hantro: Add H.264 support for Rockchip VDPU2
Kwiboo Jul 19, 2021
1f82f2d
media: hantro: Enable H.264 on Rockchip VDPU2
ezequielgarcia Jul 19, 2021
fb7cb34
media: hantro: Add support for the Rockchip PX30
paulkocialkowski Jul 19, 2021
9d05c1e
media: dt-bindings: media: rockchip-vpu: Add PX30 compatible
paulkocialkowski Jul 19, 2021
724fae9
media: dt-bindings: adv7180: Introduce the 'reset-gpios' property
fabioestevam May 31, 2021
abb7c7c
media: adv7180: Add optional reset GPIO
fschrempf May 31, 2021
f7b96a9
media: i2c: adv7180: Print the chip ID on probe
fabioestevam May 31, 2021
28d1e47
media: dt-bindings: adv7180: Introduce 'adv,force-bt656-4' property
fabioestevam Jun 4, 2021
ed771d7
media: i2c: adv7180: fix adv7280 BT.656-4 compatibility
mmichilot Jun 4, 2021
47d94da
media: go7007: fix memory leak in go7007_usb_probe
pskrgag Jun 20, 2021
6f5885a
media: go7007: remove redundant initialization
pskrgag Jun 20, 2021
ba7a93e
media: v4l2-subdev: fix some NULL vs IS_ERR() checks
Jun 22, 2021
07e59d9
media: rkisp1: remove field 'vaddr' from 'rkisp1_buffer'
Jun 25, 2021
f003d63
media: rkisp1: cap: initialize dma buf address in 'buf_init' cb
Jun 25, 2021
7910c23
media: media/cec-core.rst: update adap_enable doc
Jun 28, 2021
514e976
media: stkwebcam: fix memory leak in stk_camera_probe
pskrgag Jul 7, 2021
055d2db
media: platform: stm32: unprepare clocks at handling errors in probe
eunovm Jul 10, 2021
e58430e
media: rockchip/rga: fix error handling in probe
Jul 13, 2021
fa0b565
media: ti-vpe: cal: fix indexing of cal->ctx[] in cal_probe()
Jul 16, 2021
44693d7
media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
pH5 Jul 19, 2021
e6f2387
media: atomisp: Fix typo "accesible"
ribalda Mar 18, 2021
fe8e320
media: atomisp-ov2680: A trivial typo fix
unixbhaskar Mar 24, 2021
672fe1c
media: atomisp: Fix runtime PM imbalance in atomisp_pci_probe
dinghaoliu Apr 8, 2021
24d4fbd
media: atomisp: pci: fixed a curly bracket coding style issue.
SwDev12 Apr 11, 2021
9763267
media: atomisp: remove useless breaks
pskrgag May 8, 2021
728a5c6
media: atomisp: remove dublicate code
pskrgag May 8, 2021
264f590
media: atomisp: remove useless returns
pskrgag May 8, 2021
c275e5d
media: atomisp: fix the uninitialized use and rename "retvalue"
Jun 25, 2021
9d971b8
media: atomisp: use list_splice_init in atomisp_compat_css20.c
LiBaokun96 Jun 17, 2021
7f52dbb
media: atomisp: Resolve goto style issue in sh_css.c
v-rzh May 8, 2021
f6e2a76
media: atomisp: Remove unnecessary parens in sh_css.c
v-rzh May 8, 2021
00ba215
media: atomisp: Use kcalloc instead of kzalloc with multiply in sh_css.c
v-rzh May 8, 2021
6b6d228
media: atomisp: Fix line continuation style issue in sh_css.c
v-rzh May 8, 2021
2c08a01
media: atomisp: Use sysfs_emit() instead of sprintf() where appropriate
ita93 May 13, 2021
95d2117
media: atomisp: Align block comments
wanjb2115 May 18, 2021
f89aa0d
media: atomisp: Fix whitespace at the beginning of line
heraldofsolace May 24, 2021
544ee73
media: atomisp: improve error handling in gc2235_detect()
May 21, 2021
d741db7
media: atomisp: remove the repeated declaration
zhangshk May 25, 2021
8e38adf
media: atomisp: Remove unused declarations
andy-shev May 26, 2021
86d92c3
media: atomisp: Annotate a couple of definitions with __maybe_unused
andy-shev May 26, 2021
a5d46d9
media: atomisp: Remove unused port_enabled variable
andy-shev May 26, 2021
179b1fc
media: atomisp: pci: Remove checks before kfree/kvfree
xp4ns3 May 27, 2021
655ace3
media: atomisp: pci: Remove unnecessary (void *) cast
xp4ns3 Jun 5, 2021
d14e272
media: atomisp: pci: fix error return code in atomisp_pci_probe()
Jun 17, 2021
1d74a91
media: atomisp: Perform a single memset() for union
kees Jul 11, 2021
70d4ac6
media: atomisp: Move MIPI_PORT_LANES to the only user
andy-shev Jul 13, 2021
278cc35
media: atomisp: i2c: Remove a superfluous else clause in atomisp-mt9m…
v-rzh Jul 19, 2021
c27479d
media: atomisp: pci: reposition braces as per coding style
drvgithubuser Apr 30, 2021
0c980e3
media: atomisp: fix the uninitialized use and rename "retvalue"
Jun 25, 2021
9e77871
media: atomisp: Resolve goto style issue in sh_css.c
v-rzh May 8, 2021
a93cf5a
media: atomisp: Remove unnecessary parens in sh_css.c
v-rzh May 8, 2021
d2f3009
media: atomisp: Use kcalloc instead of kzalloc with multiply in sh_css.c
v-rzh May 8, 2021
66b2242
media: atomisp: Fix line continuation style issue in sh_css.c
v-rzh May 8, 2021
e53656a
media: atomisp: Use sysfs_emit() instead of sprintf() where appropriate
ita93 May 13, 2021
b09ea93
media: atomisp: Align block comments
wanjb2115 May 18, 2021
6bdad3b
media: atomisp: Fix whitespace at the beginning of line
heraldofsolace May 24, 2021
2803555
media: atomisp: improve error handling in gc2235_detect()
May 21, 2021
0ae19e8
media: atomisp: remove the repeated declaration
zhangshk May 25, 2021
85001df
media: atomisp: Remove unused declarations
andy-shev May 26, 2021
dbe93bc
media: atomisp: Annotate a couple of definitions with __maybe_unused
andy-shev May 26, 2021
693064e
media: atomisp: Remove unused port_enabled variable
andy-shev May 26, 2021
1c6edb2
media: atomisp: pci: Remove checks before kfree/kvfree
xp4ns3 May 27, 2021
454a623
media: atomisp: pci: Remove unnecessary (void *) cast
xp4ns3 Jun 5, 2021
d27f346
media: atomisp: pci: fix error return code in atomisp_pci_probe()
Jun 17, 2021
69aa1de
media: atomisp: Perform a single memset() for union
kees Jul 11, 2021
a5e5cea
media: atomisp: Move MIPI_PORT_LANES to the only user
andy-shev Jul 13, 2021
f83f86e
media: atomisp: i2c: Remove a superfluous else clause in atomisp-mt9m…
v-rzh Jul 19, 2021
c3cdc01
media: atomisp: pci: reposition braces as per coding style
drvgithubuser Apr 30, 2021
a7a48b4
Merge commit 'c3cdc019a6bf' into media_tree
mchehab Aug 3, 2021
e9f504f
media: rc: meson-ir-tx: document device tree bindings
viktor-prutyanov Jul 19, 2021
49be1c7
media: rc: introduce Meson IR TX driver
viktor-prutyanov Jul 19, 2021
6fa54bc
media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
mudongliang Jul 7, 2021
c3609c4
media: v4l2-subdev: Fix documentation of the subdev_notifier member
paulkocialkowski Jun 9, 2021
932741d
media: dt-bindings: media: Add bindings for imx335
May 27, 2021
45d19b5
media: i2c: Add imx335 camera sensor driver
May 27, 2021
333b312
media: dt-bindings: media: Add bindings for imx412
May 27, 2021
9214e86
media: i2c: Add imx412 camera sensor driver
May 27, 2021
4874ea3
media: dt-bindings: media: Add bindings for ov9282
May 27, 2021
14ea315
media: i2c: Add ov9282 camera sensor driver
May 27, 2021
1536fbd
media: ov5640: Complement yuv mbus formats with their 1X16 versions
xroumegue Jun 18, 2021
7b537f2
media: mc-device.c: use DEVICE_ATTR_RO() helper macro
Jun 3, 2021
5fca416
media: i2c: et8ek8: use DEVICE_ATTR_RO() helper macro
Jun 3, 2021
9256de0
media: i2c: use DEVICE_ATTR_RO() helper macro
Jun 3, 2021
e006558
media: exynos4-is: use DEVICE_ATTR_RW() helper macro
Jun 3, 2021
0368e7d
media: omap3isp: Fix missing unlock in isp_subdev_notifier_complete()
Apr 7, 2021
b9a5433
media: Documentation: media: Improve camera sensor documentation
Feb 1, 2021
6f8f9fd
media: Documentation: media: Fix v4l2-async kerneldoc syntax
Feb 8, 2021
8925b53
media: Documentation: v4l: Fix V4L2_CID_PIXEL_RATE documentation
Jun 22, 2021
e5a466d
media: Documentation: v4l: Improve frame rate configuration documenta…
Jun 22, 2021
013c35b
media: Documentation: v4l: Rework LP-11 documentation, add callbacks
Jun 23, 2021
253171a
media: v4l: subdev: Add pre_streamon and post_streamoff callbacks
Jun 23, 2021
41a95d0
media: ccs: Implement support for manual LP control
Jun 23, 2021
a40eba9
media: v4l2-flash: Add sanity checks for flash and indicator controls
Jun 24, 2021
4d7adf0
media: v4l2-flash: Check whether setting LED brightness succeeded
Jun 24, 2021
8436350
media: ov2740: use group write for digital gain
bingbucao Jul 5, 2021
0e2b855
media: ov9734: use group write for digital gain
bingbucao Jul 5, 2021
d84a2e4
media: ov8856: ignore gpio and regulator for ov8856 with ACPI
bingbucao Jul 6, 2021
51f93ad
media: imx258: Rectify mismatch of VTS value
pinchartl Jul 23, 2021
f809665
media: imx258: Limit the max analogue gain to 480
Jul 23, 2021
e8713c3
media: dt-bindings: media: nxp,imx7-csi: Add i.MX8MM support
pinchartl Apr 12, 2021
a581c87
media: imx: imx7-media-csi: Set TWO_8BIT_SENSOR for >= 10-bit formats
pinchartl Feb 3, 2021
8b22617
media: imx: imx7-media-csi: Don't set PIXEL_BIT in CSICR1
pinchartl Feb 3, 2021
0ada169
media: imx: imx7-media-csi: Fix buffer return upon stream start failure
pinchartl May 11, 2021
43c3f12
media: imx: imx7_mipi_csis: convert some switch cases to the default
May 31, 2021
3725574
media: dt-bindings: media: document the nxp,imx8mq-mipi-csi2 receiver…
merge Jul 28, 2021
f33fd8d
media: imx: add a driver for i.MX8MQ mipi csi rx phy and controller
merge Jul 28, 2021
4108b3e
media: v4l2-dv-timings.c: fix wrong condition in two for-loops
Jul 23, 2021
95d4536
media: Fix cosmetic error in TDA1997x driver
Jul 26, 2021
7dee103
media: TDA1997x: fix tda1997x_query_dv_timings() return value
Jul 26, 2021
5cdd19b
media: TDA1997x: report -ENOLINK after disconnecting HDMI source
Jul 26, 2021
c8b2639
media: cec-pin: rename timer overrun variables
deborahbrouwer Jul 28, 2021
3836707
media: tegra-cec: Handle errors of clk_prepare_enable()
eunovm Jul 28, 2021
331e06b
media: venus: hfi: fix return value check in sys_get_prop_image_versi…
Jul 7, 2021
09ea971
media: venus: venc: Fix potential null pointer dereference on pointer…
Jul 9, 2021
1ac61fa
media: venus: helper: do not set constrained parameters for UBWC
Jul 6, 2021
ea9f911
media: docs: ext-ctrls-codec: Document cyclic intra-refresh zero cont…
Jun 22, 2021
9d5adee
media: v4l2-ctrls: Add intra-refresh period control
Jun 22, 2021
f7a3d3d
media: venus: venc: Add support for intra-refresh period
Jun 22, 2021
bfee75f
media: venus: venc: add support for V4L2_CID_MPEG_VIDEO_H264_8X8_TRAN…
Jul 29, 2021
9c3a0f2
Merge tag 'v5.14-rc4' into media_tree
mchehab Aug 5, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions Documentation/devicetree/bindings/media/amlogic,meson-ir-tx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

%YAML 1.2
---
$id: "http://devicetree.org/schemas/media/amlogic,meson-ir-tx.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Amlogic Meson IR transmitter

maintainers:
- Viktor Prutyanov <viktor.prutyanov@phystech.edu>

description: |
Some Amlogic SoCs such as A311D and T950D4 have IR transmitter
(also called blaster) controller onboard. It is capable of
sending IR signals with arbitrary carrier frequency and duty cycle.

properties:
compatible:
oneOf:
- const: amlogic,meson-ir-tx
- items:
- const: amlogic,meson-g12a-ir-tx
- const: amlogic,meson-ir-tx

reg:
maxItems: 1

interrupts:
maxItems: 1

clocks:
maxItems: 2

clock-names:
items:
- const: sysclk
- const: xtal

required:
- compatible
- reg
- interrupts
- clocks
- clock-names

additionalProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/g12a-clkc.h>

ir@ff80014c {
compatible = "amlogic,meson-g12a-ir-tx", "amlogic,meson-ir-tx";
reg = <0xff80014c 0x10>;
interrupts = <0 198 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_CLK81>, <&xtal>;
clock-names = "sysclk", "xtal";
};
8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/adv7180.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ properties:
powerdown-gpios:
maxItems: 1

reset-gpios:
maxItems: 1

adv,force-bt656-4:
description:
Indicates that the output is a BT.656-4 compatible stream.
type: boolean

port:
$ref: /schemas/graph.yaml#/$defs/port-base
unevaluatedProperties: false
Expand Down
91 changes: 91 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright (C) 2021 Intel Corporation
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/ovti,ov9282.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: OmniVision OV9282 Sensor

maintainers:
- Paul J. Murphy <paul.j.murphy@intel.com>
- Daniele Alessandrelli <daniele.alessandrelli@intel.com>

description:
OV9282 sensor is an OmniVision black & white CMOS active pixel digital image
sensor with an active array size of 1296H x 816V. It is programmable through
I2C interface. The I2C client address is fixed to 0x60/0x70 as per sensor data
sheet. Image data is sent through MIPI CSI-2.

properties:
compatible:
const: ovti,ov9282
reg:
description: I2C address
maxItems: 1

assigned-clocks: true
assigned-clock-parents: true
assigned-clock-rates: true

clocks:
description: Clock frequency from 6 to 27MHz
maxItems: 1

reset-gpios:
description: Reference to the GPIO connected to the XCLR pin, if any.
maxItems: 1

port:
additionalProperties: false
$ref: /schemas/graph.yaml#/properties/port

properties:
endpoint:
$ref: /schemas/media/video-interfaces.yaml#
unevaluatedProperties: false

properties:
data-lanes: true
link-frequencies: true

required:
- data-lanes
- link-frequencies

required:
- endpoint

required:
- compatible
- reg
- clocks
- port

additionalProperties: false

examples:
- |
i2c0 {
#address-cells = <1>;
#size-cells = <0>;

camera@60 {
compatible = "ovti,ov9282";
reg = <0x60>;
clocks = <&ov9282_clk>;

assigned-clocks = <&ov9282_clk>;
assigned-clock-parents = <&ov9282_clk_parent>;
assigned-clock-rates = <24000000>;

port {
ov9282: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <800000000>;
};
};
};
};
...
91 changes: 91 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright (C) 2021 Intel Corporation
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/sony,imx335.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sony IMX335 Sensor

maintainers:
- Paul J. Murphy <paul.j.murphy@intel.com>
- Daniele Alessandrelli <daniele.alessandrelli@intel.com>

description:
IMX335 sensor is a Sony CMOS active pixel digital image sensor with an active
array size of 2592H x 1944V. It is programmable through I2C interface. The
I2C client address is fixed to 0x1a as per sensor data sheet. Image data is
sent through MIPI CSI-2.

properties:
compatible:
const: sony,imx335
reg:
description: I2C address
maxItems: 1

assigned-clocks: true
assigned-clock-parents: true
assigned-clock-rates: true

clocks:
description: Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz
maxItems: 1

reset-gpios:
description: Reference to the GPIO connected to the XCLR pin, if any.
maxItems: 1

port:
additionalProperties: false
$ref: /schemas/graph.yaml#/properties/port

properties:
endpoint:
$ref: /schemas/media/video-interfaces.yaml#
unevaluatedProperties: false

properties:
data-lanes: true
link-frequencies: true

required:
- data-lanes
- link-frequencies

required:
- endpoint

required:
- compatible
- reg
- clocks
- port

additionalProperties: false

examples:
- |
i2c0 {
#address-cells = <1>;
#size-cells = <0>;

camera@1a {
compatible = "sony,imx335";
reg = <0x1a>;
clocks = <&imx335_clk>;

assigned-clocks = <&imx335_clk>;
assigned-clock-parents = <&imx335_clk_parent>;
assigned-clock-rates = <24000000>;

port {
imx335: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <594000000>;
};
};
};
};
...
91 changes: 91 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright (C) 2021 Intel Corporation
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/sony,imx412.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sony IMX412 Sensor

maintainers:
- Paul J. Murphy <paul.j.murphy@intel.com>
- Daniele Alessandrelli <daniele.alessandrelli@intel.com>

description:
IMX412 sensor is a Sony CMOS active pixel digital image sensor with an active
array size of 4072H x 3176V. It is programmable through I2C interface. The
I2C client address is fixed to 0x1a as per sensor data sheet. Image data is
sent through MIPI CSI-2.

properties:
compatible:
const: sony,imx412
reg:
description: I2C address
maxItems: 1

assigned-clocks: true
assigned-clock-parents: true
assigned-clock-rates: true

clocks:
description: Clock frequency 6MHz, 12MHz, 18MHz, 24MHz or 27MHz
maxItems: 1

reset-gpios:
description: Reference to the GPIO connected to the XCLR pin, if any.
maxItems: 1

port:
additionalProperties: false
$ref: /schemas/graph.yaml#/properties/port

properties:
endpoint:
$ref: /schemas/media/video-interfaces.yaml#
unevaluatedProperties: false

properties:
data-lanes: true
link-frequencies: true

required:
- data-lanes
- link-frequencies

required:
- endpoint

required:
- compatible
- reg
- clocks
- port

additionalProperties: false

examples:
- |
i2c0 {
#address-cells = <1>;
#size-cells = <0>;

camera@1a {
compatible = "sony,imx412";
reg = <0x1a>;
clocks = <&imx412_clk>;

assigned-clocks = <&imx412_clk>;
assigned-clock-parents = <&imx412_clk_parent>;
assigned-clock-rates = <24000000>;

port {
imx412: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <600000000>;
};
};
};
};
...
12 changes: 8 additions & 4 deletions Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: i.MX7 CMOS Sensor Interface
title: i.MX7 and i.MX8 CSI bridge (CMOS Sensor Interface)

maintainers:
- Rui Miguel Silva <rmfrfs@gmail.com>
Expand All @@ -15,9 +15,13 @@ description: |

properties:
compatible:
enum:
- fsl,imx7-csi
- fsl,imx6ul-csi
oneOf:
- enum:
- fsl,imx7-csi
- fsl,imx6ul-csi
- items:
- const: fsl,imx8mm-csi
- const: fsl,imx7-csi

reg:
maxItems: 1
Expand Down
Loading