Skip to contentSkip to conversation

Change vendor prefix for Intersil Corporation

PATCH New Philipp Zabel 2 participants 7 messages Sep 8, 2014 – Sep 9, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover Change vendor prefix for Intersil Corporation

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 at 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(-)
Signature · 1 line
2.1.0.rc1
#1 lore raw

PATCH v2 1/5 of: Change vendor prefix for Intersil Corporation to isil

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.

---
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(-)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +2 -1
index 6af570e..72e399c 100644
@@ -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
Documentation/devicetree/bindings/vendor-prefixes.txt +3 -1
index ac7269f..4941ac2 100644
@@ -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
Signature · 1 line
2.1.0.rc1
#2 lore raw

PATCH v2 2/5 Documentation: Add isl1208 and isl12022 to trivial-devices list

In reply to Philipp Zabel

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.

---
Changes since v1:
- Added deprecated entries that are still in use

---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +3 -0
index 72e399c..60ecea5 100644
@@ -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
Signature · 1 line
2.1.0.rc1
#3 lore raw

PATCH v2 3/5 ARM: mvebu: Change vendor prefix for Intersil Corporation to isil

In reply to Philipp Zabel

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.

---
 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(-)
arch/arm/boot/dts/armada-370-netgear-rn102.dts +1 -1
index d6d572e..edc381c 100644
@@ -122,7 +122,7 @@
 				status = "okay";
 
 				isl12057: isl12057 at 68 {
-					compatible = "isl,isl12057";
+					compatible = "isil,isl12057";
 					reg = <0x68>;
 				};
 
arch/arm/boot/dts/armada-370-netgear-rn104.dts +1 -1
index c5fe8b5..7367b4c 100644
@@ -117,7 +117,7 @@
 				status = "okay";
 
 				isl12057: isl12057 at 68 {
-					compatible = "isl,isl12057";
+					compatible = "isil,isl12057";
 					reg = <0x68>;
 				};
 
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +1 -1
index 0cf999a..252def8 100644
@@ -174,7 +174,7 @@
 				status = "okay";
 
 				isl12057: isl12057 at 68 {
-					compatible = "isl,isl12057";
+					compatible = "isil,isl12057";
 					reg = <0x68>;
 				};
 
Signature · 1 line
2.1.0.rc1
Applied
#4 lore raw

PATCH v2 3/5 ARM: mvebu: Change vendor prefix for Intersil Corporation to isil

Quoted 11 lines · Philipp Zabel

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.

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

#5 lore raw

PATCH v2 4/5 rtc: rtc-isl12022: Change vendor prefix for Intersil Corporation to isil

In reply to Philipp Zabel

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.

---
 drivers/rtc/rtc-isl12022.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/rtc/rtc-isl12022.c +2 -1
index aa55f08..df20f18 100644
@@ -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
Signature · 1 line
2.1.0.rc1
#6 lore raw

PATCH v2 5/5 rtc: rtc-isl12057: Change vendor prefix for Intersil Corporation to isil

In reply to Philipp Zabel

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.

---
 drivers/rtc/rtc-isl12057.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/rtc/rtc-isl12057.c +2 -1
index 455b601..8276bd6 100644
@@ -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
Signature · 1 line
2.1.0.rc1