Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752271AbbFBT3I (ORCPT ); Tue, 2 Jun 2015 15:29:08 -0400 Received: from mail-by2on0097.outbound.protection.outlook.com ([207.46.100.97]:37440 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752370AbbFBT2v (ORCPT ); Tue, 2 Jun 2015 15:28:51 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; pengutronix.de; dkim=none (message not signed) header.d=none; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=dinguyen@opensource.altera.com; Message-ID: <556E028E.2080800@opensource.altera.com> Date: Tue, 2 Jun 2015 14:22:54 -0500 From: Dinh Nguyen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Alan Tull , Rob Herring CC: Pavel Machek , Arnd Bergmann , "Steffen Trumtrar" , Pawel Moll , "Mark Rutland" , Ian Campbell , Kumar Gala , , , Russell King , , Delicious Quinoq Subject: Re: [PATCHv6 0/2] socfpga: support suspend to ram* References: <1433270139-7042-1-git-send-email-atull@opensource.altera.com> In-Reply-To: <1433270139-7042-1-git-send-email-atull@opensource.altera.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR07CA0030.namprd07.prod.outlook.com (25.162.170.168) To BLUPR03MB1363.namprd03.prod.outlook.com (25.163.80.29) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1363;2:zhvlljzGcWqY5vZ0Mw/9vgVPmTvZFseH9j8nIS9PuzUlm/ZbskmnfRV3oZBfHvyd;2:FPSVBjTxEp9u2ItTN1H8kJDrTEeQ6dIuXjcA7SE51qucTQJFI05zi/htHK5LjwEDR4NBGB5KxWMJSg6sYdrrI+5ckfJu5ZhAJJ0oLpPw/5p/szT+gSFJv/ckACJ6nwJv/r3rut13rkVOkaid3X/cYw==;6:x9BnvmurxLYVxciaCOL/24hDj6nEJBlbjZ936iJ5aXSbbaFkI8yjFPI4ndX8d7pv7g2HWWdG8VPjAhx+5T5gsreZCvSpt6NR13ZSnMGD5uVRZ8ESIKa56ekk7hgAToJzCFu+5VEbIAQXMbWQb8ozHw==;3:N0Gqn5RKqipAsHsfoBBm4RE2CrRd+1DNu80MvNf7dRBwXBuGDGBzh7JfZG4uemYX6RWXtpttwasRxqmF7aPDt74yzMky7styi9nRv/RptFqo5TMwT2Io38oo0hr+nBfo+MfD98lzQ9k8TKLrtu1OaUEOW8qDFSnvnyfg89KD+J9nzsW2L/o/ZpFDQlMDDDnM7wflJS4cqZjBn1dFP5BcCDt1wE81PXH3KEjZ/J9C/DgSWf20ms1N0c5MnOIoyGViI8aBm/4AivNCZMTPIhjUD/jo3jT7xXKaD8B879DO5t0HJwtYDDSvohCnyHpuKP1e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1363;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB017;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB227; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(520003)(3002001);SRVR:BLUPR03MB1363;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1363;BCL:0;PCL:0;RULEID:(601004)(5005006)(520003)(3002001);SRVR:BL2PR03MB227;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB227; X-Forefront-PRVS: 05954A7C45 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6049001)(6009001)(377454003)(479174004)(51704005)(199003)(189002)(24454002)(42186005)(54356999)(50466002)(5001960100002)(105586002)(5001860100001)(189998001)(106356001)(5001830100001)(77156002)(122386002)(62966003)(23746002)(33656002)(101416001)(2950100001)(87266999)(40100003)(64706001)(97736004)(5001770100001)(76176999)(65816999)(77096005)(68736005)(59896002)(46102003)(86362001)(47776003)(4001350100001)(65956001)(50986999)(66066001)(19580395003)(4001540100001)(81156007)(64126003)(65806001)(87976001)(83506001)(92566002)(80316001)(3076002);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB1363;H:[137.57.160.210];FPR:;SPF:None;PTR:InfoNoRecords;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?Windows-1252?Q?1;BLUPR03MB1363;9:VKyeT0op666DW5Ok+H+3mNE9lN3CdsrXAPCeAM?= =?Windows-1252?Q?5N24uPj3zmuQhZsOSjfy9lIs2mcUNfkVusnY5ikGN/6QATt9EUJ/4a5t?= =?Windows-1252?Q?UlQ7er7SmJFstynZysomBzKVOCv3PRr3UD+hdALzLrwiOFMfO6+mVUW0?= =?Windows-1252?Q?7delTHdJ+iDF6kFUMjxjqvlvxvxXX+BZNFoE2PQMIOunloEVLfF9DGSf?= =?Windows-1252?Q?57WAgTtNSSx/Ph7KbCNj++YiixKeZhxep9MNGrOWtbKCK0kKycl+9k2w?= =?Windows-1252?Q?dpxxUsot5IWh5Nu8+BQF3xdqTCP4NijKvoeIYbMY76RrEjGXqK27gpOW?= =?Windows-1252?Q?2P0LS9zURbsaAqBYnWfSi4B0EBmDXK3S5AgHvGvetc5Kag8oVRPiCIne?= =?Windows-1252?Q?zrUCfyDgCBlyb3UWUpfZmrRpQNcjCtFCZHrJrFWX9oXGmRGJNOK+pg3z?= =?Windows-1252?Q?uM8JvWtmutgVxphUlfgVnFnp6eoH4yDO0QKGjfWhLtlNpes3yd0sSVlt?= =?Windows-1252?Q?9QeBEmkGXTILNXp0Rr93Vch/1IchNRKDH8O36NBgrG2oK8Mx+MIVZG8V?= =?Windows-1252?Q?Cn3akOKW57gEFWBIvnmsWUAKhqKANo9dGCwu6V3fHoESZoJE3C+M6+uA?= =?Windows-1252?Q?+mIbMSiWwPMooGZbeJRTEBtONmFN0xjj0mz7UnuSsNtuwiBWxYeXsn+j?= =?Windows-1252?Q?Yjj3uJp5RfjVtU3jXwp+2S12KO1Xgnfn+yvcX/0uWDUKfXYaEXp8KcJc?= =?Windows-1252?Q?BIx16jmWcq7O/GtIdHiMaww28S5Dlo3O4A6AcUy0K7eDT4IpyVRULrus?= =?Windows-1252?Q?7uC2U04NAUtawvQ1xGfzWlIURClCnNcVE81YloOZCyAT3iHGZRDYLiq6?= =?Windows-1252?Q?UWBJTStseLXj4735F5YLGq9ZCLvOKP6L6qm5wDysuJNuoHgzAShH0tkF?= =?Windows-1252?Q?8hxmTshu80/4z3hvaKKmdv59h1Yy3N7KVcE7TwdyOL9AJ9A9c/kiWnY4?= =?Windows-1252?Q?j8a51t0Z6/6IFGPH3EDlLyjPCtmkdbeagWvJsS6JvqiWgSd84m7u7+w8?= =?Windows-1252?Q?MrF3bHxDEIBhTYk8v2Gdb08Piq/6eseNiX1QoA3b9T6En9Cs2NqmeVXz?= =?Windows-1252?Q?OdVBket/PotQyWh9Boe7aRTILQwzkrBqgLtzlIg/+x+INP4CZdlKhqKz?= =?Windows-1252?Q?QsbgcQ9GOSoouuJwJpj3FXVSlrJjfsCNu7oX8re+JVvCCcSWRh+YcvZ9?= =?Windows-1252?Q?Osu9nZpu6nkyfGSUZjydx9cDlAi/U9CMUrQB5/QVp5w2zSgOzI6RFDlo?= =?Windows-1252?Q?Zv5FcPBdViEzouobLy3ooxeDCbiwnV8nCeAJa/3XLpxseXkFD8L62MSF?= =?Windows-1252?Q?3RCYhmXc73Glzx4xuxhJJznF3MIWWdDble/W4h8BMm5gpl4A0i03c=3D?= X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1363;3:w6DmFje1hDEkbMLyb4g7JE1HDi6armgMbw9SJiE4j6GbO/iBFAZPKrAHY6aR94mZ2tr7DxDf0A+NGqWc4mwPlmDNw2UieJh3vrVkozdQCpuVeALWkn+rnvB0q+Z8CiAKPvblf4J039ervQu0UgX+mg==;10:czt5wNdEKzhs1SqtBcbP8W4WRda7uRabk2x7iFxEA3IrcidAozivqklZrw/zPm+l9dLmAY0sFhUQv0x4LDAZSDi6e7NKSUzWPjeENjSSVro=;6:Ncx3NqD2mmnjCCAVHbh9WFJT4t5gU3OQ2ksp4HbteEBiDjeS7GrXcGgPZTVeGNmWj1wfcshQ0B927sjMzhbWPkLh0XMVhMcLKHBtNPmkM9ip0FIGxh1pz6CMexI+keO39JN1SLOWUeN6lqdA2pZBlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1363 X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB017;2:0gKQ8e06zqfkrKmt/vqI8dj6qQ1iDiLHyDH83dr5idRCHho1TatdsA9AWRxixDeI;2:w37pW5EPECORLUz5fZAQWon7xMEm3hKVllMkc8TKkQcJJ+AWlTIlkD4kJzew16xPvEX0M9irFjewqzvFVDTBi4ciI7kl+TNWS+psuHiHuQA9sdsksRndiLVW8gmz6D/S0VouVuyTeJvrhbY81vYr2g==;9:HmgPybQVhma+a+TkV04mH+UCk3tt2FkGjWwvDHtQ29UdCLaAG4MQ7iEO/Vi/27APLxq3Usg1V+XRyCQhJaLaB0tNVZWH738uESDDVfpUH2BZbbSL2CDrjrAzgJ/3dvbHwYzw760Exv/d2EXZ34qeAw== X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD008.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD008;1:K6kUoaDou3aVxerViGJjHTVzcjj8MZsoSzE1U+O+Fh0ulOrKHibqZZn0Qtsy+I8L5eht/i6Uk5aolzcjp5jw1mKbVF89lLFIFleFi0VmjNPsk9+eUjjx8HX+eKYqkgFd3RTLKWfwGBfu0iELckbmun+UgioE7/jSfeFSTy7z0g5MDhbTHwR6C2H2CV9O3N2nzJjbSzLNH+NJjYcwxfSisR+3cjmyAOPpeSyl/yC+ey9k87N1STGgei6wngu0kflQqa7d3fqCUSdLioQVXL4RAKdipU2lTckzUC0nwxr/BivYrNpVNWuKuQKmCF5j8qrS X-Forefront-Antispam-Report: CIP:66.35.236.227;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(339900001)(189002)(199003)(377454003)(51704005)(24454002)(479174004)(81156007)(59896002)(87266999)(54356999)(76176999)(65816999)(65806001)(50986999)(64706001)(47776003)(80316001)(122386002)(40100003)(62966003)(77156002)(4001350100001)(5001770100001)(6070500001)(97736004)(5001830100001)(4001540100001)(50466002)(92566002)(19580395003)(106466001)(68736005)(6806004)(33656002)(85426001)(2950100001)(66066001)(189998001)(5001960100002)(65956001)(86362001)(5001860100001)(87936001)(77096005)(83506001)(46102003)(105606002)(23746002)(64126003)(90366008)(7099028)(3076002);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2PR03MB227;H:sj-itexedge03.altera.priv.altera.com;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:0;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB227;2:hZcLJMc6raLzXRrtpKITfTIKnK9OoCYmDaYDK4O3TJU7zW8DBnoQyttFTLcdXm2S;2:z9kBWDyT5JMq6P/Bz3VsV+dp3HMKsrWYcd2rOHa+wSQefvTNxemOIqCjrWVvE+NYHq+5baSp47PGTVTJF7UXk5q8OwqvvIoTQwWgISSK5WRK+FnUoA/A4+6wqAnP0VioA8/sZdmzqkGD5MefqNGtg3zKtm0YJggtV4ovkw1scxoZkD8NhCEfozkU7Bmg8qoQHBvyQaY1Ip+AlXNnEaf/WZY1+AWnKHS29oLSexNa64g=;6:uthSeqARP+dMphgwszUbNdTs1rxva164Kmz5yfn91jl95o89uqWVqrv3R2snVqBmawnLaAK8a4U3YK83vzOiA6GY8Qvv90sdgqKYRDCcCFRJ3pE6gK2brA6z4ciyZmi3hzsbHmfTutedSjrewuPSPw==;3:PCxCsHnjD3arXuBJgmBiXj6YFOYVIflhN9q4hDT0ZAzvo/Cwt6/S43zfsZRuJv5cWKJhgaEgB182QqebQIr5HMUcnbs4VvTQEVNsXwwHZPnxdf+u4dhd9cjb3UrVlb0dMbq7ZMxiLv4pQ/c2yvYPeJkX3thNkYB1akteXRnhYDIQCqwluejgbg4+Cu6ATYhYOoc9UQJqL6Hzdp1Vvxy/0iCNj6/BHBpYMryYuS3XmATRZAvW6SXa43mqgMh54++rifMcGSqbHPDBVnPqELugVfoNOd/b5RZI8nnBTVOUlPiSJYlY3sYcaneHIX5LqoVy X-Forefront-PRVS: 05954A7C45 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BL2PR03MB227;9:y8n+Doj/EFIKx5C38BDka4d4qEeRdyzc7Enefgf?= =?Windows-1252?Q?2JEv745IF84n6razm8XkMl/GBr/HMbxGQgLZ6FlM10GBfOh3kVC4RnxD?= =?Windows-1252?Q?7yHHbxfp84OoICC1U1ITJwXIRsh76dWEGaZ9+r/qH8X2tfgN27tNW6oF?= =?Windows-1252?Q?0a27McHrDzSabWeJefEoHt+p5e6pQvWRQUp433axlkY00QIV+TdheG7s?= =?Windows-1252?Q?dqdAjeKkr376PtAqeoq3AB2WOGSJ1UwVBRfiFsIcrSGcJzSzSv9zyxJ3?= =?Windows-1252?Q?Slr1q/zwzBM9g1G6NKUzMg3v821LghmJ5QC7TiSO8WNcT4Da2xePN+fc?= =?Windows-1252?Q?xHQ3ewdZAXezkJhqBECyMvi78vyynmVPnjB/BgpENeEGByHgvmmZCeio?= =?Windows-1252?Q?E7NGXIOa59KeuaVVFp1npHtNEzTzAkmaUQrpsvh9hxwlQAijOi4JdzQy?= =?Windows-1252?Q?qN68xcrpo6kAqrsetmgyDREh2elejTEvV8wsdd53IZm3sxUVnyU67X1P?= =?Windows-1252?Q?s5QYKBSFnq/x8PtFIiIZalGu8zj4xuob0DAJcv3462N5C8XeX0wuuXu4?= =?Windows-1252?Q?1IeQl1PFO5UHandDIHHKPx47wyFuWQZZO/JVi42ZU59mNLcp5r31kj6C?= =?Windows-1252?Q?O1JfQMf65aY+TqfqdzqfLk+ur8OYp8ECBq2tDfbXmJroEI+kdgpMoAYc?= =?Windows-1252?Q?RuhoQCB9ZY95bNGvK6XUkW5T7AxfHCc2Jmnb1ai+7blBx9EDdfDQdRbR?= =?Windows-1252?Q?DLG4gCR8mhPmJFzogP2BxZBtqVxUG/keZaElL8caH+JWzC/NFAdmOsuM?= =?Windows-1252?Q?sukeBl4q+fHdYSewfNgUO2nOkCVZ8lGLUQdyuyrJGcgHARSv35bMoSQ/?= =?Windows-1252?Q?UfFGXn4ruJYiYCmtgjKOqBCezLsPUhMInA+uR+idSQHeN3a5n4JREjRx?= =?Windows-1252?Q?TKvc3NBNN+dwDku57dSSoPXdl1ULuQcH+SZ9Yu6eIKo1XEqWnne95aFt?= =?Windows-1252?Q?2T12mHEh2PRy/iuhQqmb9wmcLwwD2NgGHus8d+Yy6Qr/7HOKaYBFhWaU?= =?Windows-1252?Q?/PATUtNKrUrBCgXwl7i2eH320RS9ul81vJxLcEQj0ccd15Rpil01zLZN?= =?Windows-1252?Q?nVcgy6KgqlUS/+MjpAcfkN0u0V/MHtvws4lv8F/jFgjqqq8VqCP2c0rc?= =?Windows-1252?Q?jhipGKFTUyjLzwdFYTOHgNl2COWsVC6LYAl5q2GkoRDAmMCdof6vEQLC?= =?Windows-1252?Q?WzkwObi8WqcficChJN4rSV6twednai0VIX+4urFjvMORDa2MbZRcGZJv?= =?Windows-1252?Q?qgQa1RF1aNQtW0IsRBDEt+gICrM8nOzysasX8yMtYItFwpVYUyTL5Ukt?= =?Windows-1252?Q?mbaIWXXWuZepqSsloR1U6WVzKBqhVCuhHibpdd3Qw/bLmyWFvYueqWIp?= =?Windows-1252?Q?lw/IaKPlhTVLT9HHgsE0NjFKv1SrDjJhqLXsSxqjiCW7SWLbTcgnUVBf?= =?Windows-1252?Q?Ac6Y=3D?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB227;3:xBAMNMg2Ci0wLQCtvs94KT1JsBiQbpB43o5KD29ZUHDnkXhN3x535bGLwYi5IwCRi+m79jEEIL1woqJt0qv9yXdwfq069/tSxxbNiYDsKs7TJrEMfs4+dQbsE13BdMCI2PDOp951UFCFjLzmHV8KFw==;10:9cFsdlBW0dLKqA/sFrMgyod9RPNOGnxE98py15lOlXf6HyG4YXBJ2j8xfUUsvbYIYUEfp7alMQ6Zn+Y1QEJUfJT2MPL8ONKIwuX0QFkJdvE=;6:QZhy8R/hTeiD1iQLuwHoF3PrRMzGwlrIJt6T0andRuq+6DUFtRTtjOzADbJIYEBpZbKMKaB+SELaevix4WB5ynt+ygFttHG2iJERjC4ClioiOoOZETcNCP3k83bC4XbfVQQJj4aiVjuhNR0ThfXHjQ== X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2015 19:28:42.0188 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.227];Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB227 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1592 Lines: 39 On 06/02/2015 01:35 PM, Alan Tull wrote: > Support suspend to ram on socfpga. > * allocate space in ocram using sram driver. > * Add a function in ocram to place DDR in self-refresh > and suspend. > * Prevent suspend if EDAC is enabled. > * Add a device tree binding document for the Altera > SOCFPGA SDRAM controller that is used to put DDR in > self-refresh mode. > > Alan Tull (2): > ARM: socfpga: support suspend to ram > ARM: socfpga: dts: add sdram controller dt binding doc > > .../arm/altera/socfpga-sdram-controller.txt | 12 ++ > arch/arm/mach-socfpga/Kconfig | 10 +- > arch/arm/mach-socfpga/Makefile | 1 + > arch/arm/mach-socfpga/core.h | 6 +- > arch/arm/mach-socfpga/pm.c | 149 ++++++++++++++++++++ > arch/arm/mach-socfpga/self-refresh.S | 136 ++++++++++++++++++ > arch/arm/mach-socfpga/socfpga.c | 6 +- > drivers/edac/altera_edac.c | 20 +++ > 8 files changed, 337 insertions(+), 3 deletions(-) > create mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-sdram-controller.txt > create mode 100644 arch/arm/mach-socfpga/pm.c > create mode 100644 arch/arm/mach-socfpga/self-refresh.S > Applied. Thanks Alan! Dinh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/