media: atomisp: mt9m114: Make it work on Asus T100TA
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | media: atomisp: Fix WARN_ON() in vb2_start_streaming() triggeringdrivers/ | +4 | 1 reply | |
| 2/4 | media: atomisp: mt9m114: Disable V4L2_CID_3A_LOCK controldrivers/ | +2 | 0 replies | |
| 3/4 | media: atomisp: mt9m114: Add missing mutex_init() calldrivers/ | +6 | 2 replies | |
| 4/4 | media: atomisp: mt9m114: Fix fmt->code not getting set on try_fmtdrivers/ | +1 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andy Shevchenko |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] media: atomisp: mt9m114: Make it work on Asus T100TA
Hi All,
Since there is some interest in getting the mt9m114 camera to work on the Asus T100TA:
https://github.com/jfwells/linux-asus-t100ta/issues/4
https://lore.kernel.org/platform-driver-x86/[email protected]/
I have spend some time this weekend poking at this resulting in this series which makes things work somewhat.
Note that for now this will only work if you modify the BIOS settings to change the ISP to be listed as a PCI device in lspci:
00:03.0 Multimedia controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Camera ISP (rev 09)
If you do not have this in lspci then things will not work. The BIOS does not allow changing this setting from its menu, so we need to use the grub setup_var_3 command form a patched grub.
Note this requires your Asus T100TA to be at the latest v314 BIOS version, this has not been tested with other versions!
Download grubia32.efi from here:
https://fedorapeople.org/~jwrdegoede/grub-efi-setup_var/grubia32.efi
Boot this once and then run:
setup_var_3 6f
If the ISP is not visible in lspci this should show 01 as value for the 0x6f offset.
Now change this to 2:
setup_var_3 6f 02
and then reboot. After this the ISP should be visible in lspci.
For more details on how this works see:
https://hansdegoede.dreamwidth.org/25589.html
Note this series is just a quick hack, the proper fix would be to get the new drivers/media/i2c/mt9m114 standard v4l2 driver to work and atomisp does support standard v4l2 drivers for a while now.
I plan to take a shot at this as time permits, hopefully sometime within a month but no promises.
Regards,
Hans
Hans de Goede (4):
media: atomisp: Fix WARN_ON() in vb2_start_streaming() triggering
media: atomisp: mt9m114: Disable V4L2_CID_3A_LOCK control
media: atomisp: mt9m114: Add missing mutex_init() call
media: atomisp: mt9m114: Fix fmt->code not getting set on try_fmt
drivers/staging/media/atomisp/i2c/atomisp-mt9m114.c | 13 +++++++++---- drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 5 ++++- 2 files changed, 13 insertions(+), 5 deletions(-)
Signature · 1 line
2.47.0