[Patch v3 00/20] media: ti-vpe: cal: maintenance

From: Benoit Parrot
Date: Tue Nov 12 2019 - 09:30:21 EST


This a collection of backlog patches I have been carrying for the CAL
driver.

- Add support for SoC variants.

- Switches to syscon/regmap to access a system controller register for
the DPHY configuration. This register has different bit layout depending
on the SoC version.

- It adds supports for pre ES2.0 silicon errata.

- Reworked the DPHY initialization sequence to match the technical
reference manual and provide a more robust restartability.

- Adds the missing ability to power subdevice.

- Update the devicetree binding and then converts it to dt-schema

Changes since v2:
- Added a patch which converts all BIT_MASK() into BIT().
- Constify stuct cal_data.
- Remove blank line.
- Fix to use BIT() instead of BIT_MASK() in "add CSI2 PHY LDO errata
support" patch
- Fix commit description related to v4l2 power management:
- Add missing binding update from v2
- Merge dt-binding and maintainer patch

Changes since v1:
- Removed unneeded "items/max/min".
- Add a ref for ti,camerrx-control type
- Move compatible description as comment in the schemas
- Simplify 'endpoint' syntax
- Removed clocks description
- Added ti,cal.yaml to MAINTAINERS as a separate patch.
- Added Rob's ack
- Remove 'inline' from cal_runtime_get()
- Switch to use of_device_get_match_data
- Reworked the syscon_regmap_lookup_by_phandle() section
- Updated the binding to use ti,camerrx-control instead of sycon_camerrx
- Updated the binding to use ti,camerrx-control instead of sycon_camerrx

Benoit Parrot (19):
dt-bindings: media: cal: update binding to use syscon
dt-bindings: media: cal: update binding example
media: ti-vpe: cal: switch BIT_MASK to BIT
media: ti-vpe: cal: Add per platform data support
media: ti-vpe: cal: Enable DMABUF export
dt-bindings: media: cal: update binding to add PHY LDO errata support
media: ti-vpe: cal: add CSI2 PHY LDO errata support
media: ti-vpe: cal: Fix ths_term/ths_settle parameters
media: ti-vpe: cal: Fix pixel processing parameters
media: ti-vpe: cal: Align DPHY init sequence with docs
dt-bindings: media: cal: update binding to add DRA76x support
media: ti-vpe: cal: Add DRA76x support
dt-bindings: media: cal: update binding to add AM654 support
media: ti-vpe: cal: Add AM654 support
media: ti-vpe: cal: Add subdev s_power hooks
media: ti-vpe: cal: Properly calculate max resolution boundary
media: ti-vpe: cal: Fix a WARN issued when start streaming fails
media: ti-vpe: cal: fix enum_mbus_code/frame_size subdev arguments
dt-bindings: media: cal: convert binding to yaml

Nikhil Devshatwar (1):
media: ti-vpe: cal: Restrict DMA to avoid memory corruption

.../devicetree/bindings/media/ti,cal.yaml | 202 +++++
.../devicetree/bindings/media/ti-cal.txt | 72 --
MAINTAINERS | 1 +
drivers/media/platform/Kconfig | 2 +-
drivers/media/platform/ti-vpe/cal.c | 773 ++++++++++++++----
drivers/media/platform/ti-vpe/cal_regs.h | 221 ++---
6 files changed, 937 insertions(+), 334 deletions(-)
create mode 100644 Documentation/devicetree/bindings/media/ti,cal.yaml
delete mode 100644 Documentation/devicetree/bindings/media/ti-cal.txt

--
2.17.1