Skip to content

Switch to the in-flight sa8540p-adp-ride.dtb

This series switches the QDrive3 devicetree over to the currently in-flight sa8540p-adp-ride.dtb from lkml.

It does the following:

  1. Reverts our hacks to any devicetree at the board level (leaves SoC level hacks which we still need)
  2. Adds the upstream patch series to create sa8540p-adp-ride.dtb
  3. Adds some hacks on top so that actually boots
  4. Adds some board level hacks again, this time for the sa8540p-adp-ride.dtb board to return to prior hardware support levels

Note, that I did not re-enable the pon driver stuff. I took a stab at it and while using sc8280xp-pmics.dtsi and hacking the address of 800 into pmic0 works, its a bit ugly compared to the prior hack we had. I verified that worked with reboot recovery (no need for anything fancier btw, the reboot command actually picks up the argument proper). The other reason other than the ugliness is that we don't even compile the driver right now, so clearly nobody is using it (and Qualcomm has an open ticket asking why we want it, which I told them we don't have any reason to want it if they don't). So for now my vote is to leave that functionality disabled.

Since we don't include the pmic driver now, we also don't need the RTC disable hack to pass LTP at this moment.

Upon next rebase we can drop the Revert patches and the patches they revert.

Merge request reports