All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel 5.10 - imx-media does not create /dev/media0
@ 2021-10-27 23:04 Patrick Boettcher
  2021-10-28  6:58 ` Patrick Boettcher
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Boettcher @ 2021-10-27 23:04 UTC (permalink / raw)
  To: linux-media

Hi list,

(long time no see!)

I switched from a Freescale kernel 5.4 to a vanilla 5.10 on IMX6Solo
board. The device is using a ADV7280 as analog-video-ADC.

I tried to apply the good options to my kernel-config, but I'm unable
to get the media-controller device appear. I see  

 [  757.594463] irq: type mismatch, failed to map hwirq-21 for gpio@20a8000!
 [  757.655328] adv7180 2-0021: chip found @ 0x21 (21a8000.i2c)

that the adv7280 is found and attached, as well as the ipu and it's
video-devices.

 [   11.069123] videodev: Linux video capture interface: v2.00
 [   12.553347] ipu1_csi0: Registered ipu1_csi0 capture as /dev/video0
 [   12.681897] ipu1_ic_prpenc: Registered ipu1_ic_prpenc capture as /dev/video1
 [   12.785205] ipu1_ic_prpvf: Registered ipu1_ic_prpvf capture as /dev/video2
 [   12.914702] ipu1_csi1: Registered ipu1_csi1 capture as /dev/video3

I'm using the same device-tree as I used with fscl-5.4.

Before writing an even longer email pasting everything I did I'd like
to know which information is actually useful to debug this?

I'm hoping there is something obvious which I missed?

I'm wondering whether I shoud v4l-subdev to be created, which I don't
in dmesg.

Thanks in advance for any help,
--
Patrick.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel 5.10 - imx-media does not create /dev/media0
  2021-10-27 23:04 Kernel 5.10 - imx-media does not create /dev/media0 Patrick Boettcher
@ 2021-10-28  6:58 ` Patrick Boettcher
  2021-10-29 14:56   ` Patrick Boettcher
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Boettcher @ 2021-10-28  6:58 UTC (permalink / raw)
  To: linux-media

On Wed, 27 Oct 2021 23:04:12 +0000
Patrick Boettcher <patrick.boettcher@posteo.de> wrote:

>Hi list,
>
>(long time no see!)
>
>I switched from a Freescale kernel 5.4 to a vanilla 5.10 on IMX6Solo
>board. The device is using a ADV7280 as analog-video-ADC.
>
>I tried to apply the good options to my kernel-config, but I'm unable
>to get the media-controller device appear. I see  
>
> [  757.594463] irq: type mismatch, failed to map hwirq-21 for
> gpio@20a8000! [  757.655328] adv7180 2-0021: chip found @ 0x21
> (21a8000.i2c)
>
>that the adv7280 is found and attached, as well as the ipu and it's
>video-devices.
>
> [   11.069123] videodev: Linux video capture interface: v2.00
> [   12.553347] ipu1_csi0: Registered ipu1_csi0 capture as /dev/video0
> [   12.681897] ipu1_ic_prpenc: Registered ipu1_ic_prpenc capture as
> /dev/video1 [   12.785205] ipu1_ic_prpvf: Registered ipu1_ic_prpvf
> capture as /dev/video2 [   12.914702] ipu1_csi1: Registered ipu1_csi1
> capture as /dev/video3

Here's a list of all modules which got loaded:

  adv7180                20480  0
  snd_soc_sgtl5000       28672  0
  pfuze100_regulator     28672  0
  regmap_i2c             16384  2
  imx6_media_csi         28672  2
  snd_soc_imx_sgtl5000    16384  
  fec                    53248  0
  snd_soc_fsl_asoc_card    24576 
  v4l2_fwnode            24576  1
  ptp                    28672  1
  pps_core               20480  1
  of_mdio                16384  2
  snd_soc_imx_audmux     16384  2
  fixed_phy              16384  1
  i2c_imx                20480  0
  libphy                126976  4
  imx6_media             49152  0
  video_mux              16384  0
  mux_core               16384  1
  imx_media_common       40960  2
  videobuf2_dma_contig    16384  
  v4l2_mem2mem           36864  1
  videobuf2_memops       16384  1
  videobuf2_v4l2         32768  3
  snd_soc_fsl_asrc       24576  0
  videobuf2_common       57344  5
  snd_soc_fsl_ssi        24576  0
  imx_pcm_dma            16384  1
  videodev              233472  9
  i2c_core               69632  8

Maybe it'll help to spot the problem immediately.

--
Patrick.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel 5.10 - imx-media does not create /dev/media0
  2021-10-28  6:58 ` Patrick Boettcher
@ 2021-10-29 14:56   ` Patrick Boettcher
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Boettcher @ 2021-10-29 14:56 UTC (permalink / raw)
  To: linux-media



On Thu, 28 Oct 2021 06:58:47 +0000
Patrick Boettcher <patrick.boettcher@posteo.de> wrote:

>On Wed, 27 Oct 2021 23:04:12 +0000
>Patrick Boettcher <patrick.boettcher@posteo.de> wrote:
>
>Maybe it'll help to spot the problem immediately.


I was missing CONFIG_MUX_MMIO. Strange that it's not activated by
default.

Should it?

--
Patrick.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-29 14:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 23:04 Kernel 5.10 - imx-media does not create /dev/media0 Patrick Boettcher
2021-10-28  6:58 ` Patrick Boettcher
2021-10-29 14:56   ` Patrick Boettcher

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.