1. 07 9月, 2020 2 次提交
  2. 24 7月, 2020 1 次提交
  3. 14 6月, 2020 1 次提交
    • M
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada 提交于
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  4. 28 5月, 2020 3 次提交
  5. 06 5月, 2020 1 次提交
    • S
      mmc: meson-mx-sdio: Depend on OF_ADDRESS and not just OF · 3fd2fdb3
      Stephen Boyd 提交于
      Making COMMON_CLK a visible option causes the sparc allyesconfig to fail
      to build like so:
      
         sparc64-linux-ld: drivers/mmc/host/meson-mx-sdio.o: in function `meson_mx_mmc_remove':
         meson-mx-sdio.c:(.text+0x70): undefined reference to `of_platform_device_destroy'
         sparc64-linux-ld: drivers/mmc/host/meson-mx-sdio.o: in function `meson_mx_mmc_probe':
         meson-mx-sdio.c:(.text+0x9e4): undefined reference to `of_platform_device_create'
         sparc64-linux-ld: meson-mx-sdio.c:(.text+0xdd4): undefined reference to `of_platform_device_destroy'
      
      This is because the implementation of of_platform_device_destroy() is
      inside an #ifdef CONFIG_OF_ADDRESS section of drivers/of/platform.c.
      This driver already depends on OF being enabled, so let's tighten that
      constrain a little more so that it depends on OF_ADDRESS instead. This
      way we won't try to build this driver on platforms that don't have this
      function.
      Reported-by: Nkbuild test robot <lkp@intel.com>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Ulf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      Link: https://lkml.kernel.org/r/20200409064416.83340-7-sboyd@kernel.orgAcked-by: NUlf Hansson <ulf.hansson@linaro.org>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      3fd2fdb3
  6. 24 3月, 2020 2 次提交
  7. 24 1月, 2020 1 次提交
  8. 20 1月, 2020 3 次提交
  9. 20 11月, 2019 2 次提交
  10. 13 11月, 2019 2 次提交
  11. 28 9月, 2019 1 次提交
  12. 11 9月, 2019 2 次提交
    • A
      mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS · 72976643
      Andrew Jeffery 提交于
      Resolves the following build error reported by the 0-day bot:
      
          ERROR: "of_platform_device_create" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined!
      
      SPARC does not set CONFIG_OF_ADDRESS so the symbol is missing. Depend on
      CONFIG_OF_ADDRESS to ensure the driver is only built for supported
      configurations.
      
      Fixes: 2d28dbe042f4 ("mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller")
      Reported-by: Nkbuild test robot <lkp@intel.com>
      Signed-off-by: NAndrew Jeffery <andrew@aj.id.au>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      72976643
    • A
      mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller · bb7b8ec6
      Andrew Jeffery 提交于
      Add a minimal driver for ASPEED's SD controller, which exposes two
      SDHCIs.
      
      The ASPEED design implements a common register set for the SDHCIs, and
      moves some of the standard configuration elements out to this common
      area (e.g. 8-bit mode, and card detect configuration which is not
      currently supported).
      
      The SD controller has a dedicated hardware interrupt that is shared
      between the slots. The common register set exposes information on which
      slot triggered the interrupt; early revisions of the patch introduced an
      irqchip for the register, but reality is it doesn't behave as an
      irqchip, and the result fits awkwardly into the irqchip APIs. Instead
      I've taken the simple approach of using the IRQ as a shared IRQ with
      some minor performance impact for the second slot.
      
      Ryan was the original author of the patch - I've taken his work and
      massaged it to drop the irqchip support and rework the devicetree
      integration. The driver has been smoke tested under qemu against a
      minimal SD controller model and lightly tested on an ast2500-evb.
      Signed-off-by: NRyan Chen <ryanchen.aspeed@gmail.com>
      Signed-off-by: NAndrew Jeffery <andrew@aj.id.au>
      Acked-by: NAdrian Hunter <adrian.hunter@intel.com>
      Reviewed-by: NJoel Stanley <joel@jms.id.au>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      bb7b8ec6
  13. 10 7月, 2019 1 次提交
  14. 21 5月, 2019 1 次提交
  15. 06 5月, 2019 2 次提交
  16. 15 4月, 2019 2 次提交
  17. 25 2月, 2019 2 次提交
  18. 14 1月, 2019 2 次提交
  19. 17 12月, 2018 4 次提交
  20. 15 10月, 2018 1 次提交
  21. 09 10月, 2018 1 次提交
    • L
      mmc: mmci: add stm32 sdmmc variant · 46b723dd
      Ludovic Barre 提交于
      This patch adds a stm32 sdmmc variant, rev 1.1.
      Introduces a new Manufacturer id "0x53, ascii 'S' to define
      new stm32 sdmmc family with clean range of amba
      revision/configurations bits (corresponding to sdmmc_ver
      register with major/minor fields).
      Add 2 variants properties:
      -dma_lli, to enable link list support.
      -stm32_idmabsize_mask, defines the range of SDMMC_IDMABSIZER register
       which specify the number bytes per buffer.
      
      DT properties for sdmmc:
      -Indicate signal directions (only one property
       for d0dir, d123dir, cmd_dir)
      -Select command and data phase relation.
      -Select "clock in" from an external driver.
      Signed-off-by: NLudovic Barre <ludovic.barre@st.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      46b723dd
  22. 08 10月, 2018 3 次提交
    • C
      mmc: sdhci-sprd: Add Spreadtrum's initial host controller · fb8bd90f
      Chunyan Zhang 提交于
      This patch adds the initial support of Secure Digital Host Controller
      Interface compliant controller found in some latest Spreadtrum chipsets.
      This patch has been tested on the version of SPRD-R11 controller.
      
      R11 is a variant based on SD v4.0 specification.
      
      With this driver, R11 mmc can be initialized, can be mounted, read and
      written.
      Original-by: NBillows Wu <billows.wu@unisoc.com>
      Signed-off-by: NChunyan Zhang <chunyan.zhang@unisoc.com>
      Acked-by: NAdrian Hunter <adrian.hunter@intel.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      fb8bd90f
    • M
      mmc: uniphier-sd: add UniPhier SD/eMMC controller driver · 3fd784f7
      Masahiro Yamada 提交于
      Here is another TMIO MMC variant found in Socionext UniPhier SoCs.
      
      As commit b6147490 ("mmc: tmio: split core functionality, DMA and
      MFD glue") said, these MMC controllers use the IP from Panasonic.
      
      However, the MMC controller in the TMIO (Toshiba Mobile IO) MFD chip
      was the first upstreamed user of this IP.  The common driver code
      for this IP is now called 'tmio-mmc-core' in Linux although it is a
      historical misnomer.
      
      Anyway, this driver select's MMC_TMIO_CORE to borrow the common code
      from tmio-mmc-core.c
      
      Older UniPhier SoCs (LD4, Pro4, sLD8) support the external DMA engine
      like renesas_sdhi_sys_dmac.c.  The difference is UniPhier SoCs use a
      single DMA channel whereas Renesas chips request separate channels for
      RX and TX.
      
      Newer UniPhier SoCs (Pro5 and later) support the internal DMA engine
      like renesas_sdhi_internal_dmac.c  The register map is almost the same,
      so I guess Renesas and Socionext use the same internal DMA hardware.
      The main difference is, the register offsets are doubled for Renesas.
      
                              Renesas      Socionext
                              SDHI         UniPhier
        DM_CM_DTRAN_MODE      0x820        0x410
        DM_CM_DTRAN_CTRL      0x828        0x414
        DM_CM_RST             0x830        0x418
        DM_CM_INFO1           0x840        0x420
        DM_CM_INFO1_MASK      0x848        0x424
        DM_CM_INFO2           0x850        0x428
        DM_CM_INFO2_MASK      0x858        0x42c
        DM_DTRAN_ADDR         0x880        0x440
        DM_DTRAN_ADDREX        ---         0x444
      
      This comes from the difference of host->bus_shift; 2 for Renesas SoCs,
      and 1 for UniPhier SoCs.  Also, the datasheet for UniPhier SoCs defines
      DM_DTRAN_ADDR and DM_DTRAN_ADDREX as two separate registers.
      
      It could be possible to factor out the DMA common code by introducing
      some hooks to cope with platform quirks, but this patch does not touch
      that for now.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Acked-by: NWolfram Sang <wsa+renesas@sang-engineering.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      3fd784f7
    • P
      mmc: jz4740: Drop dependency on MACH_JZ4740/80 · 685bc885
      Paul Cercueil 提交于
      Depending on MACH_JZ4740 | MACH_JZ4780 prevent us from creating a generic
      kernel that works on more than one MIPS board. Instead, we just depend on
      MIPS being set.
      Signed-off-by: NPaul Cercueil <paul@crapouillou.net>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      685bc885