From nobody Tue Feb 10 16:18:45 2026 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 35D992D5940 for ; Wed, 14 Jan 2026 14:14:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768400049; cv=none; b=b0QMNp/tKP/KMQ/ZEHvwiEj4qbVGPbcOAKh3+tEAnHRQSUDpGQpOTAFidFELlvHUxpbBUvnVmPwPT5OT1mKT8uWr+xgu7dSgE2mSqC6UOqVtzPJIH7JhuYtS8spTpbjL6+ZpNC/ipVFXycryi5KM+cwmRDcZudTuVE0nODfaCMs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768400049; c=relaxed/simple; bh=uI5UZ4Fop9VKEyQ8e7Vhlvs+3JV7DOHuBqbOoz+T8Js=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VWZyvHoV0VPMHMr07HCM8pkd5Vj5ZKZroduhnqk37hHwG88WQYEA74fWbyoUXsrscmVGUEGZh93w0Sapjni8d3LrzwWQwu7cs7fGztH1bNITsrFjr9KLrAEUXU9n/nESemI6ierzzyJRBv9hSdvYns/Ps+CiNrwGk1Rzdg9+aVY= 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=D1+Kkgc4; arc=none smtp.client-ip=209.85.208.44 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="D1+Kkgc4" Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-65378ba2ff7so2527498a12.2 for ; Wed, 14 Jan 2026 06:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768400047; x=1769004847; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=THHBPsnJ5h41RArKKPut42z3fPvZexdj9Mfmq6vuelM=; b=D1+Kkgc4N5Hf2VYP4ZAtPG+BZA4mOc23ozH+iTMdAh2SVyQ+Id2RsNv0wK5dtREfOm pt2W2Ql0cCkjGYz3ZRjtGiMYKFTmcxHFyTu5zV6YcvwM7pgOnFMVW01oYyT16oXYGgBC CsDa21NSE+Bto/LtGPFxgoxK+Tj84RXzDSJ/rqrWfDPuEywjRBCQJamxjNJD8LhzStxI XhuBLsRd5MvEAJQvSskWcDP5ny96FmWTYUj2p0t2hKUAOO6RtLZZWRhpMAie09Ud349Y ANyfUr/w9R9uPkppexe47De3gwfIMpzpYshbeUsPIdjqUmEDQOJY+aEipm3MQI01fOx1 sQSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768400047; x=1769004847; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=THHBPsnJ5h41RArKKPut42z3fPvZexdj9Mfmq6vuelM=; b=nlXkU/jfXzNCWqFkWpMngjrEAUYoxwhd3n6sZYexRrCDtPRbLblI1DVs7J0V5AManq Zge1XhudLwVwdC1N5ZCIFjZyDfvcHDpR+tAVWi/vXiKDM5zbjVOZT/0pXu32FraCrWH4 EiKunY7Kuld+zCblnSoVbOPtzJoUMmwdX5oxkbBhNSWlCjUaaewM1QXpOM70+60csVlX GmsgDFBwMid/Osc5M9csUv+0a/mCMt61MtkBObeO0NLdFNcv94MK25YFy0z+1pP06m2U zjri08RxNpZWZQ61ZDZybma2akcfQd2c/tvLizAEGnjcYFRzYhjNoF+n1iNYug5chTo3 rU4g== X-Forwarded-Encrypted: i=1; AJvYcCVh3dz/4f3d/+aOSZwdjqYrjidiy5pJcRwkWC/iEM5Ujq9nHeUqq9+cALlSEIYTkn2y9u0p4pQXAHIUehY=@vger.kernel.org X-Gm-Message-State: AOJu0YxG0JJkTSObkA0M7RedcZs5lRplenFR5iOo0+fSq4JOuKbXW5V+ evlyPGw6NsTvWyc246u6SRfWmrtO/9YUe/m1z5V0+Mix/AXM+MQrFOof X-Gm-Gg: AY/fxX7ZRvmlSrFJQGMAmtMqqEBwbOU8FiAYsB+ih8I7ElvBRG0QjIz6TU7FRj4Lnpm Orq1deGqT9iWEc1r8Ie3ZXu1VO41uuFXKjUN1LA5Zt0fJJOgx6MYRyOhjr56vG2KOVGt0QNFLC3 c/yqr1RQORz3bV5iH9F7SDn7/tUbLEI/PQZRN7J8OnsDHW4Q+NneXlBTnTm/GiIiWGt3UZBasZR EcgiSJd+esKBEOmI7exFnsg5cuBNVO0PutKGYwlOMF3QA6EyNg6TBgbqKbqrUVWEsZ5MOBS5h1K UCH/wcr9V+Kl+UREXBDmDqDxaUX4G5KrMq+FSM+NlcfoI/iGakhmYcpjy37Gm1uvB1Ga5ybY6eG heKAxlAutnLqzMMWYilbkGkd/DcKqYwtLgM7kLAPSjfjidFb0II6XWdhQMbXvyl9uReQd0xCcZU Hu71LI2pWAfK5gXuIqvQllbQ== X-Received: by 2002:a05:6402:1ecd:b0:64b:7b73:7d50 with SMTP id 4fb4d7f45d1cf-653ec1021femr2004998a12.1.1768400046483; Wed, 14 Jan 2026 06:14:06 -0800 (PST) Received: from C-PF5D4647.localdomain ([147.161.248.88]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6507bf667fcsm22651950a12.29.2026.01.14.06.14.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jan 2026 06:14:06 -0800 (PST) From: Jie Li X-Google-Original-From: Jie Li To: wsa@kernel.org Cc: linux-i2c@vger.kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, Jie Li Subject: [PATCH v1 2/2] dt-bindings: i2c: add force-set-sda property Date: Wed, 14 Jan 2026 15:13:52 +0100 Message-ID: <20260114141352.103425-3-jie.i.li@nokia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260114141352.103425-1-jie.i.li@nokia.com> References: <20260114141352.103425-1-jie.i.li@nokia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document the new "force-set-sda" optional property. This property is used for hardware where the SDA line is open-drain but the standard driver-level check (like gpiod_get_direction) might not correctly reflect the ability to drive the line for bus recovery. Signed-off-by: Jie Li --- Documentation/devicetree/bindings/i2c/i2c-gpio.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml b/Document= ation/devicetree/bindings/i2c/i2c-gpio.yaml index afd4925c2a7d..82713fcf87e4 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml @@ -37,6 +37,13 @@ properties: description: sda as output only type: boolean =20 + force-set-sda: + type: boolean + description: + Force the use of the SDA output toggle during I2C bus recovery. + This is needed for some hardware where the SDA pin is open-drain + but the GPIO subsystem cannot automatically detect its output capabi= lity. + i2c-gpio,scl-output-only: description: scl as output only type: boolean --=20 2.43.0