1. 17 11月, 2015 1 次提交
    • M
      [media] include/media: move platform_data to linux/platform_data/media · eb4b0ec7
      Mauro Carvalho Chehab 提交于
      Let's not mix platform_data headers with the core headers. Instead, let's
      create a subdir at linux/platform_data and move the headers to that
      common place, adding it to MAINTAINERS.
      
      The headers were moved with:
      	mkdir include/linux/platform_data/media/; git mv include/media/gpio-ir-recv.h include/media/ir-rx51.h include/media/mmp-camera.h include/media/omap1_camera.h include/media/omap4iss.h include/media/s5p_hdmi.h include/media/si4713.h include/media/sii9234.h include/media/smiapp.h include/media/soc_camera.h include/media/soc_camera_platform.h include/media/timb_radio.h include/media/timb_video.h include/linux/platform_data/media/
      
      And the references fixed with this script:
          MAIN_DIR="linux/platform_data/"
          PREV_DIR="media/"
          DIRS="media/"
      
          echo "Checking affected files" >&2
          for i in $DIRS; do
      	for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
      		 n=`basename $j`
      		git grep -l $n
      	done
          done|sort|uniq >files && (
      	echo "Handling files..." >&2;
      	echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "perl -ne 's,(include [\\\"\\<])$PREV_DIR($i)([\\\"\\>]),\1$MAIN_DIR$j\2\3,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done";
      	);
      	echo "Handling documentation..." >&2;
      	echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "  perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done"
      	);
          ) >script && . ./script
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NLee Jones <lee.jones@linaro.org>
      Acked-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      eb4b0ec7
  2. 03 11月, 2015 1 次提交
  3. 31 10月, 2015 1 次提交
  4. 27 10月, 2015 3 次提交
    • V
      NFC: nfcmrvl: add i2c driver · b5b3e23e
      Vincent Cuissard 提交于
      This driver adds the support of I2C-based Marvell NFC controller.
      Signed-off-by: NVincent Cuissard <cuissard@marvell.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      b5b3e23e
    • C
      NFC: st-nci: Add ese-present/uicc-present dts properties · 3648dc6d
      Christophe Ricard 提交于
      In order to align with st21nfca, dts configuration properties
      ese_present and uicc_present are made available in st-nci driver.
      
      So far, in early development firmware, because
      nci_nfcee_mode_set(DISABLE) was not supported we had to try to
      enable it during the secure element discovery phase.
      
      After several trials on commercial and qualified firmware it appears
      that nci_nfcee_mode_set(ENABLE) and nci_nfcee_mode_set(DISABLE) are
      properly supported.
      
      Such feature also help us to eventually save some time (~5ms) when
      only one secure element is connected.
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NChristophe Ricard <christophe-h.ricard@st.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      3648dc6d
    • P
      dmaengine: edma: New device tree binding · 1be5336b
      Peter Ujfalusi 提交于
      With the old binding and driver architecture we had many issues:
      No way to assign eDMA channels to event queues, thus not able to tune the
      system by moving specific DMA channels to low/high priority servicing. We
      moved the cyclic channels to high priority within the code, but that was
      just a workaround to this issue.
      Memcopy was fundamentally broken: even if the driver scanned the DT/devices
      in the booted system for direct DMA users (which is not effective when the
      events are going through a crossbar) and created a map of 'used' channels,
      this information was not really usable. Since via dmaengien API the eDMA
      driver will be called with _some_ channel number, we would try to request
      this channel when any channel is requested for memcpy. By luck we got
      channel which is not used by any device most of the time so things worked,
      but if a device would have been using the given channel, but not requested
      it, the memcpy channel would have been waiting for HW event.
      The old code had the am33xx/am43xx DMA event router handling embedded. This
      should have been done in a separate driver since it is not part of the
      actual eDMA IP.
      There were no way to 'lock' PaRAM slots to be used by the DSP for example
      when booting with DT.
      In DT boot the edma node used more than one hwmod which is not a good
      practice and the kernel prints warning because of this.
      
      With the new bindings and the changes in the driver we can:
      - No regression with Legacy binding and non DT boot
      - DMA channels can be assigned to any TC (to set priority)
      - PaRAM slots can be reserved for other cores to use
      - Dynamic power management for CC and TCs, if only TC0 is used all other TC
        can be powered down for example
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      1be5336b
  5. 22 10月, 2015 1 次提交
  6. 18 10月, 2015 1 次提交
  7. 14 10月, 2015 3 次提交
  8. 13 10月, 2015 1 次提交
  9. 05 10月, 2015 1 次提交
  10. 27 9月, 2015 2 次提交
  11. 18 9月, 2015 1 次提交
  12. 03 9月, 2015 1 次提交
  13. 28 8月, 2015 1 次提交
  14. 27 8月, 2015 1 次提交
  15. 25 8月, 2015 3 次提交
  16. 24 8月, 2015 1 次提交
  17. 21 8月, 2015 1 次提交
  18. 17 8月, 2015 1 次提交
  19. 15 8月, 2015 1 次提交
  20. 13 8月, 2015 1 次提交
  21. 11 8月, 2015 1 次提交
    • M
      mfd: watchdog: iTCO_wdt: Expose watchdog properties using platform data · 420b54de
      Matt Fleming 提交于
      Intel Sunrisepoint (Skylake PCH) has the iTCO watchdog accessible across
      the SMBus, unlike previous generations of PCH/ICH where it was on the
      LPC bus. Because it's on the SMBus, it doesn't make sense to pass around
      a 'struct lpc_ich_info', and leaking the type of bus into the iTCO
      watchdog driver is kind of backwards anyway.
      
      This change introduces a new 'struct itco_wdt_platform_data' for use
      inside the iTCO watchdog driver and by the upcoming Intel Sunrisepoint
      code, which neatly avoids having to include lpc_ich headers in the i801
      i2c driver.
      
      This change is overdue because lpc_ich_info has already found its way
      into other TCO watchdog users, notably the intel_pmc_ipc driver where
      the watchdog actually isn't on the LPC bus as far as I can see.
      
      A simple translation layer is provided for converting from the existing
      'struct lpc_ich_info' inside the lpc_ich mfd driver.
      Signed-off-by: NMatt Fleming <matt.fleming@intel.com>
      Acked-by: Darren Hart <dvhart@linux.intel.com> [drivers/x86 refactoring]
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      420b54de
  22. 07 8月, 2015 1 次提交
  23. 05 8月, 2015 1 次提交
    • N
      Input: atmel_mxt_ts - use deep sleep mode when stopped · 7f3884f7
      Nick Dyer 提交于
      The hardcoded 0x83 CTRL setting overrides other settings in that byte,
      enabling extra reporting that may not be useful on a particular platform.
      
      Implement improved suspend mechanism via deep sleep. By writing zero to
      both the active and idle cycle times the maXTouch device can be put into a
      deep sleep mode, using minimal power. It is necessary to issue a calibrate
      command after the chip has spent any time in deep sleep, however a soft
      reset is unnecessary.
      
      Use the old method on Chromebook Pixel via platform data option.
      
      This patch also deals with the situation where the power configuration is
      zero on probe, which would mean that the device never wakes up to execute
      commands.
      
      After a config download, the T7 power configuration may have changed so it
      is necessary to re-read it.
      Signed-off-by: NNick Dyer <nick.dyer@itdev.co.uk>
      Acked-by: NBenson Leung <bleung@chromium.org>
      Acked-by: NYufeng Shen <miletus@chromium.org>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      7f3884f7
  24. 27 7月, 2015 1 次提交
  25. 25 7月, 2015 1 次提交
  26. 24 7月, 2015 1 次提交
  27. 16 7月, 2015 1 次提交
  28. 12 7月, 2015 2 次提交
  29. 09 7月, 2015 1 次提交
  30. 22 6月, 2015 1 次提交
  31. 18 6月, 2015 1 次提交
  32. 17 6月, 2015 1 次提交
    • D
      remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 · a01bc0d5
      Dave Gerlach 提交于
      Add a remoteproc driver to load the firmware and boot a small
      Wakeup M3 processor present on TI AM33xx and AM43xx SoCs. This
      Wakeup M3 remote processor is an integrated Cortex M3 that allows
      the SoC to enter the lowest possible power state by taking control
      from the MPU after it has gone into its own low power state and
      shutting off any additional peripherals.
      
      The Wakeup M3 processor has two internal memory regions - 16 kB of
      unified instruction memory called UMEM used to store executable
      code, and 8 kB of data memory called DMEM used for all data sections.
      The Wakeup M3 processor executes its code entirely from within the
      UMEM and uses the DMEM for any data. It does not use any external
      memory or any other external resources. The device address view has
      the UMEM at address 0x0 and DMEM at address 0x80000, and these are
      computed automatically within the driver based on relative address
      calculation from the corresponding device tree IOMEM resources.
      These device addresses are used to aid the core remoteproc ELF
      loader code to properly translate and load the firmware segments
      through the .rproc_da_to_va ops.
      Signed-off-by: NDave Gerlach <d-gerlach@ti.com>
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      a01bc0d5