sonyxperiadev / kernel

Other
352 stars 362 forks source link

[9.16.r1] Initial camera support for Zambezi platform #2587

Closed bartcubbins closed 10 months ago

bartcubbins commented 10 months ago

This PR contains:

  1. Zambezi camera dts.
  2. Update for Murray camera dts.
  3. Universal regulator driver that supports WL2868C, FAN53870 and ET5907 7-Channel LDO PMIC simultaneously.
  4. Fixed abnormal abuse of regulator_get()/regulator_put() API calls in SEC TS driver, which led to underflow of regulator enable count.

Tested on Murray PDX225 (with FAN53870 chip) and on Zambezi PDX235 (with ET5907 chip). Tested on Sagami PDX214 since the patch affects its touchscreen driver.

bartcubbins commented 10 months ago

@jerpelea please test the patch on your Murray device with WL2868C chip, since the logic has changed a little since the latest driver version that you tested

MarijnS95 commented 10 months ago

Fixed abnormal abuse of regulator_get()/regulator_put() API calls in SEC TS driver

Haha lovely wording :heart:, I never understood how one could spend 3k lines on a touchscreen driver and also have it behave so poorly. More code is never better.