ARM: dts: Add the CLCD controller to Cygnus.
Subsystems (2)
PATCH 1/2 ARM: dts: Add the CLCD controller to Cygnus.
This doesn't yet enable it on any particular platform, as we still need a panel driver for bcm911360_entphn.
---
These bits are just carving off a little bit of my 911360_entphn panel series, to reduce conflicts when rebasing (which I just did for testing pl111 changes for cygnus regressions). I'm waiting to get my current RPi panel driver in before working on the 911360 panel again.
arch/arm/boot/dts/bcm-cygnus.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/boot/dts/bcm-cygnus.dtsi +10 -0
@@ -575,6 +575,16 @@ status = "disabled"; }; + clcd: clcd at 180a0000 { + compatible = "arm,pl111", "arm,primecell"; + reg = <0x180a0000 0x1000>; + interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "combined"; + clocks = <&axi41_clk>, <&apb_clk>; + clock-names = "clcdclk", "apb_pclk"; + status = "disabled"; + }; + keypad: keypad at 180ac000 { compatible = "brcm,bcm-keypad"; reg = <0x180ac000 0x14c>;
Signature · 1 line
2.14.1
PATCH 2/2 ARM: dts: Add the PWM node to Cygnus
This is connected up to the backlight on 911360_entphn, which we'll need for a panel driver. For now, leave the node disabled in the shared dtsi.
--- arch/arm/boot/dts/bcm-cygnus.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/bcm-cygnus.dtsi +8 -0
@@ -585,6 +585,14 @@ status = "disabled"; }; + pwm: pwm at 180aa500 { + compatible = "brcm,kona-pwm"; + reg = <0x180aa500 0xc4>; + #pwm-cells = <3>; + clocks = <&asiu_clks BCM_CYGNUS_ASIU_PWM_CLK>; + status = "disabled"; + }; + keypad: keypad at 180ac000 { compatible = "brcm,bcm-keypad"; reg = <0x180ac000 0x14c>;
Signature · 1 line
2.14.1
Re: [PATCH 2/2] ARM: dts: Add the PWM node to Cygnus
pwm node is correct.
Quoted 5 lines · Eric Anholt
This is connected up to the backlight on 911360_entphn, which we'll need for a panel driver. For now, leave the node disabled in the shared dtsi.
Signed-off-by Eric Anholt <[email protected]>
Quoted 23 lines
--- arch/arm/boot/dts/bcm-cygnus.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/bcm-cygnus.dtsi +8
-0@@ -585,6 +585,14 @@ status = "disabled"; }; + pwm: pwm at 180aa500 { + compatible = "brcm,kona-pwm"; + reg = <0x180aa500 0xc4>; + #pwm-cells = <3>; + clocks = <&asiu_clks BCM_CYGNUS_ASIU_PWM_CLK>; + status = "disabled"; + }; + keypad: keypad at 180ac000 { compatible = "brcm,bcm-keypad"; reg = <0x180ac000 0x14c>;
Hi Eric,
mode is correct, location in file needs to be moved.
Quoted 19 lines · Eric Anholt
This doesn't yet enable it on any particular platform, as we still need a panel driver for
bcm911360_entphn.Signed-off-by Eric Anholt <[email protected]>---
These bits are just carving off a little bit of my 911360_entphn panel series, to reduce conflicts when rebasing (which I just did for testing pl111 changes for cygnus regressions). I'm waiting to get my current RPi panel driver in before working on the 911360 panel again.
arch/arm/boot/dts/bcm-cygnus.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)arch/arm/boot/dts/bcm-cygnus.dtsi +0
-0
arch/arm/boot/dts/bcm-cygnus.dtsi line 578
Quoted 4 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +1
-0@@ -575,6 +575,16 @@ status = "disabled"; }; + clcd: clcd at 180a0000 {
please place in correct address ordered location in file
Quoted 12 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +9
-0+ compatible = "arm,pl111", "arm,primecell"; + reg = <0x180a0000 0x1000>; + interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "combined"; + clocks = <&axi41_clk>, <&apb_clk>; + clock-names = "clcdclk", "apb_pclk"; + status = "disabled"; + }; + keypad: keypad at 180ac000 { compatible = "brcm,bcm-keypad"; reg = <0x180ac000 0x14c>;
Quoted 20 lines · Scott Branden
Hi Eric,
mode is correct, location in file needs to be moved.
Quoted 14 lines · Eric Anholt
This doesn't yet enable it on any particular platform, as we still need a panel driver for
bcm911360_entphn.Signed-off-by Eric Anholt <[email protected]>---
These bits are just carving off a little bit of my 911360_entphn panel series, to reduce conflicts when rebasing (which I just did for testing pl111 changes for cygnus regressions). I'm waiting to get my current RPi panel driver in before working on the 911360 panel again.
arch/arm/boot/dts/bcm-cygnus.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
Quoted 10 lines
arch/arm/boot/dts/bcm-cygnus.dtsi line 577
Quoted 9 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +0
-0@@ -575,6 +575,16 @@ status = "disabled"; }; + clcd: clcd at 180a0000 {please place in correct address ordered location in file
I moved it right above the v3d node to keep the nodes ordered by unit address, please check the result here:
https://github.com/Broadcom/stblinux/commit/4d1e42c6b9d28ce7b74d92258435f9d16834ae75
Quoted 13 lines
Quoted 12 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +9
-0+ compatible = "arm,pl111", "arm,primecell"; + reg = <0x180a0000 0x1000>; + interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "combined"; + clocks = <&axi41_clk>, <&apb_clk>; + clock-names = "clcdclk", "apb_pclk"; + status = "disabled"; + }; + keypad: keypad at 180ac000 { compatible = "brcm,bcm-keypad"; reg = <0x180ac000 0x14c>;
Signature · 1 line
Florian
Florian Fainelli
AppliedRe: [PATCH 2/2] ARM: dts: Add the PWM node to Cygnus
In reply to Scott BrandenQuoted 10 lines · Scott Branden
pwm node is correct.
Quoted 5 lines · Eric Anholt
This is connected up to the backlight on 911360_entphn, which we'll need for a panel driver. For now, leave the node disabled in the shared dtsi.
Signed-off-by Eric Anholt <[email protected]>Acked-by Scott Branden <[email protected]>
Applied to devicetree/next:
https://github.com/Broadcom/stblinux/commit/31807d46f85c4d86ef3b6df9c5a4e69d35f75bc0
Quoted 24 lines
Quoted 23 lines
--- arch/arm/boot/dts/bcm-cygnus.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/bcm-cygnus.dtsi +7
-0@@ -585,6 +585,14 @@ status = "disabled"; }; + pwm: pwm at 180aa500 { + compatible = "brcm,kona-pwm"; + reg = <0x180aa500 0xc4>; + #pwm-cells = <3>; + clocks = <&asiu_clks BCM_CYGNUS_ASIU_PWM_CLK>; + status = "disabled"; + }; + keypad: keypad at 180ac000 { compatible = "brcm,bcm-keypad"; reg = <0x180ac000 0x14c>;
Signature · 1 line
Florian
Scott Branden
Acked-byLooks good
On Sep 1, 2017 7:10 PM, "Florian Fainelli" <[email protected]> wrote:
Quoted 20 lines · Scott Branden
Hi Eric,
mode is correct, location in file needs to be moved.
Quoted 14 lines · Eric Anholt
This doesn't yet enable it on any particular platform, as we still need a panel driver for
bcm911360_entphn.Signed-off-by Eric Anholt <[email protected]>---
These bits are just carving off a little bit of my 911360_entphn panel series, to reduce conflicts when rebasing (which I just did for testing pl111 changes for cygnus regressions). I'm waiting to get my current RPi panel driver in before working on the 911360 panel again.
arch/arm/boot/dts/bcm-cygnus.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
Quoted 10 lines
arch/arm/boot/dts/bcm-cygnus.dtsi line 577
Quoted 9 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +0
-0@@ -575,6 +575,16 @@ status = "disabled"; }; + clcd: clcd@180a0000 {please place in correct address ordered location in file
I moved it right above the v3d node to keep the nodes ordered by unit address, please check the result here:
https://github.com/Broadcom/stblinux/commit/4d1e42c6b9d28ce7b74d92258435f9d16834ae75
With Moved location
Quoted 4 lines
Quoted 4 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +4
-0+ compatible = "arm,pl111", "arm,primecell"; + reg = <0x180a0000 0x1000>; + interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "combined";
Quoted 9 lines
arch/arm/boot/dts/bcm-cygnus.dtsi line 590
Quoted 8 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +5
-0+ clocks = <&axi41_clk>, <&apb_clk>; + clock-names = "clcdclk", "apb_pclk"; + status = "disabled"; + }; + keypad: keypad@180ac000 { compatible = "brcm,bcm-keypad"; reg = <0x180ac000 0x14c>;
--
Florian
Quoted 47 lines · Scott Branden
Looks good
On Sep 1, 2017 7:10 PM, "Florian Fainelli" <[email protected] <mailto:[email protected]>> wrote:
On 08/31/2017 01:16 PM, Scott Branden wrote: > Hi Eric, > > mode is correct, location in file needs to be moved. > > > On 17-08-31 11:54 AM, Eric Anholt wrote: >> This doesn't yet enable it on any particular platform, as we still >> need a panel driver for bcm911360_entphn. >> >> Signed-off-by: Eric Anholt <eric at anholt.net <mailto:[email protected]>> >> --- >> >> These bits are just carving off a little bit of my 911360_entphn panel >> series, to reduce conflicts when rebasing (which I just did for >> testing pl111 changes for cygnus regressions). I'm waiting to get my >> current RPi panel driver in before working on the 911360 panel again. >> >> arch/arm/boot/dts/bcm-cygnus.dtsi | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi >> b/arch/arm/boot/dts/bcm-cygnus.dtsi >> index 7c957ea06c66..74f73ff24aec 100644 >> --- a/arch/arm/boot/dts/bcm-cygnus.dtsi >> +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi >> @@ -575,6 +575,16 @@ >> status = "disabled"; >> }; >> + clcd: clcd at 180a0000 { > please place in correct address ordered location in file I moved it right above the v3d node to keep the nodes ordered by unit address, please check the result here: https://github.com/Broadcom/stblinux/commit/4d1e42c6b9d28ce7b74d92258435f9d16834ae75 <https://github.com/Broadcom/stblinux/commit/4d1e42c6b9d28ce7b74d92258435f9d16834ae75>
Quoted 3 lines
With Moved location
Acked-by Scott Branden <[email protected]<mailto:[email protected]>>
Pushed in place with your tag added, thanks!
Signature · 1 line
Florian