From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hall.aurel32.net (hall.aurel32.net [195.154.113.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D45A25484D; Wed, 24 Sep 2025 19:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.154.113.88 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758741083; cv=none; b=bqpAmpr3eDiRzOkeZ+p63U98tUwIjG/Io3j+dTuClqWF4AbpO9YF/BxcFgawSzakbrt4jgxQte8xgbsRnJRyucdkSONE1EnmXBTpgAe2OOgkrMcprXSrq+fao4j1jPYxvF6IwyeLX5l4aedBfkBWK8V7oDKTCj99PNkXfcKSlLs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758741083; c=relaxed/simple; bh=Tql5B4YCX1DHSgQvuVLX2THcuwHFiJoliUvfXicXUb0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dPsvI7VIqjtxlnOcx6iBmKL/rnR9hZrVBNN3MJZjFqAfjatkvSgwMsuvAqUd9naE63QWMfXdAOjRjfuZuGctksJPzbiVWbwYlo8B5ewMBgNvkA4+zsS1Kl/pNiaaw4I/UxOsIicHTTil615tTuqCK6zRJ0za5/Tepq7Kao6i5dw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=aurel32.net; spf=pass smtp.mailfrom=aurel32.net; dkim=pass (2048-bit key) header.d=aurel32.net header.i=@aurel32.net header.b=V/yZt/KZ; arc=none smtp.client-ip=195.154.113.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=aurel32.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aurel32.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=aurel32.net header.i=@aurel32.net header.b="V/yZt/KZ" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Content-Transfer-Encoding:From:Reply-To: Subject:Content-ID:Content-Description:X-Debbugs-Cc; bh=WLY2FkqvHLDcDGSoIam/kBKhM4hGZeSUFJS4ZsAMQ7k=; b=V/yZt/KZ/VRNT5TrMKm1LX2OCY wWNk2pW3rK9KN5iVgszaBEMaaHM7qheK/IpA82nLSWxtF0z/sbVkq99URVZfSCOnGdRzIAhK3HTQO 7E9pqU8uQyeT0GiydKwuXbqTT+QhVegsU6nEszEFiF5QZSf5JUkkjwT+fO6TrvloebxsCAg2ofc8W hq/rNpgIYs7VC5mCSEd2c2diBXA7opqGKceanW2e0qh5MGuLSh/xJmJz5lfLOy1ugoO//W3OVutmn KVxBBWd3YW8CIIGTZol/Bod2z/DayJWbyxUXze98vXg+N9Kh5Z+KM9Sl3cGbOIGD4uhva/QP+BkWD uuLwqR2Q==; Received: from [2a01:e34:ec5d:a741:1ee1:92ff:feb4:5ec0] (helo=ohm.rr44.fr) by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v1UtQ-00DdFY-0o; Wed, 24 Sep 2025 21:11:08 +0200 Date: Wed, 24 Sep 2025 21:11:07 +0200 From: Aurelien Jarno To: Troy Mitchell Cc: linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:RISC-V ARCHITECTURE" , "open list:RISC-V SPACEMIT SoC Support" Subject: Re: [PATCH 1/3] riscv: dts: spacemit: enable the i2c2 adapter on BPI-F3 Message-ID: Mail-Followup-To: Troy Mitchell , linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:RISC-V ARCHITECTURE" , "open list:RISC-V SPACEMIT SoC Support" References: <20250921210237.943370-1-aurelien@aurel32.net> <20250921210237.943370-2-aurelien@aurel32.net> Precedence: bulk X-Mailing-List: spacemit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.13 (2024-03-09) On 2025-09-24 11:13, Troy Mitchell wrote: > On Tue, Sep 23, 2025 at 09:16:50PM +0200, Aurelien Jarno wrote: > > Hi Troy, > > > > Thanks for the review. > > > > On 2025-09-23 09:32, Troy Mitchell wrote: > > > On Sun, Sep 21, 2025 at 11:01:41PM +0200, Aurelien Jarno wrote: > > > > Define properties for the I2C adapter, and enable it on the BPI-F3. It > > > > will be used by the 24c02 eeprom. > > > > > > > > Signed-off-by: Aurelien Jarno > > > > --- > > > > --- a/arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi > > > > +++ b/arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi > > > > @@ -92,6 +92,13 @@ gmac1-pins { > > > > }; > > > > }; > > > > > > > > + i2c2_0_cfg: i2c2-0-cfg { > > > Should this be i2c2_4_cfg here? > > > From what I see, in the initial version the second cell was meant > > > to be the function number rather than the serial index. > > > > Ok, I wasn't aware of that convention, I just reused the same numbering > > of the downstream 6.6 kernel. I'll fix that and use i2c2_4_cfg. > I'm wrong.. > The second number isn't function number. > You can find a more detailed discussion here: > (riscv: dts: spacemit: define a SPI controller node) Ok, I'll revert the change in the V3 Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net