From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79AFDC4332F for ; Tue, 20 Dec 2022 10:23:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9C94F8540C; Tue, 20 Dec 2022 11:22:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="iqfj8NoJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 28C3485338; Tue, 20 Dec 2022 11:22:35 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B14EA853B9 for ; Tue, 20 Dec 2022 11:22:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 662C7612F4; Tue, 20 Dec 2022 10:22:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34E4BC433F0; Tue, 20 Dec 2022 10:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671531744; bh=ax813Wn5Xgzg6dW+FWYo2UCf1Ye3WbnoAP/7p9fSp6k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iqfj8NoJifZpqtn5uoAGl7a3Ch6ETU6d9bl4mfAowdv4aywwzvRc7HZqyg/MRtaeM Zb8KosXd5RhjBZ8qRFxn2aDEKMsa3tHRFOFbIV0B4rTjP692tdFT1oSbH43bF0SsJF S4QrxvuDKxj6m7lw2keaoVmhX4M4XF+/4c21f2rv3eQhgp8yOieYWKCSKS5wzJ24ZC 2bfhZuFCbC1r5gUeTiMWVoMK8ORSwdgFHsMrxouXMvTkTQh7JwOIv3WmwzrEvNvCJr PVAOyEpIxwu9o6aE7Ipx+0okls5/klrD6Xc31bsPPcE3PEvoNWkVCYePmGqNJr5xYv yMRbgAcjTFbgw== From: Roger Quadros To: dario.binacchi@amarulasolutions.com, michael@amarulasolutions.com, m.niestroj@grinn-global.com Cc: trini@konsulko.com, u-boot@lists.denx.de, Roger Quadros Subject: [u-boot][PATCH v2 7/8] dt-bindings: mtd: Add ti, elm DT binding documentation Date: Tue, 20 Dec 2022 12:22:02 +0200 Message-Id: <20221220102203.52398-8-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221220102203.52398-1-rogerq@kernel.org> References: <20221220102203.52398-1-rogerq@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Adds DT binding documentation for the TI Error Location Module. This is picked up from the Linux Kernel. Signed-off-by: Roger Quadros --- doc/device-tree-bindings/mtd/ti,elm.yaml | 72 ++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 doc/device-tree-bindings/mtd/ti,elm.yaml diff --git a/doc/device-tree-bindings/mtd/ti,elm.yaml b/doc/device-tree-bindings/mtd/ti,elm.yaml new file mode 100644 index 00000000000..87128c00459 --- /dev/null +++ b/doc/device-tree-bindings/mtd/ti,elm.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/ti,elm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments Error Location Module (ELM). + +maintainers: + - Roger Quadros + +description: + ELM module is used together with GPMC and NAND Flash to detect + errors and the location of the error based on BCH algorithms + so they can be corrected if possible. + +properties: + compatible: + enum: + - ti,am3352-elm + - ti,am64-elm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: Functional clock. + + clock-names: + items: + - const: fck + + power-domains: + maxItems: 1 + + ti,hwmods: + description: + Name of the HWMOD associated with ELM. This is for legacy + platforms only. + $ref: /schemas/types.yaml#/definitions/string + deprecated: true + +required: + - compatible + - reg + - interrupts + +allOf: + - if: + properties: + compatible: + contains: + const: ti,am64-elm + then: + required: + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + elm: ecc@0 { + compatible = "ti,am3352-elm"; + reg = <0x0 0x2000>; + interrupts = <4>; + }; -- 2.34.1