Welcome to the Linux Foundation Forum!

udev How do I add name and serial properties/attributes to an existing driver

I'm trying to set up persistent device id's on my custom gpio ports. But udevadm info -a produces no unique identifiers for my ports. I had hoped that I could just add a reg-name or serial-number field in my device tree and it would proliferate through to /sys. Then I could create a rule and symbolic link in the typical way. That doesn't seem to be the case. Is there an of_ call that I need to include in the device driver to pick up my node entries from my device tree? Or am I just totally confused. Thanks in advance. I don't mind doing some work if there's a simple "go read this answer". But so far I'm totally confused about the back end part of this.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training