On 19/03/2023 21:31, Caleb Connolly wrote:
The pdphy is fairly well encapsulated (3 tcpm callbacks go to it, that's all?), I think the tcpm part could be merged in with the typec driver and it could just have a phandle to the pdphy node to represent the dependency. Then in the typec driver you can get the device with spmi_device_from_of() and call into it that way for the few tcpm callbacks that it needs to handle and to pass in the tcpm_port.
Yes or just have one "typec" device own both register banks --- bod