From patchwork Fri Feb 1 10:03:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 157189 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp201322jaa; Fri, 1 Feb 2019 02:03:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN5CXaUyZdsiwFn0uPVG9t5b9qXCuxM/2mB18VnOFbcNEP7zMHxmtU4pDC9Sm5Cxsei7Pa2Q X-Received: by 2002:a17:902:9a02:: with SMTP id v2mr39531715plp.180.1549015430121; Fri, 01 Feb 2019 02:03:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549015430; cv=none; d=google.com; s=arc-20160816; b=rCO0PahX06dZvRx0hGMAWdQLQON27PoTW87XUyuTVupjsDy0aBU7ai0bU66ptsd8kB Sqf0rZFbyEetizdrSkzdxO+fUdlhH1yobLjn7Z4yOR7ESHhjnvdmjLunN88z20E3meXE h84flr2sQ85xOtVOIosX+3bcAPmgpK36JUGWRmw9i27y2BMAOebozWsKWw+oudcdNm3N jEC2fdycvKvuKa14q9hXwyTlsTG76SEpoTtD2I8OGdCy+Fk/wy5RFU9CBoovVLH/fop5 gutHsXiHt5c5IW7seB8by/TApN0Sj83t8oIJmcV4J9lQqPfx1v17EKy//CHKgmXmDHjT GW7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:dkim-signature; bh=QoecdzOCKkCtn7gKnawi0OhuVNT5PtbdYNEWAxq827U=; b=DXGggySS/n886c19t5DpJol88ptGdasgAK5f568mwrGAdf74bBdIh475Pw0o9q8m6z EWb3AC7Ko2RnVUhVXacnHEHnbH8po3dDaggbPkkbqKYOiseatoFW5QlFOXemr0MYZSTw XAYHObYtUsBF7ilSjinq7WeftvZ/uQy+A440Ikyx+zG3w/CARaPJZfRZRS+GiVDR8dst 1P67Fbwp6x3pGqfDFJs8H6kf6xU5BBqdb2lb3yscJGoNGagM+jXqtDEkKL4TJPEex3th XnrEUxpzwutC3jWtCntrGZbvLstKS+z2RY7fZA4uwMLVetx1WdnuTyY7iGjoe6F1aDT5 UIlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=EKhuRo4u; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ld2i02Jx; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id v83si7181726pfk.264.2019.02.01.02.03.50 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Feb 2019 02:03:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=EKhuRo4u; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ld2i02Jx; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QoecdzOCKkCtn7gKnawi0OhuVNT5PtbdYNEWAxq827U=; b=EKhuRo4uZwLUBN U+ybJ3j0sSwXCRZY2bcLey+z2TwhBYoA7ZkFCcAe6lBRyHNex89130awy6rb1cK3N3FIGi1LTR3Tc YtJFmzEZZzp23UYvwZDkZwwXnJ1/AmDtWTmnbYyyUkceCgdhaynalfMSLaVxcEveIHv6E/YGoSOPf aQ9WvmDjAaxjLevw0oHcyp5xjVCGygtOr4XM7xfgmwwlIMe3YZXNxxiVj50sj9sgCQMJ66TxCiBb8 A/S0BVWIbT14JtkMwdHPHr/xBu42VnofstY4M1M9tw8Pwf3o9Oq2EZhKDi3SIEMpEH/pwFw+RbFKS yHWz5UDVwF/w+unRSJqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpVfj-0007WM-8u; Fri, 01 Feb 2019 10:03:43 +0000 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpVff-0007Vv-IQ for linux-mtd@lists.infradead.org; Fri, 01 Feb 2019 10:03:41 +0000 Received: by mail-lj1-x244.google.com with SMTP id k15-v6so5276142ljc.8 for ; Fri, 01 Feb 2019 02:03:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Pdryh2qZln/mdEKeX6uKOdno711aZXsOFM/PptAooIE=; b=Ld2i02JxerTHK8gv+TC29wu/uzRXQu0lKV4b3d93GT4ZCFuSctXynbqWAucZ1CaVE/ mzgoOjNKBwJpJDy73eO5i1ePR+Vtv02u2d8DNQkXBt+SCCmdhqkDuAPvTctDa0Fd8ucO hoK5q2ro4IoBnNNmtXPGZOPhClFgdaRrf+HXM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Pdryh2qZln/mdEKeX6uKOdno711aZXsOFM/PptAooIE=; b=NXKOFgxVAF3Yv/BhFd325E0AGZaQifp8gxXH75S+uv7aobp+/HGhpHUehHcufqGL5v AcOWr0Tdrm+jAMNFH6ZBCIIBkUedgDomjcAwnKSl449MNj/Qi4ATCksGGhLNpxhVxrkt Bu89TcWHLij6LYRpisy8yHHqcWd/MIBf83j0o2luP2QQ/b1MfTIBm5qumb5OrwfhqbYb z7OhlJbTKdgKoIE/gRd60KCGDv38M7rxPwWrGHDoTHZnUYQbl3/8Ehgr4u8XcYQkFq8w r2+WsBPJiWU2gu2Yh/qUyDwvZhFpyuFYun1C0vxhxn4TPzTFLeT2kQsWhzbj/JzzMcxY gYUw== X-Gm-Message-State: AJcUukfcIUQnHxfFG5loLeYW1ks/jbfY1mtItul2wyEVk2/qcbZ08YAb Um5Uz+c4/ogRgYmaDmhxsNKOAA== X-Received: by 2002:a2e:5d12:: with SMTP id r18-v6mr30306956ljb.89.1549015416783; Fri, 01 Feb 2019 02:03:36 -0800 (PST) Received: from linux.local (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id r1-v6sm1223897ljb.64.2019.02.01.02.03.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Feb 2019 02:03:35 -0800 (PST) From: Linus Walleij To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , linux-mtd@lists.infradead.org Subject: [PATCH 1/2] mtd: add DT bindings for the Intel IXP4xx Flash Date: Fri, 1 Feb 2019 11:03:30 +0100 Message-Id: <20190201100331.27224-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190201_020339_607714_2A9D4709 X-CRM114-Status: GOOD ( 14.80 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:244 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This adds device tree bindings for the Intel IXP4xx flash controller, a simple physmap which however need a specific big-endian or mixed-endian access pattern to the memory. Signed-off-by: Linus Walleij --- .../bindings/mtd/intel,ixp4xx-flash.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt -- 2.20.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt b/Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt new file mode 100644 index 000000000000..4bdcb92ae381 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt @@ -0,0 +1,22 @@ +Flash device on Intel IXP4xx SoC + +This flash is regular CFI compatible (Intel or AMD extended) flash chips with +specific big-endian or mixed-endian memory access pattern. + +Required properties: +- compatible : must be "intel,ixp4xx-flash", "cfi-flash"; +- reg : memory address for the flash chip +- bank-width : width in bytes of flash interface, should be <2> + +For the rest of the properties, see mtd-physmap.txt. + +The device tree may optionally contain sub-nodes describing partitions of the +address space. See partition.txt for more detail. + +Example: + +flash@50000000 { + compatible = "intel,ixp4xx-flash", "cfi-flash"; + reg = <0x50000000 0x01000000>; + bank-width = <2>; +};