devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: bcm283x: Drop unnecessary properties from dpi node
@ 2022-06-07 15:50 Stefan Wahren
  2022-06-08  8:04 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Wahren @ 2022-06-07 15:50 UTC (permalink / raw)
  To: Florian Fainelli, Ray Jui, Scott Branden
  Cc: bcm-kernel-feedback-list, Maxime Ripard, devicetree,
	linux-arm-kernel, Stefan Wahren

Since commit 094536003e06 ("dt-bindings: display: Convert
VC4 bindings to schemas") it has been defined that the properties
'#address-cells' and '#size-cells' are not necessary for the dpi
node. This results in a warning during dtbs_check:

  dpi@7e208000: '#address-cells', '#size-cells' do not match any
  of the regexes: 'pinctrl-[0-9]+'

Since we don't need a reg property to differentiate between
multiple ports, drop them from the dtsi file.

Suggested-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 arch/arm/boot/dts/bcm283x.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index c113661a6668..6f99b70e1db0 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -352,8 +352,6 @@ dpi: dpi@7e208000 {
 			clocks = <&clocks BCM2835_CLOCK_VPU>,
 				 <&clocks BCM2835_CLOCK_DPI>;
 			clock-names = "core", "pixel";
-			#address-cells = <1>;
-			#size-cells = <0>;
 			status = "disabled";
 		};
 
-- 
2.25.1


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

* Re: [PATCH] ARM: dts: bcm283x: Drop unnecessary properties from dpi node
  2022-06-07 15:50 [PATCH] ARM: dts: bcm283x: Drop unnecessary properties from dpi node Stefan Wahren
@ 2022-06-08  8:04 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2022-06-08  8:04 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Stefan Wahren, Ray Jui, Scott Branden
  Cc: Maxime Ripard, devicetree, linux-arm-kernel

On Tue,  7 Jun 2022 17:50:28 +0200, Stefan Wahren <stefan.wahren@i2se.com> wrote:
> Since commit 094536003e06 ("dt-bindings: display: Convert
> VC4 bindings to schemas") it has been defined that the properties
> '#address-cells' and '#size-cells' are not necessary for the dpi
> node. This results in a warning during dtbs_check:
> 
>   dpi@7e208000: '#address-cells', '#size-cells' do not match any
>   of the regexes: 'pinctrl-[0-9]+'
> 
> Since we don't need a reg property to differentiate between
> multiple ports, drop them from the dtsi file.
> 
> Suggested-by: Maxime Ripard <maxime@cerno.tech>
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian

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

end of thread, other threads:[~2022-06-08  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-07 15:50 [PATCH] ARM: dts: bcm283x: Drop unnecessary properties from dpi node Stefan Wahren
2022-06-08  8:04 ` Florian Fainelli

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