mbox series

[0/1,SRU,Unstable,Plucky,Oracular] media: ipu-bridge: Add support for additional link frequencies

Message ID 20241026044138.519712-1-vicamo.yang@canonical.com
Headers show
Series media: ipu-bridge: Add support for additional link frequencies | expand

Message

You-Sheng Yang Oct. 26, 2024, 4:41 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2084059

[Impact]

OVTI08F4 camera sensor is used in a different hardware config that is not
currently supported:

  $ sudo dmesg
  ...
  usbio-i2c usbio-i2c.3.auto: hid INTC10B6 uid VIC0 new uid1
  ov08x40 i2c-OVTI08F4:00: number of CSI2 data lanes 2 is not supported
  ov08x40 i2c-OVTI08F4:00: failed to check hwcfg: -22
  ov08x40 i2c-OVTI08F4:00: probe with driver ov08x40 failed with error -22

[Fix]

Proposed fix in:
* https://github.com/intel/ipu6-drivers/pull/286

There are two parts. One in the kernel tree that is to be SRU-ed in this pull
request. It adds two additional link frequencies so that ipu-bridge may probe
this case.

The other part is in the camera sensor driver itself that goes to ipu6-drivers.

[Test Case]

With patch applied, install kernel and intel-ipu6-dkms from -proposed pocket:

  $ sudo dmesg
  ...
  intel_ipu7_psys.psys intel_ipu7.psys.40: psys probe minor: 0
  intel_ipu7_isys.isys intel_ipu7.isys.40: bind ov08x40 14-0036 nlanes is 2 port is 0
  intel_ipu7_isys.isys intel_ipu7.isys.40: All sensor registration completed.

[Where problems could occur]

This is a new hardware configuration for OVTI08F4. Expect further issues.

[Other Info]

So far this configuration is bound to Intel Lunar Lake platform that is only
supported by v6.11 kernels and ipu6-drivers/oracular, ipu7/drivers/oracular.
Nominate for linux/oracular, linux-oem-6.11/noble and linux-unstable-6.12.

Jason Chen (1):
  UBUNTU: SAUCE: media: ipu-bridge: Add support for additional link
    frequencies

 drivers/media/pci/intel/ipu-bridge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jian Hui Lee Oct. 28, 2024, 10:08 a.m. UTC | #1
Acked-by: Jian Hui Lee <jianhui.lee@canonical.com>

On Sat, Oct 26, 2024 at 12:43 PM You-Sheng Yang
<vicamo.yang@canonical.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2084059
>
> [Impact]
>
> OVTI08F4 camera sensor is used in a different hardware config that is not
> currently supported:
>
>   $ sudo dmesg
>   ...
>   usbio-i2c usbio-i2c.3.auto: hid INTC10B6 uid VIC0 new uid1
>   ov08x40 i2c-OVTI08F4:00: number of CSI2 data lanes 2 is not supported
>   ov08x40 i2c-OVTI08F4:00: failed to check hwcfg: -22
>   ov08x40 i2c-OVTI08F4:00: probe with driver ov08x40 failed with error -22
>
> [Fix]
>
> Proposed fix in:
> * https://github.com/intel/ipu6-drivers/pull/286
>
> There are two parts. One in the kernel tree that is to be SRU-ed in this pull
> request. It adds two additional link frequencies so that ipu-bridge may probe
> this case.
>
> The other part is in the camera sensor driver itself that goes to ipu6-drivers.
>
> [Test Case]
>
> With patch applied, install kernel and intel-ipu6-dkms from -proposed pocket:
>
>   $ sudo dmesg
>   ...
>   intel_ipu7_psys.psys intel_ipu7.psys.40: psys probe minor: 0
>   intel_ipu7_isys.isys intel_ipu7.isys.40: bind ov08x40 14-0036 nlanes is 2 port is 0
>   intel_ipu7_isys.isys intel_ipu7.isys.40: All sensor registration completed.
>
> [Where problems could occur]
>
> This is a new hardware configuration for OVTI08F4. Expect further issues.
>
> [Other Info]
>
> So far this configuration is bound to Intel Lunar Lake platform that is only
> supported by v6.11 kernels and ipu6-drivers/oracular, ipu7/drivers/oracular.
> Nominate for linux/oracular, linux-oem-6.11/noble and linux-unstable-6.12.
>
> Jason Chen (1):
>   UBUNTU: SAUCE: media: ipu-bridge: Add support for additional link
>     frequencies
>
>  drivers/media/pci/intel/ipu-bridge.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --
> 2.45.2
>
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Guoqing Jiang Oct. 28, 2024, 11:04 a.m. UTC | #2
Acked-by: Guoqing Jiang <guoqing.jiang@canonical.com>

On 10/26/24 12:41, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2084059
>
> [Impact]
>
> OVTI08F4 camera sensor is used in a different hardware config that is not
> currently supported:
>
>    $ sudo dmesg
>    ...
>    usbio-i2c usbio-i2c.3.auto: hid INTC10B6 uid VIC0 new uid1
>    ov08x40 i2c-OVTI08F4:00: number of CSI2 data lanes 2 is not supported
>    ov08x40 i2c-OVTI08F4:00: failed to check hwcfg: -22
>    ov08x40 i2c-OVTI08F4:00: probe with driver ov08x40 failed with error -22
>
> [Fix]
>
> Proposed fix in:
> * https://github.com/intel/ipu6-drivers/pull/286
>
> There are two parts. One in the kernel tree that is to be SRU-ed in this pull
> request. It adds two additional link frequencies so that ipu-bridge may probe
> this case.
>
> The other part is in the camera sensor driver itself that goes to ipu6-drivers.
>
> [Test Case]
>
> With patch applied, install kernel and intel-ipu6-dkms from -proposed pocket:
>
>    $ sudo dmesg
>    ...
>    intel_ipu7_psys.psys intel_ipu7.psys.40: psys probe minor: 0
>    intel_ipu7_isys.isys intel_ipu7.isys.40: bind ov08x40 14-0036 nlanes is 2 port is 0
>    intel_ipu7_isys.isys intel_ipu7.isys.40: All sensor registration completed.
>
> [Where problems could occur]
>
> This is a new hardware configuration for OVTI08F4. Expect further issues.
>
> [Other Info]
>
> So far this configuration is bound to Intel Lunar Lake platform that is only
> supported by v6.11 kernels and ipu6-drivers/oracular, ipu7/drivers/oracular.
> Nominate for linux/oracular, linux-oem-6.11/noble and linux-unstable-6.12.
>
> Jason Chen (1):
>    UBUNTU: SAUCE: media: ipu-bridge: Add support for additional link
>      frequencies
>
>   drivers/media/pci/intel/ipu-bridge.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
Roxana Nicolescu Nov. 4, 2024, 11:45 a.m. UTC | #3
On 26/10/2024 06:41, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2084059
>
> [Impact]
>
> OVTI08F4 camera sensor is used in a different hardware config that is not
> currently supported:
>
>    $ sudo dmesg
>    ...
>    usbio-i2c usbio-i2c.3.auto: hid INTC10B6 uid VIC0 new uid1
>    ov08x40 i2c-OVTI08F4:00: number of CSI2 data lanes 2 is not supported
>    ov08x40 i2c-OVTI08F4:00: failed to check hwcfg: -22
>    ov08x40 i2c-OVTI08F4:00: probe with driver ov08x40 failed with error -22
>
> [Fix]
>
> Proposed fix in:
> * https://github.com/intel/ipu6-drivers/pull/286
>
> There are two parts. One in the kernel tree that is to be SRU-ed in this pull
> request. It adds two additional link frequencies so that ipu-bridge may probe
> this case.
>
> The other part is in the camera sensor driver itself that goes to ipu6-drivers.
>
> [Test Case]
>
> With patch applied, install kernel and intel-ipu6-dkms from -proposed pocket:
>
>    $ sudo dmesg
>    ...
>    intel_ipu7_psys.psys intel_ipu7.psys.40: psys probe minor: 0
>    intel_ipu7_isys.isys intel_ipu7.isys.40: bind ov08x40 14-0036 nlanes is 2 port is 0
>    intel_ipu7_isys.isys intel_ipu7.isys.40: All sensor registration completed.
>
> [Where problems could occur]
>
> This is a new hardware configuration for OVTI08F4. Expect further issues.
>
> [Other Info]
>
> So far this configuration is bound to Intel Lunar Lake platform that is only
> supported by v6.11 kernels and ipu6-drivers/oracular, ipu7/drivers/oracular.
> Nominate for linux/oracular, linux-oem-6.11/noble and linux-unstable-6.12.
>
> Jason Chen (1):
>    UBUNTU: SAUCE: media: ipu-bridge: Add support for additional link
>      frequencies
>
>   drivers/media/pci/intel/ipu-bridge.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to oracular:linux master-next branch. Thanks!
Paolo Pisati Nov. 4, 2024, 2:06 p.m. UTC | #4
On Sat, Oct 26, 2024 at 12:41:36PM +0800, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2084059

Applied.