Skip to content
Snippets Groups Projects
  1. Apr 08, 2025
  2. Apr 03, 2025
    • Caleb Connolly's avatar
      i2c: geni: load firmware if required · 8295989d
      Caleb Connolly authored
      
      Load firmware for the peripheral if necessary.
      
      Reviewed-by: Neil Armstrong's avatarNeil Armstrong <neil.armstrong@linaro.org>
      Signed-off-by: Caleb Connolly's avatarCaleb Connolly <caleb.connolly@linaro.org>
      8295989d
    • Caleb Connolly's avatar
      misc: introduce Qcom GENI wrapper · f8d4d061
      Caleb Connolly authored
      
      Qualcomm peripherals like UART, SPI, I2C, etc are all exposed under a
      common GENI Serial Engine wrapper device. Replace the stub driver we use
      for this currently with a full-on misc device and implement support for
      loading peripheral firmware.
      
      Each of the peripherals has it's own protocol-specific firmware, this is
      stored on the internal storage of the device with a well-known partition
      type GUID.
      
      To support this, GENI will bind peripherals in two stages. First the
      ones that already have firmware loaded (such as the serial port) are
      bound in the typical way. But devices that require firmware loading are
      deferred until EVT_LAST_STAGE_INIT. At this point we can be sure that
      the storage device is available, so we load the firmware and then bind
      and probe the remaining children.
      
      Child devices are expected to determine if firmware loading is necessary
      and call qcom_geni_load_firmware().
      
      Since Linux currently doesn't support loading firmware (and firmware may
      not be available), we probe all GENI peripherals to ensure that they
      always load firmwaree if necessary.
      
      Signed-off-by: Caleb Connolly's avatarCaleb Connolly <caleb.connolly@linaro.org>
      f8d4d061
    • Caleb Connolly's avatar
      i2c: geni: fix error message wording in clk_disable · e6790709
      Caleb Connolly authored
      
      Correct the error messages so they accurately describe that we failed to
      disable the clocks, not to enable them.
      
      Reviewed-by: Neil Armstrong's avatarNeil Armstrong <neil.armstrong@linaro.org>
      Signed-off-by: Caleb Connolly's avatarCaleb Connolly <caleb.connolly@linaro.org>
      e6790709
  3. Apr 01, 2025
  4. Mar 26, 2025
Loading