Re: [PATCH 3/3] net: smsc911x: add u16 workaround for pxa platforms

From: Jeremy Linton
Date: Mon Oct 03 2016 - 11:21:33 EST

Hi Robert,

On 10/03/2016 04:05 AM, Robert Jarzmik wrote:
Add a workaround for mainstone, idp and stargate2 boards, for u16 writes
which must be aligned on 32 bits addresses.

Signed-off-by: Robert Jarzmik <robert.jarzmik@xxxxxxx>
Documentation/devicetree/bindings/net/smsc911x.txt | 2 ++
1 file changed, 2 insertions(+)

I think this might be the wrong doc file. I think you want the smsc-lan91c111.txt file.


diff --git a/Documentation/devicetree/bindings/net/smsc911x.txt b/Documentation/devicetree/bindings/net/smsc911x.txt
index 3fed3c124411..224965b7453c 100644
--- a/Documentation/devicetree/bindings/net/smsc911x.txt
+++ b/Documentation/devicetree/bindings/net/smsc911x.txt
@@ -13,6 +13,8 @@ Optional properties:
- reg-io-width : Specify the size (in bytes) of the IO accesses that
should be performed on the device. Valid value for SMSC LAN is
2 or 4. If it's omitted or invalid, the size would be 2.
+- reg-u16-align4 : Boolean, put in place the workaround the force all
+ u16 writes to be 32 bits aligned
- smsc,irq-active-high : Indicates the IRQ polarity is active-high
- smsc,irq-push-pull : Indicates the IRQ type is push-pull
- smsc,force-internal-phy : Forces SMSC LAN controller to use