linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] removing of some unused/unsupported dts entries
@ 2014-12-13  1:46 Silvio Fricke
  2014-12-13  1:46 ` [PATCH 1/3] ARM: mx5: dts: remove unused irq-trigger entry Silvio Fricke
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Silvio Fricke @ 2014-12-13  1:46 UTC (permalink / raw)
  To: linux-kernel
  Cc: Silvio Fricke, linux-arm-kernel, devicetree, Thomas Gleixner,
	Jason Cooper, Marc Zyngier

Hi,

I have found some dts entries which are not evaluated by the drivers. This
patch remove this entries from the dts files.
Jason has mentioned I should CC: Thomas, Marc and him self to this mails.

thanks and best regards,
Silvio


Silvio Fricke (3):
  ARM: mx5: dts: remove unused irq-trigger entry
  ARM: tegra: dts: remove unused irq-trigger entry
  ARM: SPEAr: dts: remove unused irq-trigger, id and block entries

 arch/arm/boot/dts/imx53-m53.dtsi      | 1 -
 arch/arm/boot/dts/spear1310-evb.dts   | 1 -
 arch/arm/boot/dts/spear1340-evb.dts   | 2 --
 arch/arm/boot/dts/spear320-hmi.dts    | 3 ---
 arch/arm/boot/dts/tegra30-apalis.dtsi | 1 -
 5 files changed, 8 deletions(-)

-- 
2.1.3


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

* [PATCH 1/3] ARM: mx5: dts: remove unused irq-trigger entry
  2014-12-13  1:46 [PATCH 0/3] removing of some unused/unsupported dts entries Silvio Fricke
@ 2014-12-13  1:46 ` Silvio Fricke
  2014-12-13  1:46 ` [PATCH 2/3] ARM: tegra: " Silvio Fricke
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Silvio Fricke @ 2014-12-13  1:46 UTC (permalink / raw)
  To: linux-kernel
  Cc: Silvio Fricke, linux-arm-kernel, devicetree, Thomas Gleixner,
	Jason Cooper, Marc Zyngier

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Jason Cooper <jason@lakedaemon.net>
CC: Marc Zyngier <marc.zyngier@arm.com>
---
 arch/arm/boot/dts/imx53-m53.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx53-m53.dtsi b/arch/arm/boot/dts/imx53-m53.dtsi
index 87a7fc7..8a5acb5 100644
--- a/arch/arm/boot/dts/imx53-m53.dtsi
+++ b/arch/arm/boot/dts/imx53-m53.dtsi
@@ -60,7 +60,6 @@
 		blocks = <0x5>;
 		interrupts = <6 0x0>;
 		interrupt-parent = <&gpio7>;
-		irq-trigger = <0x1>;
 
 		stmpe_touchscreen {
 			compatible = "st,stmpe-ts";
-- 
2.1.3


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

* [PATCH 2/3] ARM: tegra: dts: remove unused irq-trigger entry
  2014-12-13  1:46 [PATCH 0/3] removing of some unused/unsupported dts entries Silvio Fricke
  2014-12-13  1:46 ` [PATCH 1/3] ARM: mx5: dts: remove unused irq-trigger entry Silvio Fricke
@ 2014-12-13  1:46 ` Silvio Fricke
  2014-12-13  1:46 ` [PATCH 3/3] ARM: SPEAr: dts: remove unused irq-trigger, id and block entries Silvio Fricke
  2014-12-13  9:21 ` [PATCH 0/3] removing of some unused/unsupported dts entries Marc Zyngier
  3 siblings, 0 replies; 7+ messages in thread
From: Silvio Fricke @ 2014-12-13  1:46 UTC (permalink / raw)
  To: linux-kernel
  Cc: Silvio Fricke, linux-arm-kernel, devicetree, Thomas Gleixner,
	Jason Cooper, Marc Zyngier

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Jason Cooper <jason@lakedaemon.net>
CC: Marc Zyngier <marc.zyngier@arm.com>
---
 arch/arm/boot/dts/tegra30-apalis.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi
index a5446cb..c2a7528 100644
--- a/arch/arm/boot/dts/tegra30-apalis.dtsi
+++ b/arch/arm/boot/dts/tegra30-apalis.dtsi
@@ -540,7 +540,6 @@
 			interrupt-controller;
 			id = <0>;
 			blocks = <0x5>;
-			irq-trigger = <0x1>;
 
 			stmpe_touchscreen {
 				compatible = "st,stmpe-ts";
-- 
2.1.3


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

* [PATCH 3/3] ARM: SPEAr: dts: remove unused irq-trigger, id and block entries
  2014-12-13  1:46 [PATCH 0/3] removing of some unused/unsupported dts entries Silvio Fricke
  2014-12-13  1:46 ` [PATCH 1/3] ARM: mx5: dts: remove unused irq-trigger entry Silvio Fricke
  2014-12-13  1:46 ` [PATCH 2/3] ARM: tegra: " Silvio Fricke
@ 2014-12-13  1:46 ` Silvio Fricke
  2014-12-15  4:09   ` Viresh Kumar
  2014-12-13  9:21 ` [PATCH 0/3] removing of some unused/unsupported dts entries Marc Zyngier
  3 siblings, 1 reply; 7+ messages in thread
From: Silvio Fricke @ 2014-12-13  1:46 UTC (permalink / raw)
  To: linux-kernel
  Cc: Silvio Fricke, linux-arm-kernel, devicetree, Thomas Gleixner,
	Jason Cooper, Marc Zyngier

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Jason Cooper <jason@lakedaemon.net>
CC: Marc Zyngier <marc.zyngier@arm.com>
---
 arch/arm/boot/dts/spear1310-evb.dts | 1 -
 arch/arm/boot/dts/spear1340-evb.dts | 2 --
 arch/arm/boot/dts/spear320-hmi.dts  | 3 ---
 3 files changed, 6 deletions(-)

diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts
index d42c84b..95c2ff1 100644
--- a/arch/arm/boot/dts/spear1310-evb.dts
+++ b/arch/arm/boot/dts/spear1310-evb.dts
@@ -369,7 +369,6 @@
 					pl022,duplex = <0>;
 					interrupts = <6 0x4>;
 					interrupt-parent = <&gpio1>;
-					irq-trigger = <0x2>;
 
 					stmpe_touchscreen {
 						compatible = "st,stmpe-ts";
diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts
index b23e05e..bba3389 100644
--- a/arch/arm/boot/dts/spear1340-evb.dts
+++ b/arch/arm/boot/dts/spear1340-evb.dts
@@ -325,7 +325,6 @@
 					reg = <0x41>;
 					interrupts = <4 0x4>;
 					interrupt-parent = <&gpio0>;
-					irq-trigger = <0x2>;
 
 					stmpegpio: stmpe_gpio {
 						compatible = "st,stmpe-gpio";
@@ -478,7 +477,6 @@
 					pl022,duplex = <0>;
 					interrupts = <100 0>;
 					interrupt-parent = <&gpiopinctrl>;
-					irq-trigger = <0x2>;
 					#address-cells = <1>;
 					#size-cells = <0>;
 
diff --git a/arch/arm/boot/dts/spear320-hmi.dts b/arch/arm/boot/dts/spear320-hmi.dts
index 0aa6fef..f8ed01e 100644
--- a/arch/arm/boot/dts/spear320-hmi.dts
+++ b/arch/arm/boot/dts/spear320-hmi.dts
@@ -243,9 +243,6 @@
 					reg = <0x41>;
 					irq-over-gpio;
 					irq-gpios = <&gpiopinctrl 29 0x4>;
-					id = <0>;
-					blocks = <0x5>;
-					irq-trigger = <0x1>;
 
 					stmpegpio: stmpe-gpio {
 						compatible = "stmpe,gpio";
-- 
2.1.3


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

* Re: [PATCH 0/3] removing of some unused/unsupported dts entries
  2014-12-13  1:46 [PATCH 0/3] removing of some unused/unsupported dts entries Silvio Fricke
                   ` (2 preceding siblings ...)
  2014-12-13  1:46 ` [PATCH 3/3] ARM: SPEAr: dts: remove unused irq-trigger, id and block entries Silvio Fricke
@ 2014-12-13  9:21 ` Marc Zyngier
  2014-12-13 14:33   ` Jason Cooper
  3 siblings, 1 reply; 7+ messages in thread
From: Marc Zyngier @ 2014-12-13  9:21 UTC (permalink / raw)
  To: Silvio Fricke
  Cc: linux-kernel, linux-arm-kernel, devicetree, Thomas Gleixner,
	Jason Cooper

On Sat, Dec 13 2014 at  1:46:45 am GMT, Silvio Fricke <silvio.fricke@gmail.com> wrote:

Hi Silvio,

> I have found some dts entries which are not evaluated by the drivers. This
> patch remove this entries from the dts files.
> Jason has mentioned I should CC: Thomas, Marc and him self to this
> mails.

As far as I can tell, this looks correct. A few key things though:

- Please write decent commit logs. Indicate *why* you think these
  properties can be removed (hint: not finding corresponding in the
  drivers is not enough a reason, the binding itself matters).

- Spend two minutes looking at the ML archives, and try to find why we
  ended-up with these orphan properties (something like this:
  https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-November/023482.html
  contains useful historical information).

- Cc the relevant platform maintainers. You're changing things that they
  care about, basic courtesy is to keep them in the loop.

All of this will help maintainers to quickly decide on the fate of these
patches.

Thanks,

	M.

> thanks and best regards,
> Silvio
>
>
> Silvio Fricke (3):
>   ARM: mx5: dts: remove unused irq-trigger entry
>   ARM: tegra: dts: remove unused irq-trigger entry
>   ARM: SPEAr: dts: remove unused irq-trigger, id and block entries
>
>  arch/arm/boot/dts/imx53-m53.dtsi      | 1 -
>  arch/arm/boot/dts/spear1310-evb.dts   | 1 -
>  arch/arm/boot/dts/spear1340-evb.dts   | 2 --
>  arch/arm/boot/dts/spear320-hmi.dts    | 3 ---
>  arch/arm/boot/dts/tegra30-apalis.dtsi | 1 -
>  5 files changed, 8 deletions(-)

-- 
Without deviation from the norm, progress is not possible.

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

* Re: [PATCH 0/3] removing of some unused/unsupported dts entries
  2014-12-13  9:21 ` [PATCH 0/3] removing of some unused/unsupported dts entries Marc Zyngier
@ 2014-12-13 14:33   ` Jason Cooper
  0 siblings, 0 replies; 7+ messages in thread
From: Jason Cooper @ 2014-12-13 14:33 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Silvio Fricke, linux-kernel, linux-arm-kernel, devicetree,
	Thomas Gleixner

Silvio, Marc,

On Sat, Dec 13, 2014 at 09:21:23AM +0000, Marc Zyngier wrote:
> On Sat, Dec 13 2014 at  1:46:45 am GMT, Silvio Fricke <silvio.fricke@gmail.com> wrote:
> 
> Hi Silvio,
> 
> > I have found some dts entries which are not evaluated by the drivers. This
> > patch remove this entries from the dts files.
> > Jason has mentioned I should CC: Thomas, Marc and him self to this
> > mails.
> 
> As far as I can tell, this looks correct. A few key things though:
> 
> - Please write decent commit logs. Indicate *why* you think these
>   properties can be removed (hint: not finding corresponding in the
>   drivers is not enough a reason, the binding itself matters).

Right.  The real issue is the state of these properties within the
binding documentation.  Linux isn't the only consumer of these dts
files (*BSD, barebox, etc), so us not using them doesn't necessarily
mean the property should be removed.

The most important lesson (recently learned ;-) ) is to make sure all
properties are accurately describing the *hardware*.  Not Linux's
implementation of talking to the hardware.  That'll go a long way if the
changelog discusses how property X is an implementation detail vice a
hardware characteristic or feature.

> - Cc the relevant platform maintainers. You're changing things that they
>   care about, basic courtesy is to keep them in the loop.

True.  In Silvio's defense, I just told him to Cc us to get the ball
rolling.  (I tend to dislike long discussions on chat mediums, I'd much
rather they be in email.  So I was definitely too succinct).

For the record, you can use ./scripts/get_maintainer.pl on your patches
to make sure you get most of the right people.  In this case, that'll
include the DT maintainers.  You may want to run a get_maintainer.pl -f
arch/arm/mach-$ARCH for each of the dts file you touch.  Those
maintainers usually wrangle the patches for their dts files.
Unfortunately, not all of them have updated MAINTAINERS
(<cough>mvebu<cough>) to include the dts file patterns.

thx,

Jason.

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

* Re: [PATCH 3/3] ARM: SPEAr: dts: remove unused irq-trigger, id and block entries
  2014-12-13  1:46 ` [PATCH 3/3] ARM: SPEAr: dts: remove unused irq-trigger, id and block entries Silvio Fricke
@ 2014-12-15  4:09   ` Viresh Kumar
  0 siblings, 0 replies; 7+ messages in thread
From: Viresh Kumar @ 2014-12-15  4:09 UTC (permalink / raw)
  To: Silvio Fricke
  Cc: linux-kernel, devicetree, Jason Cooper, Marc Zyngier,
	Thomas Gleixner, linux-arm-kernel

On Sat, Dec 13, 2014 at 7:16 AM, Silvio Fricke <silvio.fricke@gmail.com> wrote:
> Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
> CC: Thomas Gleixner <tglx@linutronix.de>
> CC: Jason Cooper <jason@lakedaemon.net>
> CC: Marc Zyngier <marc.zyngier@arm.com>
> ---
>  arch/arm/boot/dts/spear1310-evb.dts | 1 -
>  arch/arm/boot/dts/spear1340-evb.dts | 2 --
>  arch/arm/boot/dts/spear320-hmi.dts  | 3 ---
>  3 files changed, 6 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

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

end of thread, other threads:[~2014-12-15  4:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-13  1:46 [PATCH 0/3] removing of some unused/unsupported dts entries Silvio Fricke
2014-12-13  1:46 ` [PATCH 1/3] ARM: mx5: dts: remove unused irq-trigger entry Silvio Fricke
2014-12-13  1:46 ` [PATCH 2/3] ARM: tegra: " Silvio Fricke
2014-12-13  1:46 ` [PATCH 3/3] ARM: SPEAr: dts: remove unused irq-trigger, id and block entries Silvio Fricke
2014-12-15  4:09   ` Viresh Kumar
2014-12-13  9:21 ` [PATCH 0/3] removing of some unused/unsupported dts entries Marc Zyngier
2014-12-13 14:33   ` Jason Cooper

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