Project

General

Profile

Actions

Issue #2218

open

Issue #1954: Add support for the I9300 modem

Investigate how to push modem firmware loading + on/off in the kernel

Added by Denis 'GNUtoo' Carikli about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Telephony and mobile data
Target version:
Start date:
02/24/2021
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Unknown
Grant:
Type of work:
C programming
Actions #1

Updated by Denis 'GNUtoo' Carikli about 3 years ago

Userspace needs to:
  • Load a firmware (with the right offsets and so on, send special commands (ATAT, etc))
  • Ideally power off and on the modem

Since the firmware loading process needs to trigger an HSIC bus rescan, why not putting it in the kernel?

In addition we could add power on/off functions which we could export through RFKILL.

Questions:
  • How/where to handle the offsets with the various modem firmware partitions
  • How/where to handle the firmware loading logic (ATAT, PSI Ack, etc)
Actions #2

Updated by Denis 'GNUtoo' Carikli about 3 years ago

Advantages:
  • It could also handle the HSIC bus reset more easily.
  • If we use a standard interface, we could try to get it merged upstream in Linux and merge the code for that in libsamsung-ipc as well. We won't have to maintain patches that can change on top of libsamsung-ipc anymore.
  • It could also handle some of the power management code (like the GPIO that can signal that we are in suspend-to-ram).
As for the GPIOS, we could do that at the same time:
  • Identify what happens if we don't use these GPIOs (like if we are called in suspend, we might not be waken up)
  • Identify if there is any privacy issues with the GPIOs.
Actions #3

Updated by _I3^ RELATIVISM about 3 years ago

  • Type of work C programming added
Actions

Also available in: Atom PDF