# Re: \[PATCH 01/15\] drivers: phy: add generic PHY framework

- From: Mark Brown \<broonie@kernel.org\>
- Date: 2013-07-23 17:36:29 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/07/4087381
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/07/4084283/t.md

```text
On Tue, Jul 23, 2013 at 10:37:05AM -0400, Alan Stern wrote:
> On Tue, 23 Jul 2013, Tomasz Figa wrote:

> > > > Okay.  Are PHYs _always_ platform devices?

> > > They can be i2c, spi or any other device types as well.

> In those other cases, presumably there is no platform data associated
> with the PHY since it isn't a platform device.  Then how does the
> kernel know which controller is attached to the PHY?  Is this spelled
> out in platform data associated with the PHY's i2c/spi/whatever parent?

Platform data is nothing to do with the platform bus - it's board
specific data (ie, data for the platform) and can be done with any
device.
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2013/07/4087381/attachment/0) (application/pgp-signature, 836 bytes)
