upstream stericsson ab8500 thermal driver using new thermal framework
ST-Ericsson ab8500 contains several ADCs which can connect to outer thermal sensors, thus these ADCs can act as thermal sensor, a wrapper layer is needed for these sensors to use the thermal framework.
Blueprint information
- Status:
- Complete
- Approver:
- Amit Kucheria
- Priority:
- Medium
- Drafter:
- Hongbo Zhang
- Direction:
- Approved
- Assignee:
- Hongbo Zhang
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- 2013.03
- Started by
- Amit Kucheria
- Completed by
- Amit Kucheria
Related branches
Related bugs
Sprints
Whiteboard
Meta:
Headline: Upstream ST-Ericsson AB8500 thermal related codes.
Acceptance: Codes merged into mainline kernel.
The thermal frame work is being changed now, its new feature is targeted at v3.9, all the upstreamed drivers should also be re-worked to use the updated framework then, so this ab8500 thermal wrapper is also target at v3.9 and won't use the current framework which is about expire.
[21 Dec 2012]
Design the code architecture: is more complicated than first imagination, because:
a) thermal frame work is changing now.
b) battery temp is user of this thermal sensor, and the power supply system is used, which is also using thermal framework so it is to be changed too.
c) there is a STE internal thermal development for next generation SOCs going on now, this re-design-
So this work should be discussed internally to align with other SOCs before taking further actions, meanwhile wait the new thermal framework to be in shape.
[25 Jan 2013]
After internal discussion, we won't apply the thermal framework directly on AB8500, which will change our current design so much and really not necessary. So I will simply upstream the AB8500 thermal hwmon codes instead.
Anyway, the AB8500 ADC-based thermal sensor is currently used by battery temp diver via power supply layer, if the thermal framework is updated in future, the battery temp will need a patch to be updated, I will fix it if needed then.
[ototo, 2013-02-01] Updating milestone to 2013.02 due to the WIs still being worked on.
Work Items
Work items for 2012.12:
Make clear about all the dependencies: DONE
Design the code architecture, potential user of this layer will be battery temp and charger: DONE
Keep reviewing and tracking patches for thermal framework: DONE
Work items for 2013.01:
Keep reviewing and tracking patches for new thermal framework: DONE
Send out patches for upstreaming: DONE
Work items for 2013.02:
Post v1-v5 of the patchset: DONE
Work items for 2013.03:
Posted v6 of the patchset: DONE