From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 625B62222B2; Mon, 23 Jun 2025 22:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750717489; cv=none; b=ZyWY4n57KOdBbWvWSs+653dZIQ8VL4eK2CXgl4i9fwegB8XLlv5DuZbeaQtCmtAL6aBY1rRziHglkV7YdA+F5zk9MPECi1NtEs3xr+c4MMDEzadVTwhaGJ9NyrUzWF2F3d0qTTpfhFvSN7cL5/ysEJ8SNPxKXyGcnO4cgKNQfuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750717489; c=relaxed/simple; bh=W2i6nV0Kk/B8WZvBFvxYnkRRWQ1z/MW+UMzNGkuz7WA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Pn4jFCDDiK39yCD4YCzGJB0E1rPfTMLnKmM2SKfT6GpJFfsBZNwozNqRKWByWo27T2jIwth8t3NWJncszDWRwPRWDMus5vzaYnMXMJW85bBK/4OLM4waiylncHDM5b2fGIE2zdR7VCMUxJawFZED+jD+G14krAklkvXkyRDRclA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R0JIdjax; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="R0JIdjax" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E93EDC4CEEA; Mon, 23 Jun 2025 22:24:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750717489; bh=W2i6nV0Kk/B8WZvBFvxYnkRRWQ1z/MW+UMzNGkuz7WA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R0JIdjax7Pex/CeLkRdwG7eo5hEqSTL40KWFLieKjcAA196Qw0IbHmgy8VW78AldT aqEoC+lZPMEes5X5VBt+i902eSjH7FIKSr+fpfNeusagAETzIERGo1X/gi7/uhWWUg mX4zpF9Jnp1fhhvxrPmw9qKf2Fn+HSgaGCmIFxxI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Akhil R , Krzysztof Kozlowski , Andi Shyti Subject: [PATCH 6.12 396/414] dt-bindings: i2c: nvidia,tegra20-i2c: Specify the required properties Date: Mon, 23 Jun 2025 15:08:53 +0200 Message-ID: <20250623130651.838612722@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130642.015559452@linuxfoundation.org> References: <20250623130642.015559452@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Akhil R commit 903cc7096db22f889d48e2cee8840709ce04fdac upstream. Specify the properties which are essential and which are not for the Tegra I2C driver to function correctly. This was not added correctly when the TXT binding was converted to yaml. All the existing DT nodes have these properties already and hence this does not break the ABI. dmas and dma-names which were specified as a must in the TXT binding is now made optional since the driver can work in PIO mode if dmas are missing. Fixes: f10a9b722f80 ("dt-bindings: i2c: tegra: Convert to json-schema”) Signed-off-by: Akhil R Cc: # v5.17+ Reviewed-by: Krzysztof Kozlowski Signed-off-by: Andi Shyti Link: https://lore.kernel.org/r/20250603153022.39434-1-akhilrajeev@nvidia.com Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml | 24 +++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) --- a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml @@ -97,7 +97,10 @@ properties: resets: items: - - description: module reset + - description: + Module reset. This property is optional for controllers in Tegra194, + Tegra234 etc where an internal software reset is available as an + alternative. reset-names: items: @@ -116,6 +119,13 @@ properties: - const: rx - const: tx +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + allOf: - $ref: /schemas/i2c/i2c-controller.yaml - if: @@ -169,6 +179,18 @@ allOf: properties: power-domains: false + - if: + not: + properties: + compatible: + contains: + enum: + - nvidia,tegra194-i2c + then: + required: + - resets + - reset-names + unevaluatedProperties: false examples: