Steinar Bakkemo
5f9fb3c5d4
max77818-charger: add support for charger_mode/other cleanup
2020-10-08 01:38:33 +02:00
Steinar Bakkemo
ccb451fa03
power-supply: add POWER_SUPPLY_PROP_CHARGER_MODE
...
Add new charger_mode sysfs property to standard power supply sysfs props.
2020-10-08 01:38:33 +02:00
Steinar Bakkemo
9e65cd2d73
zero-sugar wifi-cal dts: re-enable 100/200 MHz operation (SDIO bus freq)
...
Re-introduce 100/200MHz SD-interface options for wifi
(after fixing antenna connector issue).
Add zero-sugar-wifi-cal.dts to Makefile
2020-10-08 01:38:30 +02:00
Shawn Guo
31bb7360af
ARM: dts: zero-sugar: enable WDOG1 for reboot support
...
Enable WDOG1 which will use WDOG_B signal to do a cold reset on external
PMIC through ENET1_COL pad.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2020-10-08 01:38:30 +02:00
Steinar Bakkemo
15f1d674f5
max77818-charger: add support for setting charger mode (charging/OTG)
2020-10-08 01:38:30 +02:00
Steinar Bakkemo
5bee878491
power-supply: add POWER_SUPPLY_PROP_CHARGER_MODE
2020-10-08 01:38:30 +02:00
Steinar Bakkemo
dc357d2b8c
zero-sugar dts: (max77818) fix max77818 int-gpio definition
2020-10-08 01:38:30 +02:00
Steinar Bakkemo
41e3f9a651
zero-sugar config: add max77818 FG/charger drivers to defconfig
2020-10-08 01:38:30 +02:00
Steinar Bakkemo
0b65333af4
max77818: fix power supply reg. issue causing kernal panic/add sep. max cur. adj
...
Extract powersupply config to static data structure.
Add support for setting max current separately for chgin/wcin.
2020-10-08 01:37:33 +02:00
Steinar Bakkemo
9a03c3cc7b
zero-sugar dts: add max77818
2020-10-08 01:37:33 +02:00
Steinar Bakkemo
e4c9b4df47
max77818: add max77818 driver (driver received from Maxim, ported to 4.14.79 kernel)
2020-10-08 01:37:04 +02:00
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