* [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg'
@ 2014-07-24 15:46 Opensource [Steve Twiss]
2014-07-24 19:43 ` Philipp Zabel
2014-07-25 7:00 ` Lee Jones
0 siblings, 2 replies; 7+ messages in thread
From: Opensource [Steve Twiss] @ 2014-07-24 15:46 UTC (permalink / raw)
To: Magnus Damm, Simon Horman
Cc: Mark Rutland, Andrew Lunn, Mark Brown, Thierry Reding, Lee Jones,
Russell King, Samuel Ortiz, LINUX SH, Jason Gunthorpe, Shawn Guo,
Philipp Zabel, Florian Vaussard, DEVICE TREE, Jason Cooper,
Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring,
LINUX ARM KERNEL, Martin Fuzzey, Support Opensource, LKML, Silvio
[-- Attachment #1: Type: text/plain, Size: 12607 bytes --]
From: Steve Twiss <stwiss.opensource@diasemi.com>
This patch series updates the device tree vendor prefix for
Dialog Semiconductor.
Various methods are currently used throughout the kernel: 'diasemi',
'dialog' and 'dlg'. Others have also been suggested.
This patch set aims to consolidate the usage of the vendor prefix to
use a common standard. The prefix 'dlg' is used.
Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
---
Checks performed with linux-next/next-20140715/scripts/checkpatch.pl
trivial-devices.txt total: 0 errors, 0 warnings, 89 lines checked
da9210.txt total: 0 errors, 0 warnings, 21 lines checked
vendor-prefixes.txt total: 0 errors, 0 warnings, 149 lines checked
imx53-smd.dts total: 0 errors, 2 warnings, 279 lines checked
imx6qdl-phytec-pfla02.dtsi total: 0 errors, 2 warnings, 357 lines checked
r8a7790-lager.dts total: 0 errors, 3 warnings, 403 lines checked
r8a7791-koelsch.dts total: 0 errors, 4 warnings, 461 lines checked
da9055-core.c total: 0 errors, 0 warnings, 428 lines checked
This is a resend according to requests for e-mail reformatting and removal
of '[]' in From: and Signed-off-by: tags. There are no patch alterations
from RFC V2.
I am requesting Acks for the bindings and DTS(I) changes in this patch
specifically the two remaining files r8a7790-lager.dts and r8a7791-koelsch.dts
In a previous reply SHMobile was identified as needing to Ack this patch
before it could proceed.
- http://www.spinics.net/lists/arm-kernel/msg349289.html
- https://lkml.org/lkml/2014/6/11/273
If there are problems with this request, can I get a quick explanation in
the reply so I can fix it and move forwards please?
Please see this thread for latest comments:
http://www.spinics.net/lists/arm-kernel/msg349809.html
Acked-by the following people so far:
- Rob Herring
http://www.spinics.net/lists/arm-kernel/msg349289.html
- Lee Jones
For the MFD changes:
http://www.spinics.net/lists/arm-kernel/msg349457.html
- Shawn Guo
arch/arm/boot/dts/imx53-smd.dts | 2 +-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 2 +-
http://www.spinics.net/lists/arm-kernel/msg349398.html
Here is my working for justifying this change:
./arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
Has the following entry:
compatible = "dialog,da9063";
However the DA9063 driver does not support device tree yet so
it would be safe to rename this.
./arch/arm/boot/dts/imx53-smd.dts
Has the following entry:
compatible = "dialog,da9053", "dialog,da9052";
However, the existing driver files for DA9053 define a different
compatible string with the "dlg" prefix. See the entries below.
None of these would have allowed the "dialog" prefix.
{ .compatible = "dlg,da9052", .data = &da9052_i2c_id[0] },
{ .compatible = "dlg,da9053-aa", .data = &da9052_i2c_id[1] },
{ .compatible = "dlg,da9053-ba", .data = &da9052_i2c_id[2] },
{ .compatible = "dlg,da9053-bb", .data = &da9052_i2c_id[3] },
{ .compatible = "dlg,da9053-bc", .data = &da9052_i2c_id[4] },
In this particular case the change for DA9053 did not match up
with the expected compatibility strings and therefore I have
retained the more general "dlg,da9053" because I do not know
which silicon variant (-aa, -ba, -bb, or -bc) is the correct
one to use.
./devicetree/bindings/i2c/trivial-devices.txt
Has the following entry:
dialog,da9053 DA9053: flexible system level PMIC with multicore support
Instead of depreciating this "dialog" line am just replacing it
with a "dlg" because the existing driver DA9053 does not support
the dialog keyword.
./drivers/mfd/da9055-core.c
Has the following entries for the mfd cells
.of_compatible = "dialog,da9055-gpio", etc...
In this case, the driver does not actually pass in any platform data
to any of the mfd cells and so they are not actually used
yet in the driver. Nobody else references this information
so they can safely be changed.
./devicetree/bindings/regulator/da9210.txt
Has the following two entries in the binding file:
- compatible: must be "diasemi,da9210"
compatible = "diasemi,da9210";
However the DA9210 driver does not support device tree.
./arch/arm/boot/dts/r8a7790-lager.dts
./arch/arm/boot/dts/r8a7791-koelsch.dts
These two files have the following entries:
compatible = "diasemi,da9210";
These both reference the "diasemi,da9210" but the device
driver does not support device tree
The remaining files in the kernel I have found correctly references
the driver files compatibility information and so did not need to
be changed.
./devicetree/bindings/mfd/da9052-i2c.txt
- compatible : Should be "dlg,da9052", "dlg,da9053-aa",
"dlg,da9053-ab", or "dlg,da9053-bb"
./devicetree/bindings/mfd/da9055.txt
compatible = "dlg,da9055-pmic";
./arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi
compatible = "dlg,da9053-aa", "dlg,da9052";
./arch/arm/boot/dts/imx53-qsb.dts
compatible = "dlg,da9053-aa", "dlg,da9052";
./devicetree/bindings/sound/da9055.txt
- compatible: "dlg,da9055-codec"
compatible = "dlg,da9055-codec";
This e-mail is in response to the previous threads here:
https://lkml.org/lkml/2014/6/11/262
http://comments.gmane.org/gmane.linux.ports.arm.kernel/341358
Changes since RFC V1
- addition of changes to DTS files referencing "diasemi,da9210"
arch/arm/boot/dts/r8a7790-lager.dts
arch/arm/boot/dts/r8a7791-koelsch.dts
Changes to e-mail content (no patch changes) since RFC V2
- reformatted e-mail according to comments
http://www.spinics.net/lists/arm-kernel/msg349289.html
http://www.spinics.net/lists/arm-kernel/msg349809.html
This RFC V2 resend does not answer the response to RFC V1
from Mark Brown:
http://www.spinics.net/lists/arm-kernel/msg347615.html
This patch applies against linux-next and next-20140715
Regards,
Steve Twiss, Dialog Semiconductor Ltd.
.../devicetree/bindings/i2c/trivial-devices.txt | 2 +-
.../devicetree/bindings/regulator/da9210.txt | 4 ++--
.../devicetree/bindings/vendor-prefixes.txt | 1 +
arch/arm/boot/dts/imx53-smd.dts | 2 +-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 2 +-
arch/arm/boot/dts/r8a7790-lager.dts | 2 +-
arch/arm/boot/dts/r8a7791-koelsch.dts | 2 +-
drivers/mfd/da9055-core.c | 26 +++++++++++-----------
8 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
index 37803eb..a02b8a1 100644
--- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt
+++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
@@ -44,7 +44,7 @@ dallas,ds1775 Tiny Digital Thermometer and Thermostat
dallas,ds3232 Extremely Accurate I²C RTC with Integrated Crystal and SRAM
dallas,ds4510 CPU Supervisor with Nonvolatile Memory and Programmable I/O
dallas,ds75 Digital Thermometer and Thermostat
-dialog,da9053 DA9053: flexible system level PMIC with multicore support
+dlg,da9053 DA9053: flexible system level PMIC with multicore support
epson,rx8025 High-Stability. I2C-Bus INTERFACE REAL TIME CLOCK MODULE
epson,rx8581 I2C-BUS INTERFACE REAL TIME CLOCK MODULE
fsl,mag3110 MAG3110: Xtrinsic High Accuracy, 3D Magnetometer
diff --git a/Documentation/devicetree/bindings/regulator/da9210.txt b/Documentation/devicetree/bindings/regulator/da9210.txt
index f120f22..3297c53 100644
--- a/Documentation/devicetree/bindings/regulator/da9210.txt
+++ b/Documentation/devicetree/bindings/regulator/da9210.txt
@@ -2,7 +2,7 @@
Required properties:
-- compatible: must be "diasemi,da9210"
+- compatible: must be "dlg,da9210"
- reg: the i2c slave address of the regulator. It should be 0x68.
Any standard regulator properties can be used to configure the single da9210
@@ -11,7 +11,7 @@ DCDC.
Example:
da9210@68 {
- compatible = "diasemi,da9210";
+ compatible = "dlg,da9210";
reg = <0x68>;
regulator-min-microvolt = <900000>;
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 5d27e5a..35a833e 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -37,6 +37,7 @@ dallas Maxim Integrated Products (formerly Dallas Semiconductor)
davicom DAVICOM Semiconductor, Inc.
denx Denx Software Engineering
digi Digi International Inc.
+dlg Dialog Semiconductor
dlink D-Link Corporation
dmo Data Modul AG
ebv EBV Elektronik
diff --git a/arch/arm/boot/dts/imx53-smd.dts b/arch/arm/boot/dts/imx53-smd.dts
index 5ec1590..1d32557 100644
--- a/arch/arm/boot/dts/imx53-smd.dts
+++ b/arch/arm/boot/dts/imx53-smd.dts
@@ -265,7 +265,7 @@
};
pmic: dialog@48 {
- compatible = "dialog,da9053", "dialog,da9052";
+ compatible = "dlg,da9053", "dlg,da9052";
reg = <0x48>;
};
};
diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
index 2694aa8..0e50bb0 100644
--- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
@@ -83,7 +83,7 @@
};
pmic@58 {
- compatible = "dialog,da9063";
+ compatible = "dlg,da9063";
reg = <0x58>;
interrupt-parent = <&gpio4>;
interrupts = <17 0x8>; /* active-low GPIO4_17 */
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 856b423..e3db105 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -374,7 +374,7 @@
status = "okay";
vdd_dvfs: regulator@68 {
- compatible = "diasemi,da9210";
+ compatible = "dlg,da9210";
reg = <0x68>;
regulator-min-microvolt = <1000000>;
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 23486c0..33b9532 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -426,7 +426,7 @@
clock-frequency = <100000>;
vdd_dvfs: regulator@68 {
- compatible = "diasemi,da9210";
+ compatible = "dlg,da9210";
reg = <0x68>;
regulator-min-microvolt = <1000000>;
diff --git a/drivers/mfd/da9055-core.c b/drivers/mfd/da9055-core.c
index caf8dcf..b4d920c 100644
--- a/drivers/mfd/da9055-core.c
+++ b/drivers/mfd/da9055-core.c
@@ -296,73 +296,73 @@ static struct resource da9055_ld05_6_resource = {
static const struct mfd_cell da9055_devs[] = {
{
- .of_compatible = "dialog,da9055-gpio",
+ .of_compatible = "dlg,da9055-gpio",
.name = "da9055-gpio",
},
{
- .of_compatible = "dialog,da9055-regulator",
+ .of_compatible = "dlg,da9055-regulator",
.name = "da9055-regulator",
.id = 1,
},
{
- .of_compatible = "dialog,da9055-regulator",
+ .of_compatible = "dlg,da9055-regulator",
.name = "da9055-regulator",
.id = 2,
},
{
- .of_compatible = "dialog,da9055-regulator",
+ .of_compatible = "dlg,da9055-regulator",
.name = "da9055-regulator",
.id = 3,
},
{
- .of_compatible = "dialog,da9055-regulator",
+ .of_compatible = "dlg,da9055-regulator",
.name = "da9055-regulator",
.id = 4,
},
{
- .of_compatible = "dialog,da9055-regulator",
+ .of_compatible = "dlg,da9055-regulator",
.name = "da9055-regulator",
.id = 5,
},
{
- .of_compatible = "dialog,da9055-regulator",
+ .of_compatible = "dlg,da9055-regulator",
.name = "da9055-regulator",
.id = 6,
},
{
- .of_compatible = "dialog,da9055-regulator",
+ .of_compatible = "dlg,da9055-regulator",
.name = "da9055-regulator",
.id = 7,
.resources = &da9055_ld05_6_resource,
.num_resources = 1,
},
{
- .of_compatible = "dialog,da9055-regulator",
+ .of_compatible = "dlg,da9055-regulator",
.name = "da9055-regulator",
.resources = &da9055_ld05_6_resource,
.num_resources = 1,
.id = 8,
},
{
- .of_compatible = "dialog,da9055-onkey",
+ .of_compatible = "dlg,da9055-onkey",
.name = "da9055-onkey",
.resources = &da9055_onkey_resource,
.num_resources = 1,
},
{
- .of_compatible = "dialog,da9055-rtc",
+ .of_compatible = "dlg,da9055-rtc",
.name = "da9055-rtc",
.resources = da9055_rtc_resource,
.num_resources = ARRAY_SIZE(da9055_rtc_resource),
},
{
- .of_compatible = "dialog,da9055-hwmon",
+ .of_compatible = "dlg,da9055-hwmon",
.name = "da9055-hwmon",
.resources = &da9055_hwmon_resource,
.num_resources = 1,
},
{
- .of_compatible = "dialog,da9055-watchdog",
+ .of_compatible = "dlg,da9055-watchdog",
.name = "da9055-watchdog",
},
};
--
end-of-patch for RESEND PATCH RFC V2
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg'
2014-07-24 15:46 [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg' Opensource [Steve Twiss]
@ 2014-07-24 19:43 ` Philipp Zabel
2014-07-25 7:00 ` Lee Jones
1 sibling, 0 replies; 7+ messages in thread
From: Philipp Zabel @ 2014-07-24 19:43 UTC (permalink / raw)
To: Opensource [Steve Twiss]
Cc: Mark Rutland, Andrew Lunn, Mark Brown, Thierry Reding, Lee Jones,
Russell King, Samuel Ortiz, LINUX SH, Magnus Damm,
Jason Gunthorpe, Shawn Guo, Guenter Roeck, DEVICE TREE,
Jason Cooper, Pawel Moll, Ian Campbell, Arnaud Ebalard,
Rob Herring, LINUX ARM KERNEL, Martin Fuzzey, Support Opensource,
LINUX KERNEL, Simon
Am Donnerstag, den 24.07.2014, 16:46 +0100 schrieb Opensource [Steve
Twiss]:
> From: Steve Twiss <stwiss.opensource@diasemi.com>
>
> This patch series updates the device tree vendor prefix for
> Dialog Semiconductor.
>
> Various methods are currently used throughout the kernel: 'diasemi',
> 'dialog' and 'dlg'. Others have also been suggested.
>
> This patch set aims to consolidate the usage of the vendor prefix to
> use a common standard. The prefix 'dlg' is used.
>
>
> Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
>
> ---
> Checks performed with linux-next/next-20140715/scripts/checkpatch.pl
> trivial-devices.txt total: 0 errors, 0 warnings, 89 lines checked
> da9210.txt total: 0 errors, 0 warnings, 21 lines checked
> vendor-prefixes.txt total: 0 errors, 0 warnings, 149 lines checked
> imx53-smd.dts total: 0 errors, 2 warnings, 279 lines checked
> imx6qdl-phytec-pfla02.dtsi total: 0 errors, 2 warnings, 357 lines checked
> r8a7790-lager.dts total: 0 errors, 3 warnings, 403 lines checked
> r8a7791-koelsch.dts total: 0 errors, 4 warnings, 461 lines checked
> da9055-core.c total: 0 errors, 0 warnings, 428 lines checked
>
> This is a resend according to requests for e-mail reformatting and removal
> of '[]' in From: and Signed-off-by: tags. There are no patch alterations
> from RFC V2.
>
> I am requesting Acks for the bindings and DTS(I) changes in this patch
> specifically the two remaining files r8a7790-lager.dts and r8a7791-koelsch.dts
> In a previous reply SHMobile was identified as needing to Ack this patch
> before it could proceed.
> - http://www.spinics.net/lists/arm-kernel/msg349289.html
> - https://lkml.org/lkml/2014/6/11/273
>
> If there are problems with this request, can I get a quick explanation in
> the reply so I can fix it and move forwards please?
>
> Please see this thread for latest comments:
> http://www.spinics.net/lists/arm-kernel/msg349809.html
>
> Acked-by the following people so far:
>
> - Rob Herring
> http://www.spinics.net/lists/arm-kernel/msg349289.html
>
> - Lee Jones
> For the MFD changes:
> http://www.spinics.net/lists/arm-kernel/msg349457.html
>
> - Shawn Guo
> arch/arm/boot/dts/imx53-smd.dts | 2 +-
> arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 2 +-
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
regards
Philipp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg'
2014-07-24 15:46 [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg' Opensource [Steve Twiss]
2014-07-24 19:43 ` Philipp Zabel
@ 2014-07-25 7:00 ` Lee Jones
2014-07-28 9:53 ` Opensource [Steve Twiss]
1 sibling, 1 reply; 7+ messages in thread
From: Lee Jones @ 2014-07-25 7:00 UTC (permalink / raw)
To: Opensource [Steve Twiss]
Cc: Mark Rutland, Andrew Lunn, LINUX SH, Thierry Reding, Russell King,
Samuel Ortiz, Mark Brown, Magnus Damm, Jason Gunthorpe, Shawn Guo,
Philipp Zabel, Guenter Roeck, DEVICE TREE, Jason Cooper,
Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring,
LINUX ARM KERNEL, Martin Fuzzey, Support Opensource, LINUX KERNEL,
Simon
On Thu, 24 Jul 2014, Opensource [Steve Twiss] wrote:
> From: Steve Twiss <stwiss.opensource@diasemi.com>
>
> This patch series updates the device tree vendor prefix for
> Dialog Semiconductor.
>
> Various methods are currently used throughout the kernel: 'diasemi',
> 'dialog' and 'dlg'. Others have also been suggested.
>
> This patch set aims to consolidate the usage of the vendor prefix to
> use a common standard. The prefix 'dlg' is used.
>
>
> Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Didn't I Ack the MFD parts already?
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg'
2014-07-25 7:00 ` Lee Jones
@ 2014-07-28 9:53 ` Opensource [Steve Twiss]
[not found] ` <6ED8E3B22081A4459DAC7699F3695FB7D0B28E95-68WUHU125fLzLL1Oxlh9IgLouzNaz+3S@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Opensource [Steve Twiss] @ 2014-07-28 9:53 UTC (permalink / raw)
To: Lee Jones
Cc: DEVICE TREE, LINUX ARM KERNEL, LINUX KERNEL, LINUX SH,
Rob Herring, Shawn Guo, Support Opensource, Philipp Zabel
On 25 July 2014 08:00, Lee Jones wrote:
>On Thu, 24 Jul 2014, Opensource [Steve Twiss] wrote:
>> From: Steve Twiss <stwiss.opensource@diasemi.com>
>>
>> This patch series updates the device tree vendor prefix for
>> Dialog Semiconductor.
>>
>> Various methods are currently used throughout the kernel: 'diasemi',
>> 'dialog' and 'dlg'. Others have also been suggested.
>>
>> This patch set aims to consolidate the usage of the vendor prefix to
>> use a common standard. The prefix 'dlg' is used.
>>
>>
>> Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
>
>Didn't I Ack the MFD parts already?
>
Yes -- certainly.
(I should have put them in the main body of the e-mail shouldn't I ..?)
I just need the SHMobile responses now.
I will try to make contact with those guys this week.
I have the following Acks so far.
>From: Rob Herring on 21 July 2014 16:43
>I'm okay with this, but it also needs acks from i.MX and SHMobile
>folks as it could break out of tree users.
> Acked-by: Rob Herring <robh@kernel.org>
>From: Shawn Guo on 22 July 2014 02:38
>arch/arm/boot/dts/imx53-smd.dts | 2 +-
>arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 2 +-
> Acked-by: Shawn Guo <shawn.guo@freescale.com>
>From: Lee Jones on 22 July 2014 08:09
>For the MFD changes:
> Acked-by: Lee Jones <lee.jones@linaro.org>
and
>From: Philipp Zabel on 24 July 2014 20:44
> Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Regards,
Steve
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg'
[not found] ` <6ED8E3B22081A4459DAC7699F3695FB7D0B28E95-68WUHU125fLzLL1Oxlh9IgLouzNaz+3S@public.gmane.org>
@ 2014-07-30 2:37 ` Simon Horman
2014-07-30 11:05 ` Opensource [Steve Twiss]
0 siblings, 1 reply; 7+ messages in thread
From: Simon Horman @ 2014-07-30 2:37 UTC (permalink / raw)
To: Opensource [Steve Twiss]
Cc: Lee Jones, DEVICE TREE, Support Opensource, LINUX SH,
LINUX KERNEL, Rob Herring, LINUX ARM KERNEL, Philipp Zabel,
Shawn Guo, Magnus Damm
On Mon, Jul 28, 2014 at 09:53:56AM +0000, Opensource [Steve Twiss] wrote:
> On 25 July 2014 08:00, Lee Jones wrote:
>
> >On Thu, 24 Jul 2014, Opensource [Steve Twiss] wrote:
> >> From: Steve Twiss <stwiss.opensource-WBD+wuPFNBhBDgjK7y7TUQ@public.gmane.org>
> >>
> >> This patch series updates the device tree vendor prefix for
> >> Dialog Semiconductor.
> >>
> >> Various methods are currently used throughout the kernel: 'diasemi',
> >> 'dialog' and 'dlg'. Others have also been suggested.
> >>
> >> This patch set aims to consolidate the usage of the vendor prefix to
> >> use a common standard. The prefix 'dlg' is used.
> >>
> >>
> >> Signed-off-by: Steve Twiss <stwiss.opensource-WBD+wuPFNBhBDgjK7y7TUQ@public.gmane.org>
> >
> >Didn't I Ack the MFD parts already?
> >
>
> Yes -- certainly.
> (I should have put them in the main body of the e-mail shouldn't I ..?)
>
> I just need the SHMobile responses now.
> I will try to make contact with those guys this week.
Hi Steve,
I apologise for not noticing this earlier:
I am entirely unsure how I missed it.
In principle I am fine with this change so long as it does not
introduce any backwards-compatibility problems. In particular removing
compatibility strings that may already be in use by DTB blobs in the wild.
For SH Mobile it seems that Lager and Koelsch were using "diasemi,da9210"
which is unsupported by the driver at this time. So it seems there is no
backwards-compatibility problem there. I'm less sure about other aspects of
the patch. And I'm also less concerned about them.
I do have a slight preference for SH Mobile changes to go through my
renesas tree rather than elsewhere (as part of a more global change)
principally to try to avoid the possibility of conflicts. The SH Mobile dts
files in question are often updated. And for example I notice some fuzz
when applying this patch on top of the next-20140729 tag of linux-next.
If you were to break out the SH Mobile portion of this patch I would be
happy to take it once the driver portion is accepted. That said, I do see
that everyone else has acked the change so clearly this is not an issue
from their point of view. So I will not complain if you decide not to break
the patch up (though please note my warning about possible conflicts).
In the case where you do not want to split up the patch:
Acked-by: Simon Horman <horms+renesas-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
> I have the following Acks so far.
>
> >From: Rob Herring on 21 July 2014 16:43
> >I'm okay with this, but it also needs acks from i.MX and SHMobile
> >folks as it could break out of tree users.
> > Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
>
> >From: Shawn Guo on 22 July 2014 02:38
> >arch/arm/boot/dts/imx53-smd.dts | 2 +-
> >arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 2 +-
> > Acked-by: Shawn Guo <shawn.guo-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
>
> >From: Lee Jones on 22 July 2014 08:09
> >For the MFD changes:
> > Acked-by: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>
> and
>
> >From: Philipp Zabel on 24 July 2014 20:44
> > Acked-by: Philipp Zabel <p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
--
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] 7+ messages in thread
* RE: [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg'
2014-07-30 2:37 ` Simon Horman
@ 2014-07-30 11:05 ` Opensource [Steve Twiss]
2014-07-30 23:47 ` Simon Horman
0 siblings, 1 reply; 7+ messages in thread
From: Opensource [Steve Twiss] @ 2014-07-30 11:05 UTC (permalink / raw)
To: Simon Horman, Opensource [Steve Twiss]
Cc: Lee Jones, DEVICE TREE, Support Opensource, LINUX SH,
LINUX KERNEL, Rob Herring, LINUX ARM KERNEL, Philipp Zabel,
Shawn Guo, Magnus Damm
On 30 July 2014 03:37 Simon Horman wrote:
>On Mon, Jul 28, 2014 at 09:53:56AM +0000, Opensource [Steve Twiss] wrote:
>> On 25 July 2014 08:00, Lee Jones wrote:
>>
>> >On Thu, 24 Jul 2014, Opensource [Steve Twiss] wrote:
>> >> From: Steve Twiss <stwiss.opensource@diasemi.com>
>> >>
>> >> This patch series updates the device tree vendor prefix for
>> >> Dialog Semiconductor.
>> >>
>> >> Various methods are currently used throughout the kernel: 'diasemi',
>> >> 'dialog' and 'dlg'. Others have also been suggested.
>> >>
>> >> This patch set aims to consolidate the usage of the vendor prefix to
>> >> use a common standard. The prefix 'dlg' is used.
>> >>
>> >>
>> >> Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
>> >
>> >Didn't I Ack the MFD parts already?
>> >
>>
>> Yes -- certainly.
>> (I should have put them in the main body of the e-mail shouldn't I ..?)
>>
>> I just need the SHMobile responses now.
>> I will try to make contact with those guys this week.
>
>Hi Steve,
>
>I apologise for not noticing this earlier:
>I am entirely unsure how I missed it.
Hi Simon,
Thank you for responding to this. No problem.
>
>In principle I am fine with this change so long as it does not
>introduce any backwards-compatibility problems. In particular removing
>compatibility strings that may already be in use by DTB blobs in the wild.
>
>For SH Mobile it seems that Lager and Koelsch were using "diasemi,da9210"
>which is unsupported by the driver at this time. So it seems there is no
>backwards-compatibility problem there. I'm less sure about other aspects of
>the patch. And I'm also less concerned about them.
>
>I do have a slight preference for SH Mobile changes to go through my
>renesas tree rather than elsewhere (as part of a more global change)
>principally to try to avoid the possibility of conflicts. The SH Mobile dts
>files in question are often updated. And for example I notice some fuzz
>when applying this patch on top of the next-20140729 tag of linux-next.
I have applied the patch to linux-next/next-20140729 and the patch
program does throw some warnings,
patching file arch/arm/boot/dts/r8a7790-lager.dts
Hunk #1 succeeded at 378 (offset 4 lines).
patching file arch/arm/boot/dts/r8a7791-koelsch.dts
Hunk #1 succeeded at 430 (offset 4 lines).
But when I checked the output, the patch was applied correctly.
They are one-line changes in both cases:
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 7853c2c..becaaab 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -378,7 +378,7 @@
status = "okay";
vdd_dvfs: regulator@68 {
- compatible = "diasemi,da9210";
+ compatible = "dlg,da9210";
reg = <0x68>;
regulator-min-microvolt = <1000000>;
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 8f36d4f..684fc44 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -430,7 +430,7 @@
clock-frequency = <100000>;
vdd_dvfs: regulator@68 {
- compatible = "diasemi,da9210";
+ compatible = "dlg,da9210";
reg = <0x68>;
regulator-min-microvolt = <1000000>;
>
>If you were to break out the SH Mobile portion of this patch I would be
>happy to take it once the driver portion is accepted. That said, I do see
>that everyone else has acked the change so clearly this is not an issue
>from their point of view. So I will not complain if you decide not to break
>the patch up (though please note my warning about possible conflicts).
I have been trying to get Acked-by: tags for a while now, and it has taken a
fair amount of time to get everybody's responses. For that reason and
because the patch managed to be applied cleanly to next-20140729 (despite
4 line offsets) I would like to resend this patch with your Acked-by: applied
instead of splitting up the patch into several sections and then touting
for new Acked-by: all over again.
I realise that your DTS files are updated constantly -- I do hope this will
not cause any problems with the merge.
>
>In the case where you do not want to split up the patch:
>Acked-by: Simon Horman <horms+renesas@verge.net.au>
Thank you.
Regards,
Steve.
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg'
2014-07-30 11:05 ` Opensource [Steve Twiss]
@ 2014-07-30 23:47 ` Simon Horman
0 siblings, 0 replies; 7+ messages in thread
From: Simon Horman @ 2014-07-30 23:47 UTC (permalink / raw)
To: Opensource [Steve Twiss]
Cc: Lee Jones, DEVICE TREE, Support Opensource, LINUX SH,
LINUX KERNEL, Rob Herring, LINUX ARM KERNEL, Philipp Zabel,
Shawn Guo, Magnus Damm
On Wed, Jul 30, 2014 at 11:05:01AM +0000, Opensource [Steve Twiss] wrote:
>
> On 30 July 2014 03:37 Simon Horman wrote:
> >On Mon, Jul 28, 2014 at 09:53:56AM +0000, Opensource [Steve Twiss] wrote:
> >> On 25 July 2014 08:00, Lee Jones wrote:
> >>
> >> >On Thu, 24 Jul 2014, Opensource [Steve Twiss] wrote:
> >> >> From: Steve Twiss <stwiss.opensource@diasemi.com>
> >> >>
> >> >> This patch series updates the device tree vendor prefix for
> >> >> Dialog Semiconductor.
> >> >>
> >> >> Various methods are currently used throughout the kernel: 'diasemi',
> >> >> 'dialog' and 'dlg'. Others have also been suggested.
> >> >>
> >> >> This patch set aims to consolidate the usage of the vendor prefix to
> >> >> use a common standard. The prefix 'dlg' is used.
> >> >>
> >> >>
> >> >> Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
> >> >
> >> >Didn't I Ack the MFD parts already?
> >> >
> >>
> >> Yes -- certainly.
> >> (I should have put them in the main body of the e-mail shouldn't I ..?)
> >>
> >> I just need the SHMobile responses now.
> >> I will try to make contact with those guys this week.
> >
> >Hi Steve,
> >
> >I apologise for not noticing this earlier:
> >I am entirely unsure how I missed it.
>
> Hi Simon,
>
> Thank you for responding to this. No problem.
>
> >
> >In principle I am fine with this change so long as it does not
> >introduce any backwards-compatibility problems. In particular removing
> >compatibility strings that may already be in use by DTB blobs in the wild.
> >
> >For SH Mobile it seems that Lager and Koelsch were using "diasemi,da9210"
> >which is unsupported by the driver at this time. So it seems there is no
> >backwards-compatibility problem there. I'm less sure about other aspects of
> >the patch. And I'm also less concerned about them.
> >
> >I do have a slight preference for SH Mobile changes to go through my
> >renesas tree rather than elsewhere (as part of a more global change)
> >principally to try to avoid the possibility of conflicts. The SH Mobile dts
> >files in question are often updated. And for example I notice some fuzz
> >when applying this patch on top of the next-20140729 tag of linux-next.
>
> I have applied the patch to linux-next/next-20140729 and the patch
> program does throw some warnings,
>
> patching file arch/arm/boot/dts/r8a7790-lager.dts
> Hunk #1 succeeded at 378 (offset 4 lines).
> patching file arch/arm/boot/dts/r8a7791-koelsch.dts
> Hunk #1 succeeded at 430 (offset 4 lines).
>
> But when I checked the output, the patch was applied correctly.
> They are one-line changes in both cases:
>
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> index 7853c2c..becaaab 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -378,7 +378,7 @@
> status = "okay";
>
> vdd_dvfs: regulator@68 {
> - compatible = "diasemi,da9210";
> + compatible = "dlg,da9210";
> reg = <0x68>;
>
> regulator-min-microvolt = <1000000>;
> diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
> index 8f36d4f..684fc44 100644
> --- a/arch/arm/boot/dts/r8a7791-koelsch.dts
> +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
> @@ -430,7 +430,7 @@
> clock-frequency = <100000>;
>
> vdd_dvfs: regulator@68 {
> - compatible = "diasemi,da9210";
> + compatible = "dlg,da9210";
> reg = <0x68>;
>
> regulator-min-microvolt = <1000000>;
>
>
> >
> >If you were to break out the SH Mobile portion of this patch I would be
> >happy to take it once the driver portion is accepted. That said, I do see
> >that everyone else has acked the change so clearly this is not an issue
> >from their point of view. So I will not complain if you decide not to break
> >the patch up (though please note my warning about possible conflicts).
>
> I have been trying to get Acked-by: tags for a while now, and it has taken a
> fair amount of time to get everybody's responses. For that reason and
> because the patch managed to be applied cleanly to next-20140729 (despite
> 4 line offsets) I would like to resend this patch with your Acked-by: applied
> instead of splitting up the patch into several sections and then touting
> for new Acked-by: all over again.
>
> I realise that your DTS files are updated constantly -- I do hope this will
> not cause any problems with the merge.
Hi Steve,
thanks. I'm happy for you to proceed with the plan you outline above.
I think the risk of a non-trivial conflict is minimal.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-07-30 23:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-24 15:46 [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg' Opensource [Steve Twiss]
2014-07-24 19:43 ` Philipp Zabel
2014-07-25 7:00 ` Lee Jones
2014-07-28 9:53 ` Opensource [Steve Twiss]
[not found] ` <6ED8E3B22081A4459DAC7699F3695FB7D0B28E95-68WUHU125fLzLL1Oxlh9IgLouzNaz+3S@public.gmane.org>
2014-07-30 2:37 ` Simon Horman
2014-07-30 11:05 ` Opensource [Steve Twiss]
2014-07-30 23:47 ` Simon Horman
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).