linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Change vendor prefix for Intersil Corporation
@ 2014-09-08  9:19 Philipp Zabel
  2014-09-08  9:19 ` [PATCH v2 1/5] of: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Philipp Zabel @ 2014-09-08  9:19 UTC (permalink / raw)
  To: devicetree
  Cc: Mark Rutland, Alessandro Zummo, Russell King, Pawel Moll,
	Ian Campbell, Mark Brown, Wolfram Sang, Rob Herring,
	Paul Mackerras, Philipp Zabel, Kumar Gala, linuxppc-dev,
	linux-arm-kernel

Hi,

currently there is a wild mixture of isl, isil, and intersil
compatibles in the kernel. I figure at this point it is still
possible to change this to use "isil" everywhere without too
much pain, but it might be preferred to keep the already
documented "isl" prefix, even though it doesn't follow the
convention to use the NASDAQ symbol where available.

This is an updated version of the RFC I've sent previously:
https://www.mail-archive.com/devicetree@vger.kernel.org/msg38505.html

Changes since RFC:
 - Drop powerpc/85xx patch, that device tree set in stone.
 - Added commit summaries where referencing commit ids
 - Added deprecated names to the documentation

regards
Philipp

Philipp Zabel (5):
  of: Change vendor prefix for Intersil Corporation to isil
  Documentation: Add isl1208 and isl12022 to trivial-devices list
  ARM: mvebu: Change vendor prefix for Intersil Corporation to isil
  rtc: rtc-isl12022: Change vendor prefix for Intersil Corporation to
    isil
  rtc: rtc-isl12057: Change vendor prefix for Intersil Corporation to
    isil

 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 6 +++++-
 Documentation/devicetree/bindings/vendor-prefixes.txt     | 4 +++-
 arch/arm/boot/dts/armada-370-netgear-rn102.dts            | 2 +-
 arch/arm/boot/dts/armada-370-netgear-rn104.dts            | 2 +-
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts            | 2 +-
 drivers/rtc/rtc-isl12022.c                                | 3 ++-
 drivers/rtc/rtc-isl12057.c                                | 3 ++-
 7 files changed, 15 insertions(+), 7 deletions(-)

-- 
2.1.0.rc1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2 1/5] of: Change vendor prefix for Intersil Corporation to isil
  2014-09-08  9:19 [PATCH v2 0/5] Change vendor prefix for Intersil Corporation Philipp Zabel
@ 2014-09-08  9:19 ` Philipp Zabel
  2014-09-08  9:19 ` [PATCH v2 2/5] Documentation: Add isl1208 and isl12022 to trivial-devices list Philipp Zabel
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Philipp Zabel @ 2014-09-08  9:19 UTC (permalink / raw)
  To: devicetree
  Cc: Mark Rutland, Alessandro Zummo, Russell King, Pawel Moll,
	Ian Campbell, Mark Brown, Wolfram Sang, Rob Herring,
	Paul Mackerras, Philipp Zabel, Kumar Gala, linuxppc-dev,
	linux-arm-kernel

Currently there is a wild mixture of isl, isil, and intersil
compatibles in the kernel. At this point, changing the vendor
symbol to the most often used variant, which is equal to the
NASDAQ symbol, isil, should not hurt.

This patch marks both intersil and isl prefix as deprecated
and documents the isil prefix in the vendor prefix list.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
Changes since v1:
 - Added deprecated entries that are still in use
---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 3 ++-
 Documentation/devicetree/bindings/vendor-prefixes.txt     | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
index 6af570e..72e399c 100644
--- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt
+++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
@@ -56,7 +56,8 @@ fsl,sgtl5000		SGTL5000: Ultra Low-Power Audio Codec
 gmt,g751		G751: Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface
 infineon,slb9635tt	Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
 infineon,slb9645tt	Infineon SLB9645 I2C TPM (new protocol, max 400khz)
-isl,isl12057		Intersil ISL12057 I2C RTC Chip
+isil,isl12057		Intersil ISL12057 I2C RTC Chip
+isl,isl12057		Intersil ISL12057 I2C RTC Chip (deprecated, use isil,isl12057)
 maxim,ds1050		5 Bit Programmable, Pulse-Width Modulator
 maxim,max1237		Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
 maxim,max6625		9-Bit/12-Bit Temperature Sensors with I²C-Compatible Serial Interface
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index ac7269f..4941ac2 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -68,7 +68,9 @@ img	Imagination Technologies Ltd.
 intel	Intel Corporation
 intercontrol	Inter Control Group
 isee	ISEE 2007 S.L.
-isl	Intersil
+intersil	Intersil Corporation (deprecated, use isil)
+isil	Intersil Corporation
+isl	Intersil Corporation (deprecated, use isil)
 karo	Ka-Ro electronics GmbH
 keymile	Keymile GmbH
 lacie	LaCie
-- 
2.1.0.rc1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 2/5] Documentation: Add isl1208 and isl12022 to trivial-devices list
  2014-09-08  9:19 [PATCH v2 0/5] Change vendor prefix for Intersil Corporation Philipp Zabel
  2014-09-08  9:19 ` [PATCH v2 1/5] of: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
@ 2014-09-08  9:19 ` Philipp Zabel
  2014-09-08  9:19 ` [PATCH v2 3/5] ARM: mvebu: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Philipp Zabel @ 2014-09-08  9:19 UTC (permalink / raw)
  To: devicetree
  Cc: Mark Rutland, Alessandro Zummo, Russell King, Pawel Moll,
	Ian Campbell, Mark Brown, Wolfram Sang, Rob Herring,
	Paul Mackerras, Philipp Zabel, Kumar Gala, linuxppc-dev,
	linux-arm-kernel

This patch adds the Intersil ISL1208 and ISL12022 I2C RTCs to the
trivial-devices list. For ISL1208 a deprecated intersil,isl1208
entry is added since that is used in ppa8548.dts.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
Changes since v1:
 - Added deprecated entries that are still in use
---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
index 72e399c..60ecea5 100644
--- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt
+++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
@@ -56,6 +56,9 @@ fsl,sgtl5000		SGTL5000: Ultra Low-Power Audio Codec
 gmt,g751		G751: Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface
 infineon,slb9635tt	Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
 infineon,slb9645tt	Infineon SLB9645 I2C TPM (new protocol, max 400khz)
+intersil,isl1208	Intersil ISL1208 I2C RTC Chip (deprecated, use isil,isl1208)
+isil,isl1208		Intersil ISL1208 I2C RTC Chip
+isil,isl12022		Intersil ISL12022 I2C RTC Chip
 isil,isl12057		Intersil ISL12057 I2C RTC Chip
 isl,isl12057		Intersil ISL12057 I2C RTC Chip (deprecated, use isil,isl12057)
 maxim,ds1050		5 Bit Programmable, Pulse-Width Modulator
-- 
2.1.0.rc1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 3/5] ARM: mvebu: Change vendor prefix for Intersil Corporation to isil
  2014-09-08  9:19 [PATCH v2 0/5] Change vendor prefix for Intersil Corporation Philipp Zabel
  2014-09-08  9:19 ` [PATCH v2 1/5] of: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
  2014-09-08  9:19 ` [PATCH v2 2/5] Documentation: Add isl1208 and isl12022 to trivial-devices list Philipp Zabel
@ 2014-09-08  9:19 ` Philipp Zabel
  2014-09-09 16:05   ` Jason Cooper
  2014-09-08  9:19 ` [PATCH v2 4/5] rtc: rtc-isl12022: " Philipp Zabel
  2014-09-08  9:19 ` [PATCH v2 5/5] rtc: rtc-isl12057: " Philipp Zabel
  4 siblings, 1 reply; 7+ messages in thread
From: Philipp Zabel @ 2014-09-08  9:19 UTC (permalink / raw)
  To: devicetree
  Cc: Mark Rutland, Alessandro Zummo, Russell King, Pawel Moll,
	Ian Campbell, Mark Brown, Wolfram Sang, Rob Herring,
	Paul Mackerras, Philipp Zabel, Kumar Gala, linuxppc-dev,
	linux-arm-kernel

Currently there is a wild mixture of isl, isil, and intersil
compatibles in the kernel. At this point, changing the vendor
symbol to the most often used variant, which is equal to the
NASDAQ symbol, isil, should not hurt.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 arch/arm/boot/dts/armada-370-netgear-rn102.dts | 2 +-
 arch/arm/boot/dts/armada-370-netgear-rn104.dts | 2 +-
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
index d6d572e..edc381c 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn102.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
@@ -122,7 +122,7 @@
 				status = "okay";
 
 				isl12057: isl12057@68 {
-					compatible = "isl,isl12057";
+					compatible = "isil,isl12057";
 					reg = <0x68>;
 				};
 
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn104.dts b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
index c5fe8b5..7367b4c 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn104.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
@@ -117,7 +117,7 @@
 				status = "okay";
 
 				isl12057: isl12057@68 {
-					compatible = "isl,isl12057";
+					compatible = "isil,isl12057";
 					reg = <0x68>;
 				};
 
diff --git a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts b/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
index 0cf999a..252def8 100644
--- a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
+++ b/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
@@ -174,7 +174,7 @@
 				status = "okay";
 
 				isl12057: isl12057@68 {
-					compatible = "isl,isl12057";
+					compatible = "isil,isl12057";
 					reg = <0x68>;
 				};
 
-- 
2.1.0.rc1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 4/5] rtc: rtc-isl12022: Change vendor prefix for Intersil Corporation to isil
  2014-09-08  9:19 [PATCH v2 0/5] Change vendor prefix for Intersil Corporation Philipp Zabel
                   ` (2 preceding siblings ...)
  2014-09-08  9:19 ` [PATCH v2 3/5] ARM: mvebu: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
@ 2014-09-08  9:19 ` Philipp Zabel
  2014-09-08  9:19 ` [PATCH v2 5/5] rtc: rtc-isl12057: " Philipp Zabel
  4 siblings, 0 replies; 7+ messages in thread
From: Philipp Zabel @ 2014-09-08  9:19 UTC (permalink / raw)
  To: devicetree
  Cc: Mark Rutland, Alessandro Zummo, Russell King, Pawel Moll,
	Ian Campbell, Mark Brown, Wolfram Sang, Rob Herring,
	Paul Mackerras, Philipp Zabel, Kumar Gala, linuxppc-dev,
	linux-arm-kernel

Currently there is a wild mixture of isl, isil, and intersil compatibles
in the kernel. At this point, changing the vendor symbol to the most often
used variant, which is equal to the NASDAQ symbol, isil, should not hurt.

Patch db04d6284e2a (drivers/rtc/rtc-isl12022.c: device tree support)
added device tree support using the then documented isl vendor prefix,
so we keep that around for backwards compatibility.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/rtc/rtc-isl12022.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c
index aa55f08..df20f18 100644
--- a/drivers/rtc/rtc-isl12022.c
+++ b/drivers/rtc/rtc-isl12022.c
@@ -275,7 +275,8 @@ static int isl12022_probe(struct i2c_client *client,
 
 #ifdef CONFIG_OF
 static struct of_device_id isl12022_dt_match[] = {
-	{ .compatible = "isl,isl12022" },
+	{ .compatible = "isil,isl12022" },
+	{ .compatible = "isl,isl12022" }, /* for backwards compatibility */
 	{ },
 };
 #endif
-- 
2.1.0.rc1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 5/5] rtc: rtc-isl12057: Change vendor prefix for Intersil Corporation to isil
  2014-09-08  9:19 [PATCH v2 0/5] Change vendor prefix for Intersil Corporation Philipp Zabel
                   ` (3 preceding siblings ...)
  2014-09-08  9:19 ` [PATCH v2 4/5] rtc: rtc-isl12022: " Philipp Zabel
@ 2014-09-08  9:19 ` Philipp Zabel
  4 siblings, 0 replies; 7+ messages in thread
From: Philipp Zabel @ 2014-09-08  9:19 UTC (permalink / raw)
  To: devicetree
  Cc: Mark Rutland, Alessandro Zummo, Russell King, Pawel Moll,
	Ian Campbell, Mark Brown, Wolfram Sang, Rob Herring,
	Paul Mackerras, Philipp Zabel, Kumar Gala, linuxppc-dev,
	linux-arm-kernel

Currently there is a wild mixture of isl, isil, and intersil compatibles
in the kernel. At this point, changing the vendor symbol to the most often
used variant, which is equal to the NASDAQ symbol, isil, should not hurt.

Patch 70e123373c05 (rtc: Add support for Intersil ISL12057 I2C RTC chip)
added this driver with device tree support using the then documented isl
vendor prefix, so we keep that around for backwards compatibility.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/rtc/rtc-isl12057.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-isl12057.c b/drivers/rtc/rtc-isl12057.c
index 455b601..8276bd6 100644
--- a/drivers/rtc/rtc-isl12057.c
+++ b/drivers/rtc/rtc-isl12057.c
@@ -279,7 +279,8 @@ static int isl12057_probe(struct i2c_client *client,
 
 #ifdef CONFIG_OF
 static const struct of_device_id isl12057_dt_match[] = {
-	{ .compatible = "isl,isl12057" },
+	{ .compatible = "isil,isl12057" },
+	{ .compatible = "isl,isl12057" }, /* for backwards compatibility */
 	{ },
 };
 #endif
-- 
2.1.0.rc1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 3/5] ARM: mvebu: Change vendor prefix for Intersil Corporation to isil
  2014-09-08  9:19 ` [PATCH v2 3/5] ARM: mvebu: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
@ 2014-09-09 16:05   ` Jason Cooper
  0 siblings, 0 replies; 7+ messages in thread
From: Jason Cooper @ 2014-09-09 16:05 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Mark Rutland, devicetree, Alessandro Zummo, Russell King,
	Pawel Moll, Ian Campbell, Mark Brown, Wolfram Sang, Rob Herring,
	Paul Mackerras, Kumar Gala, linuxppc-dev, linux-arm-kernel

On Mon, Sep 08, 2014 at 11:19:18AM +0200, Philipp Zabel wrote:
> Currently there is a wild mixture of isl, isil, and intersil
> compatibles in the kernel. At this point, changing the vendor
> symbol to the most often used variant, which is equal to the
> NASDAQ symbol, isil, should not hurt.
> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
>  arch/arm/boot/dts/armada-370-netgear-rn102.dts | 2 +-
>  arch/arm/boot/dts/armada-370-netgear-rn104.dts | 2 +-
>  arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Applied to mvebu/dt

thx,

Jason.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-09 16:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-08  9:19 [PATCH v2 0/5] Change vendor prefix for Intersil Corporation Philipp Zabel
2014-09-08  9:19 ` [PATCH v2 1/5] of: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
2014-09-08  9:19 ` [PATCH v2 2/5] Documentation: Add isl1208 and isl12022 to trivial-devices list Philipp Zabel
2014-09-08  9:19 ` [PATCH v2 3/5] ARM: mvebu: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
2014-09-09 16:05   ` Jason Cooper
2014-09-08  9:19 ` [PATCH v2 4/5] rtc: rtc-isl12022: " Philipp Zabel
2014-09-08  9:19 ` [PATCH v2 5/5] rtc: rtc-isl12057: " Philipp Zabel

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