devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rx51-battery.ko incompatiblity: board code vs DT
@ 2015-07-06 19:44 Pali Rohár
  2015-07-07 10:41 ` Pavel Machek
  2015-07-07 15:02 ` Sebastian Reichel
  0 siblings, 2 replies; 4+ messages in thread
From: Pali Rohár @ 2015-07-06 19:44 UTC (permalink / raw)
  To: Sebastian Reichel, Tony Lindgren, Ivaylo Dimitrov, Pavel Machek,
	Aaro Koskinen
  Cc: devicetree, linux-omap, linux-kernel

[-- Attachment #1: Type: Text/Plain, Size: 688 bytes --]

Hello,

now I found out that rx51-battery.ko driver register sysnode 
/sys/class/power_supply/rx51-battery/ when booting with legacy board 
code. But when booting DT kernel it register sysnode with different name 
/sys/class/power_supply/n900-battery/

Sysfs node for DT kernel comes from Nokia N900 DTS file: 
arch/arm/boot/dts/omap3-n900.dts

I would propose change which change DTS to "rx51-battery" to have it 
compatible with naming which is for legacy board code. It is just 
because to have compatibility and same naming scheme and also to make 
existing programs to work without needing patching them.

What do you think?

-- 
Pali Rohár
pali.rohar@gmail.com

[-- 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

end of thread, other threads:[~2015-07-07 15:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06 19:44 rx51-battery.ko incompatiblity: board code vs DT Pali Rohár
2015-07-07 10:41 ` Pavel Machek
2015-07-07 15:02 ` Sebastian Reichel
2015-07-07 15:15   ` Pali Rohár

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).