Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3461366pxb; Mon, 4 Oct 2021 02:51:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuaF/fueJrOUUJOgmLXPpit/6Yw/EWaZe6oBMUoCgsUoskR1dnyi5/fkpqHAoz9foklX3X X-Received: by 2002:a17:90a:aa93:: with SMTP id l19mr5452483pjq.241.1633341104862; Mon, 04 Oct 2021 02:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633341104; cv=none; d=google.com; s=arc-20160816; b=wJWA00ofhv+tHGhqZ/2O1aBWpGqNpp6AgR584C/bGsb6C1/Y6iawJ6C8mMWqCaQ7D/ vOqass0tlujQEzkjvpokY8lJuI1r7ObkMSOYAYjeB8HMU409JdCmOFVrirzhupZhq6Zl GsBR7+EmgH3hEtSRKLqrDNS8rIGKx4Gij2xwAu9jn0gMC7IZTOqdYP2xCWkHUw9FuSu7 lHAnDWAwzGfvfLdUsKOeDHDyjKdwtAP9qLeItl6JDgZBKRBiqRLSgjS/so8tFnpZpuGF vlYx0IpAFJUKYkCVGpqyuaEAOLpGhapV/KaBYgcclVuD+iBCB/PBky5bX4XA9YK+nYdT zUyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:in-reply-to:cc:references:message-id:date :subject:mime-version:from:content-transfer-encoding:dkim-signature; bh=FeHR43dQLLtrHkwR5FFcK3N3PxqoSGlaaCsoAV1our0=; b=gmJX/y8uoaysRSrZRL2DVRREgnIRAN+LV82ruanRsNl5iCq0usaL5uYjwExsZWEHCc 4BzSU5wOvgYSBeA5WDmHMuawYcqpclDyr85dfEW6PnuuaxvHaBXjcx3ju1LKuvXMa7UV 6hc8Kpnk/U8Uapx0psk1y416849O+rGs2OiNEQCxN4IvyII38VpNSBQKw2zr8iCZPyqd bWXmlNdJuPwwqq1wF0KnqeFNyKeza7GoPGg9vTZEyN3j0T0UCqD49uUiXK5ANLD46kn7 VsjyQNc2UkVYUKByLGn7zxSgFqcgvlCR8gLM39QMIRrNA0lj77Hi/zZ6Zdi0w15gTtpd 4Q+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xenosoft.de header.s=strato-dkim-0002 header.b=fZNvt6nZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c24si20794399pgj.275.2021.10.04.02.51.31; Mon, 04 Oct 2021 02:51:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@xenosoft.de header.s=strato-dkim-0002 header.b=fZNvt6nZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232520AbhJDJvL (ORCPT + 99 others); Mon, 4 Oct 2021 05:51:11 -0400 Received: from mo4-p02-ob.smtp.rzone.de ([81.169.146.171]:14057 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232494AbhJDJvD (ORCPT ); Mon, 4 Oct 2021 05:51:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1633340878; 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=FeHR43dQLLtrHkwR5FFcK3N3PxqoSGlaaCsoAV1our0=; b=fZNvt6nZIg6C5j381lGsn/vwnSGy4QIbsdMofBzeI8dDMaDZ3hoJ0Jrl6eaU38rGnn UpHUck8lGxVIHCwoYVKCZniYtIGZ4W5vMHjWyIObGFR1RlJuEnyUhPw9/tkKEAPDP1o7 LvlyAuDTtPTMGm77Fp9Okl7BuO0wISpdsSpndfKkT3K7CZ4byB2c8wgsWc2vE++1Pivl Hw1QFLh8LjEf3aO+tk9mt9N7jHlR0QIfLDEHUE2f7D2wQGoseswwqfIFSPSEz+ubhusl wSmm0wOR8vDy+8m+EITszNrMR8109I1XeuDaplJVJfx9HnYX+uS0mwBTJg1srXvNghGS XGgg== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGN0rBVhd9dFr6KxrfO5Oh7R7b2Z2iLowxnW5xYeu/ol3GhYINSxQY8iybSLQkkHm" X-RZG-CLASS-ID: mo00 Received: from smtpclient.apple by smtp.strato.de (RZmta 47.33.8 AUTH) with ESMTPSA id I00cdex949lwlK5 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 4 Oct 2021 11:47:58 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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:47:57 +0200 Message-Id: <1B71F6A3-6467-46EF-858F-82E93D54365D@xenosoft.de> References: <49890226-cf04-46ff-bc37-33d1643faea2@www.fastmail.com> Cc: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Olof Johansson , Arnd Bergmann , Hector Martin , mohamed.mediouni@caramail.com, Stan Skowronek , Mark Kettenis , linux-arm-kernel@lists.infradead.org, Alyssa Rosenzweig , linuxppc-dev , linux-i2c@vger.kernel.org, Linux Kernel Mailing List , "R.T.Dickinson" , Darren Stevens , Matthew Leaman , "R.T.Dickinson" In-Reply-To: <49890226-cf04-46ff-bc37-33d1643faea2@www.fastmail.com> To: Sven Peter X-Mailer: iPhone Mail (19A346) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=