Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2949153pxj; Sun, 6 Jun 2021 20:41:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW/w+haSo5u/HRkMvr/+BZttk7PrlMICL0UgUg4mDYGONVfCdVm4M992Vl7+QSX4tZkO/a X-Received: by 2002:a17:906:6981:: with SMTP id i1mr15847408ejr.289.1623037286348; Sun, 06 Jun 2021 20:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623037286; cv=none; d=google.com; s=arc-20160816; b=vzlUXjXcuQd3LIxDdk2aM2vecao8gzTXpjXACsBEgmsaRMil0pUfuPEmRmjr2EADwh 78Ws0UyQJIUl/ooLkDtXV+JMYBBDzgopvTXmgoR0sEeAQDJ4YJtfKzSnETzQHK+ZBuD7 ZzGc/F1MNz0e1qYUUqcK0s/j9tAnPqaKyafuTtecoeVguxNiBdrN/uWkh/h8EG2Fsgj8 q7XI+pAg7VbjjTYDwsljvPRe020f6MuU7N+swG5dgLCu8LsQXhJqCOilIKkGFcymIqMD QeIeO6rlg5Kxkz0C15lYR7D4ibT2JBSUO72RLBORwyaGrub7zJki+UByDQZuvnZXWcp3 LQsg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=eEUdIRxkR7iHc1ypAa8pccRVV0eD/Zq2w05n+e3iZ+g=; b=pY5/yYAO4xKcsJf634TVHWiJV1syO4ohXRqXsNPlwZs1yodSo6SEzh7RyXm0+z2p7q gq4/oBQraYREnK0/bYj2BNuV7/dSy2niWv6oQG2beFM0MzwG2QZP6phIPoBtVPS/omSI 5RGvv1/lESCSYh5rww9TTNcwWSaC5Ur2vfEvlYT9tbzWkQicRnbBnVkNfAe0PA28zAsz 8xL6KX/RYd5dOIScqEKvWdbssJlVnzv+6CUPew0hOSMppCPlGyAgn2RS+DPqpOVuRneg LsNvCyfjwbJSezJaVpeDF69zvlttQk2cN/reVX1qJ4OSIEafAtvWMwfcZ0glmA+m3LQ7 0D9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=BUje2Kvd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si15105586ejo.288.2021.06.06.20.41.04; Sun, 06 Jun 2021 20:41:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=BUje2Kvd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbhFGDlR (ORCPT + 99 others); Sun, 6 Jun 2021 23:41:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230127AbhFGDlQ (ORCPT ); Sun, 6 Jun 2021 23:41:16 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6BECC061766 for ; Sun, 6 Jun 2021 20:39:25 -0700 (PDT) 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 B57D882D2C for ; Mon, 7 Jun 2021 05:39:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1623037161; bh=eEUdIRxkR7iHc1ypAa8pccRVV0eD/Zq2w05n+e3iZ+g=; h=From:To:Cc:Subject:Date:From; b=BUje2Kvd+iXAiH0EGuz87hmPcR+Dh9HV8eMYn8CTzLvAweRr7zYJg2mvdfN+F4ZRU zseyJ3gIwCjiZ4USyL5mvdf4Yls5jrQDCZfxyQgV9c7F6cdgsyIzIiV0gPiRlQL2vy y1I/0QVvlR2br/M8+aH/tBItvsYheJpIKI3wwOtwgZVkKLcdSkJmXKFQdogLxKecSK zX0eAx2zWohPYrqSqA61HCLQXS0JeSvUzDOduStNh4N/0BUJV6m+xUwuwOyd5IoD26 6rU5g3Hz8U5Kcp5KRea3/Q7JIep9BTEO8mRnj94C+gvMtHcorabjziFaWGrWHreXRH 7hBAzqjH3/EqA== Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id AF5B01826B5; Mon, 7 Jun 2021 05:39:12 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id 850991A8BB0; Mon, 7 Jun 2021 05:39:12 +0200 (CEST) From: Heiko Schocher To: linux-mtd@lists.infradead.org Cc: Heiko Schocher , Fabio Estevam , Miquel Raynal , Richard Weinberger , Rob Herring , Vignesh Raghavendra , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/2] mtd: devices: add support for microchip 48l640 EERAM Date: Mon, 7 Jun 2021 05:39:07 +0200 Message-Id: <20210607033909.1424605-1-hs@denx.de> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add support for microchip 48l640 eeram connected via SPI. Patch 1 introduces devicetree documentation and patch 2 the driver. Any comments to driver? Changes in v4: - work in comments from Rob: - change title to Microchip 48l640 (and similar) serial EERAM bindings - rename spi-eeram to eeram - Add Reviewed-by tag from Rob Changes in v3: Add Fabio to cc drop dev_dbg() in mchp48l640_read() as not really needed to fix warning which kernel test robot found for config: arc-allyesconfig (attached as .config) compiler: arceb-elf-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): add Reported-by: kernel test robot add Fabio to cc Changes in v2: as Rob helped, fix warnings from running command 'make DT_CHECKER_FLAGS=-m dt_binding_check' - fix build warnings - add Fabios Tested-by Heiko Schocher (2): mtd: devices: add devicetree documentation for microchip 48l640 mtd: devices: add support for microchip 48l640 EERAM .../bindings/mtd/microchip,mchp48l640.yaml | 45 +++ drivers/mtd/devices/Kconfig | 6 + drivers/mtd/devices/Makefile | 1 + drivers/mtd/devices/mchp48l640.c | 373 ++++++++++++++++++ 4 files changed, 425 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml create mode 100644 drivers/mtd/devices/mchp48l640.c -- 2.31.1