devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [RESEND PATCH 2/4] dt-bindings: add "reduced-width" property for Armada XP SDRAM controller
           [not found] <20170807014641.4003-1-chris.packham@alliedtelesis.co.nz>
           [not found] ` <20170807014641.4003-1-chris.packham-6g8wRflRTwXFdCa3tKVlE6U/zSkkHjvu@public.gmane.org>
    @ 2017-08-07  1:46 ` Chris Packham
      2017-08-10 20:38   ` Rob Herring
      2017-08-07  1:46 ` [RESEND PATCH 3/4] ARM: dts: mvebu: set reduced-width property for SDRAM on 98dx3236 Chris Packham
      2 siblings, 1 reply; 6+ messages in thread
    From: Chris Packham @ 2017-08-07  1:46 UTC (permalink / raw)
      To: robh+dt, gregory.clement, bp, jlu, linux-arm-kernel, linux-edac,
    	linux-kernel
      Cc: Chris Packham, Mark Rutland, devicetree
    
    Some SoC implementations that use this controller have a reduced pin
    count so the meaning of "full" and "half" with change.
    
    Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
    ---
     .../bindings/memory-controllers/mvebu-sdram-controller.txt          | 6 ++++++
     1 file changed, 6 insertions(+)
    
    diff --git a/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt b/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt
    index 89657d1d4cd4..3041868321c8 100644
    --- a/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt
    +++ b/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt
    @@ -13,6 +13,12 @@ Required properties:
      - reg: a resource specifier for the register space, which should
        include all SDRAM controller registers as per the datasheet.
     
    +Optional properties:
    + - marvell,reduced-width: some SoCs that use this SDRAM controller have
    +   a reduced pin count. On such systems "full" width is 32-bits and
    +   "half" width is 16-bits. Set this property to indicate that the SoC
    +   used is such a system.
    +
     Example:
     
     sdramc@1400 {
    -- 
    2.13.0
    
    ^ permalink raw reply related	[flat|nested] 6+ messages in thread
  • * [RESEND PATCH 3/4] ARM: dts: mvebu: set reduced-width property for SDRAM on 98dx3236
           [not found] <20170807014641.4003-1-chris.packham@alliedtelesis.co.nz>
           [not found] ` <20170807014641.4003-1-chris.packham-6g8wRflRTwXFdCa3tKVlE6U/zSkkHjvu@public.gmane.org>
      2017-08-07  1:46 ` [RESEND PATCH 2/4] dt-bindings: add "reduced-width" property for Armada XP SDRAM controller Chris Packham
    @ 2017-08-07  1:46 ` Chris Packham
      2 siblings, 0 replies; 6+ messages in thread
    From: Chris Packham @ 2017-08-07  1:46 UTC (permalink / raw)
      To: robh+dt, gregory.clement, bp, jlu, linux-arm-kernel, linux-edac,
    	linux-kernel
      Cc: Chris Packham, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth,
    	Mark Rutland, Russell King, devicetree
    
    Because the 98dx3236 and similar SoCs are switch chips with integrated
    CPUs they use a reduced pin count for the SDRAM interface. As such
    "full" with is 32-bits and "half" width is 16-bits (as opposed to 64/32
    on the discrete SoC). Set the reduced-width property on the sdramc node
    to indicate this.
    
    Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
    ---
     arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
    index 0e12816d961e..4d6a2acc1b55 100644
    --- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
    +++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
    @@ -129,6 +129,7 @@
     			sdramc@1400 {
     				compatible = "marvell,armada-xp-sdram-controller";
     				reg = <0x1400 0x500>;
    +				marvell,reduced-width;
     			};
     
     			L2: l2-cache@8000 {
    -- 
    2.13.0
    
    ^ permalink raw reply related	[flat|nested] 6+ messages in thread

  • end of thread, other threads:[~2017-08-11  9:34 UTC | newest]
    
    Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20170807014641.4003-1-chris.packham@alliedtelesis.co.nz>
         [not found] ` <20170807014641.4003-1-chris.packham-6g8wRflRTwXFdCa3tKVlE6U/zSkkHjvu@public.gmane.org>
    2017-08-07  1:46   ` [RESEND PATCH 1/4] ARM: dts: enable L2 cache parity and ecc on db-xc3-24g4xg board Chris Packham
    2017-08-07  1:46 ` [RESEND PATCH 2/4] dt-bindings: add "reduced-width" property for Armada XP SDRAM controller Chris Packham
    2017-08-10 20:38   ` Rob Herring
    2017-08-10 21:17     ` Chris Packham
    2017-08-11  9:34       ` Jan Lübbe
    2017-08-07  1:46 ` [RESEND PATCH 3/4] ARM: dts: mvebu: set reduced-width property for SDRAM on 98dx3236 Chris Packham
    

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