From patchwork Fri May 28 07:23:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 1485040 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=k+u7daL3; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=o6zo5DDx; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Frx686qcvz9sW5 for ; Fri, 28 May 2021 17:25:04 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=VrzoArdNFVoDQqEyQ0Ov/y07EkYe8ybD9GFlRNt9XTw=; b=k+u7daL32Rvg2x 5DlvrEFgOYHxDR5Y+S+TL2YaqV548axAceEqBHAnDLcqgF0r7fVYMJO1sBtLl7lFf04ZKR4eTn+0b SoAd9zyu5M41rruuxzAXXuXGwFXWG0vur8I7lJPOxYAkaZRO1OkmxyGcP1HXQH+0QTcwLNkP0hY2E imUjJL63XDbUD72/qt/QUxqyLIlTR09BxAg40cYAwpJzR1MuALGtxv6qUfdtseF6vJlEFcuKUY8hQ GLoCdfoEhm/iNLH6TpLpahuuPNDKwcc42mzgo7CjOt5lxwySx+oGoQRt1Zb+FnRU9akdr3o4IHNDP 36Lbc50t7ONSYa3Xn0dA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lmWqo-00CxoW-K9; Fri, 28 May 2021 07:24:10 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lmWqh-00CxlE-Ap for linux-mtd@lists.infradead.org; Fri, 28 May 2021 07:24:05 +0000 Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 3E35682CAC; Fri, 28 May 2021 09:24:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1622186640; bh=NfjgOcSAiOExjKOX7ld2ADzJG7qdNwxiZWM1VBqYt9E=; h=From:To:Cc:Subject:Date:From; b=o6zo5DDxNTFdf/fgKJmQMvNkeb32LFTkr7UqaQiF+06lPL0IF4HidUepuIklIFIND mBx54zWoayzCp24D+NKnVDOjh1ZIHQ3PK8ra+8Ofg5gpd5uvgLC/N6tjYqYbYe6Ix3 AHk5Q84ZcYSUkA5RtJ0dIRl0DUMuDVopyuIoE1Uk56LfV0cYhz9DnM8NipRwkl3X71 4WGQ0RLFTiLzVI/VMa4kzNP4nVemikoLJ2aSBod5UenzNjmUfJUPbOcYUUK1XU+10n MK5s1A+VDZHMI75klVayk8lACIMhse4ozEc+75McCn9dnvCdf1shUAv8VexDqUMkSD aIsHlPk1q/qNw== Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 8CB1F182B99; Fri, 28 May 2021 09:23:53 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id 63FAC1A8BC5; Fri, 28 May 2021 09:23:53 +0200 (CEST) From: Heiko Schocher To: linux-mtd@lists.infradead.org Cc: Heiko Schocher , Miquel Raynal , Richard Weinberger , Rob Herring , Vignesh Raghavendra , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] mtd: devices: add support for microchip 48l640 EERAM Date: Fri, 28 May 2021 09:23:49 +0200 Message-Id: <20210528072351.1639575-1-hs@denx.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210528_002403_709303_B920CAA7 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: add support for microchip 48l640 eeram connected via SPI. Patch 1 introduces devicetree documentation and patch 2 the driver. Heiko Schocher (2): mtd: devices: add devicetree documentation for microchip 48l640 mtd: devices: add support for microchip 48l640 EERAM Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [2a01:238:438b:c500:173d:9f52:ddab:ee01 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org add support for microchip 48l640 eeram connected via SPI. Patch 1 introduces devicetree documentation and patch 2 the driver. Heiko Schocher (2): mtd: devices: add devicetree documentation for microchip 48l640 mtd: devices: add support for microchip 48l640 EERAM .../bindings/mtd/microchip,mchp48l640.yaml | 40 ++ drivers/mtd/devices/Kconfig | 6 + drivers/mtd/devices/Makefile | 1 + drivers/mtd/devices/mchp48l640.c | 379 ++++++++++++++++++ 4 files changed, 426 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml create mode 100644 drivers/mtd/devices/mchp48l640.c