1
0
Fork 0
Commit Graph

721756 Commits (redonkable)

Author SHA1 Message Date
Steinar Bakkemo 9535a516d1 bcmdhd: merge bcmdhd driver into prod kernel tree
Add bcmdhd driver

Add zero-sugar-wifi-cal_defconfig (selecting bcmdhd driver (supporting wl tool)
instead of brcmfmac driver).

Add zero-sugar-wifi-cal.dts (selecting bcmdhd driver (supporting wl tool)
instead of brcmfmac).
2020-10-08 01:37:04 +02:00
Thomas Ingebretsen 3fc278d53c wacom_i2c: setting sample rate to 540pps. More readable command-structures. 2020-10-08 01:37:04 +02:00
Thomas Ingebretsen 130bf89b14 Setting up sample rate by writing position rate report. 2020-10-08 01:37:04 +02:00
Thomas Ingebretsen 676f0a2e29 Wacom INT pullup. Wacom 400kHz i2c. Some changes to wacom driver. 2020-10-08 01:37:04 +02:00
Steinar Bakkemo 6633cbd1c2 brcmfmac: remove 32K wifi clock startup code from brcmfmac driver
This was earlier commented out when moved to mmc pwrseq module in order to be
started before the brcmfmac module is loaded.
2020-10-08 01:37:04 +02:00
Steinar Bakkemo aa64c108f1 zero-sugar dts: disable CAAM support in kernel 2020-10-08 01:36:44 +02:00
Steinar Bakkemo 2bf80590c2 zero-sugar dts: fix OTG regulator config, adjust digitizer and wifi pinmux
OTG power is only enabled on OTG1 (POGO), and is enabled by setting a bit in
a register in the charger, not by toggling GPIO. The GPIO control config in
the OTG regulator blocks are thus removed.

Move digitizer pin muxing from standard pinux block to the lpsr pinmux block.
GPIO1.0..GPIO1.7 requires mux config in separate mux control register, which
then requires the pin muxing to be defined in a new lpsr pinmux block.

Move wifi pinmux to be configured at boot and not when the brcmfmac driver
is loaded (attempt to resolve device init issues).
2020-10-08 01:35:13 +02:00
Steinar Bakkemo 0642607ae4 zero-sugar dts: remove wacom reserved pin mux definitions (used on prelimenary adapter board) 2020-10-08 01:33:46 +02:00
Steinar Bakkemo 8ee4e3dbf0 usb-gadget: set VID/PID for the USB/RNDIS driver
Use an existing VID/PID recognized on Windows platforms by default
2020-10-08 01:32:59 +02:00
Steinar Bakkemo da5932cb0e bd7181x: turn off extensive debug output 2020-10-08 01:32:45 +02:00
Steinar Bakkemo 864f174bdb brcmfmac: move 32K wifi clock from brcmfmac driver to wifi-pwrseq
32K clock is to be started before device is started
2020-10-08 01:32:19 +02:00
Steinar Bakkemo 0bb4f26b2f zero-sugar dts: move 32K wifi clock to wifi-pwrseg, to be started before device is started 2020-10-08 01:31:59 +02:00
Steinar Bakkemo a808e2e497 brcmfmac: merge in latest driver from Cypress (including required wifi core module updates) 2020-10-08 01:31:33 +02:00
Steinar Bakkemo 9b0d59aedb zero-sugar config: enable brcmfmac debug, timestamped kernel output and dynamic debugging 2020-10-08 01:30:23 +02:00
Steinar Bakkemo ff2314af21 zero-sugar dts: enable wake irq for wifi module 2020-10-08 01:30:08 +02:00
Steinar Bakkemo c5bd291a90 zero-sugar dts: add wifi-pwrseq to cycle the WIFI_RE signal during initation
Replace original sdhci power cycle config with new wifi-pwrseq config.

Also disable extra muxing of SD1_WP pad to output CLKO2 32K wifi sleep clock (disable 32K sleep clock) and force 100 MHz
MMC bus speed while debugging load/sleep/wakeup issues.
2020-10-08 01:29:12 +02:00
Steinar Bakkemo 3f3a81fca7 brcmfmac: enable full debug, and add simple debug output for driver load/probe verification 2020-10-08 01:28:16 +02:00
Steinar Bakkemo 61bf19a26f zero-sugar dts: fix SD1_WP pinmux config to output CLKO2, 32K clock to wifi module 2020-10-08 01:27:43 +02:00
Steinar Bakkemo 1818e9a333 zero-sugar dts: enable touch driver in devicetree 2020-10-08 01:27:43 +02:00
Steinar Bakkemo 519de8683a zero-sugar dts: disable USB OTG1, leaving USB OTG2 to be the def. eth-gadget/SSH port 2020-10-08 01:26:37 +02:00
Lars Ivar Miljeteig b37b7303b2 zero sugar dts: First attempt at WiFi config 2020-10-08 01:26:37 +02:00
Lars Ivar Miljeteig 75b10299e9 zero-sugar dts: Disable SD1 2020-10-08 01:26:37 +02:00
Lars Ivar Miljeteig db6717c2c8 zero-sugar dts: White space fix for arm regulator
Sorry, couldn't help myself.
2020-10-08 01:26:37 +02:00
Lars Ivar Miljeteig f1b5c46492 Revert "zero-sugar config: Add WiFi as module"
This reverts commit 251306a6888e1bd948a2896e935f6ab21507d3cf.
2020-10-08 01:26:37 +02:00
Lars Ivar Miljeteig 454cceb758 zero-sugar dts: Remove backlight and lpsr pinctrl 2020-10-08 01:26:37 +02:00
Lars Ivar Miljeteig 4b191731ea zero-sugar dts: Set up LCDIF 2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig 6658ed2691 zero-sugar dts: Add touch driver 2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig 3ca06bee2f brcm80211: Select WIRELESS_EXT automatically 2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig b5facb72cd zero-sugar config: Add WiFi as module 2020-10-08 01:26:36 +02:00
Steinar Bakkemo f69aa5cb1e imx7-test-image_stripped.dts: fix wacom irq mux (GPIO6.13, not GPIO6.15) 2020-10-08 01:26:36 +02:00
Steinar Bakkemo 2cce00dba5 zero-sugar dts: cleanup (remove unused/deprecated configuration) 2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig d867caf8c5 zero-sugar dts: Add bd7181x 2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig 9141909236 Add zero-sugar_defconfig file
Default config for EP1 zero-sugar board.
2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig d9dafe3a61 bd7181x: Updated to build for kernel 4.14 2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig c9ca7510b0 bd7181x: Add driver copied directly from vendor
NOTE: THIS WILL NOT BUILD, SEE NEXT COMMIT
2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig fba76239ff device tree: Add Wacom Digitizer
- Reset and enable pins for digitizer
- MUX
- i2c bus 1
- Remove unimplemented reset
- Whitespace fix
2020-10-08 01:26:36 +02:00
Lars Ivar Miljeteig e74a596ff1 zero-sugar: Initial device tree for EP1 2020-10-08 01:26:36 +02:00
Steinar Bakkemo 6838f4357c wacom: add manual GPIO based reset code in wacom driver probe 2020-10-08 01:26:36 +02:00
Steinar Bakkemo 37af404c32 imx7-test-image_stripped.dts: add reset-gpio property (wacom) for manual reset during boot 2020-10-08 01:25:21 +02:00
Lars Ivar Miljeteig f08af2449d Add stripped device tree for imx7 test image 2020-10-07 11:32:39 +02:00
Lars Ivar Miljeteig 4ea51503a2 Wacom driver: Add lots of ugly logging 2020-10-07 11:32:39 +02:00
Lars Ivar Miljeteig 249df9c693 zero-sugar dts: Wacom driver in device tree 2020-10-07 11:32:39 +02:00
Lars Ivar Miljeteig 194dfc5cac zero-sugar dts: Change model name 2020-10-07 11:32:39 +02:00
Lars Ivar Miljeteig 00f0e021b3 zero-sugar dts: Add imx7-test-image to Makefile 2020-10-07 11:32:39 +02:00
Lars Ivar Miljeteig 45e127f782 zero-sugar config: Add wacom digitizer 2020-10-07 11:32:39 +02:00
Lars Ivar Miljeteig e3d2f3172f zero-sugar config: Add cypres cyttsp5 touch screen 2020-10-07 11:32:39 +02:00
Lars Ivar Miljeteig 6668fc3045 zero-sugar: add defconfig 2020-10-07 11:32:39 +02:00
Martin T. H. Sandsmark 641e063fd5 wacom_i2c: the new wacom firmware reports tilt with 2 bytes 2020-10-07 11:32:39 +02:00
Martin T. H. Sandsmark e2a5886d7c wacom_i2c: Remove some useless debug output from wacom_i2c driver 2020-10-07 11:32:38 +02:00
Martin T. H. Sandsmark 0cb4d9ab49 wacom_i2c: Add tilt and distance reporting to Wacom I2C 2020-10-07 11:32:38 +02:00