diff mbox series

ARM: dts: sun8i: a33: Add default address and size cells to the DSI node

Message ID 20190318102602.8685-1-maxime.ripard@bootlin.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: sun8i: a33: Add default address and size cells to the DSI node | expand

Commit Message

Maxime Ripard March 18, 2019, 10:26 a.m. UTC
The DSI bindings require that an address cell size of 1, and a size cell of
0. Instead of duplicating it in each and every board DTS file, let's put it
in the DTSI.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
---
 arch/arm/boot/dts/sun8i-a33.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Chen-Yu Tsai March 19, 2019, 1:24 p.m. UTC | #1
On Mon, Mar 18, 2019 at 6:26 PM Maxime Ripard <maxime.ripard@bootlin.com> wrote:
>
> The DSI bindings require that an address cell size of 1, and a size cell of
> 0. Instead of duplicating it in each and every board DTS file, let's put it
> in the DTSI.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>

Acked-by: Chen-Yu Tsai <wens@csie.org>
Maxime Ripard March 19, 2019, 1:44 p.m. UTC | #2
On Tue, Mar 19, 2019 at 09:24:09PM +0800, Chen-Yu Tsai wrote:
> On Mon, Mar 18, 2019 at 6:26 PM Maxime Ripard <maxime.ripard@bootlin.com> wrote:
> >
> > The DSI bindings require that an address cell size of 1, and a size cell of
> > 0. Instead of duplicating it in each and every board DTS file, let's put it
> > in the DTSI.
> >
> > Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
>
> Acked-by: Chen-Yu Tsai <wens@csie.org>

Applied, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
index 1111a6498102..9f09e2996f1e 100644
--- a/arch/arm/boot/dts/sun8i-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a33.dtsi
@@ -265,6 +265,8 @@ 
 			phys = <&dphy>;
 			phy-names = "dphy";
 			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
 
 			ports {
 				#address-cells = <1>;