Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754444AbbLJXpe (ORCPT ); Thu, 10 Dec 2015 18:45:34 -0500 Received: from mail-bl2on0070.outbound.protection.outlook.com ([65.55.169.70]:29591 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753549AbbLJXpa (ORCPT ); Thu, 10 Dec 2015 18:45:30 -0500 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; lwn.net; dkim=none (message not signed) header.d=none;lwn.net; dmarc=none action=none header.from=opensource.altera.com; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=atull@opensource.altera.com; From: To: Rob Herring CC: Moritz Fischer , Josh Cartwright , , , , Pawel Moll , Mark Rutland , "Ian Campbell" , Kumar Gala , Jonathan Corbet , , , , , , , Alan Tull , Matthew Gerlach Subject: [PATCH v14 4/7] ARM: socfpga: add bindings document for fpga bridge drivers Date: Thu, 10 Dec 2015 17:37:06 -0600 Message-ID: <1449790629-5517-5-git-send-email-atull@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1449790629-5517-1-git-send-email-atull@opensource.altera.com> References: <1449790629-5517-1-git-send-email-atull@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR0501CA0035.namprd05.prod.outlook.com (25.163.126.173) To BLUPR03MB1507.namprd03.prod.outlook.com (25.163.81.25) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1507;2:yBr46n+pVx7bpdbIbIBQmkM+r1gYMPHlcb0qimd08tICRpydAaNmaxnaa/SqkyaJVO3faSPv7xZYP3+Te5ka1SLBSPaBZra7jT+kcgSPvU6bf0T6A9caZGCEv5hu/ZuDsHpfq+9C5gBqIqQC1eFN5g==;3:pETWCB4ExY9eTKtlCtIlPas3S/kGR86aeMPg1qU6UWoMzV9U5sHcEpQeLFFLkX3jHot3WWoU7mcW8otlj7fAdR90REihaQ/3ru1gG0+c3KjQzJ2XgOGNG9zhuzXtccNT;25:K/0Jb603v5jBepr20NT9u8kAZ7npTchJiG451Ll5rwZF0Y2gvZLfs16IgXIPEJXXMJD+ECfdYy+zO+dvR3BFhp+Cse3EWr3Mv5kONQI6dyO5lojHz98zBW371j0NJRF8GNezvXTjGBPbgVotMVhrrmKt+IhtPHoGPzbOytqO3Fg2WfqIHe9ES0EdwYBFYD2By12mOnCc0PUnzQE8V8m68eu4zhrSyKqDptMT9JIYjUliDXTBp5Coc9y3bq1mTGJhZyy9QxOj7Ak5C8g6988B4g==;20:mk4nNq7T85KVmWGYJ0WlN1g9PhU0zSCs1xBOpGUJVgIj0kzjr4/ppkEpNjyQBKe4fScroVfp70CfNca1mWGFcN5wiOszLRvdrhqO8DcMR/SFt6S9zmokN4A6MZz/urHAOkPkPZdNouBe12JkynTYi3I/i0sdBbfqp0SLhUhhwQI= X-Microsoft-Antispam-Untrusted: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1507; X-LD-Processed: fbd72e03-d4a5-4110-adce-614d51f2077a,ExtAddr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(80048183373757)(204874498639787);UriScan:(80048183373757)(204874498639787); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001);SRVR:BLUPR03MB1507;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1507;BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001);SRVR:BY2PR0301MB2071;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB2071; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1507;4:nuaUNcsfevH7Y9SuE4LFtnpWhPzT7+8AEtfz6ptQ8BPAvt2gUtIw1A6EhiNaCHrMxD6t2c1C+KPnRGCGmK2PrNuIOYEaZmanlcPGzoEGHwgwrjnE8HcKAj666QMx9UFGspWhL03ZhKBZxxtTPSXyIfTvR205s7+QSPVfXBWgg43n9DuK62nrLxgG+zHvUDJQWNzy6qXk8l507QeQ+gcXAFz3l+PDhWIuR0b+2PbdqTMG3gT23bLyQKTJU3V1YV+9cpcbcQVVPo1lCcTOCa90sd+E8JdOXxCWHmv6y0R56Dh2KWk9ZkLalj+8qrHPlthWx5NH8sCq7P4MgTCly7Z+Zf4eYBPTGVj6INNh8melKbx39eyhA2scA6db7S5vQKgmS0jERiNVvkC7GgqRj/q5QB4C64cmlFGqvTviCi8fREUXNeb99zxxI1tOoJc26XWGAsV4zfrqNdNbQ4r4QVsGvg== X-Forefront-PRVS: 078693968A X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6009001)(189002)(199003)(229853001)(105586002)(19580405001)(77096005)(19580395003)(3846002)(2950100001)(47776003)(5003940100001)(50466002)(189998001)(86152002)(5001960100002)(48376002)(69596002)(50226001)(107886002)(40100003)(122386002)(87976001)(50986999)(86362001)(92566002)(53416004)(81156007)(42186005)(97736004)(76176999)(106356001)(66066001)(33646002)(101416001)(110136002)(586003)(6116002)(4001430100002)(5008740100001)(5004730100002)(1096002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB1507;H:linuxheads99.altera.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:0;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1;BLUPR03MB1507;23:6g96q6hF+0MBCzOoPE+9DG/VGhVeYq71Gd2Sb7PQj?= =?us-ascii?Q?Zay0wOkkkzTy7YU7AOhN0eenmsEiq9FnPTrcO/aDjd7wv/gFL5whDLUS1eF1?= =?us-ascii?Q?U7Y3Pp5uvTCdPDIIs3vMB0y4oK4JIpT1m+XpcOs+KTNRivb/Q3RUpFHfUxLb?= =?us-ascii?Q?qfoSfstQlPf1fmO4iwsxEFlh5rTPK1aNXH1p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sw3hsg0bN9vNEH8Ox2Evzvh6QUb2K0rql2cK6ruYMrC/KkMnfT?= =?us-ascii?Q?BXNzCWFpW9TvjGXb8A2QnPNO3KzeyXO?= X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1507;5:wPI3+qqlT1IqH28Ho3PCTHxvgibqGac30atZIvltd2a+lQXIAgoaGMsLFoGZdiMQkAsZ2NZqW3HquQ2A4Sa68WK9uSVdGMV+LPV/LxKyeaU5CXaNg+5CblgPOC+JklE7R5Yxerua/Fm4PfS4mSvxGw==;24:XzQhui0zZEAfid9P+xFy/QrzCY86qaY+9GyaOHhRiFtqmBGMtDGDdjvvlIG9ynMGR0DgveS5XzBRixvrqzhl+Y6fAVCNOaL0V52iFcUl8nI=;20:yg1GV4emXWHv/0t0j/4YuNiRs9T1EuAJG1fre59SDONcea8bdNHaKxWtOLJbBJ8T6EFMajnJ8pJLTN/kK7EBQy43MKGEt6IfL3tBecjE12yIyTygKUQGL+g4JuL7LMxwFFPVOjOpyTbMbKju0rI/k7sDMxsYRqXQUa7n2bmtid8= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1507 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1AFFO11FD050.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD050;1:aP1Iv+UrFilBRO2uECT2gL3pgZuylb/pmjDoTxgHIPRmANp4vPPGzcyejQcRIZb0w3ZoC6zOpthbC9Iu+aGgwWb6aaytvZAoDmbp18qXbe438tv7eD1mmb7oB4b9b89Egib471vkMZDI5pWdQtG61VuKh60V46MTHWNBDC9YDwNgLOw+xxuCoQ+HCoJeKVTsIh1UjdJL+hvzRUUBIK4aXHgltRmj4CbfqoB2gTO1XPO0o3YhvsXLNquYmBg1FSTEbcFZ6Mvrn0dtaAJQQsdUcjX9opVcTmyj+YsSlEVNXWCl8xVS7+5uBAm13T+peZvWCZVERqW3EXnr3MZxWgI+EwfDqmNqu5EVDSwVc9FyjWCgBWLPFe75mpjw7vulue9kK+AWTaeA9aX2w+dP6DSSFC5A272Lfv8FWTFK5PAjuqBPD2K/oZqK68k04ornaE47 X-Forefront-Antispam-Report: CIP:66.35.236.227;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(87936001)(85426001)(11100500001)(50986999)(5004730100002)(105606002)(229853001)(76176999)(106466001)(21840400001)(50226001)(122386002)(16796002)(5003940100001)(86152002)(86362001)(97736004)(4001430100002)(81156007)(92566002)(5001960100002)(66066001)(107886002)(33646002)(6070500001)(47776003)(189998001)(40100003)(19580395003)(2950100001)(19580405001)(1220700001)(50466002)(110136002)(3846002)(77096005)(53416004)(6806005)(5008740100001)(48376002)(1096002)(586003)(6116002)(7099028)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR0301MB2071;H:sj-itexedge03.altera.priv.altera.com;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB2071;2:S3t/BPQ8W9N0YPWGAp1r3e5xq0TzNHsezF9lJOkIN04+O5IYAsM0OzyQ862URe4r9Onfemo/f9M6Mr81Xikh8eAhgKl6LWEwetXcUraYIg23dqSs+8mq8iToWJZv/OfukdzAbi8vZ8g0m14ivec3cw==;3:Qbw1NeaUXCrE1TJtpXrPXnuq4DG7BweO976RDRbPiGgBIrHmNMehcceqsDOUN4iUJ5YX7Lgmbczuk5Sn3ztOQWctzT/3FwdETbuEldW+7l12YxEbxSPusxZwXBQidLP+ofKjEY5IrIWMMmSU6cWy4szB3lwmYPzzn2KFaQ9lasyfl56nFl8fJQrBiuoJYQgWnyLkdczqYdeoYG7Z3QyLGjehTBiNELO2sYKZ9TgQlm4=;25:AUxK16yhMmSE200+bfu9LGW0Thdq4khF3hqoXpcwlAcoVR4tTynWZ2OKBrI7V1AU9rG3462kscZUayXBFuqTUtLlyW64RzFaLAR+qdRXfyx3gY+jsAo9hQDjOvMgRRM/Xy8JAPEU8gxbjibt+by7PfGX4chj9F28pX1LwB31Sgjj4yFkmomyDs6oKuP1dZTKVUeCuyWhgQalyb2ruZ9FcgLk575PNqtZF541gFmUERtY5wZtUhv2jydLnPjNu76xIUssIDeW4tEsyjHQz+3daw==;20:ujeZdvzVpIf7VuQ/0/BC+4J1ht2TUhk2TdU6O0kxPrXG6DFy6KMJgg/EOEr8JCjTw7nKhzwHPK8/VHXWmVTdazNCzPnpkEB8HoccQ9eG4y17EaFT12HBanZygco+JLL6y3fuUcVvLWCGmX8gvYvgO8cePbB+hFnqf8xwNH5znpU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB2071; X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB2071;4:DTpgy3vS6gQXhQLsrhEF/jB7FSJrQfoc/PCHBAMxCiZLwip//RWNEna/j7Dw9NOGw9YB06EqQwK1h453+OHUTo5RSIcGga8db0UiFFAKLm1wKCaQKv/X16pyXrfLQ8pg2SezWpMIn7y0IT28B+l3etR2Ku3e4OoY5slylZLxXJB22NSh4YSUJmKyQm35B4+Ee6d7mQRuHbM6Gcy+9IdpfZQ8t2b2g804tODT/Fdyu6DADTibEpuvwVM8ZogGpkM3s25dKm+MCbc/2KNIJHtewSw8iGt6nU5LO4UvADZIMiZy5zsP2CpV4fm4KzGBWj+0drjUFeynNy/dg53ykv7ZzLJdXBPn95ym5USujl2Kpeo4bZaGVJ4duDWgi549lQ2IBlTqSTHabgN6LmJEpCDf/v+FLdJ5BG+0tt38jydCrZ2kSlwva9l0n4MWVYoyNrlHBbntTSvcpYcYUI17N+vpjw== X-Forefront-PRVS: 078693968A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR0301MB2071;23:k+qvSpo5RDyz8K8yq4Y1ui8ivy84VLNNH+3iTVA?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QyEWbvxiQhe7sECyGyISOvvB2HeXicG?= =?us-ascii?Q?yfbcBweid12cQ1yMJKMHeePc999IuE79sQHN4lRDiBTgHrl9ij2A9R16+EJL?= =?us-ascii?Q?sxcx9J/MgUb0+qkCgtZykSz99eygIoNwK+U0B43udzqsgka6yXSXyzWpwfMQ?= =?us-ascii?Q?QjhN519N92HPcs5IRbFv6byK2J8R95vTaBkuaoGLeVTsrQkan50pyEgtLLFd?= =?us-ascii?Q?OaDOTAGTh2vKru9bdul+QsP06cuXbr4hWJiG1Vubggl4tdShrKCyxQEQglSR?= =?us-ascii?Q?RjlD5SoCwd3colvI78tCgsBG8ia9mpcmQam7itVqaXrkRTL9N/Jho6FQ3Zao?= =?us-ascii?Q?Y5E9FNUR6kw+gvqa6zJxiuPM42xe3ZyvkEo3VdVL1HDptkQHzMjGqi7+Xg2S?= =?us-ascii?Q?YgkTqsmhl2FP6zxX0p3L1l0bE8XYEnqluua00V/Rf/k1O?= X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB2071;5:CZbYz1zULvgtlM02qT4SnztO8verGIpwr6e2RJt63j3LAV9+3v8Ze/vPuDC1OZfR2gUSkvNHYgwnUhNf8qb+db6YECiUOXRZk8kM+a1Ugsxclvg1bhooXr73PPbrR4IJSjFHgjPzv3OkPzzY2FFtPA==;24:ZHRFUKm7mgWRPITCdARtztcC9XQSOgbrK/dec9OGUH7x6F1NggxaEFG1ZnPZpAlanClb2ZgGf5Ul4vJelpn4nx0LeZXGUNv3pofVddy/Fcg=;20:VZ41MxqePsiZu3/V/LantQjKemfdpnqy4reASXAe078ii+LvMgqy9BCBYJPQ6Mdv/rdmW6JZRvLZE/aIIsP80Ka85TlDhftJXmnloz884b5VJwTDrbKDgj7+VPv6EWglwetyRjlTQCQnP0bZgwbLkROUPt8yTXOHgG4cCRCgJ/k= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2015 23:45:27.5109 (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: BY2PR0301MB2071 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3708 Lines: 108 From: Alan Tull Add bindings documentation for Altera SOCFPGA bridges: * fpga2sdram * fpga2hps * hps2fpga * lwhps2fpga Signed-off-by: Alan Tull Signed-off-by: Matthew Gerlach Signed-off-by: Dinh Nguyen --- v2: separate into 2 documents for the 2 drivers v12: bump version to line up with simple-fpga-bus version remove Linux specific notes such as references to sysfs move non-DT specific documentation elsewhere remove bindings that would have been used to pass configuration clean up formatting v13: Remove 'label' property Change property from init-val to bridge-enable Fix email address v14: Add resets Change order of bridges to put lw bridge (controlling bridge) first --- .../bindings/fpga/altera-fpga2sdram-bridge.txt | 15 +++++++ .../bindings/fpga/altera-hps2fpga-bridge.txt | 43 ++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/fpga/altera-fpga2sdram-bridge.txt create mode 100644 Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txt diff --git a/Documentation/devicetree/bindings/fpga/altera-fpga2sdram-bridge.txt b/Documentation/devicetree/bindings/fpga/altera-fpga2sdram-bridge.txt new file mode 100644 index 0000000..81e2f06 --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/altera-fpga2sdram-bridge.txt @@ -0,0 +1,15 @@ +Altera FPGA To SDRAM Bridge Driver + +Required properties: +- compatible : Should contain "altr,socfpga-fpga2sdram-bridge" + +Optional properties: +- bridge-enable : 0 if driver should disable bridge at startup + 1 if driver should enable bridge at startup + Default is to leave bridge in current state. + +Example: + fpga2sdram_br: fpgabridge@3 { + compatible = "altr,socfpga-fpga2sdram-bridge"; + bridge-enable = <0>; + }; diff --git a/Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txt b/Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txt new file mode 100644 index 0000000..16db3b0 --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txt @@ -0,0 +1,43 @@ +Altera FPGA/HPS Bridge Driver + +Required properties: +- compatible : Should contain one of: + "altr,socfpga-lwhps2fpga-bridge", + "altr,socfpga-hps2fpga-bridge", or + "altr,socfpga-fpga2hps-bridge" +- reset-names : Should contain one of: + "lwhps2fpga", + "hps2fpga", or + "fpga2hps" +- resets : Phandle and reset specifier for the reset listed in + reset-names +- clocks : Clocks used by this module. + +Optional properties: +- bridge-enable : 0 if driver should disable bridge at startup. + 1 if driver should enable bridge at startup. + Default is to leave bridge in its current state. + +Example: + hps_fpgabridge0: fpgabridge@0 { + compatible = "altr,socfpga-lwhps2fpga-bridge"; + resets = <&rst LWHPS2FPGA_RESET>; + reset-names = "lwhps2fpga"; + clocks = <&l4_main_clk>; + bridge-enable = <0>; + }; + + hps_fpgabridge1: fpgabridge@1 { + compatible = "altr,socfpga-hps2fpga-bridge"; + resets = <&rst HPS2FPGA_RESET>; + reset-names = "hps2fpga"; + clocks = <&l4_main_clk>; + bridge-enable = <1>; + }; + + hps_fpgabridge2: fpgabridge@2 { + compatible = "altr,socfpga-fpga2hps-bridge"; + resets = <&rst FPGA2HPS_RESET>; + reset-names = "fpga2hps"; + clocks = <&l4_main_clk>; + }; -- 1.7.9.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/