From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E7B6C433EF for ; Mon, 4 Oct 2021 22:17:36 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED34561159 for ; Mon, 4 Oct 2021 22:17:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ED34561159 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HNZpP2hsfz2yy3 for ; Tue, 5 Oct 2021 09:17:33 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=Z4bflGLl; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.helo=mo4-p01-ob.smtp.rzone.de (client-ip=85.215.255.50; helo=mo4-p01-ob.smtp.rzone.de; envelope-from=chzigotzky@xenosoft.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=Z4bflGLl; dkim-atps=neutral Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HNFcq3yzrz2xtg for ; Mon, 4 Oct 2021 20:23:05 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1633339372; s=strato-dkim-0002; d=xenosoft.de; h=To:In-Reply-To:Cc:References:Message-Id:Date:Subject:From:Cc:Date: From:Subject:Sender; bh=ZVOzDss9x9ngtyfGLYvMwz8KKc8tZQuNcPXQgEYTehg=; b=Z4bflGLl33esPMUz2wJnbBQd2nleLwFC70O+FjXozH06UA5UrEiX4tTsqjmkQvHodc TBk0ODSP75x6qjlEULhAwA5OLZHvm4g8uHRiybw50J3aApm/8bl5Jmaj+onjgfEhnf9H /zxheRcctSUcEIutdiD0UN2ds04BJQu6T/IitIyzKJ6B7YyQDkiIkgZeC8XImwHL8pDv ODe8B6G+37vagfA+ddVZK6i6HbRe3wl5cBCxXiiewjCpt5Il6q8TuUuGvutgROzb+DGx G3llRdEQ/41umuGVAkuam6NR2QN8ltGiOfHoaILCNqsHKUa8LVww0kxCrCI11SIWelLV 7lIg== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGN0rBVhd9dFr6KxrfO5Oh7R7b2Z2iLowxnW5xdau+4p3FLe2JCuii1Hw7eG9unsd" X-RZG-CLASS-ID: mo00 Received: from smtpclient.apple by smtp.strato.de (RZmta 47.33.8 AUTH) with ESMTPSA id I00cdex949Mnl9F (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 4 Oct 2021 11:22:49 +0200 (CEST) Content-Type: multipart/alternative; boundary=Apple-Mail-BFABFE53-1E60-40F3-B9EF-BC1F987A543D Content-Transfer-Encoding: 7bit From: Christian Zigotzky Mime-Version: 1.0 (1.0) Subject: Re: Add Apple M1 support to PASemi i2c driver Date: Mon, 4 Oct 2021 11:22:48 +0200 Message-Id: References: <49890226-cf04-46ff-bc37-33d1643faea2@www.fastmail.com> In-Reply-To: <49890226-cf04-46ff-bc37-33d1643faea2@www.fastmail.com> To: Sven Peter X-Mailer: iPhone Mail (19A346) X-Mailman-Approved-At: Tue, 05 Oct 2021 09:16:56 +1100 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Darren Stevens , Arnd Bergmann , Hector Martin , Linux Kernel Mailing List , linux-i2c@vger.kernel.org, Paul Mackerras , Alyssa Rosenzweig , "R.T.Dickinson" , Olof Johansson , mohamed.mediouni@caramail.com, Matthew Leaman , Mark Kettenis , linuxppc-dev , "R.T.Dickinson" , linux-arm-kernel@lists.infradead.org, Stan Skowronek Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" --Apple-Mail-BFABFE53-1E60-40F3-B9EF-BC1F987A543D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 3. Oct 2021, at 16:36, Sven Peter wrote: >=20 > =EF=BB=BFHi, >=20 >=20 >> On Fri, Oct 1, 2021, at 06:47, Christian Zigotzky wrote: >>> On 27 September 2021 at 07:39 am, Sven Peter wrote: >>> Hi Christian, >>>=20 >>> Thanks already for volunteering to test this! >>>=20 >> Hello Sven, >>=20 >> Damien (Hypex) has successfully tested the RC3 of kernel 5.15 with your=20= >> modified i2c driver on his Nemo board yesterday. [1] >=20 > Thanks a lot, that's great to hear! > If he wants to I can credit him with a Tested-by tag in the commit message= , > see e.g. https://www.kernel.org/doc/html/latest/process/submitting-patches= .html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes. >=20 >=20 > Best, >=20 >=20 > Sven Hi Sven, Unfortunately Damien has found an issue. [1] Output of i2cdetect -l with the default RC3 of kernel 5.15 without your modi= fications: 2c-0 i2c Radeon i2c bit bus 0x90 I2C adapter= i2c-1 i2c Radeon i2c bit bus 0x91 I2C adapter= i2c-2 i2c Radeon i2c bit bus 0x92 I2C adapter= i2c-3 i2c Radeon i2c bit bus 0x93 I2C adapter= i2c-4 i2c Radeon i2c bit bus 0x94 I2C adapter= i2c-5 i2c Radeon i2c bit bus 0x95 I2C adapter= i2c-6 i2c Radeon i2c bit bus 0x96 I2C adapter= i2c-7 i2c Radeon i2c bit bus 0x97 I2C adapter= i2c-8 i2c PA Semi SMBus adapter at 0x800200 I2C adapter= i2c-9 i2c PA Semi SMBus adapter at 0x800240 I2C adapter= i2c-10 i2c PA Semi SMBus adapter at 0x800280 I2C adapter= Output of i2cdetect -l with your modifications: i2c-0 i2c Radeon i2c bit bus 0x90 I2C adapter= i2c-1 i2c Radeon i2c bit bus 0x91 I2C adapter= i2c-2 i2c Radeon i2c bit bus 0x92 I2C adapter= i2c-3 i2c Radeon i2c bit bus 0x93 I2C adapter= i2c-4 i2c Radeon i2c bit bus 0x94 I2C adapter= i2c-5 i2c Radeon i2c bit bus 0x95 I2C adapter= i2c-6 i2c Radeon i2c bit bus 0x96 I2C adapter= i2c-7 i2c Radeon i2c bit bus 0x97 I2C adapter= i2c-8 i2c PA Semi SMBus adapter at 0x(____ptrval____) I2C= adapter i2c-9 i2c PA Semi SMBus adapter at 0x(____ptrval____) I2C= adapter i2c-10 i2c PA Semi SMBus adapter at 0x(____ptrval____) I2C= adapter Please check the outputs. Thanks, Christian [1] https://forum.hyperion-entertainment.com/viewtopic.php?p=3D54165#p54165= --Apple-Mail-BFABFE53-1E60-40F3-B9EF-BC1F987A543D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On 3. Oct 2021, at 16:36, Sven Peter <sven@svenpeter.dev> wrote= :

=EF=BB= =BFHi,


On Fri, Oct 1= , 2021, at 06:47, Christian Zigotzky wrote:
On 27 September 2021 at 07:39 am, Sven Peter wrote:
Hi Christ= ian,

Thanks already for volunteering to= test this!

Hello Sven,

Damien (= Hypex) has successfully tested the RC3 of kernel 5.15 with your
<= /blockquote>
modified i2c driver on his Nemo b= oard yesterday. [1]

Thanks a l= ot, that's great to hear!
If he wants to I can credit him wi= th a Tested-by tag in the commit message,
see e.g. https://w= ww.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported= -by-tested-by-reviewed-by-suggested-by-and-fixes.

Best,


Sven

Hi Sven,

=
Unfortunately Damien has found an issue. [1]

O= utput of i2cdetect -l with the default RC3 of kernel 5.15 without your modif= ications:

2c-0 i2c       Radeon i2c bit bus 0= x90         I2C adapter
i2c-1 i2c       Radeon i2c b= it bus 0x91         I2C adapter
i2c-2 i2c     &n= bsp; Rade= on i2c bit bus 0x92         I2C adapter
i2c-3 i2c   &= nbsp;   Radeon i2c bit bus 0x93         I2C adapter
i2c-4<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> i2c &= nbsp;     Radeon i2c bit bus 0x94         I2C adapter<= /div>
i2c-5= i2c       Radeon i2c bit bus 0x95         <= span class=3D"Apple-tab-span" style=3D"white-space:pre"> I2C a= dapter
i2c-6 i2c       Radeon i2c bit bus 0x96      =   I2C adapter
i2c-7 i2c       Radeon i2c bit bus 0x97    = ;     = I2C adapter
i2c-8 i2c       PA Semi SMBus adapter at 0x8= 00200 I2C a= dapter
i2c-9 i2c       PA Semi SMBus adapter at 0x800240 I2C adapter
i2c-10 i2c       PA Semi SMBus adapter at 0x800280 I2C adapter
=
Output of i2cdetect -l with your modifications:
i2c-0 i2c       Radeon i2c bit bus 0x90      =   I2C adapter
i2c-1 i2c       Radeon i2c bit bus 0x91    = ;     = I2C adapter
i2c-2 i2c       Radeon i2c bit bus 0x92 &nbs= p;       I2C adapter
i2c-3 i2c       Radeon i2c bit bus 0= x93         I2C adapter
i2c-4 i2c       Radeon i2c b= it bus 0x94         I2C adapter
i2c-5 i2c     &n= bsp; Rade= on i2c bit bus 0x95         I2C adapter
i2c-6 i2c   &= nbsp;   Radeon i2c bit bus 0x96         I2C adapter
i2c-7<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> i2c &= nbsp;     Radeon i2c bit bus 0x97         I2C adapter<= /div>
i2c-8= i2c       PA Semi SMBus adapter at 0x(____ptrval____) I2C adapter<= /div>
i2c-9= i2c       PA Semi SMBus adapter at 0x(____ptrval____) I2C adapter<= /div>
i2c-10= i2c       PA Semi SMBus adapter at 0x(____ptrval____) I2C adapter<= /div>

Please check the outputs.

Thanks,
Christian

[1] ht= tps://forum.hyperion-entertainment.com/viewtopic.php?p=3D54165#p54165= --Apple-Mail-BFABFE53-1E60-40F3-B9EF-BC1F987A543D--