From patchwork Mon Jul 20 16:30:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dinguyen@opensource.altera.com X-Patchwork-Id: 6829261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5B6629F1D4 for ; Mon, 20 Jul 2015 16:39:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 71A55205E3 for ; Mon, 20 Jul 2015 16:39:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 84B922038D for ; Mon, 20 Jul 2015 16:39:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZHE4G-000145-I4; Mon, 20 Jul 2015 16:37:28 +0000 Received: from mail-bl2on0098.outbound.protection.outlook.com ([65.55.169.98] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZHE4C-0000yp-TJ for linux-arm-kernel@lists.infradead.org; Mon, 20 Jul 2015 16:37:25 +0000 Received: from BY2PR03CA003.namprd03.prod.outlook.com (10.255.93.20) by BLUPR03MB117.namprd03.prod.outlook.com (10.255.212.15) with Microsoft SMTP Server (TLS) id 15.1.213.14; Mon, 20 Jul 2015 16:37:01 +0000 Received: from BN1BFFO11FD016.protection.gbl (10.255.93.4) by BY2PR03CA003.outlook.office365.com (10.255.93.20) with Microsoft SMTP Server (TLS) id 15.1.219.17 via Frontend Transport; Mon, 20 Jul 2015 16:37:02 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; lists.infradead.org; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.227 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.227; helo=sj-itexedge03.altera.priv.altera.com; Received: from sj-itexedge03.altera.priv.altera.com (66.35.236.227) by BN1BFFO11FD016.mail.protection.outlook.com (10.58.144.79) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Mon, 20 Jul 2015 16:37:01 +0000 Received: from na01-bn1-obe.outbound.protection.outlook.com (207.46.163.140) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 20 Jul 2015 09:34:57 -0700 Received: from BY1PR03MB1372.namprd03.prod.outlook.com (10.162.109.30) by BY1PR03MB1403.namprd03.prod.outlook.com (10.162.127.145) with Microsoft SMTP Server (TLS) id 15.1.219.17; Mon, 20 Jul 2015 16:36:57 +0000 Authentication-Results: arm.linux.org.uk; dkim=none (message not signed) header.d=none; Received: from linux-builds1.altera.com (64.129.157.38) by BY1PR03MB1372.namprd03.prod.outlook.com (10.162.109.30) with Microsoft SMTP Server (TLS) id 15.1.213.14; Mon, 20 Jul 2015 16:36:56 +0000 From: To: Subject: [PATCH] ARM: socfpga: add reset for the Arria 10 platform Date: Mon, 20 Jul 2015 11:30:53 -0500 Message-ID: <1437409853-29070-1-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.4.5 MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR0701CA0016.namprd07.prod.outlook.com (25.162.96.26) To BY1PR03MB1372.namprd03.prod.outlook.com (25.162.109.30) X-Microsoft-Exchange-Diagnostics-untrusted: 1; BY1PR03MB1372; 2:yju3eVx1a/ov+G7lTZu04pyTC3z2EOSnNmCz3o0lmuecqH1d/Y0zUsSPubaCKF3m; 3:mAgbe+a89pn1xAdEjj1Fm3f3r09nmv7s5HA0dliADahZdn+PgMjsSkpjIEbRv1/SuMewhuFYFOuxupFxuvFqAQ/8MXF4MNNAJdyxicUOWwkXCFnktEuZZL/SQxvy3RlT3/KXDnBh5k9iToZXvEmn2Q==; 25:LukVsmD4MApDtTvgETQ5RrF2GOcBkvFpQ9UfzuH1A/hLLHkQu76ug/Af2NllHroDtktSODnfdx/+2cv3pJ39RgYhBgQgKYPEUK3SkUCUq6wRyFqxdsgtUFCfOrPYzaP/ANC+sh0nUaGIlzdVeXoqtGDY3jGvqCSR0Lql5Z2zfXi8qkPbHaSqQ4ULI0l2n+0wwkeZ1PTNOGE6YzaJVmIq+V5HeZysSmTwtIw5G6xVS5XrNVDrrAH2ssyNeYJABcRaOWyB5SxwGVBtFZDcLt2d0g==; 20:gnza1PeCos+RZqbAwGBBaHM2TgRHpMcTlXU9mU0y7x9NOn4y4rEYEv3J9KwcXfg+pN2eU6y8KJe3g96f4EIA4Kc0WJWhqZgLcj2e3ksRVBjjbuSF8Grzu98VWnH7QxSMKU7YKjYPHuPjvQq6OdA9oV641d1SRsl9noo3a1c8exM= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1372; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1403; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB117; BY1PR03MB1372: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BY1PR03MB1372; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1372; BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BLUPR03MB117; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB117; X-Microsoft-Exchange-Diagnostics-untrusted: 1; BY1PR03MB1372; 4:K3xBPsoVGcUXM35I3ZJc8EzHSOrgPuq/vBy9cQH5UzZr1CpWg0meAN4EQzXYl7rtY2iDJDtPNEFSLovxEqZDyRItah7rlG4Q4DtXxZ9fDqB7A7WBg9PCkBeEa2WEUcbDblFm9etqFRzSg2xdJ/4JAJo17iFXjBLNRI+V2JJ/OVmByKDQAUKcp8qQxbKEKAmIeuH2MQnkxxHLL4qwk9wnwyyBGSGUj0z3ox8lZxM1eOAS7z2jT9rfZ4cKkR3baukgWZztfSB+ZgQe1ZySP3rkP607N3yc8M/NOkIpZRzyMdY= X-Forefront-PRVS: 0643BDA83C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(6009001)(50986999)(33646002)(19580395003)(122386002)(87976001)(42186005)(77156002)(53416004)(46102003)(62966003)(77096005)(40100003)(5003940100001)(189998001)(5001920100001)(229853001)(66066001)(2351001)(47776003)(110136002)(5001960100002)(107886002)(86362001)(50466002)(50226001)(86152002)(48376002)(19580405001)(92566002)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR03MB1372; H:linux-builds1.altera.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: 1; BY1PR03MB1372; 23:ZYUxK6wbpHCEpqjSKz7iz0B3p5b4VjmfsvWySdXU+DEdzIBRmHdhfBXRHZ9iV/E52TbdLKhrJB+KnuUQULC1vOlniabDuA3FwY/4tsFYvi/Q5FhOr9GRjNR2Ub8bebXYrx6prGqABqSnM1rYv2tBA4BNiyWhpZigV0cGDLbz6YdbO4Uh91PrQb8nsKY85uuUWZWMuwx4+6YnU3jtwa7a266me6P7FsLDR7BNz+8/X28+lkj2G999sqYOYtorb+6BpZfyY2GqygOv7unCmtiCqW3u+/WUrgMtMb3L/Fp9WKXuh7OJkcie9boRBLaWN/i3YtPdmTOcM0UYU0r+AzG9vcNarB//mGREZJVtn5EsMoc1qGUlwDOhKSsinStSWncLPD4GMN2avMW/MBlouSFXxbLeQsyK5Eh7/wwVXFS1Nzxm7kpTANxnLp4PwcivWATyagBtTm6p36/3I6zGjhM0jqvq7GgPl1LwRIr39Blaz2cQ0RpZjV9qrjgnaJCc3yUSP+r37f1dqaAwKsXuC2mi3ov4bMV6BBfyMvNVp63aUtMA6Y066tXRfk4/xsoqd+bIoaK/XOVc7YzxtDaXKTHE1hHyAz6TCS079ghjUQrMuFHFG3knZyA8BNa7ZewlB3gbVsTYP1gz+MzyANdVTJiR3WFL9svu7h9WVe3KSqPlDwXWkauoSLEc0wd1HzSjAUOPu7+EwUlqJNUUcctaCKfq8j2hqDdp0eBPcLh2K5KaN4F02BvlPMHelDemlh3mZsOIBPciXe/+EPPfQtcDFvzQoVmEpA0vl5Xoo31aGRB6YkGLWhurEAm1WJ74d/UMF6aKkNdoGHu+HmLdecrm5m3BdNns3SjI9SRxEzy9ZHA2SFyhd35/yOd74bim9PzdqjTb X-Microsoft-Exchange-Diagnostics-untrusted: 1; BY1PR03MB1372; 5:ZsyOdRZjbD626RBOnFuP2GHdvT933u9SRchcDjtUeSRDwVJ5d7IKVcsv3wuoxFIEK7NOFU1PihFgu8HhuYwW3AEcfSMvhxBinL49mcVBsOUfdxH/rGk9uqMwbtlRAUOvfuNAok1nhibosHbg5e+EhQ==; 24:ibj3e01bFyx5gskZGUJ1MybOXM5Pt96Ix5ZQYCjjO8bVQIa+/mwwd4xDocfUZ1nWPD+4zoxCd1B9WpoUNC36qSdMgWQmDxA/6KhwewcD4Hs=; 20:7b1RuYauOBEiiGvLaUqZv/N5Y4LvpHVGm7lRKmRKhrvbLj+R1qtM0r0lzORncrWB8m3zLDg4juTQ2KSvDnGd9UMdYrrFA+flPiYhSlvlHROzUfxJm3+TClYVooG32vr3snYYDBH2nrJ3tEZBGSSNVdCRSlN+kkhWGcOAxIYaeu8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1372 X-Microsoft-Exchange-Diagnostics-untrusted: 1; BY1PR03MB1403; 2:++PJF1xBWyycAXvvr4V4y9YSeHA5RLoV/n8dSUFwJ8RSXockBEDPoEUliq2ei85+; 3:lckinQ3jNACQIrV7QFWrGVrsYnYrY054gS/xjjx9wekTgz99p5q407fI0/J+IDScFmOBDcE9pZJksjyY9cDx3t5lKdoKXQla4++quDpXt5Z1xRae2B+JGjojjPoeVUOudqZ1RhvltrTPDY2xOgCwtQ==; 25:sZSInwmKNs1wY1tAREpuVoQ/ExFTQrdnru6s/IL2yLToEkv7Do4Sh5Ntnl2PnaoKWqfUT2dpRnjSwmKWTYq3FJYIrYyuz+MS0fmOilcdxIcjuO+ruzZbP5zkivx+HfcbmO4VFVwcBfojaMTj15EFWfrOiDYnFlOwh5WYlX35l5Kz+6YZ0dC2HAZa7ncC4sybShEzvXIRwJex+uAKfqHBKwyIF1jzGeT90PsZEn8ENILuwKK5WvM2tOTbE/LamYVxaAepHhgPohB8WPAWrbMHlA==; 23:JVbPD7dcTEj1cjYIyyI3xgVjACa+55SMgYkiSOeKmsN66fX1DvIBMLtgwBt0fYchJKK06lh2ejykg7jVfclWESFQS+9zELn4PBiouDOaM/WjtewefCTiq+0ybnRSJ8V66DqQOyEQwpwWkFtgLyj2dZQQxsiwcP5raidCLnqwB1yV7+CyXC3tyr8GRMZTWvfw8ZZEcMKjGzpbgCNjD6rFpFwyncDlfr02TFdDMZBWuXuOBUtBOHMyksx9+2sHoPd1 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD016.protection.gbl X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD016; 1:bRR6Kh3H03Iic/Ncp6nfu42vtlOd/5D4vPMinEkCn34ltUmN0hPNTvUhhpvufafgaPZ1fgBaakkk1kAUbzRGKUtAwRttYPxa4rohwh5PhaGuWZpalwE8X/Gvk5CyXik7fEs2msIvj9uVjCvTqeq0LQNELtuIxc4lBi1dDv5mUib/AWc8lI3E7UQTjhDcznfyXmbEHhqSIClEl8vut/yfKfaSKZMOufwJErYv5DZf0zbB1gvhInOfLVhdpL3ss0QrzAhT/SXwNWkQTTDKjlpFTH/+T/kCeQaOYybZsSVHXizWyZE1fkF9TzM9Vz+TJcKczQH822X1YeMEptb5kFMtUCIiQo2SZaqDeMvy7dEk2yktUaKAc+8OmTGBwoQdhsKDUoaSzRBo+ncFZ3BhZ43vLB602yEHN8jBWenqox7/2v4= X-Forefront-Antispam-Report: CIP:66.35.236.227; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(339900001)(199003)(189002)(86362001)(92566002)(110136002)(5003940100001)(46102003)(107886002)(5001960100002)(47776003)(66066001)(77096005)(189998001)(229853001)(2351001)(33646002)(62966003)(50986999)(40100003)(122386002)(77156002)(5001920100001)(50226001)(48376002)(50466002)(6806004)(86152002)(19580395003)(19580405001)(87936001)(85426001)(105606002)(106466001)(53416004)(7099028)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB117; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:Fail; MLV:sfv; A:0; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB117; 2:trNK28tWIiKSSeFVt4w33WNdOBIMlG8ezrLok+IT4/kk531DFoujzxzn+jP8oJKR; 3:AMukRk47AeAB1nbcPSyiNF01Cp7tCCl6D9clESzs9wpbYBX/LzvOb1lc2RJbevlvv7zmx1vUVpwZ2sUcHhs3/ltj0SORmLzTknNkYsq8GQWzkFWSp2fGrNl2tIGYUPrZ5TVArHO+JTrV+v1wNXqqs2rjXB03/2h7yKWUU33ehWH5XFA3DLu2M1lytgi50VQNkwS5ASB1CrqmIAawWTeXZKP1moGhgBdZrY/397rOD/0=; 25:9X29dYgn3iG6s54FZOAzMiWNEWRv5q27qm4hBDDyd7LVZuBU1HIJnHd7vxGJC/W/ULpiOTFldXmZMMIzpGOYLjGhc4Kwbx0EdyoK49GFyOkHJ9zoM/pztxYihW9rlR7ZmOSTKiyfmLSiz/0ZV8o3BZFH2kxQ+qq98GeqfKipZSNh1wrLThMQ1NCprrum+KrfT5WgcszKYaNsnU9tkUSYE/iph6sCpJYAYEvpzYUAoXhnZO4+QulWkUGzo3mfRnca6gr0AOIe3z5B8pBM2beJtQ==; 20:Qu5RBwD8VeXYbjluRfkddo7qWhIELYpTqIy1SS0EcsaDTkPtF6obn7kfOtQRMKVjMk1O8jWXEaXsAyNWRMknz7U6G7KW/dIUPlqKwFbbdfkm0KQDSL2O4VgsDi9+q1dkvUsml9j0Hdy4HfOV+iRn3RuLHxidLiJ1iFty2gU4+vc= BLUPR03MB117: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB117; 4:mrHdx4vpSaLQ49oh/kh/dKCBWhL+G706yQZMpymi0pkSkPWfH4nvTe+WUmeUhs2qp8DyCc0rh4XD3JVPHPwaAvnwkkFkjse5/49Z9RAUatI09dJaUlOC9EzQTKKeyIWRZVSBSQ+zXZoHCj+jky6PC8xBCP1q2WjLrjm+cR7dRb/B3svM/go0gTyY/2CKfngwSnCW7hY7VpfjukSy4ASprWptB7gVh6p7u90IJR5WFLS5zc0vS8MEPjg2r2mjJGHL/N9QOelJvQF5vZG44B83GnfYjezeeQHDHZ/XiChrTjE= X-Forefront-PRVS: 0643BDA83C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB117; 23:r735ou7m6OB4JsE/p5vaYU2mUCt4FaSOlvEMS0fnaD?= =?us-ascii?Q?N6hfQM3xfN3QGzymG21kWG2o/wQ0Va/xFy2fiNZZ5fSzYUmAbebVtVb3KsoU?= =?us-ascii?Q?ijKC7448QzfQ3734hQDHVR9To/UZxPMJ1fOEXQAIShpdXX0LmbZv6jWPn4+S?= =?us-ascii?Q?6q0aLPznE3Wc68AMYIyt9QOJLc1mQ+jQoEvHGEu4se3K6TpCBfvFLF1MFPAT?= =?us-ascii?Q?7ZZMJuI/afT0HeoN/sNSzkhwMdqWgGc4QO9gTp2dFALkq7QZbEd8S4736mDi?= =?us-ascii?Q?3APc3o4J+GMCpShyikb0StQWyVxTpSNgGxL49BGNwxCVylN/6BSONzYpMS+Q?= =?us-ascii?Q?RLoiBiyzWI/IlvNIur1fgSwJGM3/7rwwoKiBPl4qtlLfEg65jR85LS2sJ15K?= =?us-ascii?Q?jCwniSE+RE5jXb8iHFw4iS+KiisTCdgicNkR4Q3beX6ZvExT7J1qooR/t26d?= =?us-ascii?Q?lXuyl+E4/64/MBL7aDDQhrrpSNm6llX8oObk5/Pt9j6Ch2lz6ivKiZEYmXTd?= =?us-ascii?Q?zJjwJ7qxUU+o2ou9kvH9MDrYKKLL7P3kuTu8C/1SV+3BGc0ulwMda0ABQnJq?= =?us-ascii?Q?prldX0SBevWL69UqpefW7/TAZ6Wup59fF1uk7sVqpAuoMZ3AUw9O2KZTgf0x?= =?us-ascii?Q?paIOKiFC3VeVztMVnvOTkiSCyCGKRw24KyNeVyygNv2b39gbBvVG/uO3T504?= =?us-ascii?Q?Ciw7cojWLOPgOq8LbPFWVKx8A2MNNQl5t7Of9I0mi7dE8XI3HlV+lYofPDGq?= =?us-ascii?Q?Z36+RTQhtuez1VpAqsNJEEjV4n8KC/acau3iVAFrwAjIEWaUKDb9qKjAytaF?= =?us-ascii?Q?i7x2J+guW+LsUmOX0mqJw6FcBnN7x/+Fxn01KyBBjmhOY5ZJNgc7Imbkjhal?= =?us-ascii?Q?Y+lfRg0o4EaTOdP4Q0GwkDr7qZ+hx+OTX3XlBVp89N/4AQh7le4SqQKs9KEO?= =?us-ascii?Q?031lcCKBGoOvftu18PlcJPSy4r1noNLaS3sbGksT+yHsDu3Znvp+isC/jRhE?= =?us-ascii?Q?txCmfGZiP2VUurs7Y3p7+6epnb3m0YVRXROPZiTX7ZbQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB117; 5:5TGLxcwdSMI4MQvQcUSN3fW4nTyZsyfn/XyiN4aVO2DmHIU1sxbv8WymnVxRc3SC0YOpz7mlstKyKtqTQsigK4/esM6CO1c30JSyFk8TMACczfVJ0Hkmb76D6S+BBqPBrP9ZGF63DLeshldBR2k/GA==; 24:JtSqStFyTMf1LG8fbYQAMAHnuBPagloI4E/ZX5gcXRyZzyGnn8TwuMkm62DlAwm1YuJLmh7rdHMeQH9FCRfOJJsXO0lrkiZ0z8jwf9ApchA=; 20:uVQjMB+lPp0bTIgXyKzO9TKzQX/HmbMSEk5L25ZZvPuokP+ZNqJBD+0zU5I6d/iiPmXxcuEGRU2lR5gf9CAJOmquVaMSnTq6nLbeZy0Re7dU1pIFnq42BkFur9t+XpEj6zCkApLlR2Y8pUxl3fvrVc4oB0n07X5KDTQ8EUbuodQ= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2015 16:37:01.6315 (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: BLUPR03MB117 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150720_093725_161915_48F82759 X-CRM114-Status: GOOD ( 10.23 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dinh Nguyen , dinh.linux@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.4 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dinh Nguyen Since the Arria10's reset register offset is different from the Cyclone/Arria 5, it's best to add a new DT_MACHINE_START() for the Arria10. Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/core.h | 1 + arch/arm/mach-socfpga/socfpga.c | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/arch/arm/mach-socfpga/core.h b/arch/arm/mach-socfpga/core.h index 7259c37..5bc6ea8 100644 --- a/arch/arm/mach-socfpga/core.h +++ b/arch/arm/mach-socfpga/core.h @@ -25,6 +25,7 @@ #define SOCFPGA_RSTMGR_MODPERRST 0x14 #define SOCFPGA_RSTMGR_BRGMODRST 0x1c +#define SOCFPGA_A10_RSTMGR_CTRL 0xC #define SOCFPGA_A10_RSTMGR_MODMPURST 0x20 /* System Manager bits */ diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c index 19643a7..48c82af 100644 --- a/arch/arm/mach-socfpga/socfpga.c +++ b/arch/arm/mach-socfpga/socfpga.c @@ -74,6 +74,19 @@ static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd) writel(temp, rst_manager_base_addr + SOCFPGA_RSTMGR_CTRL); } +static void socfpga_arria10_restart(enum reboot_mode mode, const char *cmd) +{ + u32 temp; + + temp = readl(rst_manager_base_addr + SOCFPGA_A10_RSTMGR_CTRL); + + if (mode == REBOOT_HARD) + temp |= RSTMGR_CTRL_SWCOLDRSTREQ; + else + temp |= RSTMGR_CTRL_SWWARMRSTREQ; + writel(temp, rst_manager_base_addr + SOCFPGA_A10_RSTMGR_CTRL); +} + static const char *altera_dt_match[] = { "altr,socfpga", NULL @@ -86,3 +99,16 @@ DT_MACHINE_START(SOCFPGA, "Altera SOCFPGA") .restart = socfpga_cyclone5_restart, .dt_compat = altera_dt_match, MACHINE_END + +static const char *altera_a10_dt_match[] = { + "altr,socfpga-arria10", + NULL +}; + +DT_MACHINE_START(SOCFPGA_A10, "Altera SOCFPGA Arria10") + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, + .init_irq = socfpga_init_irq, + .restart = socfpga_arria10_restart, + .dt_compat = altera_dt_match, +MACHINE_END