Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp255889rwd; Wed, 31 May 2023 23:00:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/F62lEcR2xrE/M5zXRqO6sXSMDTNCHY3gRkm26Iit64LAqHtbCwXpHMP2HKn1UzvwWBPr X-Received: by 2002:a05:6808:306:b0:398:4601:4d06 with SMTP id i6-20020a056808030600b0039846014d06mr5677207oie.59.1685599209629; Wed, 31 May 2023 23:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685599209; cv=none; d=google.com; s=arc-20160816; b=qD2SRnHg6eORIFR3ZYzspZpEJUtpmm49tTUqpO02EYthBY/RMPMGcnADwX7VNghFPB fB3l6+IWodt6oIzeHYniIPYAUeeVtn7JEfZOTZ3MuIzc6bcYb37C4TfBsvK53Otz7Ad8 47rpdVspdm7aTZk6EAtZ8TeVAK1y3pzwxNxTMZTpJtfX6UtBG3gfWnOSKUvS5IvXmfGf vuzRGC9GI1QpNLszKjEkGpGXxBHGUjZAvAdAw7Y5oZm7kU2JSypVkE832lYjcLKFhwDp PiSJahYwPfcYKJfdBADARs7Ksfc1BJkMm/r5C+/5+hFD+vhpVM9eyD5pwRrsCUfCBjuL rhOQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bu19-20020a632953000000b0053ef1e7ac70si2135145pgb.729.2023.05.31.22.59.55; Wed, 31 May 2023 23:00:09 -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 S229636AbjFAFqV (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 Content-Transfer-Encoding: 8bit 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 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>; + }; + +... -- 2.37.4