From nobody Sun Feb 8 22:06:27 2026 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (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 026E02BEC27 for ; Fri, 19 Dec 2025 07:42:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766130162; cv=none; b=nhXQUbkv2n4TyyFXnPBnd+bxQtbj7L6q/SO48b0AsKFp0YbWfCNqjEe4ZwmLpTePIhAbniOEUz74S1BmTZl/ntMjbARRDCyS1Dkz77rvl2K/yCv1bbt9tOG4dCQgKiFpI/lPKRmpJxW2weAhi4/YKK7SpTsObs1EaQV+N+0ff2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766130162; c=relaxed/simple; bh=/r6f9IRpVGju3Ryu7UDsRNF+0ADreBgeJr9SFE2YWMw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lq/3iI7po89N3/xzNa/HseoMF36K0HcLOjR0ZjTFR4WBPwYFZ3JaaN8wGtaTwn/WrNxaIWJGZuphrxXLZHuJkcmvh1KX78yov3uIy8yAITQz7B9+bgFGr1DjMRRbk1gre99piHr1MYN1cemJnSF5bnfMm3cv0kpADG+Xlo4Guno= 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=fFXA/nIJ; arc=none smtp.client-ip=209.85.210.171 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="fFXA/nIJ" Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-7bc248dc16aso1301622b3a.0 for ; Thu, 18 Dec 2025 23:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766130159; x=1766734959; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=A16mIOMQmuaHn2+TKOnGQUAwRDMDtpdj4WXcnB4hmwo=; b=fFXA/nIJNMyDxLN6y76x45iqbwiPnUPtpbX9K5TX4lQb79luW+UrzuEvMCbSC7c9mj /O17ojgRW8Pbmd2nQTR2GFnKoJn2L/aQKZmt+Ob/XqarKATXsfmMxxwypXVzC94riMLE hCVjVAK7Jccqtxctt7HGpKpWNpxEmIg9DHFB8Onb7DqjVlPGzAWbm8lrBJBauuXZUGId LL+q/IYRYFve9Hp18pHM6zm3X0XoWbBYrwC1U0k52kRhFb0AHvLvVXGPrbeVg3WzTzG3 zBEopyiBLS+Q1lbp8TD1NhljCqjCZZbjDOpRlGUGrXXzB4ilmg79R8anj5UpToyFkUPg J9Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766130159; x=1766734959; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=A16mIOMQmuaHn2+TKOnGQUAwRDMDtpdj4WXcnB4hmwo=; b=GVurpAT0XcHMjogZYyRYd8YuvNRolngDGSmH9MW/Eik1rJVnoGRST3SYrFSs44elik eEfVQeNby6JQKoZZG8qeeUpRvLmxOIxQpLJxGwdisC1Z+rT3mo25MH+MWW4nDRPLopqF WOTlfrZUkasSnm9pwgXXD3iXqD0mopLZIEYbwAmvxqoRvLk06uKku558j1CJ6EkUuZja YLvAbypDBy4vWoyb53t2aP8D/d3/sX3iroEhQM8wde0iAX1Gtipw3h4KSZEoeB2aTpkf yZ4mNeSscveBXtfksap8ZTXByZkCte5E5TQxrYdLhqtwzatmbv2lw5xSA7cOPf5qFV03 yaSg== X-Forwarded-Encrypted: i=1; AJvYcCVDxMns9Mn9wQxZri2NRVIEfWJh7HQ6dbJVM8E83wzhuT4Qk9B4KcxMdKpHEqPzrQcGiUbRGDZ1aCtFmuA=@vger.kernel.org X-Gm-Message-State: AOJu0Yw2eaT+XXaQuE4wUgVB4DZ+jXL7KmqtVw+dSvHMLB96vRnt3JWm 2VXZIUkiCsrhLrL034fObHY/+rU+yV50v5bANMnEHdTDy/km4T19vAFj X-Gm-Gg: AY/fxX4Ay2kmyTj94JY9b9wOt1K0/nLUR9Mwnooh0UdpS45xMj36IABP/GfVouPy1si qIYCxTj/zVulv388QEZ43lT5bjWrT6G6wU2xxPxNGHK/K3EyZp0sLpDidEPwHg79nYh9dKEzfZ7 /beGXxY8xvjhrLyIglkCskGSDtkszh+5BK2Nmd6bBvs4jbxeZkbiKMrJRFEMMri3Vcf5hlfXWoB rYqZoGk6/hN24gtWSxaKm4SgtaLcxwjUtPSLPjdorzx83g/Agplmo1U1pJi+pwuKfmCwJvjHyqa 6A6LLDSmahUsHeGrI0jrLjgumvwtYIXxz8uSqupZFzmBQjUXpqGUi0dhc4IiZaplZiF4zhG7cF6 aMxtRHsc/ca+DRz72Gtdlrfb8bL9HVz8BlmODxQe6XE0siZDilWXT X-Google-Smtp-Source: AGHT+IHMDEZLLOxw+3dAFpieF2QA1Yfe4kaK1QG7vQqgmnkvKYHURHQzbX3y21w9Lj3QQl7AzO8tFw== X-Received: by 2002:a05:6a20:914c:b0:366:14b2:30b with SMTP id adf61e73a8af0-376a9cddf9fmr2091296637.62.1766130159109; Thu, 18 Dec 2025 23:42:39 -0800 (PST) Received: from localhost ([221.192.179.86]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c1e7bd602desm1335791a12.21.2025.12.18.23.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Dec 2025 23:42:38 -0800 (PST) From: Encrow Thorne Date: Fri, 19 Dec 2025 15:42:20 +0800 Subject: [PATCH v2 1/3] dt-bindings: i2c: spacemit: add optional resets Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251219-i2c-reset-v2-1-ad201a602e74@gmail.com> References: <20251219-i2c-reset-v2-0-ad201a602e74@gmail.com> In-Reply-To: <20251219-i2c-reset-v2-0-ad201a602e74@gmail.com> To: Troy Mitchell , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Philipp Zabel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: Troy Mitchell , Guodong Xu , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, Encrow Thorne X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766130147; l=857; i=jyc0019@gmail.com; s=20251009; h=from:subject:message-id; bh=/r6f9IRpVGju3Ryu7UDsRNF+0ADreBgeJr9SFE2YWMw=; b=wvV25q8btJ4G30xXAzQfVKnpzsZrDgyjSlGnmi9bOhuNQ9Aeuh6j0rLJZZ2UdmpI8Wk3BNmIX Bd8J5IqmhlsD4ZMfSltfVzsoWEpZ9saVGE6AaJqKlfN0k6035M6lSH8 X-Developer-Key: i=jyc0019@gmail.com; a=ed25519; pk=nnjLv04DUE0FXih6IcJUOjWFTEoo4xYQOu7m5RRHvZ4= The I2C controller requires a reset to ensure it starts from a clean state. Add the 'resets' property to support this hardware requirement. Signed-off-by: Encrow Thorne Reviewed-by: Troy Mitchell --- Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml b/D= ocumentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml index b7220fff2235..1290106e28e6 100644 --- a/Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml @@ -32,6 +32,9 @@ properties: - const: func - const: bus =20 + resets: + maxItems: 1 + clock-frequency: description: | K1 support three different modes which running different frequencies --=20 2.25.1