All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about identifiers
@ 2024-10-28 15:09 Dan Carpenter
  2024-10-29  9:42 ` Cristian Marussi
  0 siblings, 1 reply; 10+ messages in thread
From: Dan Carpenter @ 2024-10-28 15:09 UTC (permalink / raw)
  To: girish.pathak, Cristian Marussi; +Cc: arm-scmi, vincent.guittot, Linus Walleij

Two questions:

1) In SCMI pinctrl protocol each pin, group or function has an identifier.
   uint32 identifier
	Identifiers are limited to 16 bits, and the upper 16 bits of this
	field are ignored by the platform.
The linux-kernel assumes that the identifiers are basically, 0 to nr_pins,
0 to nr_groups and 0 to nr_funcs.  Is that a fair assumption to make?

2)  In the spec 4.11.2.7 PINCTRL_SETTINGS_GET and 4.11.2.8
PINCTRL_SETTINGS_CONFIGURE it only allows for pins and groups, not functions.
Meanwhile gpio functions are functions.  That's just a mistake, right?  I've
been working under the assumtion that it is.

regards,
dan carpenter


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-11-09  0:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28 15:09 Question about identifiers Dan Carpenter
2024-10-29  9:42 ` Cristian Marussi
2024-10-29 10:09   ` Vincent Guittot
2024-10-29 10:30     ` Dan Carpenter
2024-10-29 10:48       ` Vincent Guittot
2024-10-29 10:20   ` Dan Carpenter
2024-10-29 10:32     ` Cristian Marussi
2024-10-30 10:35     ` Souvik Chakravarty
2024-11-01 16:08       ` Dan Carpenter
2024-11-09  0:04         ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.