Samsung Series C6 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ladegeräte Samsung Series C6 herunter. Charger-Manager: Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 76
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
© 2011 SAMSUNG Electronics Co.
Charger-Manager:
Aggregating Chargers, Fuel-Gauges, and Batteries
MyungJoo Ham
Samsung Electronics Co.
Seitenansicht 0
1 2 3 4 5 6 ... 75 76

Inhaltsverzeichnis

Seite 1 - Charger-Manager:

© 2011 SAMSUNG Electronics Co.Charger-Manager:Aggregating Chargers, Fuel-Gauges, and BatteriesMyungJoo [email protected] Electronics

Seite 2 - Appendix

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Polling at Kernel’s “Charger Manager”? Why?What if user land processes poll

Seite 3 - • A fuel gauge

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Q2: Why SupportMultiple Chargers withCharger Manager?

Seite 4 - At Kernel

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Do We Have Multiple Chargers?Yes, we do have. And, will have more in the de

Seite 5 - Polling Batteries? Why?

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Why Support It At Kernel’s Charger Manager?The products in the images are n

Seite 6

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Why Support It At Kernel’s Charger Manager?The products in the images are n

Seite 7 - Why Suspend while Charging?

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Why Support It At Kernel’s Charger Manager?The products in the images are n

Seite 8 - Battery health

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Q3: Why SupportMultiple Batteries at a Devicewith Charger Manager

Seite 9

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Multiple Batteries at a DeviceWHY NOT?Although it is rare…… yet…- A backup

Seite 10 - FULL WAKEUP from suspend

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Multiple Batteries at a DeviceWHY NOT?Although it is rare…… yet…- Easy to s

Seite 11 - Charger Manager?

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Q4: WhyAggregate Information fromMultiple Chargers?

Seite 12 - Do We Have Multiple Chargers?

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.TopicsMotivationThe Why Questions 1 to 4DesignGeneral IssuesAppendixRelated

Seite 13 - Induction

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Information Spread All Over the SYSFS PlacesFor a battery X, we have charge

Seite 14 - 3. One place to be reported

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Information Spread All Over the SYSFS PlacesFor a battery X, we have charge

Seite 15

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Charger-Manager Design

Seite 16 - Q3: Why Support

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: System LayoutThe Platform (a board)“Platform” represents H/W config

Seite 17 - WHY NOT?

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: Allow multiple batteries.The Platform (a board)Charger-Manager:0 (B

Seite 18

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: Fuel-Gauge• Provide a Power-Supply-Class name that supports- PRESEN

Seite 19 - Multiple Chargers?

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: Information for UserlandThe Platform (a board)Charger-Manager:0 (Ba

Seite 20 - • Difficult to “decode”

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: Allow multiple chargers per battery.The Platform (a board)Charger-M

Seite 21

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: Chargers• Provide a regulator- With REGULATOR_CHANGE_STATUS flag en

Seite 22 - Charger-Manager Design

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: In-suspend MonitoringThe Platform (a board)Charger-Manager:0 (Batte

Seite 23 - Design: System Layout

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.What are we doing with Charger Manager?• Monitor the charger/battery health

Seite 24 - The Platform (a board)

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: In-suspend MonitoringThe Platform (a board)Charger-Manager:0 (Batte

Seite 25 - Design: Fuel-Gauge

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: RTC• Provide an RTC device name- E.g., “rtc0”- Supports ALARM set,

Seite 26

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: HWMONThe Platform (a board)Charger-Manager:0 (Battery #0)Charger #0

Seite 27

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: HWMON (RFC)• Candidate 1: Supply a callback (current implementation

Seite 28 - Design: Chargers

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: In-suspend Monitoring: Suspend_AgainPlatform Ops’s suspend_again ca

Seite 29 - Design: In-suspend Monitoring

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: Monitoring in Running StateCM_MONITORbatt = the first battery;Monit

Seite 30

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Design: Interrupt/Event Handling• Interrupt/Event Handling- Provide IRQ num

Seite 31 - Design: RTC

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.More Detail in Appendix• Interface for board files (platform files)- Global

Seite 32 - Design: HWMON

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.General Issuesin implementingcharger-related drivers

Seite 33 - Design: HWMON (RFC)

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.General IssuesCaution: JIG- Do NOT use JIG power when charger is tested• E.

Seite 34

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Q1: WhyPolling BatteriesWhile Suspended & ChargingAt Kernel(thus, crea

Seite 35

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.General IssuesPMIC Drivers- Battery “PRESENT” information from MAX8998/8997

Seite 36 - • With the interrupts/events

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.General IssuesMeasuring Charger Current- Some fuel gauges (such as MAX17042

Seite 37 - More Detail in Appendix

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.General IssuesReading values from related devices- I2C subsystem cannot be

Seite 38

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Thank You!1. Related Framework2. The Interface in Detail3. Usage Example4.

Seite 39

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Appendix: Related Framework

Seite 40

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework1. PSC (Power-Supply-Class)2. Regulator framework (usually

Seite 41

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework: Power Supply ClassPower Supply Class• Kernel documents-

Seite 42

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework: RegulatorRegulator Framework• SPS documents- Link: Syste

Seite 43 - Thank You!

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework: UEVENTUEVENT Notify• Kernel documents- Link: Documentati

Seite 44 - Appendix: Related Framework

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework: Suspend_Again (platform_suspend_ops)suspend_again callba

Seite 45 - Related Framework

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Polling Batteries? Why?Do NOT charge if it’s too HOT or too COLD.Or, get so

Seite 46 - • The drivers should provide

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework: Suspend Sequence w/ Suspend_AgainStartFreeze user tasksb

Seite 47 - Related Framework: Regulator

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework: Why suspend-again ops is added?• Issue of kernel in-susp

Seite 48 - Related Framework: UEVENT

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework: RTCReal Time Clock (RTC)• Kernel documents- Link: Docume

Seite 49 - • In order to provide

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Framework: HWMONHWMON (HW Monitor) Framework with • Kernel document

Seite 50 - Wakeup Event

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Appendix: The Interface in Detail

Seite 51 - • Solutions

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Interfaces: For Board: Global CM Data (1/2)The platform (board) should prov

Seite 52 - Related Framework: RTC

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Interfaces: For Board: Global CM Data (2/2)The platform (board) should use

Seite 53 - Related Framework: HWMON

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Interfaces: For Board: CM Data for Each ChargerEach battery should provide

Seite 54

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Interfaces: Other In-Kernel APIsThe following APIs are provided to other mo

Seite 55 - - Name of rtc device

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Interfaces: For User Processes (1/2)SYSFS Location: /sys/class/power_supply

Seite 56

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Polling Batteries? Why?Do NOT charge if it’s too HOT or too COLD.However, w

Seite 57 - - Battery health monitoring

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Interfaces: For User Processes (2/2)SYSFS Location: /sys/class/power_supply

Seite 58

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Appendix: Usage Example

Seite 59 - - Optional:

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Usage Example: Environment at a GlanceThe Platform (Exynos4210 NURI)Charger

Seite 60 - • UEVENT notification

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Usage Example: Kernel for Exynos4210-NURIThe code is opened to general publ

Seite 61 - Appendix: Usage Example

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Usage Example: Kernel for Exynos4210-NURICharger #1 of 2: MAX8997- Platform

Seite 62 - Charger-Manager Core

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Usage Example: Kernel for Exynos4210-NURIFuel-Gauge: MAX17042- Platform inf

Seite 63 - The Platform (board file)

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Usage Example: Kernel for Exynos4210-NURIPower-Supply-Class provided by the

Seite 64 - Charger #2 of 2: MAX8903

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Appendix: Related Work (History)

Seite 65 - HWMON/Thermistor: NCP15WB473

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Work (History)• Generally, Linux kernel community considers monitor

Seite 66

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Related Work (History)• /drivers/power/s5pc110_battery.c (Galaxy S/Tab kern

Seite 67

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Why Suspend while Charging?“Let’s prohibit suspend while charging!”• We can

Seite 68 - Related Work (History)

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Appendix: References

Seite 69

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.References• Related Linux Kernel Mailing Lisst- Linux Kernel Mailing List (

Seite 70 - Appendix: References

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.References• Related Linux kernel discussion & patches in progressaffect

Seite 71 - References

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.References• Related Linux kernel discussion & patches in progressaffect

Seite 72

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.References• Kernel Documents & Source Codes- Charger-Manager Framework

Seite 73

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.References• Kernel Documents & Source Codes- HWMON (Lm_sensors) Interfa

Seite 74

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.References: Images• http://www.mediamacro.com/sponsored/samsung-galaxy-note

Seite 75

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Why Suspend while Charging?“Let’s prohibit suspend while charging!”• We can

Seite 76 - References: Images

© 2011 SAMSUNG Electronics Co.MyungJoo Ham © 2011 SAMSUNG Electronics Co.Polling at Kernel’s “Charger Manager”? Why?What if user land processes poll

Kommentare zu diesen Handbüchern

Keine Kommentare