[PATCH net-next 0/3] net: phy: Enable C45 vendor specific MDIO register addr space

2018-04-17 Thread Vicentiu Galanopulo
Enabling the discovery on the MDIO bus of PHYs which have a vendor specific address space for accessing the C45 MDIO registers. Vicentiu Galanopulo (3): net: phy: Add binding for vendor specific C45 MDIO address space net: phy: Change the array size to 32 for device_ids net: phy: Enable C45

[PATCH net-next 2/3] net: phy: Change the array size to 32 for device_ids

2018-04-17 Thread Vicentiu Galanopulo
32 to 9 (bit counting in lookup loop starts from 1), it will not be found. Signed-off-by: Vicentiu Galanopulo <vicentiu.galanop...@nxp.com> --- include/linux/phy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/phy.h b/include/linux/phy.h index f0b5870

[PATCH net-next 3/3] net: phy: Enable C45 PHYs with vendor specific address space

2018-04-17 Thread Vicentiu Galanopulo
-by: Vicentiu Galanopulo <vicentiu.galanop...@nxp.com> --- drivers/net/phy/phy_device.c | 49 +-- drivers/of/of_mdio.c | 113 +-- include/linux/phy.h | 14 ++ 3 files changed, 169 insertions(+), 7 deletions(-) diff

[PATCH net-next 1/3] net: phy: Add binding for vendor specific C45 MDIO address space

2018-04-17 Thread Vicentiu Galanopulo
The extra property enables the discovery on the MDIO bus of the PHYs which have a vendor specific address space for accessing the C45 MDIO registers. Signed-off-by: Vicentiu Galanopulo <vicentiu.galanop...@nxp.com> --- Documentation/devicetree/bindings/net/phy.txt | 6 ++ 1 file chan

[RFC PATCH v3] net: phy: Added dev-addr device tree binding and MDIO enablement of non-standard register addr space

2018-03-26 Thread Vicentiu Galanopulo
(ARRAY_SIZE(c45_ids->device_ids)), but the u32 *devs can store 32 devices in the bitfield. If a device is stored in *devs, in bits 32 to 9, it will not be found. This is the reason for changing in phy.h, the size of device_ids array Signed-off-by: Vicentiu Galanopulo <vicentiu.galanop...@n

[RFC PATCH v2] net: phy: Added device tree binding for dev-addr and dev-addr code check-up

2018-03-23 Thread Vicentiu Galanopulo
in get_phy_c45_ids, has the value 8 (ARRAY_SIZE(c45_ids->device_ids)), but the u32 *devs can store 32 devices in the bitfield. If a device is stored in *devs, in bits 32 to 9, it will not be found. This is the reason for changing in phy.h, the size of device_ids array. Signed-off-by: Vicentiu Galanop

[RFC PATCH] net: phy: Added device tree binding for dev-addr and dev-addr code check-up and usage

2018-03-20 Thread Vicentiu Galanopulo
evs can store 32 devices in the bitfield. If a device is stored in *devs, in bits 32 to 9, it will not be found. This is the reason for changing in phy.h, the size of device_ids array. Signed-off-by: Vicentiu Galanopulo <vicentiu.galanop...@nxp.com> --- Documentation/devicetree/bindings/ne