From: Sakari Ailus <sakari.ailus@iki.fi>
To: linux-media@vger.kernel.org
Subject: [GIT PULL v2 for 5.11] Smiapp driver fixes, begin conversion to CCS
Date: Fri, 27 Nov 2020 12:41:44 +0200 [thread overview]
Message-ID: <20201127104144.GJ4351@valkosipuli.retiisi.org.uk> (raw)
Hi Mauro,
Here's a set that prepares making the smiapp driver a modern MIPI CCS
driver. It includes bugfixes, switch to CCS limit definitions as well as
includes the DT bindings for the CCS device.
This corresponds to the v2, changes to v1 are:
- Fix the SPDX tag in mk-ccs-regs script
- Add support for producing kernel definitions including use of BIT macro
and kernel types in mk-ccs-regs (was C99 only)
- Add MAINTAINERS entry for the documentation in the first documentation
patch.
- Fix compilation issues due to ccs-limits.o missing from Makefile in a
few patches early in the set.
Please pull.
The following changes since commit 9463e07df8e0f93931e32c6f415d3f82bda63f35:
media: v4l2-compat-ioctl32.c: add missing #ifdef CONFIG_COMPAT_32BIT_TIMEs (2020-11-17 07:14:46 +0100)
are available in the Git repository at:
git://linuxtv.org/sailus/media_tree.git tags/ccs-v4-smiapp-signed
for you to fetch changes up to c58bbf359f8b7156e3d815208a3bb624bae1f486:
ccs: Request for "reset" GPIO (2020-11-27 12:20:30 +0200)
----------------------------------------------------------------
Preparation of CCS driver for 5.11
----------------------------------------------------------------
Sakari Ailus (29):
ccs: Add the generator for CCS register definitions and limits
Documentation: ccs: Add CCS driver documentation
smiapp: Import CCS definitions
smiapp: Use CCS register flags
smiapp: Calculate CCS limit offsets and limit buffer size
smiapp: Remove macros for defining registers, merge definitions
smiapp: Add macros for accessing CCS registers
smiapp: Use MIPI CCS version and manufacturer ID information
smiapp: Read CCS limit values
smiapp: Switch to CCS limits
smiapp: Obtain frame descriptor from CCS limits
smiapp: Use CCS limits in reading data format descriptors
smiapp: Use CCS limits in reading binning capabilities
smiapp: Use CCS registers
smiapp: Remove quirk function for writing a single 8-bit register
smiapp: Rename register access functions
smiapp: Internal rename to CCS
smiapp: Differentiate CCS sensors from SMIA in subdev naming
smiapp: Rename as "ccs"
ccs: Remove profile concept
ccs: Give all subdevs a function
dt-bindings: nokia,smia: Fix link-frequencies documentation
dt-bindings: nokia,smia: Make vana-supply optional
dt-bindings: nokia,smia: Remove nokia,nvm-size property
dt-bindings: nokia,smia: Convert to YAML
dt-bindings: nokia,smia: Use better active polarity for reset
dt-bindings: nokia,smia: Amend SMIA bindings with MIPI CCS support
dt-bindings: mipi-ccs: Add bus-type for C-PHY support
ccs: Request for "reset" GPIO
.../devicetree/bindings/media/i2c/mipi-ccs.yaml | 128 ++
.../devicetree/bindings/media/i2c/nokia,smia.txt | 66 -
.../driver-api/media/drivers/ccs/ccs-regs.txt | 1041 +++++++++++
Documentation/driver-api/media/drivers/ccs/ccs.rst | 82 +
.../driver-api/media/drivers/ccs/mk-ccs-regs | 433 +++++
Documentation/driver-api/media/drivers/index.rst | 1 +
MAINTAINERS | 21 +-
drivers/media/i2c/Kconfig | 2 +-
drivers/media/i2c/Makefile | 2 +-
drivers/media/i2c/{smiapp => ccs}/Kconfig | 7 +-
drivers/media/i2c/ccs/Makefile | 6 +
.../i2c/{smiapp/smiapp-core.c => ccs/ccs-core.c} | 1828 +++++++++++---------
drivers/media/i2c/ccs/ccs-limits.c | 239 +++
drivers/media/i2c/ccs/ccs-limits.h | 259 +++
.../i2c/{smiapp/smiapp-quirk.c => ccs/ccs-quirk.c} | 92 +-
.../i2c/{smiapp/smiapp-quirk.h => ccs/ccs-quirk.h} | 52 +-
.../{smiapp/smiapp-regs.c => ccs/ccs-reg-access.c} | 85 +-
drivers/media/i2c/ccs/ccs-reg-access.h | 38 +
drivers/media/i2c/ccs/ccs-regs.h | 954 ++++++++++
drivers/media/i2c/{smiapp/smiapp.h => ccs/ccs.h} | 164 +-
drivers/media/i2c/ccs/smiapp-reg-defs.h | 580 +++++++
drivers/media/i2c/smiapp/Makefile | 6 -
drivers/media/i2c/smiapp/smiapp-limits.c | 118 --
drivers/media/i2c/smiapp/smiapp-limits.h | 114 --
drivers/media/i2c/smiapp/smiapp-reg-defs.h | 489 ------
drivers/media/i2c/smiapp/smiapp-reg.h | 116 --
drivers/media/i2c/smiapp/smiapp-regs.h | 36 -
27 files changed, 4947 insertions(+), 2012 deletions(-)
create mode 100644 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml
delete mode 100644 Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
create mode 100644 Documentation/driver-api/media/drivers/ccs/ccs-regs.txt
create mode 100644 Documentation/driver-api/media/drivers/ccs/ccs.rst
create mode 100755 Documentation/driver-api/media/drivers/ccs/mk-ccs-regs
rename drivers/media/i2c/{smiapp => ccs}/Kconfig (55%)
create mode 100644 drivers/media/i2c/ccs/Makefile
rename drivers/media/i2c/{smiapp/smiapp-core.c => ccs/ccs-core.c} (53%)
create mode 100644 drivers/media/i2c/ccs/ccs-limits.c
create mode 100644 drivers/media/i2c/ccs/ccs-limits.h
rename drivers/media/i2c/{smiapp/smiapp-quirk.c => ccs/ccs-quirk.c} (66%)
rename drivers/media/i2c/{smiapp/smiapp-quirk.h => ccs/ccs-quirk.h} (55%)
rename drivers/media/i2c/{smiapp/smiapp-regs.c => ccs/ccs-reg-access.c} (66%)
create mode 100644 drivers/media/i2c/ccs/ccs-reg-access.h
create mode 100644 drivers/media/i2c/ccs/ccs-regs.h
rename drivers/media/i2c/{smiapp/smiapp.h => ccs/ccs.h} (57%)
create mode 100644 drivers/media/i2c/ccs/smiapp-reg-defs.h
delete mode 100644 drivers/media/i2c/smiapp/Makefile
delete mode 100644 drivers/media/i2c/smiapp/smiapp-limits.c
delete mode 100644 drivers/media/i2c/smiapp/smiapp-limits.h
delete mode 100644 drivers/media/i2c/smiapp/smiapp-reg-defs.h
delete mode 100644 drivers/media/i2c/smiapp/smiapp-reg.h
delete mode 100644 drivers/media/i2c/smiapp/smiapp-regs.h
--
Kind regards,
Sakari Ailus
next reply other threads:[~2020-11-27 10:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-27 10:41 Sakari Ailus [this message]
2020-11-27 11:05 ` [GIT PULL v2 for =?iso-8859-1?q?5=2E11=5D=A0Smiapp?= driver fixes, (#69435) Jenkins
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=20201127104144.GJ4351@valkosipuli.retiisi.org.uk \
--to=sakari.ailus@iki.fi \
--cc=linux-media@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.