Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3134973pxj; Mon, 31 May 2021 21:36:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUSrwBGjAcGlW8XViPgvdRguivcaQKnwoUlcOTduemAU01Ykbx6B+wKayRAPZwyrBNesLs X-Received: by 2002:a92:c9ce:: with SMTP id k14mr435672ilq.99.1622522211051; Mon, 31 May 2021 21:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622522211; cv=none; d=google.com; s=arc-20160816; b=I6dTUW+lRyFl2H/+lg0p8FJqirzpZG/5ssH2fqajZI4mpDc5lUOdy5TIQkBNTpPcjJ dRARJD8ew58JYv8/AkT/c+mKM7NXRiNsx4EuEOCWyXqfnnprCJ1o5irpD09pU9kg+ONr wMZ9JTjm7cJS4U26ynN3BFUDPv6Q05n7uckBI+r5DLMulXnAZMlWE7GMtBXZ0N46HsUz CID3JhSWxLJaOF+RVB+XsOJLPYtHzjUKVgcMCkqZ+DBpERGgNm7DDWRMZZSV95EFw7cl pqWO+ROhf2pfwsaH3LsEb1X4rzwDHTjYXl5V1xQNHfHbwu4GeyfB/l0qE/rIw9X4zR6F JYCA== 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=kfecTcZ55k+F78gu75sr1/SnMlo5gwjDU5bO0qrbXRo=; b=zHeyPHDNQk/Dyf1byFKMUSx0PkizV5ZM9IJphiP8CFaZV9zsvef4VeJ43WsB2Mx/A+ eOSiavtFstTaVfOEwElASo/vrDYZQR8BKdd8Ln687UCsgWphgcgZT6sXjtu8nZAYwdca dANa42rstZeggZESk0LAGOW0wXT7LISz2+AIWLFeBAbl2dQFIrsVeD8wtwLzZ+lvMIPn hOEyoAqa8f5G80Hs968b7qsF14924AhHeNVfTfVhdZGNpCpVK53yl6t2+Hj/vB/uUKGc H2wai/vHEoxEW75qjEcOG4cr9u3Fi/sXxhKDyd4MPaEVuD8d3delSD1AXBGC3IYmlv4O wUMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=eBp52BW0; 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 f11si5551678jaj.69.2021.05.31.21.36.38; Mon, 31 May 2021 21:36:51 -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=eBp52BW0; 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 S231140AbhFAEhj (ORCPT + 99 others); Tue, 1 Jun 2021 00:37:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbhFAEhi (ORCPT ); Tue, 1 Jun 2021 00:37:38 -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 4F356C061574 for ; Mon, 31 May 2021 21:35:58 -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 ADD7682E9A for ; Tue, 1 Jun 2021 06:35:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1622522156; bh=kfecTcZ55k+F78gu75sr1/SnMlo5gwjDU5bO0qrbXRo=; h=From:To:Cc:Subject:Date:From; b=eBp52BW0IjJCrs2xtHlTDZcz9ixA9PqUpmzI5aKHVthM033b+h9BcmWBSBDd1RA9V MgaGlD2MZ4aW0BOXhOqWLoMPDfWVnU8JsRp5skAE97+CHaL9AkrKk8SOiaBxKhGaGd z3GbzMOVrZhE5aO6a0wHL3+CD3YvzpGTPGeHzG3/IRM896iuJcba33fbTKabwhbAyE 6ECG3D2Mi4PRTqpODAL5pzeZz7XugHClJXynGRLb5DFg0UwPKrGv0LSXqd5cyZGXqS uxNNhu0AoRFn9YWCAPeUlhEZNls9AHPSPoaDR8b14pTl0GxRWi2opVjbk1Xy39KiUK QQ3yoJpCdaSeg== Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 3221C184CCD; Tue, 1 Jun 2021 06:35:48 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id 0BF1C1A8BB4; Tue, 1 Jun 2021 06:35:48 +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 v3 0/2] mtd: devices: add support for microchip 48l640 EERAM Date: Tue, 1 Jun 2021 06:35:44 +0200 Message-Id: <20210601043546.1345704-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. 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