Skip to content

Conversation

clamor-s
Copy link
Member

@clamor-s clamor-s commented Oct 15, 2022

This patch set contains next changes:

  • added solomon ssd2825 spi lvds/dsi bridge and dsi panels used in p895 and p880
  • fixed rtc address of pmic (needs verification that it does not brake groupers pmic)
  • converted to OF backlight controller (lm3533 all cells), als/pxs sensor (adps990x), flash led (lm3560)
  • converted als/pxs (adps990x) to IIO
  • adjusted coupled mic-hp to properly work
  • fully routed sound (max98089)
  • separated tsc2007 adc part from touchscreen and added there x3 specific channel
  • added 266.5 MHz peripheral opps entry
  • fuel gauge driver updated to use battery cell, charger and sensors data
  • added optional regulator support for ina2xx adc
  • added extcon driver for max14526 muic
  • added driver for max8971 charger
  • added driver for gnss (it giver no errors but can not be tested)
  • added P895 device tree (once P880 tree will be ready I will factor out common part like with transformers), it has excessive configuration for now because some of stuff is still in my forks under development, though this nodes should not brake anything.

clamor-s and others added 23 commits October 17, 2022 12:04
SSD2825 is an innovative and cost-effective MIPI Bridge Chip solution
targeting high resolution smartphones. It can convert 24bit RGB
interface into 4-lane MIPI-DSI interface to drive extremely high
resolution display modules of up to 800 x 1366, while supporting AMOLED,
a-si LCD or LTPS advanced panel technologies for smartphone applications.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
R61307 is liquid crystal driver for high-definition
amorphous silicon (a-Si) panels and is ideal for
tablets and smartphones.

Supported compatibles are:
- koe,tx13d100vm0eaa
- hitachi,tx13d100vm0eaa

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Driver adds support for panels with Renesas R69328 IC

Currently supported compatible is:
- jdi,dx12d100vm0eaa

Signed-off-by: Maxim Schwalm <[email protected]>
Signed-off-by: Svyatoslav Ryhel <[email protected]>
On LG Optimus Vu and Optimus 4X HD, which are using MAX77663
PMIC, RTC module is not on 0x68 address like MAX77620 has but
on 0x48. Apart from this they look same, hense lets reuse
max77620-rtc but on 0x48 address.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Add ability to fill pdata from device tree. Common stuff is
filled from core driver and then pdata is filled per-device
since all cells are optional.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
This feature is required for coupled hp-mic quirk used
by some Nvidia Tegra 3 based devices work properly.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
squash with coupled hp-mic bringup commit.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Add Maxim MAX9808x codec support to the Tegra ASoC machine driver.
This codec is found on LG T30 devices like Optimus 4X HD and
Optimus Vu.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Simple battery cell allows to pass some constant data
about battery controlled by this fuel gauge.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Optionally pass status and health from supplier if
if supports those props. If cell is online assume it
is present as well.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Since fuel gauge does not support thermal monitoring
vendors may couple this fuel gauge with thermal/adc
sensor to monitor battery cell exact temperature.

Add this feature by adding optional iio thermal channel.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Add ability to get essential values from device tree.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Convert old sysfs export to an IIO look.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Since now apds990x supports IIO, it should be moved here from
misc folder.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Some devices may use only adc part of this controller
without any touchscreen implementations. Lets add it as
separate adc driver, like with ti-tsc2046.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
LG used this adc sensor for battery temperature
monitoring. Unfortunately it is too device
specific so I have made separate dts compatible
to implement this.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Some devices may need a specific supply provided
for this sensor to work properly, like p895 does.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
The MAX14526 is designed to simplify interface requirements on
portable devices by multiplexing common inputs (USB, UART,
Microphone, Stereo Audio and Composite Video) on a single
micro/mini USB connector. The USB input supports Hi-Speed USB
and the audio/video inputs feature negative rail signal
operation allowing simple DC coupled accessories. These device
allow a single micro/mini USB port to support all the common
interfaces on Cellular phones and portable media players over
the same external lines.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
The MAX8971 is a compact, high-frequency, high-efficiency
switch-mode charger for a one-cell lithium-ion (Li+) battery.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
If no pdata is available, try to read from device tree.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
Add device-tree for LG Optimus Vu P895, which is a NVIDIA
Tegra30-based smartphone, orignally running Android.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
@digetx
Copy link
Member

digetx commented Nov 13, 2022

Feel free to merge this once you think it's ready

@clamor-s
Copy link
Member Author

clamor-s commented Nov 14, 2022

@digetx may I create a new stable branch for pmOS based on stable linux releases? I will maintain it.

@digetx
Copy link
Member

digetx commented Nov 17, 2022

Feel free to create it

@clamor-s clamor-s merged commit 8a2fc5a into grate-driver:master Nov 17, 2022
@clamor-s clamor-s deleted the patch branch November 17, 2022 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants