This bug was fixed in the package linux-xilinx-zynqmp - 5.15.0-1035.39

---------------
linux-xilinx-zynqmp (5.15.0-1035.39) jammy; urgency=medium

  * jammy/linux-xilinx-zynqmp: 5.15.0-1035.39 -proposed tracker (LP:
#2077835)

  * Backport ps uart  RS485  driver  (LP: #2055237)
    - dt-bindings: serial: cdsn,uart: add power-domains
    - dt-bindings: Add reference to rs485.yaml
    - serial: Store character timing information to uart_port
    - serial: take termios_rwsem for ->rs485_config() & pass termios as param
    - tty: serial: uartps: Relocate cdns_uart_tx_empty to facilitate rs485
    - tty: serial: uartps: Add rs485 support to uartps driver
    - dt-bindings: serial: cdns,uart: Add optional reset property
    - arm64: zynqmp: Add resets property for UART nodes
    - tty: serial: uartps: Add support for uartps controller reset
    - SAUCE: dts: zynqmp-sck-kd-g-revA: Enable uart0 for KD240
    - SAUCE: arm64: zynqmp: dts: Add required properties for rs485 support for
      KD240
    - SAUCE: arm64: zynqmp: dts: Add rts delay property for rs485 mode on KD240
    - serial: 8250: Document termios parameter of serial8250_em485_config()
    - serial: fix TIOCSRS485 locking

 -- Portia Stephens <portia.steph...@canonical.com>  Mon, 26 Aug 2024
09:21:51 +1000

** Changed in: linux-xilinx-zynqmp (Ubuntu Jammy)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-xilinx-zynqmp in Ubuntu.
https://bugs.launchpad.net/bugs/2076108

Title:
  Update IMX547 out-of-tree driver code

Status in linux-xilinx-zynqmp package in Ubuntu:
  Confirmed
Status in linux-xilinx-zynqmp source package in Jammy:
  Fix Released

Bug description:
  [ Impact ]

  * With current use of non-devm functions the user is responsible for
  freeing the resources and since this is not handled currently the
  driver does not probe the sensor on the second load, since resources
  are not freed.

  * Here is a dmesg snippet:

  On first load
  ubuntu@kria:~$ sudo dmesg | grep imx547
  [ 72.621037] imx547: module is from the staging directory, the quality is 
unknown, you have been
  warned.
  [ 72.628992] imx547 7-001a: imx547 : imx547 probe success !
  On second load:
  ubuntu@kria:~$ sudo dmesg | grep imx547
  [ 312.319586] imx547 7-001a: GT TRX Reset GPIO not setup in DT
  [ 312.325487] imx547: probe of 7-001a failed with error -16

  * New implementation of using device managed ie devm_* functions ensures that 
resource is
  automatically removed when driver is unloaded.

  [ Test Plan ]

  * Xilinx will verify the functionality when testing kernel is
  provided.

  [ Where problems could occur ]

  * Since freeing of the GPIO resource is not explicitly handled in current 
implementation
  the driver fails to probe the sensor and fails to add it to media subsystem.

  [ Other Info ]

  * Patch/Tag to be included : https://github.com/Xilinx/mv-camera-
  sensor-module/releases/tag/v0.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-xilinx-zynqmp/+bug/2076108/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to