Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 140
    • Issues 140
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • linux
  • Merge requests
  • !457

USB-C: Handle PD at boot

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sebastian Krzyszkowiak requested to merge sebastian.krzyszkowiak/linux-next:probe-pd into pureos/byzantium Sep 12, 2021
  • Overview 6
  • Commits 2
  • Pipelines 2
  • Changes 2

On device probe:

  • tps65982 driver did not read the active PD contract at all, always defaulting to 500mA instead
  • bq25896 driver did not check tps65982 status if tps was probed first and left IINLIM at previous value in such case

This MR aims to fix both issues, which should fix possible slow charging when booting with PD charger attached.

Closes #267 (closed)

Edited Sep 12, 2021 by Sebastian Krzyszkowiak
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: probe-pd