Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755833AbbGaVLO (ORCPT ); Fri, 31 Jul 2015 17:11:14 -0400 Received: from mail-by2on0063.outbound.protection.outlook.com ([207.46.100.63]:36281 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754776AbbGaVKk (ORCPT ); Fri, 31 Jul 2015 17:10:40 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; arm.com; dkim=none (message not signed) header.d=none; Authentication-Results: pengutronix.de; dkim=none (message not signed) header.d=none; From: To: CC: , , , , , , , , , Dinh Nguyen Subject: [PATCHv2 2/4] ARM: socfpga: dts: add "altr,modrst-offset" property Date: Fri, 31 Jul 2015 16:03:09 -0500 Message-ID: <1438376591-22100-3-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.4.5 In-Reply-To: <1438376591-22100-1-git-send-email-dinguyen@opensource.altera.com> References: <1438376591-22100-1-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BLUPR05CA0048.namprd05.prod.outlook.com (10.141.20.18) To BY1PR03MB1371.namprd03.prod.outlook.com (25.162.109.29) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1371;2:sLka57oDlAn+wzTg2pc/OBtqUacEedJd178pX5pxvkD0sNCQZtZcSnmwG2hXNdkC5jSguglfNDpPuch5iitpZFajFL5NMJqpSI3OUzWUDh89+L6C0OECCY2vSOamYR0FlBwAIA/58R+NaNYWyztuBIXWYhZo1mK9eMXigxJrPoA=;3:O8O6a794dWunaBukWFnGRpr7CDH9+nCNijhBxjbZeLZXBRTiRXLGep8XEPCjlPqg01B7R4grgGew8O/yvBV5HrOiSdAf76GHAgzjGDuZa57AgGhm7uP1XXy/xJW/5frguHyHzNqocdfY8cSxkA/v8g==;25:Rf6MukI82h+RHQAJBahj6WZnfV6MM2+08VGF/JCrp+X7JUJjVf9CE5HlmZQ9KrRJNkmUk164FgIaYnPOQjom8TSYaPKRiiQ8vIuDLxs3CF2Km7PdE2dP5aEpCbWXJzLfwv7qgB9saBhCaah1jey3IcjSL+w4BdxK72ghc1LZyEbMPk0zFJWWN/XOOvV90haJvXV7wGO8DmcyynB4gwhsmryUqw5wsqzzqx+hLGgX86XOguxFQl7ZbcW2waOXUVHM/vKBdFrG0dNgdUAMne9o4w==;20:612IaQpSsJovOkRlwxzwyto7pjlghn/o+Q/uP/r0banG9PCGCxqNdgNSWykzvH6bJm6HTnLG9Tgn2zPpUOj7FQKP8rsTaFHs/VniUllNz+jwPj6nfsGQAe81L4mJxBHqlgJbcaAPIGg1x6Xkv5UVlFtq3RKldrHUJyZRANlimZg= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1371;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB033; BY1PR03MB1371: 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:BY1PR03MB1371;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1371;BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BLUPR03MB033;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB033; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1371;4:u56y38epl+2y623TVsOHf1GsHZWBrMCKiueS2zNsHqrDUhH3HlCA8dR9qTMx/bZmbPO/CvYKPexoZTl78/oiOzx8rgqFWf4aGTZvWkN4cnxF7Siynz7fH2Uw3lXTRGKdTjRK3LZn63MaKxkg5xRo5pRtAxi1s23zp9hpKNZmi9+lEQbTUuOuTuQUxk9IQeuU+w1+MHuV6TIT93aJdpXx+9J9aNNmyP4gpoeQXQqDEy+cTnXQVSpM3Pn7+Z3vZexTGa2UwTi3PUUbbLLqxCVrBZNSaym4qvozHMSv6a2LNEU= X-Forefront-PRVS: 0654257CF5 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6009001)(86152002)(19580395003)(19580405001)(47776003)(33646002)(5001960100002)(2351001)(50466002)(40100003)(86362001)(77156002)(107886002)(50986999)(575784001)(50226001)(92566002)(229853001)(66066001)(2950100001)(62966003)(122386002)(42186005)(110136002)(46102003)(76176999)(77096005)(48376002)(189998001)(53416004)(142933001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR03MB1371;H:linux-builds1.altera.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1371;23:IRSgGvzbQ0YjMUSaAO7HogIg1Har9ZnBzPWkmYWT5YYF7GQ7jyYx/e9+x4yKbWqEADBF9O/6OJA0qfzPEWOYHmKOXG9yqGxLex+Ot22sEeyuYRu0O29cUBFSQ1dXXAaJyVZRml289MEqDL7wM82Rk0whiEyrXtMfYaoA0M16jRfChExNjzKA2lf7lGPOkxeLtBuia8y2GUZW88od4MVWgS2TpJK8gHg+Q8q/NmUjBgz87AGRAbhBE7Zk3jkeakwgbyrUyka3YVJy2Lqc1Jk3S0boqF55acwUxOaM+345CAR3qy8lvX36zf6/NmJcJYWKU3wgiG0GSaR5cxENV/F2aLGTGTlbGzStNGSWHTjD26OeD2jXCJ7f6P+Mm5ohdNkzE74qNMm4BFai8ctZh3ShfW3M6mjhu8tW1aBl+PpP+Z21spV5k5IgN9G275UlMnPw49n76jg6hXJg8RSFxAhlf6t2Bksnq1qhL340GEFcT7BNb3nvggXLtsdhMVRxQO/JtCujFcqv9140y+hCA7Fq12KeOKzbQie06pMHdwkerMDfHT4hg7uU+QCLV6mzdqfAC+t+wgMmsYSApiYEUaR23Wpu2mSA1W2QWnsszT7TRv82sGfHP/r9QlbS+RgmjmdjWJqeHbtlcHMvTebRK6nJPSlcuZokymlG0mON4LVSsEvIDwOHaoiHYjmtVC0Xzf9R0Cx9o1Xl//ZiP3K8X//oqvAWJYLRx3217J13dMqYpjUJlGY0LvuxyOxsu6C6tlI55n/RNqRbhHwCTBS6vAjnbud8lcN/7zQXu1jrohfJGilSPiU7r6ZcLTFY9VsCfUQTD60su5wLICzWF7NPSfoRCeCOdUa9u41Del9fD657kvmsKzQ1VPKngyn/clsilL7k X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1371;5:yOHqw6nCXNJhLXgg21xaLPlrOGjCPtuvM6IIYbkOWigXr7UVLj3HAXr2x4O9Vip3GrsZ6Wp/9iJHeAXC3HeYeaE76WcTbJzUJVCDhk/JAiyOwmVGnNS5qZweTLhJTYvwwOLFf71wg8L6DzJoR32GQA==;24:eWK1Q6gjxcLMSrNOJ9A98L1aReMIWpjkv7lwifzTLJn7NId0vzqvB+RUVkByiaxY9Yc5fXOvIjF87vR2LEBAfdb1t1ABubZmX8BH4NhVNt8=;20:RAYc+rk5a/kE13qNNwwIAO9BmSX5ZqHgXnCfMa8IqS0tlQVubA63cq1sRogJ54oKG7zCxR4tt6stLxXKTvS3c7cEBbLH2An3dZwBy9HAG1+Z5FHqh5ot8Sk4LLL6xhqRagTW0ef5T2E0nL1peXU/EuOl95XlhGdH76pbHIwHLaM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1371 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD023.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD023;1:RW13iaXp3PKWGXT7981Nt+IqqybIoTBGgT8tgGeL3lRPq+CY7eZ0hCM7PBijxzqJ0VOvtFtd6/9TS9GFf7ZwzJNKURPbv/2WiG4rk01eUO+WosWQSLxGtpHyAtRLAwrpGZLHNKAIDkXjt3/3Zj3WSfAOcsSZdZaJIX5B27lCqsTe30x08L0Vm6aT9xSHwPvLxtovNzoqzhrpdR0z4VQCPAvGNPPJRWysdBaJSFek76Et8i425TbdiRjFRvuXmuTnd9LK9ZEpBx0+jSCSgbCQn5SOzI4PT1yxSDrGWLaUcZxrXAPanWXTLWcLCW1zNQNC X-Forefront-Antispam-Report: CIP:66.35.236.227;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(339900001)(199003)(189002)(5001920100001)(86362001)(189998001)(110136002)(107886002)(105606002)(47776003)(5001960100002)(66066001)(53416004)(86152002)(6806004)(2950100001)(48376002)(92566002)(16796002)(106466001)(33646002)(85426001)(2351001)(575784001)(19580395003)(229853001)(77096005)(62966003)(76176999)(40100003)(46102003)(50986999)(122386002)(77156002)(87936001)(50466002)(19580405001)(50226001)(7099028)(142933001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB033;H:sj-itexedge03.altera.priv.altera.com;FPR:;SPF:Fail;MLV:sfv;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB033;2:IOr+8QnIrep+NjMfIIHejrzPIaZWwoZyUQek5MOfgigT3fl7u5HiuZswGpoBMGh//w3pODRVl50XRjKyscFdUpdNOI4wSAV34IyJjjj1N2wEBq/BfByGTPCNbgCGSPl6OkstOSkXjEFfuIMY/1iXK3gBL0x0nK/nqfOJCXhqqDc=;3:c1e1sND4WsP7dvbGktHVczub35S3WacY5lTl9PUEnnMxNxxkLgsaU8ORc5P9OSc6/PMMq9S74xay491XMmbGOc71aOqerjNf48FtrguIV6CUjpKwwQxhWm3lHay357Vx8Hil4yDROpI5gzLGCGvzNp8kBc6EgJ3P2xSueQTyqoj9qsj5tRGspf1NeETikClWN6GZ/MBgUWN83+kJJL/TmWTDDHNCGXNwVH6HpmD1ItU=;25:z74MEwRzUSB1XSW8a7jgD9MtwKL7UZZZzBGuFR5e27Ff331ZVakxVmRf3IFM/PwZFQH4eFK6i8uNsTwxFHtLSHgybyaiW2T1iqUNHWHoDaTWBVZf21wxViUOJJF+Ysx7JPtm7li5yVGxcD57wH5fQ+jzuP2fk16pFgc87q404N29uEYvtoqdVE51xlfFk3AR9oo+ppnwUgXoymkdIN+i08g/Cx+bOsgsr1RSQQ1I60cTiO0REspH2Agz45y2d0mBigHtL4Zhu3FoUUhZMvIa0g==;20:Ipc1KWe/mREZfJ2P62o2wIPDWWHuCYjtr29JKQHrLhkIqTGHZ3YNURJUvLB8t/rYdHH86/KTd8NbjXxE2YlXcRjp+o8dYFVBM4gAbCyRx1k6v48NgyC6Gnwg3K64dzue4/jZgJgmFSJnUHMBoPIOIT55b0tuPgH+VC/KipJ/sFE= BLUPR03MB033: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB033;4:NQeFBzseKFdS/9KP/CnhgfIkX2/z3AFpE1VfVi2kSBeh0dEm38ToEVCBzuDZD9ob2WtpJXTrgNRbUriLoC0zLQFcTEQSQYiRb08rHCXOkOXM+7WAPaYDmtwQ09+KFJAna+O3+7FKiEKNyhbqA2aqRRchSl2jSSmLkkXUxgQI5cAwJ+8bux8ba8m1IEPXUJNCpxGW19L9c2qlfbCuQ9YOp9JdBOiP7aEnzPTfeQVUo+q1KaIOZ9wM+/YCdgxaMn2RnGF6HaYA5+WoOJ1JU8/OvcfBDFotU/nhXTiDK+gWzNA= X-Forefront-PRVS: 0654257CF5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR03MB033;23:HsuSl5N+DhO8yTjmddZDTN6jdn8TumCIAdPyE0oPHe?= =?us-ascii?Q?5yQJPau1wcfs1JtNI1AOqNzOJrwnhfaVahjtlwES85yaOuJxPxbZGYihQGLn?= =?us-ascii?Q?CO8dJBewo5NaHeqUBJoxwZ35iITh2bc24mQflNnSUGQIVKeiqEgEVcc7nRIV?= =?us-ascii?Q?XRyXfcL2IdjHqi8Nl2WQoVEd1UJna+EsWBHcu4jpjmV+kghqDaia5JxgkFyq?= =?us-ascii?Q?tD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QsYf6DzwICfZ1?= =?us-ascii?Q?/rx1HJFXA=3D?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB033;5:zUxqy5vjRbWXU/NrU+7ExPOHJssBnIzXrNFH9suLvJR99jteQ4SHCjJUS/haEiqWVkYCuDL8HESp9h/rROrVbVyBWs/tF2SRlFZFMZYX174zga3eoPUjXYiE41ONWaCXWCSjb0SrK+aZKI+hX1Nu3g==;24:wKeSTjSWiBgz+ALjVsb/aibVGXHmKAJvCYcvIAkj7cLrWKgK+iw6CFysWpEQD2srtSGM07KOScyEAsamheMatMGnRjGY+u2pK1zsaAjLxl4=;20:4yChqqluyykFOmw2CX/E25CQZMyDNxIaGbknUabfP16e+YokAyuwBEv5FXPyHhFke4B34uty1k4SykKGsyqYkJ2dVhupOcIaCXTeWSeOIudAKnc+iLk60MEmbjFg2V9W/+ZyPhhXlmbCaHug0tpPiKZL3OkWanUz9Iy1Ej64fZg= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2015 21:10:37.9730 (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: BLUPR03MB033 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2231 Lines: 63 From: Dinh Nguyen The "altr,modrst-offset" property represents the offset into the reset manager that is the first register to be used by the driver to bring peripherals out of reset. Signed-off-by: Dinh Nguyen --- Documentation/devicetree/bindings/reset/socfpga-reset.txt | 2 ++ arch/arm/boot/dts/socfpga.dtsi | 1 + arch/arm/boot/dts/socfpga_arria10.dtsi | 1 + 3 files changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/reset/socfpga-reset.txt b/Documentation/devicetree/bindings/reset/socfpga-reset.txt index 32c1c8b..98c9f56 100644 --- a/Documentation/devicetree/bindings/reset/socfpga-reset.txt +++ b/Documentation/devicetree/bindings/reset/socfpga-reset.txt @@ -3,6 +3,7 @@ Altera SOCFPGA Reset Manager Required properties: - compatible : "altr,rst-mgr" - reg : Should contain 1 register ranges(address and length) +- altr,modrst-offset : Should contain the offset of the first modrst register. - #reset-cells: 1 Example: @@ -10,4 +11,5 @@ Example: #reset-cells = <1>; compatible = "altr,rst-mgr"; reg = <0xffd05000 0x1000>; + altr,modrst-offset = <0x10>; }; diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 86e0fb6..0bda96a 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -783,6 +783,7 @@ #reset-cells = <1>; compatible = "altr,rst-mgr"; reg = <0xffd05000 0x1000>; + altr,modrst-offset = <0x10>; }; usbphy0: usbphy@0 { diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi index a252905..22e7d82 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi @@ -593,6 +593,7 @@ #reset-cells = <1>; compatible = "altr,rst-mgr"; reg = <0xffd05000 0x100>; + altr,modrst-offset = <0x20>; }; scu: snoop-control-unit@ffffc000 { -- 2.4.5 -- 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/