linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
To: Jiawen Wu <jiawenwu@trustnetic.com>,
	netdev@vger.kernel.org, andriy.shevchenko@linux.intel.com,
	mika.westerberg@linux.intel.com, jsd@semihalf.com,
	Jose.Abreu@synopsys.com, andrew@lunn.ch, hkallweit1@gmail.com,
	linux@armlinux.org.uk
Cc: linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org,
	mengyuanlou@net-swift.com,
	Piotr Raczynski <piotr.raczynski@intel.com>
Subject: Re: [PATCH net-next v11 2/9] i2c: designware: Add driver support for Wangxun 10Gb NIC
Date: Mon, 5 Jun 2023 11:10:39 +0300	[thread overview]
Message-ID: <c3399327-37ee-f34c-4a48-7c1f1a62a785@linux.intel.com> (raw)
In-Reply-To: <20230605025211.743823-3-jiawenwu@trustnetic.com>

On 6/5/23 05:52, Jiawen Wu wrote:
> Wangxun 10Gb ethernet chip is connected to Designware I2C, to communicate
> with SFP.
> 
> Introduce the property "wx,i2c-snps-model" to match device data for Wangxun
> in software node case. Since IO resource was mapped on the ethernet driver,
> add a model quirk to get regmap from parent device.
> 
> The exists IP limitations are dealt as workarounds:
> - IP does not support interrupt mode, it works on polling mode.
> - Additionally set FIFO depth address the chip issue.
> 
> Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
> Reviewed-by: Piotr Raczynski <piotr.raczynski@intel.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>   drivers/i2c/busses/i2c-designware-common.c  |  8 ++
>   drivers/i2c/busses/i2c-designware-core.h    |  4 +
>   drivers/i2c/busses/i2c-designware-master.c  | 89 +++++++++++++++++++--
>   drivers/i2c/busses/i2c-designware-platdrv.c | 15 ++++
>   4 files changed, 111 insertions(+), 5 deletions(-)
> 
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

  parent reply	other threads:[~2023-06-05  8:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-05  2:52 [PATCH net-next v11 0/9] TXGBE PHYLINK support Jiawen Wu
2023-06-05  2:52 ` [PATCH net-next v11 1/9] net: txgbe: Add software nodes to support phylink Jiawen Wu
2023-06-05  2:52 ` [PATCH net-next v11 2/9] i2c: designware: Add driver support for Wangxun 10Gb NIC Jiawen Wu
2023-06-05  7:02   ` Wolfram Sang
2023-06-05  7:23     ` Jiawen Wu
2023-06-05  7:52       ` 'Wolfram Sang'
2023-06-05  8:12         ` Jiawen Wu
2023-06-05 10:05           ` 'Wolfram Sang'
2023-06-05 10:18             ` Russell King (Oracle)
2023-06-05 12:57               ` 'Wolfram Sang'
2023-06-05 13:03                 ` Andy Shevchenko
2023-06-05 21:25                   ` Jakub Kicinski
2023-06-06  1:58                 ` Jiawen Wu
2023-06-06  5:26                   ` 'Wolfram Sang'
2023-06-05  8:10   ` Jarkko Nikula [this message]
2023-06-05  2:52 ` [PATCH net-next v11 3/9] net: txgbe: Register fixed rate clock Jiawen Wu
2023-06-05  2:52 ` [PATCH net-next v11 4/9] net: txgbe: Register I2C platform device Jiawen Wu
2023-06-05  2:52 ` [PATCH net-next v11 5/9] net: txgbe: Add SFP module identify Jiawen Wu
2023-06-05  2:52 ` [PATCH net-next v11 6/9] net: txgbe: Support GPIO to SFP socket Jiawen Wu
2023-06-05  2:52 ` [PATCH net-next v11 7/9] net: pcs: Add 10GBASE-R mode for Synopsys Designware XPCS Jiawen Wu
2023-06-05  2:52 ` [PATCH net-next v11 8/9] net: txgbe: Implement phylink pcs Jiawen Wu
2023-06-05  2:52 ` [PATCH net-next v11 9/9] net: txgbe: Support phylink MAC layer Jiawen Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c3399327-37ee-f34c-4a48-7c1f1a62a785@linux.intel.com \
    --to=jarkko.nikula@linux.intel.com \
    --cc=Jose.Abreu@synopsys.com \
    --cc=andrew@lunn.ch \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hkallweit1@gmail.com \
    --cc=jiawenwu@trustnetic.com \
    --cc=jsd@semihalf.com \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mengyuanlou@net-swift.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=piotr.raczynski@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).