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

laurent: driver for KernelChip Laurent family of relays #72

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

lumag
Copy link
Collaborator

@lumag lumag commented Mar 30, 2024

Add support for the KernelChip Laurent-2 / Laurent-5 / Laurent-112 / Laurent-128 network-controlled relay arrays.

Add support for the KernelChip Laurent-2 / Laurent-5 / Laurent-112 /
Laurent-128 network-controlled relay arrays.

Signed-off-by: Dmitry Baryshkov <[email protected]>
drivers/laurent.c Dismissed Show dismissed Hide dismissed
drivers/laurent.c Dismissed Show dismissed Hide dismissed
@lumag lumag requested a review from konradybcio March 30, 2024 16:28
properties:
server:
type: string
relay:
Copy link
Member

Choose a reason for hiding this comment

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

Is this the relay port number ? Perhaps use something like "port" instead

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't want for it to be confused with the TCP port on which to talk to the server.

@lumag lumag enabled auto-merge March 31, 2024 20:47
@lumag lumag requested a review from superna9999 April 5, 2024 17:54
static int laurent_power(struct device *dev, bool on)
{
struct laurent *laurent = dev->cdb;
char buf[BUFSIZ];
Copy link
Member

Choose a reason for hiding this comment

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

I suppose it's safe to assume nobody has a 470+ bytes long password

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Don't give me wrong ideas!

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.

lgtm

@lumag lumag merged commit f4e95f6 into linux-msm:master Apr 8, 2024
45 checks passed
@lumag lumag deleted the laurent branch April 8, 2024 21:15
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.

3 participants