From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A460C340D91 for ; Mon, 12 Jan 2026 08:38:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768207100; cv=none; b=UNv7+DB0aO3Y/Uf2aEDJAAqAZeqti33SYe7Qe4qt0mrU8h5QNJ5dNoUoYv8echfg83DmLpx0WVRDN+XriqNXB3VFsBQc6VjRp8+1vlV4qFqxZQZvYTgRcPiuIfIYaVO/SdE4yZ8l/BxyEbWtaPjunL2WfLG7S3MUKMVP+2KEWa4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768207100; c=relaxed/simple; bh=iBc+kzWaPMgcq3K488Yse5Oao7k4l/QEY5UX2uhRxHU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GIx6Mbt+RBjnxTw3c/qlopGkjJnxjXBv8lPvXICWbDb5gaMsG1DumQ0g/Pgg1hurIR2Bv/Tj7bzFLXaQtcPyq3SiK9a6YlwpsGm1PwnK2Ek662fRVXD+wwyPz/5tnIOeSIhu0yltHJ5/8pm8hbw7TVR2aZQV6XyX1hLNmLi4ums= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eVavJwjc; arc=none smtp.client-ip=209.85.208.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eVavJwjc" Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-382fa663249so47773981fa.0 for ; Mon, 12 Jan 2026 00:38:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768207097; x=1768811897; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Wlsv0VCIHIiHd0/nEHHL3lk5SEgEXeB9EowWFMHqs2o=; b=eVavJwjcJcezgWIMnQEFe+j46bs/q1DA9R3TU2aent6Qr3bOXvr52IAE+vR/Eb4oOY I/PU8ckSAyILah+KqiLEUHTfOm9BKRI1K/UsIpmDgDh1sUSdkOcwXkCvDyQGAGUIXYz8 CzjJGlhrPERJ0QpSpTifxp7fR7aFHfuEpepJ5Y2MTZLOP7mqtF9rHVhcR+uKidDYn4i7 bBJkv3NC17Nyo5+2Y8FQQ9/hSjTFywl0y4bx9AAsO+CZhhmEJKft+au1RhyuqNk0GJmn q54KCRr14M5FX1CgOFyWvX/4Z4MwmtE3yMsj2OiD1Eh4/IJXTP/2JMXYA/SM62V/1U04 7n8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768207097; x=1768811897; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wlsv0VCIHIiHd0/nEHHL3lk5SEgEXeB9EowWFMHqs2o=; b=S07xgmzJiDH5i/HwMEI7MPP6rgrib9VuvDpceyGdFNdqj8jr2ND77QEb5vP/dh/JiY 9q7bPPUcOGT8ZhjnvbRmc0XoaS0KvNDpdurPj/55r7D2J9a6vcDLwJYGh1ZFgWzxRVzu xZw/it50DeyAqVJtc6LEJxUm19eOty9G2mjzRRleycsEtgtX7x1gf3bkYZoedVZHfVsw EjIWegyebmt1PFncdogrvf870j7z+ws5EX002vLV0UOs1IzysLw1c8tnFw/YRIJnji7C 9TcFLPC4QyeLKXjpbD8lyFEZh+CqoweC5HfVNLxnpe5n+pL0d4cte74+C9VWCoG/Tr0d AAPA== X-Forwarded-Encrypted: i=1; AJvYcCV2lkd7q/xzMg34KUsKgtsdbieThW5Cz3G7tp1cZlwjUYtbyGoGg1T+lmv4te7FuVOwfJizOQI7TyJKcUQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxDlm1x2xq6PqwF2aKyqnkDxHppoNNfqgqXq/1sX6jbKyBEJvXV wjk3i3O5N1VirnOuD64Z43otOqhdmb+l9ZecLdC4ARLRWHtll7XOLrzT X-Gm-Gg: AY/fxX4RIW/kiF+5giU030cOkxLmpLCWw4xzeZ8n7i4MvRQAHvX21BLGTifTmd7n/UG KdkBbs5rzOAHEqGHua7RLPQHcY2LTWKw5W7IVE03lhaXu7czbEEoP3UsHZj3ROHbJx9H/zEUlKg JKRZeg6jrV/FkRD7Sqr7s1qzRkxwiMkpQcmq5iNk5JvxV7ei7yYRediWK4yUg/OqPxBdAG/k0U2 KPffbfjYyHmjl6ZNr4vGklb1E9jNR3pRBAZYEammYXxR2u83I8l7wkL2vgQILORYN0TcVBNOYjO gIkK692gf21AYa/hvFoK5r7ZEb0RhGsiKDaqqnPh2Or5TpJH6MhpI4erY5XM34i06AO6S/mvvaP Z4C7wdFx5uiLwPCvdSiWWLauLSYk90dYjkrK16U88wqqI4RKPFSiDYa06ROV3eKCLz7bJszTSm1 HzsWp4Uf5lez7HoNMzoPN/m8omyPs/1o2zoYJUOAj4WqoElq0ChG+jFyco13E= X-Google-Smtp-Source: AGHT+IEArGBiKYPwRJ0Az/vkHndV/i+f9BSZpjpqWUBeI/o2LCXpED5ibt7YfNHt4LjcdnLJN4jYOA== X-Received: by 2002:a2e:a992:0:b0:383:1bcc:117d with SMTP id 38308e7fff4ca-3831bcc13ecmr27420461fa.35.1768207096425; Mon, 12 Jan 2026 00:38:16 -0800 (PST) Received: from gmail.com (83-233-6-197.cust.bredband2.com. [83.233.6.197]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-38319ec5b73sm20131591fa.48.2026.01.12.00.38.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jan 2026 00:38:15 -0800 (PST) Date: Mon, 12 Jan 2026 09:38:13 +0100 From: Marcus Folkesson To: Wolfram Sang , Peter Rosin , Michael Hennerich , Bartosz Golaszewski , Andi Shyti Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski Subject: Re: [PATCH RESEND v3 0/5] I2C Mux per channel bus speed Message-ID: References: <20251202-i2c-mux-v3-0-877dcf478a9f@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uN/jfTvb9pytjRRb" Content-Disposition: inline In-Reply-To: <20251202-i2c-mux-v3-0-877dcf478a9f@gmail.com> --uN/jfTvb9pytjRRb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 02, 2025 at 09:09:47AM +0100, Marcus Folkesson wrote: > This was a RFC on how to implement a feature to have different bus > speeds on different channels with an I2C multiplexer/switch. > As no major complaints on the design came up during the review, I > decided to submit the series without the RFC tag. >=20 > The benefit with this feature is that you may group devices after > the fastest bus speed they can handle. > A real-world example is that you could have e.g. a display running @400kHz > and a smart battery running @100kHz using the same I2C controller. >=20 > There are many corner cases where this may cause a problem for some > hardware topologies. I've tried to describe those I could think of > in the documentation, see Patch #5. >=20 > E.g. one risk is that if the mux driver does not disconnect channels > when Idle, this may cause a higher frequency to "leak" through to > devices that are supposed to run at lower bus speed. > This is not only a "problem" for changing bus speed but could also be > an issue for potential address conflicts. >=20 > The implementation is split up into several patches: >=20 > Patch #1 Introduce a callback for the i2c controller to set bus speed > Patch #2 Introduce functionality to adjust bus speed depending on mux > channel. > Patch #3 Cleanup i2c-davinci driver a bit to prepare it for set_clk_freq > Parch #4 Implement set_clk_freq for the i2c-davinci driver > Parch #5 Update documentation with this feature >=20 > Signed-off-by: Marcus Folkesson > --- Hi all, This series has been in its final shape for a while now. With multiple resends and pings on this series for the last four months, I think everyone interested has had the chance to review it. Wolfram Sang, could you please take a look on this series and consider pick it up for merging?=20 Thank you in advance, Marcus Folkesson --uN/jfTvb9pytjRRb Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEBVGi6LZstU1kwSxliIBOb1ldUjIFAmlksvAACgkQiIBOb1ld UjIPdg//fETqNNW85f1AucnMByabxMZanfL15C1uuB87na7/jwdjkf4UOC/cdbTt IY2NeyF1Boc825p7iSi8zPmZYECp6hYebLP77DPVVJjFkqSPIcDr1c4kfXAyNSAp Tm1YwwTLIIPiMfAAzCCeZgoAUihY8m/8NtmY3MVWWWWeozj65Wa5Ey4oxNC/LuPc 2DRp5kjGfvHN/fRCT1FB0AdSP2WU+XnFm36hCnieB04zvf5vZojEFEcbRg4RLMmq ITQTHipPySdVPv8CnKtaJony5VfSCLjjBJml2fyslzuL1frwO/WtZok7XRDqwuaI lf4MGraiyMv2Kylwf84nqWGdse88a4N38EEwd6akMTK/IEK68gE3MEc9K0yDfHZM 3yMvXTVQ9lYI42dnmY5OqwDBalnZ8RxOvcj9dzJx6FhkIz7zAngjNtolOiWPwGl+ zuYehjmXugmYxNhr5DdxarSYyaIe3qxqDu4Vay0zSwqDLL8NUS1GYQNF6v2lgkWK Bge8Zju90GWGTzqMXKLvmeCtp/mUE4gzdaWzi1rtUCeMKU4CCy4MZ+pAnhbRPUX2 6OW4b6KwRfc8hboO6YoAjzWBsn1srSZdIxIsNfrE98j39xcO4+rP39F7sCGjrdN0 +u6+GwWiXSN42/dK+PeBZ8uCZpr/QZZQOejAXZ042LHNbmbHvj4= =aKQV -----END PGP SIGNATURE----- --uN/jfTvb9pytjRRb--