From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796220348; b=Qo4Q21VicGPOcX48BNRERgJyjveTsIDmEZkSf+74BeJQA4CKqOk6eWRBQO+9dqnlq44d IX9FF3rP5M7kI6daIkt+o5PKUFkxnuVJAdi8gcW3ES575uZyxCuguoF+w7eseFkobt7F3 S8W7B5TUxK4CpFKteL46sU6IGEDYCJovz87RGYEOHCybWTzLeUZnYFUA1kiSuFalzfN8q nx+Xfedwj+US+i9ZYa/Gw/UK/kC44HniXltI4zuoohTAB7lOU3sNkaIGwyrNipwgEl2Da He0G/JmCRNbdI8xkLqabTUt56r2qc7TidQG6n9XTQwHO8z1oAKqDDKjgpVWTgCQSfnw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796220348; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=c1FwyAP77lf7tZCGXAKMBGTdVNIL3xSUJLGF9bX3vaM=; b=iIgni6OMNLw/IqYGoWygKxUjzSTie/D2AjopEqxtHnvm4EE9/RJtqEsJiIhtS2lKM3PD 76u00TnhSKBiy/yyn4AEGUSGzWHkALiDDi6l1Oqlar2UrQPRxacgsrt9k4cm4tLxfdnF1 9W7+ZNJvN1qZNFcAt/5qMIMvQM7GQqx6JK22yBN6M0TFv7QqcpUaOk1z8ZZkO9keUX1KY f5QsBCHwYKGBYPGs+n6PiROmYn1Iu9bTE1Jy68SXaXSwFxCsVtA2r6Dq9I9vF43c7Du0V z+0Y9nbFaU91o0YbSaB/nO177BArEl1XImRItPqf0256j+Ik2bg7v6f73LaULTcj2ag== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=S4hx2gOn; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A3DE606A323; Wed, 2 Dec 2026 14:05:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=S4hx2gOn Received: by smtp.kernel.org (Postfix) with ESMTPSA id D514D1F000C1; Wed, 2 Dec 2026 14:05:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796220347; bh=c1FwyAP77lf7tZCGXAKMBGTdVNIL3xSUJLGF9bX3vaM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=S4hx2gOnJ105ihpo+HMI+Q4I4TsHj69J0mjN3nj0MfYAnu9jD1Ic0Tv79QvZOTofA IVkuWGy7S4quYzymfhuJzh5btmTzCP2j3AgIclghOeONC4tMv4GaBLtPCK3ZHt+/uS BRgff8/heev7Nfp8jHmVt1UMf4agXfJUYu6t0bpXb+6Dlmx2nb0KyOZ9t/Zun9dY5/ lPPb+sY3syuYstQwrvFgZPJLMaPUtaLCwGUCK9DjR6EjMTICtAyRHuLe4bOjCM1K4q 9RGSLsfmPnxBuEwIA5pEB5kH1YDDvpTwQ+WRf3od7U/tes8qw9quF0OlLcN/gaGREz YlYgRpT5JAQSQ== Date: Wed, 2 Dec 2026 15:05:44 +0100 From: Andi Shyti To: "Thomas Richard (congatec GmbH)" Cc: Lee Jones , Thomas Petazzoni , Werner Gartner , mfd@lists.linux.dev, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org Subject: Re: [PATCH v8 07/11] i2c: cgbc: Add support for fixed frequency buses Message-ID: References: <20261130-cgbc-i2c-storage-devices-support-v8-0-83734a668a98@bootlin.com> <20261130-cgbc-i2c-storage-devices-support-v8-7-83734a668a98@bootlin.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261130-cgbc-i2c-storage-devices-support-v8-7-83734a668a98@bootlin.com> Hi Thomas, On Mon, Nov 30, 2026 at 03:28:15PM +0100, Thomas Richard (congatec GmbH) wrote: > Some I2C buses run at a fixed frequency. Add a fixed_freq flag to struct > cgbc_i2c_platform_data to identify them. But the frequency is still needed > to compute read_maxtime_us, so split cgbc_i2c_set_frequency() into two > functions: > - cgbc_i2c_set_frequency(): sets the bus frequency (skipped for > fixed-frequency buses). > - cgbc_i2c_get_frequency(): reads the bus frequency and computes > read_maxtime_us. > > Signed-off-by: Thomas Richard (congatec GmbH) Reviewed-by: Andi Shyti Thanks, Andi