From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 3C3F936212C; Tue, 26 May 2026 07:37:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779781032; cv=none; b=GhO2ercNdsQ5ygvWpbQ49l8uYrtds3DhjiaMHYjUY/1JtMRaD6Rcq1yzT6qg0DngAJzJikU/hEPPCFRGQUJrxhJgJuulGPikqYiRhxij0ZBzARzBZvhocZvfUQEnUbTCcLhGMrPEevBeTizncJz5828q1IO1LiOipt8soqsc8rI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779781032; c=relaxed/simple; bh=WDUEc3nT6D7k35uGIEKrh+UkfK8RcrRLdCs8npGj4o8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=t/HhQjdDGjAPiGpf0I2ewNYkGMHSTPy8iF7sc3ZbrDrGGuE0U7TMAnpnv6ahfAvVUTx3hZn3e5oWsXteMTfHrFuPLbB87wI9lQz/+mUSZ8ZNpqLaJs7GcH+V69PYoV7lECTLFIl0meB9cswH6DRwsBFVgINixCx79BfiXd18XSw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Sjb1/1yN; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Sjb1/1yN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAA611F000E9; Tue, 26 May 2026 07:37:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779781030; bh=gSk1dsE4fG3ioQpFNYc3UhWQSgEMFs6oXA7PxJFF5PU=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Sjb1/1yN2pyX4qYw3eemrH0bH6JVbbzXPw9NkmceTWmu/hX5yRWPqCyvLlkBdDD+W Ys4gDbUgb/K/3KwVCTrH8xJYjKRiPgfiJxDWyPaCOYmiptAquS8NPUhWejFK302XOv BfHRp71rv97T+KrEUPqwUf2z42WCpRcWrFDPg6PoIHaVQSVHbOSHL9mFVAGmNRkZ6c qenV2bRClX0zTw709X1q0lZv0Hn3fLovm+0Q06gCAmySnX7FmBpSmDG+2nT8GcL1Xx VEhnSBaPUU7Kb3qyrwUner+vqJka++zVam/nf/Q0yuFxszKctM03WxlEnT2bsy1ILO yxdH3JcfHXFBg== Message-ID: Date: Tue, 26 May 2026 10:37:05 +0300 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 9/9] arm64: dts: renesas: rzg3s-smarc-som: Enable I3C To: Wolfram Sang Cc: geert+renesas@glider.be, linusw@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, magnus.damm@gmail.com, claudiu.beznea@tuxon.dev, linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Claudiu Beznea References: <20260522102251.1723392-1-claudiu.beznea@kernel.org> <20260522102251.1723392-10-claudiu.beznea@kernel.org> Content-Language: en-US From: Claudiu Beznea In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Wolfram, On 5/22/26 15:29, Wolfram Sang wrote: > The driver should > know what to do, or? Am I missing something? Could you please let me know what do you consider we should do here? Do you think we could drop these pin controller setting and do some particular I3C controller settings instead? The documentation on the I3C_SET.STBN is limited. There are 2 places in the manual (Rev 1.20) that references it, both in the pin controller chapter. The 1st is the "Figure 45.13 I3C (I3C_SDA, I3C_SCL)". The 2nd is I3C_SET register documentation where it states: Control the standby mode of I3C Interface. 0b: Standby mode*1 1b: Normal mode (Initial value) With the note 1 being: The output is fixed at Hi-Z and no data is transmitted to the inside even if data is input from outside. “Standby mode” is available when using I2C mode only. (Not available when using I3C mode). The current driver proposal don't take into account the IP mode when setting STBN though pinctrl_pm_select_sleep_state()/pinctrl_pm_select_default_state() to keep the code simpler, relying on the "Not available when using I3C mode" part of the note, and considering setting it when the IP is in I3C mode is harmless. -- Thank you, Claudiu