From patchwork Thu Jun 1 05:45:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 101737 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp75402vqr; Wed, 31 May 2023 23:00:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4QYMlqxK4kJOFPyJI7OvYKJHW2MGtH0HJ1+wvoJnAt3A2QEpWofI6hFi30w7Px9wfm7F4C X-Received: by 2002:a05:620a:4455:b0:75b:23a0:e7e0 with SMTP id w21-20020a05620a445500b0075b23a0e7e0mr10373204qkp.65.1685599202660; Wed, 31 May 2023 23:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685599202; cv=none; d=google.com; s=arc-20160816; b=MjklNq+R2HSxf1zE2bFB2ql3WhtCxgTDlLB9X0+GXOx+IMp2UIJ25rUH8Wx3jJF9Su R8xqKD/tTo9BK6Ve40GtxJ3CcKUqRbD2GD5+TPQFfbwW/QQ0E+ttSFDn5KlmSRhcMHtq JGAP23sxG2NFyZ+X12oMjzedXmWV1L1JtW6s+XNsCfIoNcDwNdse4YXx9QC+cAwVWWNr TfZzmfWlwysGZ0LnptlqLD/nBxuWsgCbZbYv0FJsVIn/l87Q7d8u1GXGoPIOu8G1/UKR hzhiV07HlB9H9RAGLSm188hzi24OqcBvJS9D7MlqC6YZST7DHnFnHG502Q47FMxTgHET ASoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GdyoiL3hVIM28KbzlgDxlhFIddktjtk7MSpa7eYVBM0=; b=vqi+XqaPrDfwx9tbJSJ42Q/J9cJbAMTwrs92HZfykpR8cud2iV750nujz3KTtf1M1W /15v0oa/HhQTCfFg9fH6aTEH4ZNPDyWiTCMACmA/qm9RBZNNrKyp6Oxw6LGylFey2/Le ljLHwnEFNSUfwJ8KGBkGKDUap3e518NdDNw86Rb+voj7ZUF6WdI1Wild44Amx2gucMy7 uCXnd3EdV8CyWs5RMTUQeQTyaM4J9kZdA/hB6GsD9fNXxy8ll8imm70wagATrxgmIoEo Da+rWr/ySpB7EiTPukoeZ0MxH4y4ofn51udUtQkgBp4wqTZj3XJIkGcJ3GBoFadSfd5c nPCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=iuhtd5NK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 27-20020a17090a199b00b002476be78cd2si550593pji.121.2023.05.31.22.59.48; Wed, 31 May 2023 23:00:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=iuhtd5NK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231396AbjFAFqV (ORCPT + 99 others); Thu, 1 Jun 2023 01:46:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231466AbjFAFqK (ORCPT ); Thu, 1 Jun 2023 01:46:10 -0400 Received: from forward100a.mail.yandex.net (forward100a.mail.yandex.net [178.154.239.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C200139; Wed, 31 May 2023 22:46:03 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net [IPv6:2a02:6b8:c1f:5e51:0:640:23ee:0]) by forward100a.mail.yandex.net (Yandex) with ESMTP id 1C91A46CE9; Thu, 1 Jun 2023 08:46:02 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id pjGDMhnDduQ0-VwQCQDbN; Thu, 01 Jun 2023 08:46:01 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1685598361; bh=GdyoiL3hVIM28KbzlgDxlhFIddktjtk7MSpa7eYVBM0=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=iuhtd5NKMWFW2QpY6pNwwZ8wYZgt30gFFJRuQ8WGcppZFyvFJx02OyjiWUpJtE5cY uaU5P/lyrYML/xNoIDWqUT6c3XwUiEYR3sUuF3BsppgBDmb/up3vrWXsRt+c3hwfcM xn8NLtFoIUslKlZmt7+uNon0zcczu0rW3MyECWnU= Authentication-Results: mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin To: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Nikita Shubin Cc: Michael Peters , Kris Bahnsen , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 23/43] dt-bindings: mtd: Add ts7250 nand-controller Date: Thu, 1 Jun 2023 08:45:28 +0300 Message-Id: <20230601054549.10843-5-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767478869621843738?= X-GMAIL-MSGID: =?utf-8?q?1767478869621843738?= Add YAML bindings for ts7250 NAND Controller. Signed-off-by: Nikita Shubin --- Notes: v0 -> v1: make it a nand contoller .../bindings/mtd/technologic,nand.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/technologic,nand.yaml diff --git a/Documentation/devicetree/bindings/mtd/technologic,nand.yaml b/Documentation/devicetree/bindings/mtd/technologic,nand.yaml new file mode 100644 index 000000000000..26d1d9c3331d --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/technologic,nand.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/technologic,nand.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Technologic Systems NAND controller + +maintainers: + - Nikita Shubin + +allOf: + - $ref: nand-controller.yaml + +properties: + compatible: + oneOf: + - const: technologic,ts7200-nand + - items: + - enum: + - technologic,ts7300-nand + - technologic,ts7260-nand + - technologic,ts7250-nand + - const: technologic,ts7200-nand + + reg: + maxItems: 1 + + '#address-cells': true + '#size-cells': true + +required: + - compatible + - reg + +unevaluatedProperties: true + +examples: + - | + nand-controller@60000000 { + compatible = "technologic,ts7200-nand"; + reg = <0x60000000 0x8000000>; + #address-cells = <1>; + #size-cells = <0>; + }; + +...