Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754891AbbG1IZ1 (ORCPT ); Tue, 28 Jul 2015 04:25:27 -0400 Received: from mail-by2on0088.outbound.protection.outlook.com ([207.46.100.88]:50989 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751175AbbG1IZW (ORCPT ); Tue, 28 Jul 2015 04:25:22 -0400 Authentication-Results: spf=pass (sender IP is 62.221.5.235) smtp.mailfrom=xilinx.com; pengutronix.de; dkim=none (message not signed) header.d=none; Subject: Re: [RFCv2 1/3] docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings. To: Philipp Zabel , Moritz Fischer References: <1437783682-13632-1-git-send-email-moritz.fischer@ettus.com> <1437783682-13632-2-git-send-email-moritz.fischer@ettus.com> <1438070702.3193.4.camel@pengutronix.de> CC: , , , , , , , , , , From: Michal Simek X-Enigmail-Draft-Status: N1110 Message-ID: <55B73C64.5050903@xilinx.com> Date: Tue, 28 Jul 2015 10:25:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1438070702.3193.4.camel@pengutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21708.003 X-TM-AS-User-Approved-Sender: Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD051;1:nI9nOq5b8HGOT+OnJJzWce2MOL2opq6DU2B1SyMWHYHAm89xq04ox2t9jXas6I4MYw6eTJ1otzlfcI7gGn7C/u9yJ7MEDCceu2f0i7NBGOSeNrbTDgmJuNdRKF3+453/qpsX2xwHpLNTvSStTASiwpm6d1ClIeceDlUPIYQZ+HHPps3yui28DzbdClTWKLsyoTRqm2b0A5tz5mXRsr88Cgc9dPezh9/Ipw5V9LgDAPlQC8IXaFsS2dKnAs3HST/1qsZVraAlNfJiHKb0nG08kg== X-Forefront-Antispam-Report: CIP:62.221.5.235;CTRY:GB;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(24454002)(479174004)(189002)(199003)(377454003)(164054003)(80316001)(6806004)(19580405001)(19580395003)(54356999)(76176999)(86362001)(65816999)(83506001)(87266999)(59896002)(23676002)(50986999)(106466001)(4001540100001)(81156007)(4001350100001)(5001770100001)(5001860100001)(5001830100001)(36386004)(63266004)(65806001)(65956001)(47776003)(64706001)(46102003)(5001960100002)(33656002)(50466002)(87936001)(77096005)(92566002)(62966003)(2950100001)(77156002)(64126003)(36756003)(189998001)(107986001)(42866002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1AFFO11HUB021;H:xir-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-62-221-5-235.ipspace.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB021;2:6DfJPos7LpspeGCD3D23jocNrB/jYdTWAmY8MqxzTmPR5bH9Lt9adRonfuWBFQBcd0zZc3JJpe1IgI5TxyYhivn53NeQpAgoXmtBLDfKhYD/smBIJiHIwV/w/JPk88kTIV3IRpFhwtkjGQUBB/efcNRSUqcWJUZnWKshRQLnuvw=;3:lrqvfDgBH+6DOgVJSOV8UlW8jnA8zaOyZ3FBV8RBFqyRv2/qC5s5ItYcs0FPepv6apIH578ZokROg3X2Fww1tfVzAXqfelNRYrQ0gqeGpJkupdz7UxkmXnV8ILYAlvxVHVXR89luRIpVWsF4m8nlTMuq3NIj02aAcgocviudAFqXgweEasc2q/2x+ZgVHM047Y3NCVXLdvTdIGIkMjG8oH963+xaUgRYkqLbkFCb6vc=;25:qBXj2S44E9HY6dgXXHcSryU71I80OCrofvlwMP4UFhHgPqjrblsId65fv/Secl/ez9mkuMXTAftIbOQV/gAv4AQQmss4Cq0EzhdDwgU7hkkZHmppn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FO11HUB021: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BN1AFFO11HUB021;BCL:0;PCL:0;RULEID:;SRVR:BN1AFFO11HUB021; X-Forefront-PRVS: 06515DA04B X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjFBRkZPMTFIVUIwMjE7MjM6YndydHZrSmFJL2RmaFVHVndXZ3VZQTJJ?= =?utf-8?B?N29GNEg4MUM0MitUbGFxTzBzTFZIRStnQmZtS1ErL2REdUgzaWplMmtFU1lv?= =?utf-8?B?bWhFWkZSOHN5OTF5bXEvblZaRjdVQlRXc25YSUQ4YkwrRWhTQkxzWlkxVG8v?= =?utf-8?B?RWxuaUJ0akF4OHNpTmtxQ2hNWis1YjVQaFJPMkpkYlBxZ3pSVjk5cDRMYkZG?= =?utf-8?B?RlYwMXljVW9yRU52bDg3YWprK1pDR0hCZis3QUdxNC8xTkFkZmdsSVNwS3Rh?= =?utf-8?B?WU1kTmFEV29FNU5vUm9PdUZPb25KQktoeE80Lyt4RVVKV0M4Z2ZJbW0wM0Nz?= =?utf-8?B?bHVvUTk3elVNY1R0NXBkbFJpNmpEYjIxZm5WcHZ5RHJ1bk50dkNaTjU5c0lZ?= =?utf-8?B?cjhYc0puMWFQMVFlcUN3N2RadFBxZHpCTGErc2FTSk1nRXNCVGI5cmFiaG96?= =?utf-8?B?SkpUL2Z1L3NGNmJKRVBhY3d4aFZ1TDZFNkZPRUlmTFEzRy8vUEovRFpzYlNW?= =?utf-8?B?emRLaGxHU0JwVXRJd0pLMG1CQjB2YUhWaHhmSmJTUUZTZEE4QUhDdnVWbmx6?= =?utf-8?B?ZFlmRlpMcVdUM2Zzbm5KRkNYMWFISFNTdlpPdmZnY1QxUmpteWhoQ1liZGM1?= =?utf-8?B?azcrUVg4dU5zMXpuMTgvOUFOMktuM2N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UHp2MklFOW5wVjhPVFJqdlBRWm5hYzRzVExETTd3QUVW?= =?utf-8?B?MVB5M0lsbDB5NXp0dGkyZE90RzBIVWVxQzgveUkzZmtkZUdhR1pEUHNuTE1E?= =?utf-8?B?SXVyQ1ZOMElmdVUvT1JmZGJHU0hubTEvNVRZd0VFNDN1MHhYbmxwZHEwbjNa?= =?utf-8?Q?xn7LAw6TivXVpG4l3UQhtQCyGnFlnzCqAKXHYBg=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB021;5:Dg1ADDYieD+TO1ajSRQVv26afSBTCSM/GIckEs3Rw1ftUkjIZBEGYmjbtuT2awET8dRIJWZL96YvzMTWhIWMG7Vdy90lRLRl0A7DkIkEWqNiZq55Fwe/YxF0jTvfRm5UHQxbfjVLYG1gAJcfX0+0UQ==;24:lXtGxGAfrcZR/Jc4Z8PucZO7rV21DyBu25r4KqOfStR3EkjX09h2XBkW35x5ORn5ZwCdjwMZNVTVoNM+8+GXbF6WgDO+W4+eO6GS+gQuS3c= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2015 08:25:20.2638 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[62.221.5.235];Helo=[xir-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1AFFO11HUB021 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1743 Lines: 49 On 07/28/2015 10:05 AM, Philipp Zabel wrote: > Am Freitag, den 24.07.2015, 17:21 -0700 schrieb Moritz Fischer: >> Signed-off-by: Moritz Fischer >> --- >> Documentation/devicetree/bindings/reset/zynq-reset-pl.txt | 13 +++++++++++++ >> 1 file changed, 13 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/reset/zynq-reset-pl.txt >> >> diff --git a/Documentation/devicetree/bindings/reset/zynq-reset-pl.txt b/Documentation/devicetree/bindings/reset/zynq-reset-pl.txt >> new file mode 100644 >> index 0000000..ac4499e >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/reset/zynq-reset-pl.txt >> @@ -0,0 +1,13 @@ >> +Xilinx Zynq PL Reset Manager >> + >> +Required properties: >> +- compatible: "xlnx,zynq-reset-pl" >> +- syscon <&slcr>; >> +- #reset-cells: 1 >> + >> +Example: >> + rstc: rstc@240 { >> + #reset-cells = <1>; >> + compatible = "xlnx,zynq-reset-pl"; >> + syscon = <&slcr>; > > Why the syscon phandle if rstc always is the child of slcr? Why not just > request the syscon for the rstc's parent node. We are using this description for pincntrl which was properly reviewed that's why I expect Moritz just use the same style. But yes also referencing parent should work. TBH I don't have strong preference but having unified style is something what I would prefer. Also I see that using parent is used by others and it looks like that having something like syscon_regmap_lookup_parent will be worth to have. Thanks, Michal -- 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/