* [PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board" @ 2014-06-18 16:57 Pali Rohár [not found] ` <1403110635-29696-1-git-send-email-pali.rohar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Pali Rohár @ 2014-06-18 16:57 UTC (permalink / raw) To: Benoît Cousson, Tony Lindgren, Rob Herring, Pawel Moll, Russell King, Ivaylo Dimitrov, Sebastian Reichel, Pavel Machek Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, Pali Rohár Use same name as in legacy board code. There are lot of userspace applications which using machine/model name for determinating device type. And changing this name will break all of them. Due to small features support in DT code only non DT kernel was used for Nokia N900 until now. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> --- arch/arm/boot/dts/omap3-n900.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 6c6551a..e23ee96 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -13,7 +13,7 @@ #include <dt-bindings/input/input.h> / { - model = "Nokia N900"; + model = "Nokia RX-51 board"; compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; aliases { -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1403110635-29696-1-git-send-email-pali.rohar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board" [not found] ` <1403110635-29696-1-git-send-email-pali.rohar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2014-06-18 20:12 ` Aaro Koskinen [not found] ` <20140618201241.GB558-7n+jfq1IuBl13aiSOxckUV9wdVTlxKpd@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Aaro Koskinen @ 2014-06-18 20:12 UTC (permalink / raw) To: Pali Rohár Cc: Benoît Cousson, Tony Lindgren, Rob Herring, Pawel Moll, Russell King, Ivaylo Dimitrov, Sebastian Reichel, Pavel Machek, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Wed, Jun 18, 2014 at 06:57:15PM +0200, Pali Rohár wrote: > Use same name as in legacy board code. There are lot of userspace > applications which using machine/model name for determinating device type. Can you clarify this? Nokia kernel or userspace never had DT, so they cannot see e.g. /proc/device-tree/model. What other APIs expose model? A. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20140618201241.GB558-7n+jfq1IuBl13aiSOxckUV9wdVTlxKpd@public.gmane.org>]
* Re: [PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board" [not found] ` <20140618201241.GB558-7n+jfq1IuBl13aiSOxckUV9wdVTlxKpd@public.gmane.org> @ 2014-06-18 20:23 ` Pali Rohár 2014-06-18 20:43 ` Aaro Koskinen 0 siblings, 1 reply; 4+ messages in thread From: Pali Rohár @ 2014-06-18 20:23 UTC (permalink / raw) To: Aaro Koskinen Cc: Benoît Cousson, Tony Lindgren, Rob Herring, Pawel Moll, Russell King, Ivaylo Dimitrov, Sebastian Reichel, Pavel Machek, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r [-- Attachment #1: Type: Text/Plain, Size: 814 bytes --] On Wednesday 18 June 2014 22:12:41 Aaro Koskinen wrote: > On Wed, Jun 18, 2014 at 06:57:15PM +0200, Pali Rohár wrote: > > Use same name as in legacy board code. There are lot of > > userspace applications which using machine/model name for > > determinating device type. > > Can you clarify this? Nokia kernel or userspace never had DT, > so they cannot see e.g. /proc/device-tree/model. What other > APIs expose model? > > A. Hi Aaro, look at email discussion about my previous patch with subject: [PATCH] ARM: /proc/cpuinfo: Use DT machine name when possible Basically that patch export model name in Hardware /proc/cpuinfo instead generic DT name. And this patch change name to what legacy board code reported. -- Pali Rohár pali.rohar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board" 2014-06-18 20:23 ` Pali Rohár @ 2014-06-18 20:43 ` Aaro Koskinen 0 siblings, 0 replies; 4+ messages in thread From: Aaro Koskinen @ 2014-06-18 20:43 UTC (permalink / raw) To: Pali Rohár Cc: devicetree, Ivaylo Dimitrov, Russell King, Pavel Machek, Pawel Moll, Tony Lindgren, Sebastian Reichel, linux-kernel, Rob Herring, Benoît Cousson, linux-omap, linux-arm-kernel Hi, On Wed, Jun 18, 2014 at 10:23:03PM +0200, Pali Rohár wrote: > On Wednesday 18 June 2014 22:12:41 Aaro Koskinen wrote: > > On Wed, Jun 18, 2014 at 06:57:15PM +0200, Pali Rohár wrote: > > > Use same name as in legacy board code. There are lot of > > > userspace applications which using machine/model name for > > > determinating device type. > > > > Can you clarify this? Nokia kernel or userspace never had DT, > > so they cannot see e.g. /proc/device-tree/model. What other > > APIs expose model? > > Basically that patch export model name in Hardware /proc/cpuinfo > instead generic DT name. And this patch change name to what > legacy board code reported. I don't like the idea of changing the model name from Nokia marketing names to those cryptic internal names in DT files. There also may be already some userspace relying to find current model name from /proc/device-tree/model (e.g. I think my own OS would break). A. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-18 20:43 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-06-18 16:57 [PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board" Pali Rohár [not found] ` <1403110635-29696-1-git-send-email-pali.rohar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2014-06-18 20:12 ` Aaro Koskinen [not found] ` <20140618201241.GB558-7n+jfq1IuBl13aiSOxckUV9wdVTlxKpd@public.gmane.org> 2014-06-18 20:23 ` Pali Rohár 2014-06-18 20:43 ` Aaro Koskinen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).