Skip to content

Tags: kbingham/linux

Tags

gmsl/renesas-drivers-2018-01-30-v4.15/squashed

Toggle gmsl/renesas-drivers-2018-01-30-v4.15/squashed's commit message
media: i2c: max9286: Introduce a debugfs layer

The MAX9286 provides several read-only status registers for observing
the system state of the device.

Provide error statistics and link status through debugfs files.
These files will be free-form and should not be considered as part
of any userspace API

Signed-off-by: Kieran Bingham <[email protected]>

---

Please consider this a starting point for adding useful debug. I don't
necessarily expect this code to make it to the final driver, but it
could be very useful to process and expose this information internally
in the driver.

Alternatively - we could move this all to max9286_debugfs.c or such.

Watch out for a lot of the error counters which reset to 0 when read.
We should handle those by adding the value to a local store on every
read.

v2:
 - Cleanup debugfs in error path of probe()

renesas-drivers-2018-01-30-v4.15

Toggle renesas-drivers-2018-01-30-v4.15's commit message
renesas-drivers-2018-01-30-v4.15 based on renesas-devel-20180129-v4.15

gmsl/2018-01-30-pre-squash-brussels

Toggle gmsl/2018-01-30-pre-squash-brussels's commit message
GMSL Pre-squash state save.

This tag represents a tested point of history before we squash down our
history.

Performed during #PeriMediaBrussels-2018

renesas/fdp1-v2.1

Toggle renesas/fdp1-v2.1's commit message

Verified

This tag was signed with the committer’s verified signature.
kbingham Kieran Bingham
renesas/fdp1-v2.1: Fine Display Processor Driver for RCar

Updated merge to incorporate the minor updates to the dt-bindings
required to get an Ack for upstream integration.

renesas/fdp1-v2

Toggle renesas/fdp1-v2's commit message

Verified

This tag was signed with the committer’s verified signature.
kbingham Kieran Bingham
fdp1-v2: Renesas RCar FDP1 Version 2

 http://elinux.org/R-Car/Devices

renesas/fdp1/pixel-converter

Toggle renesas/fdp1/pixel-converter's commit message

Verified

This tag was signed with the committer’s verified signature.
kbingham Kieran Bingham
renesas/fdp1/pixel-converter: First release of FDP1 driver

First version sent out for review, and functions as a pixel-converter
device only.

i2c-dt/v4.7-rc2-relax-conversion-zero-test

Toggle i2c-dt/v4.7-rc2-relax-conversion-zero-test's commit message

Verified

This tag was signed with the committer’s verified signature.
kbingham Kieran Bingham
i2c-dt/v4.7-rc2-relax-conversion-zero-test:

Verify drivers still autoload their modules without modification

root@arm:~# uname -a
Linux arm 4.7.0-rc2-00027-g72baec98c9f0 #27 SMP Fri Jun 10 10:42:09 BST 2016 armv7l GNU/Linux

root@arm:~# lsmod
Module Size Used by Not tainted
omap_rng 3927 0
rng_core 6410 1 omap_rng
rtc_ds1307 12121 0

root@arm:~# cat /sys/class/rtc/rtc0/device/modalias
i2c:ds1307

root@arm:~# cat /sys/class/rtc/rtc0/date
2016-06-10

renesas/fdp1-2016-06-08-video-converter

Toggle renesas/fdp1-2016-06-08-video-converter's commit message

Verified

This tag was signed with the committer’s verified signature.
kbingham Kieran Bingham
renesas/fdp1-2016-06-08-video-converter: Functional and (almost) chec…

…kpatch clean

Just the DT compatibles to fix up and clean.

Patch set ready for squashing and submitting as a v1 functional driver.
Perhaps some more debug removed but it passes my tests so far.

Driver Info:
        Driver name   : rcar_fdp1
        Card type     : rcar_fdp1
        Bus info      : platform:rcar_fdp1
        Driver version: 4.7.0
        Capabilities  : 0x84204000
                Video Memory-to-Memory Multiplanar
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04204000
                Video Memory-to-Memory Multiplanar
                Streaming
                Extended Pix Format

Compliance test for device /dev/video0 (not using libv4l2):

Required ioctls:
        test VIDIOC_QUERYCAP: OK

Allow for multiple opens:
        test second video open: OK
        test VIDIOC_QUERYCAP: OK
        test VIDIOC_G/S_PRIORITY: OK

Debug ioctls:
        test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
        test VIDIOC_LOG_STATUS: OK (Not Supported)

Input ioctls:
        test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
        test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
        test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
        test VIDIOC_ENUMAUDIO: OK (Not Supported)
        test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
        test VIDIOC_G/S_AUDIO: OK (Not Supported)
        Inputs: 0 Audio Inputs: 0 Tuners: 0

Output ioctls:
        test VIDIOC_G/S_MODULATOR: OK (Not Supported)
        test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
        test VIDIOC_ENUMAUDOUT: OK (Not Supported)
        test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
        test VIDIOC_G/S_AUDOUT: OK (Not Supported)
        Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
        test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
        test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
        test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
        test VIDIOC_G/S_EDID: OK (Not Supported)

        Control ioctls:
                test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
                test VIDIOC_QUERYCTRL: OK
                test VIDIOC_G/S_CTRL: OK
                test VIDIOC_G/S/TRY_EXT_CTRLS: OK
                test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
                test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
                Standard Controls: 2 Private Controls: 2

        Format ioctls:
                test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
                test VIDIOC_G/S_PARM: OK (Not Supported)
                test VIDIOC_G_FBUF: OK (Not Supported)
                test VIDIOC_G_FMT: OK
                test VIDIOC_TRY_FMT: OK
                test VIDIOC_S_FMT: OK
                test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
                test Cropping: OK (Not Supported)
                test Composing: OK (Not Supported)
                test Scaling: OK

        Codec ioctls:
                test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
                test VIDIOC_G_ENC_INDEX: OK (Not Supported)
                test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

        Buffer ioctls:
                test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
                test VIDIOC_EXPBUF: OK

Test input 0:

Total: 42, Succeeded: 42, Failed: 0, Warnings: 0

renesas/fdp1-2016-05-25-frend

Toggle renesas/fdp1-2016-05-25-frend's commit message

Verified

This tag was signed with the committer’s verified signature.
kbingham Kieran Bingham
Tagged milestone as Working frame-end interrupts at this point.

This last squash commit puts in a workaround for the FCP/FDP1 runtime
pm clock handling and then we get working frames through from fdp1-test

The end/abort sequence is broken - but we'll worry about that next.

i2c/v4.6-rc5-i2c-cocci-conversions

Toggle i2c/v4.6-rc5-i2c-cocci-conversions's commit message
i2c: (RFC, don't apply) report OF style modalias when probing using DT

An I2C driver that supports both OF and legacy platforms, will have
both a OF and I2C ID table. This means that when built as a module,
the aliases will be filled from both tables but currently always an
alias of the form i2c:<deviceId> is reported, e.g:

$ cat /sys/class/i2c-adapter/i2c-8/8-004b/modalias
i2c:maxtouch

So if a device is probed by matching its compatible string, udev can
get a MODALIAS uevent env var that doesn't match with one of the valid
aliases so the module won't be auto-loaded.

This patch changes the I2C core to report a OF related MODALIAS uevent
(of:N*T*C) env var instead so the module can be auto-loaded and also
report the correct alias using sysfs:

$ cat /sys/class/i2c-adapter/i2c-8/8-004b/modalias
of:NtrackpadT<NULL>Catmel,maxtouch

Signed-off-by: Javier Martinez Canillas <[email protected]>