Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp242779ybb; Tue, 31 Mar 2020 22:18:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv7yTEAmaJ1yW1qF8s169SFVCBFXnwX7wleesEPJsINMczdFJVAr3iK1r1vuaI55DRqqJl9 X-Received: by 2002:a05:6830:146:: with SMTP id j6mr15437096otp.117.1585718322008; Tue, 31 Mar 2020 22:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585718321; cv=none; d=google.com; s=arc-20160816; b=HUUedxZQn8XVVISVxG9Qfx77gPx3djjwre1D2IYQekONOT1MZ9SjgIET3MwgbnK1SY Jv9+2FEaoX1+2DYYI5mw4ePI19t6g9lWzatBiqiM62a2lhvruQ0H/A/CEjXBnEY/n71j t+amokeKxvtQDDd/62c1Nw3M0G7kgN46GxRwI98+PkM/i7c191gdyoJ4zggfEMMety2F s1cucFbAXjEzapIvp0pcC9ZYDF78V/jDG2cauM7TRPDoQv6KN9NPIWzQ132sfqS8C0E7 rI6C644bPP1QyhnvaaVefq9HCdlJ8qtuK2ucxNPIrdp8HGIKv93aGVF5JTHci3L7shFv 2Hgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=opX/7kvb9DfD7YmTQd+SOEjUBMPcZgRXQ6H6UuZVdGA=; b=XAQSZ/gw8xDCY13kxTqtx4dt+EyPs+2fU3NXiU6TAX0hSLiydFlpBoi8qHshDlNpAU pgg9Tw3UBz4sCuTSK3X8Cpp+1PCni9jXdNGA+s2S8YtMJV/iho8f4QtZPzcohP3pW159 goEQiDhRTE29FK9lL3zLGeYgr+jfKf/yZ68zygfk6D6cCfR4VVo8DkCikZiwdmLapab1 iY0DZbjNT9W5OLOX3e0CgoAtSWTuQVaD4+zyA2R9swfyp9OE1tJV4zV24Rl8aYBc5ZmV YcqZYTI1/AfxoxuaVIlMlk45LRkHnFQEWdgwY1MHuUA0LWgT9/hawDJfHgRwqziGT/Ed cQpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si457051oib.46.2020.03.31.22.18.30; Tue, 31 Mar 2020 22:18:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731874AbgDAFSK (ORCPT + 99 others); Wed, 1 Apr 2020 01:18:10 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:38223 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731781AbgDAFSJ (ORCPT ); Wed, 1 Apr 2020 01:18:09 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJVlP-0005iw-UL; Wed, 01 Apr 2020 07:18:07 +0200 Received: from ore by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jJVlP-0002Pt-EL; Wed, 01 Apr 2020 07:18:07 +0200 Date: Wed, 1 Apr 2020 07:18:07 +0200 From: Oleksij Rempel To: "Biwen Li (OSS)" Cc: "wsa@the-dreams.de" , "linux-kernel@vger.kernel.org" , "linux@rempel-privat.de" , "linux-i2c@vger.kernel.org" , "kernel@pengutronix.de" , Jiafei Pan , Leo Li Subject: Re: [PATCH] i2c: slave: support I2C_SLAVE_STOP event for the read transactions Message-ID: <20200401051807.edaxgrloyqkp3p4z@pengutronix.de> References: <20200330105038.22546-1-biwen.li@oss.nxp.com> <20200330111231.x2a57acoy57ycyo6@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="itinec3fenz6jlaj" Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 07:17:36 up 137 days, 20:36, 145 users, load average: 0.01, 0.02, 0.00 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --itinec3fenz6jlaj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Mar 31, 2020 at 08:48:03AM +0000, Biwen Li (OSS) wrote: > > Hi, > >=20 > > On Mon, Mar 30, 2020 at 10:56:28AM +0000, Biwen Li wrote: > > > Hi All, > > > > > > The patch based on https://patchwork.ozlabs.org/patch/1203640/ > > > and it is not accepted, so it(https://patchwork.ozlabs.org/patch/1203= 640/) > > is needed before apply the new patch. > >=20 > > I'm not sure what should I do with this information. This links are to = the patch > > which needed to be update by you, before it can be reviewed and then > > hopefully accepted. Why do you sending one more patch for review for a = patch > > which is not accepted? > Hi Oleksij, > Okay, got it. I will resend the patch after the old patch is accepted by = upstream. Thank you > for your reply. Do you mean the shutdown patch? > >=20 > > > Best Regards, > > > Biwen Li > > > > Support I2C_SLAVE_STOP event for the read transactions(master read > > > > from > > > > slave) > > > > > > > > Signed-off-by: Biwen Li > > > > --- > > > > drivers/i2c/busses/i2c-imx.c | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/drivers/i2c/busses/i2c-imx.c > > > > b/drivers/i2c/busses/i2c-imx.c index > > > > 62517a41b32d..1fd0d87885d5 100644 > > > > --- a/drivers/i2c/busses/i2c-imx.c > > > > +++ b/drivers/i2c/busses/i2c-imx.c > > > > @@ -1464,6 +1464,7 @@ static irqreturn_t i2c_imx_slave_isr(struct > > > > imx_i2c_struct *i2c_imx) > > > > ctl &=3D ~I2CR_MTX; > > > > imx_i2c_write_reg(ctl, i2c_imx, IMX_I2C_I2CR); > > > > imx_i2c_read_reg(i2c_imx, IMX_I2C_I2DR); > > > > + i2c_slave_event(i2c_imx->slave, I2C_SLAVE_STOP, &value); > > > > } > > > > return IRQ_HANDLED; > > > > } > > > > -- > > > > 2.17.1 > >=20 > > Regards, > > Oleksij > > -- > > Pengutronix e.K. | > > | > > Steuerwalder Str. 21 | http://www.pengutronix.de/ > > | > > 31137 Hildesheim, Germany | Phone: > > +49-5121-206917-0 | > > Amtsgericht Hildesheim, HRA 2686 | Fax: > > +49-5121-206917-5555 | --=20 Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --itinec3fenz6jlaj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEERBNZvwSgvmcMY/T74omh9DUaUbMFAl6EJA4ACgkQ4omh9DUa UbM1kA/7BR8GQzLRTNdN2nnjbYMQBoIdeHQ+UEForrknYhV8pwvR4j5c7jd1v0n1 3jcWWnukPyvTqTgC95bE1OMj6wVfD1wL4oxjPEtdUVolWG/o38jb/MlWlPZPBQ4x oXsNhBIWfKKptCvQ/NUMzsp6a0XKSRYiveTpuO43e7BsPcWuT9gjRJpb1e5LH7mE n4yXaBTA4jj6+wBNf/7V+BR92r3x+5hPGSRxvCIYe0eSi9Y/sdzmpW67pSKdwjx2 3pRHaREUMxpEIQ/H/ZQ8fLr+JIaKN6miAmAi0mKgqJ76LSbA7EBPLhvyExrrhP9C rn7nEDX8t+NSkMeHoWKhv7ICyp5fdA014yY/MpI8/yYC9b9lVHaKSrE8pSnOsyge Jf59WnDw2Pm1596QLuriZGjbCGUBm2QzBbaqYREF6IeTxdETVxjyvFG9MObecO94 UJjnNYJpHyS7LXkQLcOID92TzRfjbndDQ4lQO8A6QigBbkX93OfN/2d4jXbDkYMQ 5XHoTNAiqOMI0TgUOsqd/Ah5yoRFX34uhF6r1Z8Xd1r2ZiLqce0e9tbRLpQnCNEJ +fH3EDq24Z4aqoyQZXTt9DBqH/5AhBKOmEqCDXkj+D4NdIdZQBaYsQ6m1VehGnk6 DQ8noH+hGM1CUI3Gqws4IoRaub/DYu0LUDm+L8DL5djfVOTK2as= =SL9Y -----END PGP SIGNATURE----- --itinec3fenz6jlaj--