[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SN1PR11MB0446A9F0A42BD1DC3C266C86ECBE0@SN1PR11MB0446.namprd11.prod.outlook.com>
Date: Wed, 19 Dec 2018 22:59:12 +0000
From: <Tristram.Ha@...rochip.com>
To: <Woojung.Huh@...rochip.com>
CC: <vivien.didelot@...oirfairelinux.com>,
<UNGLinuxDriver@...rochip.com>, <netdev@...r.kernel.org>,
<sergio.paracuellos@...il.com>, <andrew@...n.ch>,
<f.fainelli@...il.com>, <pavel@....cz>, <marex@...x.de>,
<dan.carpenter@...cle.com>
Subject: RE: [PATCH v1 net-next] net: dsa: microchip: add KSZ9477 I2C driver
> Is there any specific reason that ksz_i2c_read24 & ksz_i2c_write24 in
> ksz9477_i2c.c
> but, other functions are in ksz_i2c.h?
>
There are specific registers in KSZ9477 such that using 24-bit is more efficient than
reading 32-bit first and writing 32-bit. The other older switches mostly use 8-bit, while
one uses 16-bit.
KSZ9477 also has IBA mode that can use 24-bit.
Powered by blists - more mailing lists