Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752163AbbKKGom (ORCPT ); Wed, 11 Nov 2015 01:44:42 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:36404 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752077AbbKKGok (ORCPT ); Wed, 11 Nov 2015 01:44:40 -0500 X-AuditID: cbfec7f4-f79c56d0000012ee-aa-5642e3d56e8e 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> In-reply-to: Subject: RE: [PATCH v7 1/4] Documentation: dt-bindings: Describe SROMc configuration Date: Wed, 11 Nov 2015 09:44:35 +0300 Message-id: <009301d11c4c$6eaa1eb0$4bfe5c10$@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/4vqeNbI2EA== Content-language: ru X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDIsWRmVeSWpSXmKPExsVy+t/xa7pXHzuFGXQs47aYf+Qcq0X/m4Ws FuderWS0eP3C0KL/8Wtmi02Pr7FaXN41h81ixvl9TBZLr19kspgwfS2LReveI+wO3B5r5q1h 9Ljc18vksXL5FzaPTas62Tw2L6n36NuyitHj8ya5APYoLpuU1JzMstQifbsEroyNV7pZCw4I VEw6ItzA+IGzi5GTQ0LAROLGrlXsELaYxIV769m6GLk4hASWMkp0HVjFCOF8Z5T4t28WE0gV m4C6xOmvH1i6GDk4RATUJC5eqQSpYRZoYJaYuP8gK0TDWUaJpd+fsIE0cAoES7zc8AdshbBA mMSi4zPB4iwCqhIb3y1mAbF5BSwl3rTeYISwBSV+TL4HFmcGWjZp3iJmCFteYvOat8wQpypI 7Dj7GqxeRMBJovf/FiaIGhGJaf/uMU9gFJqFZNQsJKNmIRk1C0nLAkaWVYyiqaXJBcVJ6bmG esWJucWleel6yfm5mxghcfZlB+PiY1aHGAU4GJV4eDfYOYUJsSaWFVfmHmKU4GBWEuG1OwEU 4k1JrKxKLcqPLyrNSS0+xCjNwaIkzjt31/sQIYH0xJLU7NTUgtQimCwTB6dUA+PsyW1n7qe9 3l2wYduP+47u6jpdibb6+1bZKS0+XMH7Qf3w9cWajxPf8ZdXMlpME3c6Pf++JNeCpIU85+2v XLC+aaz9TlL2220eRjHxHgebWbM+7k9aONvNmdfjbrCL3dy6nAVRz07v35FoK3FfKmSbxISp 8WEvBM/Hmv5oKSmf7KdrLrn+610lluKMREMt5qLiRADgL09QrwIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2312 Lines: 51 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? > > compatible = "samsung,exynos-srom"; > > - reg = <0x12570000 0x10>; > > + reg = <0x12570000 0x14>; > > + > > + ethernet@3 { > > + compatible = "smsc,lan9115"; > > + reg = <3 0 0x10000>; // Bank 3, offset = 0 > > + phy-mode = "mii"; > > + interrupt-parent = <&gpx0>; > > + interrupts = <5 8>; > > + reg-io-width = <2>; > > + smsc,irq-push-pull; > > + smsc,force-internal-phy; > > + > > + samsung,srom-config = <1 9 12 1 9 1 1>; > > This doesn't match the doc. Damn, overlooked. :( 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/