Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753357AbbKLHCN (ORCPT ); Thu, 12 Nov 2015 02:02:13 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:22881 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbbKLHCL (ORCPT ); Thu, 12 Nov 2015 02:02:11 -0500 X-AuditID: cbfec7f4-f79c56d0000012ee-6c-56443970f7d1 From: Pavel Fedin To: "'Rob Herring'" Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, "'Pawel Moll'" , "'Mark Rutland'" , "'Ian Campbell'" , "'Kumar Gala'" , "'Kukjin Kim'" , "'Krzysztof Kozlowski'" References: <0bc58ce0fd39767834f486c4c0cfbbd70044caed.1446799912.git.p.fedin@samsung.com> <009301d11c4c$6eaa1eb0$4bfe5c10$@samsung.com> In-reply-to: Subject: RE: [PATCH v7 1/4] Documentation: dt-bindings: Describe SROMc configuration Date: Thu, 12 Nov 2015 10:02:06 +0300 Message-id: <00f901d11d18$0b68e760$223ab620$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQHqyQgqpi6BeXw+yLhCprkFMWQodgKyWf3FAvf/4voCi+yMiAJBxPzLnhDdNYA= Content-language: ru X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDIsWRmVeSWpSXmKPExsVy+t/xy7oFli5hBivXM1vMP3KO1aL/zUJW i3OvVjJavH5haNH/+DWzxabH11gtLu+aw2Yx4/w+Joul1y8yWUyYvpbFonXvEXYHbo8189Yw elzu62XyWLn8C5vHplWdbB6bl9R79G1ZxejxeZNcAHsUl01Kak5mWWqRvl0CV8bR9sOsBSf5 Klp33GdqYOzl6mLk5JAQMJE4+PYFC4QtJnHh3nq2LkYuDiGBpYwSO06cYoZwvjNKXLkykxWk ik1AXeL01w9AHRwcIgJqEhevVILUMAs0MEtM3H+QFaLhCJNE98cLzCANnALBEu+ap4M1CwuE SSw6PpMNxGYRUJX4/XUTG8ggXgFLiS1/DEHCvAKCEj8m3wO7iBlo16R5i5ghbHmJzWveMkNc qiCx4+xrRhBbRMBP4saZjWwQNSIS0/7dY57AKDQLyahZSEbNQjJqFpKWBYwsqxhFU0uTC4qT 0nMN9YoTc4tL89L1kvNzNzFC4uzLDsbFx6wOMQpwMCrx8E6Y6RwmxJpYVlyZe4hRgoNZSYT3 nZFLmBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeubvehwgJpCeWpGanphakFsFkmTg4pRoYG5oO RmuxVNyb/0jlI+/XedfYT9V4fDoYL26b8sT867TSkiWfOv1Omsfe0rgk/2XOvWidZ3yXLy3e U+ghHG4i+4N3KmOXr1Fubof8/bYDWqa7uYQEGRZkKlT/ilpv3zA/LzaR3/VjpBlX0KFPoXdv SSVzfHVZOcFBdVEwv9aqW13xhfaZ21yVWIozEg21mIuKEwHYbbUsrwIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2075 Lines: 41 Hello! > >> > +- samsung,srom-timing : array of 6 integers, specifying bank timings in the > >> > + following order: Tacp, Tcah, Tcoh, Tacc, Tcos, Tacs. > >> > + Each value is specified in cycles and has the following > >> > + meaning and valid range: > >> > + Tacp : Page mode access cycle at Page mode (0 - 15) > >> > + Tcah : Address holding time after CSn (0 - 15) > >> > + Tcoh : Chip selection hold on OEn (0 - 15) > >> > + Tacc : Access cycle (0 - 31, the actual time is N + 1) > >> > + Tcos : Chip selection set-up before OEn (0 - 15) > >> > + Tacs : Address set-up before CSn (0 - 15) > >> > >> This is not easily extended. Perhaps a property per value instead. > > > > We had a discussion with Krzysztof about it, he agreed with this form of the property. > > My concern was that it's just too much typing, and makes little sense because these > > settings always go together. If register layout changes, or parameter set changes in > > incompatible way, then it's another device, not exynos-srom anymore. > > So would you agree with that, or is your position strong? > > I'm thinking for a new version of the controller which could add (or > remove) new timing parameters, but then I guess you can interpret the > field differently based on the compatible string. Anyway, your problem > to deal with. Of course, my thought is that if compatible string is different, then it's already a different device. And of course it would have different parameters. So, OK, i'll post new version with fixed documentation today. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- 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/