1
0
Fork 0
Commit Graph

525110 Commits (martin/bq-module-hack)

Author SHA1 Message Date
Martin T. H. Sandsmark 933b5faba3 pm-imx6: fix suspend of imx6sl with ddr3 2017-01-13 18:56:16 +01:00
Martin T. H. Sandsmark 4f842785f0 usbmisc_imx: set correct description and max current for dedicated supply 2017-01-13 17:36:55 +01:00
Martin T. H. Sandsmark 9259a68ca0 epdc: use synchronous firmware loading so users know that the EPDC is inited and can do stuff 2017-01-02 12:47:19 +01:00
Martin T. H. Sandsmark 958615cd4c epdc: fix some printing of errors 2017-01-02 12:46:53 +01:00
Martin T. H. Sandsmark 5fff45d94c epdc: don't do a normal grayscale update just for init 2017-01-02 12:46:22 +01:00
Martin T. H. Sandsmark e199f968cb epdc: undo some custom unnecessary changes 2017-01-02 12:38:51 +01:00
Martin T. H. Sandsmark 45ff55815a switch to gpio keys, fix active low 2016-12-21 18:33:39 +01:00
Martin T. H. Sandsmark 9bf4b0c9c1 wifi: use mmc power sequencing instead of manual gpio twiddling 2016-12-21 18:30:53 +01:00
Martin T. H. Sandsmark 71807f0882 fix bringing up wifi after standby 2016-12-21 18:24:39 +01:00
Martin T. H. Sandsmark 2f975737a1 dts: remove unused fec pins 2016-12-05 11:08:46 +01:00
Martin T. H. Sandsmark 84eb70a235 dts: fix left key gpio 2016-12-05 11:08:32 +01:00
Martin T. H. Sandsmark 80677a90cf mach: enable external wifi power before enabling internal regulator 2016-12-05 11:07:07 +01:00
Martin T. H. Sandsmark 96e3808602 dts: Use define for default/no pad control for readability 2016-12-02 10:34:16 +01:00
Martin T. H. Sandsmark bd4438a144 dts: remove touchscreen buttons and proximity sensor 2016-12-01 12:00:20 +01:00
Martin T. H. Sandsmark c511b1904f dts: Fix wifi 2016-11-29 17:14:17 +01:00
Martin T. H. Sandsmark 2af1e1eddf max17135: print ret when failing to write to device 2016-11-29 13:07:28 +01:00
Martin T. H. Sandsmark 0f12d59f3c fsl_otp: read CPU serial from OTP during init 2016-11-29 13:06:36 +01:00
Martin T. H. Sandsmark c75ad6ffc3 caamrng: bump up quality so it is used by default 2016-11-29 13:06:04 +01:00
Martin T. H. Sandsmark 02920e4b50 mach: add wifi power control
until we fix the driver to take these from the device tree and/or create
our own mach file we just put these in mach-imx6sl
2016-11-29 13:04:37 +01:00
Martin T. H. Sandsmark 4c674f4ff7 defconfig: power management, support more USB devices, gpio charger support, CAAM support for RNG 2016-11-29 13:03:23 +01:00
Martin T. H. Sandsmark 24b36c3d41 dts: disable wifi reset pins for now, until we fix the driver 2016-11-29 13:00:07 +01:00
Martin T. H. Sandsmark f42da238ef dts: remove unused pad 2016-11-29 12:59:36 +01:00
Martin T. H. Sandsmark 3940f4f9c1 dts: fix charging detection 2016-11-29 12:59:28 +01:00
Martin T. H. Sandsmark f7ae3f89dc dts: add GPIO control for charging status and control
disabled until it works
2016-11-29 12:53:49 +01:00
Martin T. H. Sandsmark 064158b203 dts: add gpio keys, disabled until we receive the new PCBAs 2016-11-29 12:44:32 +01:00
Martin T. H. Sandsmark ad932ed15f dts: disable removed usb2 and sd-card reader 2016-11-29 12:36:21 +01:00
Martin T. H. Sandsmark 68ec53723a pinctrl: add define for no pad control 2016-11-29 12:30:13 +01:00
Martin T. H. Sandsmark ffb038f904 firmware: add firmware files for brcm wifi card 2016-11-10 10:17:52 +01:00
Martin T. H. Sandsmark 90ede94543 epdc: update parameters for 85hz 2016-11-07 12:23:08 +01:00
Martin T. H. Sandsmark 6e7807ee54 Revert "Only rely on PWRGOOD in MAX17135, add some debug output"
This reverts commit d7a0544346.
2016-10-26 13:05:19 +02:00
Martin T. H. Sandsmark 7bcefd22ea Revert "cyttsp5: use gpio-reset driver for resetting"
This reverts commit 47c67e91d5.
2016-10-26 12:44:20 +02:00
Martin T. H. Sandsmark 6feeea8092 max17135: specify chip version in devicetree 2016-10-22 17:26:46 +02:00
Martin T. H. Sandsmark 46eb4a95ed brcmfmac: Add and register DT id 2016-10-22 16:54:52 +02:00
Martin T. H. Sandsmark 8a93683c60 brcmfmac: Fix active high/low logic of reset pins 2016-10-22 16:54:17 +02:00
Martin T. H. Sandsmark 47c67e91d5 cyttsp5: use gpio-reset driver for resetting 2016-10-22 16:47:01 +02:00
Martin T. H. Sandsmark 51e3c73dfc dts: add reset controller for wifi for powering it up 2016-10-22 16:17:31 +02:00
Martin T. H. Sandsmark 39f64924ed Add support to brcmfmac to get power control for card from devicetree 2016-10-22 16:12:15 +02:00
Martin T. H. Sandsmark 6adee10115 Add some #warnings for todos (so sue me) 2016-10-17 10:41:27 +02:00
Martin T. H. Sandsmark 95c4777bdc defconfig: enable fsl_otp, remove some debug output 2016-10-14 12:49:17 +02:00
Martin T. H. Sandsmark 068093e868 enable brcmfmac 2016-10-14 12:48:31 +02:00
Martin T. H. Sandsmark fda1b301b5 dts: update pins for wifi according to suggestion from Kaifa 2016-10-14 12:47:35 +02:00
Martin T. H. Sandsmark 39ce363784 Remove EPDC powerup hack 2016-09-29 14:21:53 +02:00
Martin T. H. Sandsmark 98b06ea928 defconfig: enable usb gadget support 2016-09-28 19:19:37 +02:00
Martin T. H. Sandsmark 222735a6c8 defconfig: disable cyttsp debug output 2016-09-28 19:19:22 +02:00
Martin T. H. Sandsmark 35d454e1dd defconfig: switch to interactive cpu scheduler, enable cpu idle 2016-09-28 19:18:54 +02:00
Martin T. H. Sandsmark 147bf72c36 Set stricter permissions for boot_config 2016-09-27 20:24:17 +02:00
Martin T. H. Sandsmark 65a73f4762 Port NXP boot_options patch to new mmc API 2016-09-27 20:23:57 +02:00
Ye.Li b4dcb26e1f ENGR00323682 MMC: Fixed boot_config overwritten by switch partition
In MMC driver, two variables: boot_config and part_config  are used to
keep eCSD(179) PARTITION_CONFIG. The part_config is not updated when
set new boot_config, which causes the eCSD(179) is overwritten by
any following partition switching, so the new boot_config is lost.

Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit e66d21ade29855299ce048c97830a4bb79373761)
2016-09-27 19:31:24 +02:00
Richard Zhu fcad224793 ENGR00285671 mmc: setup emmc boot partition configure methods
- Configure boot partition
Expose the interfaces that used to enable the configurations
of the boot mode of the eMMC cards.
usage how-to and examples:
Enable the boot partition 1 boot enabled.
"echo 8 > /sys/devices/soc0/soc.1/2100000.aips-bus/
219c000.usdhc/mmc_host/mmc2/mmc2\:0001/boot_config"

In order to make sure that the re-read the ext-csd of card
can be completed successfully, add the method to wait for
the finish of the busy state.

- setup boot_info message output
Output bit means of important esd_csd register

Read esd_csd info each time when cat boot_info
becasue user may change config affect esd_csd
value.

- Boot partition access howto:
About the details, please refer to the guidance of
Documentation/mmc/mmc-dev-parts.txt

To enable write access to /dev/mmcblkXbootY, disable the forced
read-only access with:
echo 0 > /sys/block/mmcblkXbootY/force_ro

To re-enable read-only access:
echo 1 > /sys/block/mmcblkXbootY/force_ro

NOTE:
- The definitions of the EXT_CSD_PART_CONFIG and EXT_CSD_BOOT_BUS_WIDTH
+------------------------------------------------------------+
| Bit7 | Bit6     | Bit5 Bit4 Bit3        | Bit2 Bit1 Bit0   |
|------|----------|-----------------------|------------------|
| X    | BOOT_ACK | BOOT_PARTITION_ENABLE | PARTITION_ACCESS |
+------------------------------------------------------------+
Bit7: Reserved
Bit6: always set to vaule '1' when boot_part is enabled
Bit[5:3]:
0x0 : Device not boot enabled (default)
0x1 : Boot partition 1 enabled for boot
0x2 : Boot partition 2 enabled for boot
0x7 : User area enabled for boot
Bit[2:0]:
0x0 : No access to boot partition (default)
0x1 : R/W boot partition 1
0x2 : R/W boot partition 2

+--------------------------------------------------------------------+
| Bit7 Bit6 Bit5 | Bit4 Bit3 | Bit2                 | Bit1 Bit0      |
|----------------|----------------------------------|----------------|
| X              | BOOT_MODE | RESET_BOOT_BUS_WIDTH | BOOT_BUS_WIDTH |
+--------------------------------------------------------------------+
Bit [4:3] : BOOT_MODE (non-volatile)
0x0 : Use single data rate + backward compatible timings in boot
operation (default)
0x1 : Use single data rate + high speed timings in boot operation mode
0x2 : Use dual data rate in boot operation
0x3 : Reserved
Bit [2]: RESET_BOOT_BUS_WIDTH (non-volatile)
0x0 : Reset bus width to x1, single data rate and backward compatible
timings after boot operation (default)
0x1 : Retain boot bus width and boot mode after boot operation
Bit[1:0] : BOOT_BUS_WIDTH (non-volatile)
0x0 : x1 (sdr) or x4 (ddr) bus width in boot operation mode (default)
0x1 : x4 (sdr/ddr) bus width in boot operation mode
0x2 : x8 (sdr/ddr) bus width in boot operation mode
0x3 : Reserved

- example of the boot_info:
boot_info:0x07;
  ALT_BOOT_MODE:1 - Supports alternate boot method
  DDR_BOOT_MODE:1 - Supports alternate dual data rate during boot
  HS_BOOTMODE:1 - Supports high speed timing during boot
boot_size:2048KB
  boot_partition:0x48;
  BOOT_ACK:1 - Boot acknowledge sent during boot operation
  BOOT_PARTITION-ENABLE: 1 - Boot partition 1 enabled
  PARTITION_ACCESS:0 - No access to boot partition
boot_bus:0x00
  BOOT_MODE:0 - Use single data rate + backward compatible timings
  in boot operation
  RESET_BOOT_BUS_WIDTH:0 - Reset bus width to x1, single data rate
  and backwardcompatible timings after boot operation
  BOOT_BUS_WIDTH:0 - x1 (sdr) or x4 (ddr) bus width in boot
  operation mode

Signed-off-by: Richard Zhu <r65037@freescale.com>
2016-09-27 19:31:17 +02:00
Martin T. H. Sandsmark e9bd4a96ab dts: remove ethernet/FEC 2016-09-26 12:57:00 +02:00