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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F3FFC433EF for ; Tue, 23 Nov 2021 05:41:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232317AbhKWFo2 (ORCPT ); Tue, 23 Nov 2021 00:44:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbhKWFo1 (ORCPT ); Tue, 23 Nov 2021 00:44:27 -0500 Received: from mail.marcansoft.com (marcansoft.com [IPv6:2a01:298:fe:f::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE77C061574; Mon, 22 Nov 2021 21:41:20 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id 6EAEA42404; Tue, 23 Nov 2021 05:41:16 +0000 (UTC) To: Janne Grunau , Sven Peter , Alyssa Rosenzweig , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211122225807.8105-1-j@jannau.net> <20211122225807.8105-4-j@jannau.net> From: Hector Martin Subject: Re: [PATCH v3 3/4] arm64: dts: apple: t8103: Add i2c nodes Message-ID: <5f16c962-72a1-21ec-9651-744053f74365@marcan.st> Date: Tue, 23 Nov 2021 14:41:13 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211122225807.8105-4-j@jannau.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: es-ES Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/11/2021 07.58, Janne Grunau wrote: > Apple M1 has at least 5 i2c controllers. i2c0, i2c1 and i2c3 are used > on all M1 Mac devices. The 2020 Mac Mini uses i2c2 and the 13-inch > MacBook Pro uses i2c2 and i2c4. On further testing: i2c3 is not used on the 1GbE variant of j274. iBoot actually kills the node entirely. The interesting thing is it doesn't work; it times out probe transactions. I suspect iBoot does not enable its clock or something like that. I'll poke around this on IRC, but a priori we probably need m1n1 code to kill this node when the ADT doesn't have it. Maybe I should generalize the dwc3 killing code... -- Hector Martin (marcan@marcan.st) Public Key: https://mrcn.st/pub