{"id":818870,"url":"http://patchwork.ozlabs.org/api/covers/818870/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/cover/20170927000355.30597-1-d-gerlach@ti.com/","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/projects/19/?format=json","name":"Linux IMX development","link_name":"linux-imx","list_id":"linux-imx-kernel.lists.patchwork.ozlabs.org","list_email":"linux-imx-kernel@lists.patchwork.ozlabs.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170927000355.30597-1-d-gerlach@ti.com>","list_archive_url":null,"date":"2017-09-27T00:03:53","name":"[v4,0/2] memory: Introduce ti-emif-sram driver","submitter":{"id":61863,"url":"http://patchwork.ozlabs.org/api/people/61863/?format=json","name":"Dave Gerlach","email":"d-gerlach@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-imx/cover/20170927000355.30597-1-d-gerlach@ti.com/mbox/","series":[{"id":5251,"url":"http://patchwork.ozlabs.org/api/series/5251/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/list/?series=5251","date":"2017-09-27T00:03:53","name":"memory: Introduce ti-emif-sram driver","version":4,"mbox":"http://patchwork.ozlabs.org/series/5251/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/818870/comments/","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"L+3oHac5\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"B9vmWdhu\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y1ylm3zstz9t2Q\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 10:06:12 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dwzra-000845-OH; Wed, 27 Sep 2017 00:06:06 +0000","from fllnx209.ext.ti.com ([198.47.19.16])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dwzqu-0006Dn-7A for linux-arm-kernel@lists.infradead.org;\n\tWed, 27 Sep 2017 00:05:33 +0000","from dflxv15.itg.ti.com ([128.247.5.124])\n\tby fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8R048Mj023015; \n\tTue, 26 Sep 2017 19:04:08 -0500","from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8R042EX017328;\n\tTue, 26 Sep 2017 19:04:02 -0500","from DFLE107.ent.ti.com (10.64.6.28) by DFLE105.ent.ti.com\n\t(10.64.6.26) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tTue, 26 Sep 2017 19:04:01 -0500","from dflp32.itg.ti.com (10.64.6.15) by DFLE107.ent.ti.com\n\t(10.64.6.28) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Tue, 26 Sep 2017 19:04:01 -0500","from legion.dal.design.ti.com (legion.dal.design.ti.com\n\t[128.247.22.53])\n\tby dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8R0417j016939;\n\tTue, 26 Sep 2017 19:04:01 -0500","from localhost (uda0274052.dhcp.ti.com [128.247.59.203])\n\tby legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id\n\tv8R041306504; Tue, 26 Sep 2017 19:04:01 -0500 (CDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To\n\t:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=2DilRlNNsK5HVIZHWDzbjuwXXgYq3uiooIM8eA6Jfdo=;\n\tb=L+3oHac58IRUww\n\t+hZlbCnmyq2qr9GC7noXVtTAaj6pbKUGYgcnLwz7EzXjurJPrTmtYLAIxMW7KqgFvt8Tfy7S8tAcn\n\t+s6/FiFMOiJaO3IuQraOuzR9bLT0meGJaZ2dfiqXPjGkPm9xeljl9h9wks3b7fU9pYoipkBlZO4+c\n\t3vmBiwug+6Wn6kfN5b812OA6tEpdUZZgLKKQm/ToBXo3TCWCvGXI3fl1OuheyX4HZVyJPvhx2Gyds\n\tRD24uG4/Giw3yfOp+KHMJDblgtHJFz9RCqtqgO6zlVCugvLNH7vdt+DTyLGCJckTo37pGFRZ3KHIH\n\tRVEbbpRm+TRW5RMjQMFQ==;","v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1506470648;\n\tbh=alThuhcQhGstTXZPIzCcOqiGUvZqvukX1I0dPBdWWDU=;\n\th=From:To:CC:Subject:Date;\n\tb=B9vmWdhuwhXup//Otnjnz6Ig5CTqqk6j5tYAGs8dtgOd+jSSZzzV6ft24P5laTtlH\n\tQll+dVWC+CphEcu1YFZLRg7i58AgME5BSsDgrHwl2g+6lq8tRdYHeUo+9v8c0UOhrR\n\tqJ+AJ6j9emQ3j0cPjnMHGI/0dit7PuqeHXvuXKnU="],"From":"Dave Gerlach <d-gerlach@ti.com>","To":"Tony Lindgren <tony@atomide.com>, Santosh Shilimkar <ssantosh@kernel.org>,\n\tRussell King <linux@armlinux.org.uk>","Subject":"[PATCH v4 0/2] memory: Introduce ti-emif-sram driver","Date":"Tue, 26 Sep 2017 19:03:53 -0500","Message-ID":"<20170927000355.30597-1-d-gerlach@ti.com>","X-Mailer":"git-send-email 2.13.4","MIME-Version":"1.0","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170926_170524_872309_914D9ABC ","X-CRM114-Status":"GOOD (  11.12  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [198.47.19.16 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"devicetree@vger.kernel.org, Dave Gerlach <d-gerlach@ti.com>,\n\tKeerthy J <j-keerthy@ti.com>, linux-kernel@vger.kernel.org,\n\tJohan Hovold <johan@kernel.org>, Rob Herring <robh+dt@kernel.org>,\n\tlinux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"},"content":"Hi,\nThis is v4 of the series introduces a ti-emif-sram driver to be used on\nam335x and am437x, based on v4.14-rc1. This version addresses some\ncomments from Russell King and Johan Hovold in v3 found here [1].\n\nThe main change in this version is dropping the additions to the\narch/arm/kernel/asm-offsets.c file and instead generating our own local\n\"emif-asm-offsets.h\" using the same strategy in the drivers/memory Makefile.\nThis keeps our driver changes out of the arch or platform code and is a\ncleaner implementation. Otherwise some small fixups based on comments from\nJohan in v3 were done.\n\nThis code is required for low-power modes to work on AM335x and AM437x and a\nforthcoming PM series for those platforms will depend on this series. After\nboth this and the PM series are reviewed I will send the necessary device tree\nchanges for both, but in the meantime all remaining patches for am335x and\nam437x PM can be found here [2].\n\nRegards,\nDave\n\n[1] https://www.spinics.net/lists/linux-omap/msg138314.html\n[2] https://github.com/dgerlach/linux-pm/tree/upstream/v4.14/amx3-suspend-v4\n\nDave Gerlach (2):\n  Documentation: dt: Update ti,emif bindings\n  memory: ti-emif-sram: introduce relocatable suspend/resume handlers\n\n .../bindings/memory-controllers/ti/emif.txt        |  18 +-\n drivers/memory/.gitignore                          |   1 +\n drivers/memory/Kconfig                             |  10 +\n drivers/memory/Makefile                            |  20 ++\n drivers/memory/emif-asm-offsets.c                  |  22 ++\n drivers/memory/emif.h                              |  17 ++\n drivers/memory/ti-emif-pm.c                        | 339 +++++++++++++++++++++\n drivers/memory/ti-emif-sram-pm.S                   | 334 ++++++++++++++++++++\n include/linux/ti-emif-sram.h                       | 148 +++++++++\n 9 files changed, 908 insertions(+), 1 deletion(-)\n create mode 100644 drivers/memory/.gitignore\n create mode 100644 drivers/memory/emif-asm-offsets.c\n create mode 100644 drivers/memory/ti-emif-pm.c\n create mode 100644 drivers/memory/ti-emif-sram-pm.S\n create mode 100644 include/linux/ti-emif-sram.h"}