Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdba-power: add tool to control power-on/-off #71

Merged
merged 7 commits into from
Mar 30, 2024

Conversation

lumag
Copy link
Collaborator

@lumag lumag commented Mar 12, 2024

Add simple tool reusing CDBA code to power boards on and off.

@lumag lumag enabled auto-merge March 12, 2024 19:17
@lumag lumag disabled auto-merge March 12, 2024 19:17
@lumag lumag force-pushed the cdba-power branch 3 times, most recently from 9a72241 to 4c2095b Compare March 12, 2024 19:46
@lumag lumag requested a review from konradybcio March 12, 2024 19:48
device.c Outdated Show resolved Hide resolved
@lumag lumag force-pushed the cdba-power branch 2 times, most recently from d887e12 to 9a78eea Compare March 16, 2024 15:59
@lumag lumag requested a review from konradybcio March 16, 2024 16:00
Copy link
Member

@konradybcio konradybcio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

happy Easter

@konradybcio konradybcio enabled auto-merge March 30, 2024 16:02
@konradybcio
Copy link
Member

konradybcio commented Mar 30, 2024

oh whoops automerge is unhappy about signatures

lumag added 7 commits March 30, 2024 18:06
In order to stop clobbering the root directory, move all device and
console backends to drivers/ subdir.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Replace all license headers with the SPDX-License-Identitier headers to
follow the current recommendations.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Split CDBA's watching code to a separate file.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Split the function tty_open() to a separate file.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Create new function calling fastboot_open so that device_open doesn't
have dependency on the fastboot_ops or udev.

Signed-off-by: Dmitry Baryshkov <[email protected]>
For some devices it might be desirable to leave device powered on after
the cdba exits (e.g. to run some long-running tests). Add the
'power_always_on' option that tells cdba server to leave device powered
on after exiting and to toggle power (to reset the device) when
connecting.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Add simple tool reusing CDBA code to power boards on and off.

Signed-off-by: Dmitry Baryshkov <[email protected]>
@konradybcio konradybcio merged commit 798a76a into linux-msm:master Mar 30, 2024
25 checks passed
@lumag lumag deleted the cdba-power branch March 30, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants