07 Oct, 2006

1 commit

  • Hrm, there's no way this ever built at time of merge. There's a missing } and
    the wrong type on phy_irq.

    Also, another const for get_property().

    CC arch/powerpc/sysdev/fsl_soc.o
    arch/powerpc/sysdev/fsl_soc.c: In function 'fs_enet_of_init':
    arch/powerpc/sysdev/fsl_soc.c:625: error: assignment of read-only variable 'phy_irq'
    arch/powerpc/sysdev/fsl_soc.c:625: warning: assignment makes integer from pointer without a cast
    arch/powerpc/sysdev/fsl_soc.c:661: warning: assignment discards qualifiers from pointer target type
    arch/powerpc/sysdev/fsl_soc.c:684: error: subscripted value is neither array nor pointer
    arch/powerpc/sysdev/fsl_soc.c:687: error: subscripted value is neither array nor pointer
    arch/powerpc/sysdev/fsl_soc.c:722: warning: ISO C90 forbids mixed declarations and code
    arch/powerpc/sysdev/fsl_soc.c:728: error: invalid storage class for function 'cpm_uart_of_init'
    arch/powerpc/sysdev/fsl_soc.c:798: error: initializer element is not constant
    arch/powerpc/sysdev/fsl_soc.c:798: error: expected declaration or statement at end of input
    make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1

    Signed-off-by: Olof Johansson
    Signed-off-by: Paul Mackerras

    Olof Johansson
     

04 Oct, 2006

1 commit


22 Sep, 2006

3 commits

  • The fs_no mean used to be fs_enet driver driven, hence it was an
    enumeration across all the possible fs_enet "users" in the SoC. Now, with
    QE on the pipeline, and to make DTS descriptions more clear, fs_no features
    relevant SoC part number, with additional field to describe the SoC type.

    Another reason for that is now not only fs_enet is going to utilize those
    stuff. There might be UART, HLDC, and even USB, so to prevent confusion and
    be ready for upcoming OF_device transfer, fs_enet and cpm_uart drivers were
    updated in that concern, as well as the relevant DTS.

    Signed-off-by: Vitaly Bordug

    Vitaly Bordug
     
  • Incorporating the new way of cpm2 immr access, introduced in the previous
    patch, into CPM2 peripheral devices (fs_enet and cpm_uart). Both ppc and
    powerpc approved working( real actions taken in powerpc only, ppc just
    has a wrapper to keep init stuff consistent).

    Signed-off-by: Vitaly Bordug

    Vitaly Bordug
     
  • The stuff below cleans up the code attempting to remap the whole cpm2_immr
    early, as well as places happily assuming that fact. This is more like the 2.4
    legacy stuff, and is at least confusing and unclear now.

    To keep the world comfortable, a new mechanism is introduced: before accessing
    specific immr register/register set, one needs to map it, using cpm2_map(),
    for instance, access to CPM command register will look like
    volatile cpm_cpm2_t *cp = cpm2_map(im_cpm);
    keeping the code clear, yet without "already defined somewhere" cpm2_immr.

    So far, unmapping code is not implemented, but it's not a big deal to add it,
    if the whole idea makes sense.

    Signed-off-by: Vitaly Bordug

    Vitaly Bordug
     

21 Sep, 2006

1 commit

  • This patch contains necessary modifications to support the CPM2 SoC peripherals.
    For the time being, those are fs_enet Ethernet driver and cpm_uart serial.
    Written initially to support mpc8560, it also suites to the part of the large PQ2
    (more specifically, mpc8260) family.

    Signed-off-by: Vitaly Bordug

    Vitaly Bordug
     

25 Aug, 2006

1 commit


23 Aug, 2006

1 commit


18 Aug, 2006

1 commit


08 Aug, 2006

1 commit


31 Jul, 2006

1 commit


01 Jul, 2006

1 commit


22 Jun, 2006

1 commit


07 Feb, 2006

2 commits


14 Jan, 2006

1 commit

  • Parse the flat device tree for devices on Freescale SOC's that we know
    about (gianfar, gianfar_mdio, i2c, mpc83xx_wdt). We need to setup
    platform devices and platform data for these devices to match arch/ppc
    usage.

    Also add a helper function (get_immrbase) that reports the base
    address of the MMIO registers on the SOC.

    Signed-off-by: Kumar Gala
    Signed-off-by: Paul Mackerras

    Kumar Gala