From: linus.walleij@linaro.org (Linus Walleij) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/10] ARM: dts: Augment VGA connector bridge on PB1176 Date: Sun, 11 Mar 2018 14:52:59 +0100 [thread overview] Message-ID: <20180311135307.6271-3-linus.walleij@linaro.org> (raw) In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> The PL111 in the ARM reference platforms are connected to "panels" that are actually dumb VGA DAC connector bridges. Now that we can support the proper bridges in the DRM driver, fix this up. Cc: Liviu Dudau <liviu.dudau@arm.com> Cc: Mali DP Maintainers <malidp@foss.arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- arch/arm/boot/dts/arm-realview-pb1176.dts | 66 +++++++++++++++++++------------ 1 file changed, 40 insertions(+), 26 deletions(-) diff --git a/arch/arm/boot/dts/arm-realview-pb1176.dts b/arch/arm/boot/dts/arm-realview-pb1176.dts index c789564f2803..f935b72d3d96 100644 --- a/arch/arm/boot/dts/arm-realview-pb1176.dts +++ b/arch/arm/boot/dts/arm-realview-pb1176.dts @@ -161,6 +161,43 @@ port1-otg; }; + bridge { + compatible = "ti,ths8134a", "ti,ths8134"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port at 0 { + reg = <0>; + + vga_bridge_in: endpoint { + remote-endpoint = <&clcd_pads>; + }; + }; + + port at 1 { + reg = <1>; + + vga_bridge_out: endpoint { + remote-endpoint = <&vga_con_in>; + }; + }; + }; + }; + + vga { + compatible = "vga-connector"; + + port { + vga_con_in: endpoint { + remote-endpoint = <&vga_bridge_out>; + }; + }; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -403,36 +440,15 @@ interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; clocks = <&oscclk0>, <&pclk>; clock-names = "clcdclk", "apb_pclk"; + /* 1024x768 16bpp @65MHz works fine */ + max-memory-bandwidth = <95000000>; port { clcd_pads: endpoint { - remote-endpoint = <&clcd_panel>; + remote-endpoint = <&vga_bridge_in>; arm,pl11x,tft-r0g0b0-pads = <0 8 16>; }; }; - - panel { - compatible = "panel-dpi"; - - port { - clcd_panel: endpoint { - remote-endpoint = <&clcd_pads>; - }; - }; - - /* Standard 640x480 VGA timings */ - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - hback-porch = <48>; - hfront-porch = <16>; - hsync-len = <96>; - vactive = <480>; - vback-porch = <33>; - vfront-porch = <10>; - vsync-len = <2>; - }; - }; }; }; @@ -564,7 +580,5 @@ clocks = <&pclk>; clock-names = "apb_pclk"; }; - - }; }; -- 2.14.3
WARNING: multiple messages have this Message-ID (diff)
From: Linus Walleij <linus.walleij@linaro.org> To: linux-arm-kernel@lists.infradead.org Cc: Liviu Dudau <liviu.dudau@arm.com>, dri-devel@lists.freedesktop.org, Mali DP Maintainers <malidp@foss.arm.com> Subject: [PATCH 02/10] ARM: dts: Augment VGA connector bridge on PB1176 Date: Sun, 11 Mar 2018 14:52:59 +0100 [thread overview] Message-ID: <20180311135307.6271-3-linus.walleij@linaro.org> (raw) In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> The PL111 in the ARM reference platforms are connected to "panels" that are actually dumb VGA DAC connector bridges. Now that we can support the proper bridges in the DRM driver, fix this up. Cc: Liviu Dudau <liviu.dudau@arm.com> Cc: Mali DP Maintainers <malidp@foss.arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- arch/arm/boot/dts/arm-realview-pb1176.dts | 66 +++++++++++++++++++------------ 1 file changed, 40 insertions(+), 26 deletions(-) diff --git a/arch/arm/boot/dts/arm-realview-pb1176.dts b/arch/arm/boot/dts/arm-realview-pb1176.dts index c789564f2803..f935b72d3d96 100644 --- a/arch/arm/boot/dts/arm-realview-pb1176.dts +++ b/arch/arm/boot/dts/arm-realview-pb1176.dts @@ -161,6 +161,43 @@ port1-otg; }; + bridge { + compatible = "ti,ths8134a", "ti,ths8134"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + vga_bridge_in: endpoint { + remote-endpoint = <&clcd_pads>; + }; + }; + + port@1 { + reg = <1>; + + vga_bridge_out: endpoint { + remote-endpoint = <&vga_con_in>; + }; + }; + }; + }; + + vga { + compatible = "vga-connector"; + + port { + vga_con_in: endpoint { + remote-endpoint = <&vga_bridge_out>; + }; + }; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -403,36 +440,15 @@ interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; clocks = <&oscclk0>, <&pclk>; clock-names = "clcdclk", "apb_pclk"; + /* 1024x768 16bpp @65MHz works fine */ + max-memory-bandwidth = <95000000>; port { clcd_pads: endpoint { - remote-endpoint = <&clcd_panel>; + remote-endpoint = <&vga_bridge_in>; arm,pl11x,tft-r0g0b0-pads = <0 8 16>; }; }; - - panel { - compatible = "panel-dpi"; - - port { - clcd_panel: endpoint { - remote-endpoint = <&clcd_pads>; - }; - }; - - /* Standard 640x480 VGA timings */ - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - hback-porch = <48>; - hfront-porch = <16>; - hsync-len = <96>; - vactive = <480>; - vback-porch = <33>; - vfront-porch = <10>; - vsync-len = <2>; - }; - }; }; }; @@ -564,7 +580,5 @@ clocks = <&pclk>; clock-names = "apb_pclk"; }; - - }; }; -- 2.14.3 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-03-11 13:52 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-11 13:52 [PATCH 00/10] Switch Versatile and RealView to DRM Linus Walleij 2018-03-11 13:52 ` Linus Walleij 2018-03-11 13:52 ` [PATCH 01/10] ARM: dts: Augment VGA connector bridge on PB11MPcore Linus Walleij 2018-03-11 13:52 ` Linus Walleij 2018-03-12 17:28 ` Liviu Dudau 2018-03-12 17:28 ` Liviu Dudau 2018-03-11 13:52 ` Linus Walleij [this message] 2018-03-11 13:52 ` [PATCH 02/10] ARM: dts: Augment VGA connector bridge on PB1176 Linus Walleij 2018-03-11 13:53 ` [PATCH 03/10] ARM: dts: Augment VGA connector bridge on Realview EB Linus Walleij 2018-03-11 13:53 ` Linus Walleij 2018-03-11 13:53 ` [PATCH 04/10] ARM: dts: Augment VGA connector bridge on Realview PBX Linus Walleij 2018-03-11 13:53 ` Linus Walleij 2018-03-12 17:31 ` Liviu Dudau 2018-03-12 17:31 ` Liviu Dudau 2018-03-11 13:53 ` [PATCH 05/10] ARM: dts: Add Versatile IB2 device tree Linus Walleij 2018-03-11 13:53 ` Linus Walleij 2018-03-12 17:34 ` Liviu Dudau 2018-03-12 17:34 ` Liviu Dudau 2018-03-11 13:53 ` [PATCH 06/10] ARM: dts: Augment panel setting for Versatile Linus Walleij 2018-03-11 13:53 ` Linus Walleij 2018-03-12 17:37 ` Liviu Dudau 2018-03-12 17:37 ` Liviu Dudau 2018-03-11 13:53 ` [PATCH 07/10] ARM: defconfig: Update RealView defconfig Linus Walleij 2018-03-11 13:53 ` Linus Walleij 2018-03-11 13:53 ` [PATCH 08/10] ARM: defconfig: Switch RealView boards to use P111 DRM Linus Walleij 2018-03-11 13:53 ` Linus Walleij 2018-03-11 13:53 ` [PATCH 09/10] ARM: defconfig: Update Versatile defconfig Linus Walleij 2018-03-11 13:53 ` Linus Walleij 2018-03-11 13:53 ` [PATCH 10/10] ARM: defconfig: Configure Versatile boards to use PL111 DRM Linus Walleij 2018-03-11 13:53 ` Linus Walleij 2018-03-12 17:31 ` [PATCH 00/10] Switch Versatile and RealView to DRM Daniel Vetter 2018-03-12 17:31 ` Daniel Vetter
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180311135307.6271-3-linus.walleij@linaro.org \ --to=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.