06 Aug, 2016

7 commits


05 Aug, 2016

14 commits


03 Aug, 2016

3 commits


01 Aug, 2016

3 commits

  • Tom Rini
     
  • This fixes the following CACHE warnings when using sun8i_emac:

    => dhcp
    BOOTP broadcast 1
    BOOTP broadcast 2
    CACHE: Misaligned operation at range [7bf594a8, 7bf59628]
    BOOTP broadcast 3
    CACHE: Misaligned operation at range [7bf59c90, 7bf59e10]
    CACHE: Misaligned operation at range [7bf5a478, 7bf5a5f8]
    DHCP client bound to address 10.42.43.80 (1009 ms)

    Note this commit also changes the max rx size from 2024 to 2044,
    matching what the kernel driver uses.

    Cc: Chen-Yu Tsai
    Cc: Corentin LABBE
    Cc: Amit Singh Tomar
    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • sunxi uses a 2 cell phandle for gpio bindings. Also there are no
    seperate nodes for each pin bank.

    Add a custom .xlate function to map gpio phandles to the correct
    pin bank device. This fixes gpio_request_by_name usage.

    Fixes: 7aa974858422 ("dm: sunxi: Modify the GPIO driver to support driver
    model")
    Signed-off-by: Chen-Yu Tsai
    Signed-off-by: Hans de Goede

    Chen-Yu Tsai
     

31 Jul, 2016

2 commits

  • Bank 0 is the "PMU GPIO" bank which is controlled by the PMU registers
    rather than the GRF registers. In the GRF the top half of the register
    is used as a mask so that some bits can be updated without affecting the
    others, but in the PMU this feature is not provided and the top half of
    the register is reserved.

    Take the same approach as the Linux driver to update the value via
    read-modify-write but setting the mask for only the bits that have
    changed. The PMU registers ignore the top 16 bits so this works for
    both GRF and PMU iomux registers.

    Signed-off-by: John Keeping
    Reviewed-by: Kever Yang

    John Keeping
     
  • Not like the mmc-legacy which the devnum starts from 1, it starts from 0
    in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num().

    Signed-off-by: Kever Yang
    Acked-by: Simon Glass
    Reviewed-by: Jaehoon Chung

    Kever Yang
     

30 Jul, 2016

6 commits


28 Jul, 2016

5 commits