Pierre Bourdon
01b404c211
bh1730: another pass of cleanups for upstreaming
2018-02-26 22:45:32 -08:00
Shawn Hoffman
ee219a1536
tegra210-nintendo-switch.dts: fix bluetooth device.
2018-02-24 18:29:49 -08:00
Pierre Bourdon
26658cc07d
bh1730: change channel configuration to something more standard
2018-02-23 00:15:51 +01:00
Pierre Bourdon
de94d20042
bh1730: update w/ upstreaming changes
2018-02-23 00:05:59 +01:00
Shawn Hoffman
40980c3ba2
Revert "nintendo-switch: use switchos regulator params (aside from uV offset)"
...
This reverts commit 9fea369fae
.
2018-02-22 00:40:51 -08:00
Shawn Hoffman
9fea369fae
nintendo-switch: use switchos regulator params (aside from uV offset)
2018-02-21 11:02:15 -08:00
Shawn Hoffman
37c6a3d7eb
nintendo-switch: misc dts fixups
2018-02-21 11:01:48 -08:00
Andre Heider
5f94d26061
stmfts: fix warning
2018-02-21 18:07:00 +01:00
SwtcR
8729b953b0
tegra210-nintendo-switch.dts: enable stmfts IRQs
2018-02-22 01:51:49 +09:00
SwtcR
62aaeb8161
stmfts: do not use sleep operations if not supported on power on
2018-02-22 01:51:48 +09:00
SwtcR
9eb8d5a696
stmfts: support configurable IRQ enable register
2018-02-22 01:51:48 +09:00
SwtcR
f85e361589
gpio-tegra: mask IRQs on shutdown
...
Without this, IRQ GPIOs are left unmasked and still trigger the GPIO
interrupt, breaking everything as they are left unhandled.
2018-02-22 01:51:47 +09:00
Pierre Bourdon
076b9ec981
bh1730: use fancy NSEC_PER_USEC, ... defines
2018-02-21 11:57:55 +01:00
Pierre Bourdon
5748e67044
bh1730: we don't need I2C_FUNC_I2C anymore
2018-02-21 11:52:19 +01:00
Pierre Bourdon
40aae2a24f
bh1730: cosmetic changes + use ninty coeffs
2018-02-21 11:47:21 +01:00
Pierre Bourdon
9c2d6cb3df
bh1730: fix license (use spdx)
2018-02-21 11:20:02 +01:00
Pierre Bourdon
22799b388b
bh1730: only wait for measurements if gain was changed
2018-02-21 11:12:23 +01:00
Pierre Bourdon
de52b6cb31
Add bh1730fvc to switch defconfig / dts
2018-02-21 11:09:12 +01:00
Pierre Bourdon
8f099e0739
iio: light: add driver for bh1730fvc chips
...
Ambient light sensor that supports visible light and IR measurements and
configurable gain/integration time.
Signed-off-by: Pierre Bourdon <delroth@google.com>
2018-02-21 11:09:12 +01:00
Andre Heider
529f060145
enable stuff for bt
2018-02-21 10:15:00 +01:00
Andre Heider
714de3a0fb
disable foreign tegra soc stuff
2018-02-21 09:57:36 +01:00
Andre Heider
50353dd570
disable some crap
2018-02-21 09:57:35 +01:00
SwtcR
36bca9c9a0
tegra210-nintendo-switch.dts: touchscreen avdd regulator is known
2018-02-21 05:07:44 +09:00
SwtcR
11118f0212
Make all unknown GPIOs "rsvd3" so they don't step on any SFIOs
...
We should do this for the rest of the pins not listed yet too...
2018-02-21 05:03:03 +09:00
Andre Heider
7f2c10b732
...well, if it helps
2018-02-20 09:04:06 +01:00
Pierre Bourdon
d39fbf3f07
nintendo-switch: define power-supplies for max17042
2018-02-18 04:15:05 +01:00
Pierre Bourdon
57c8ea9f76
max17042: propagate of_node to power supply device
2018-02-18 04:14:06 +01:00
SwtcR
1e7c933fa4
tegra210.dtsi: add pad control support for sdmmc1/3
2018-02-17 16:56:03 +09:00
SwtcR
37dda7da39
devicetree: nvidia,tegra20-sdhci: document nvidia,pad node
2018-02-17 16:56:03 +09:00
SwtcR
e8a92bf5e6
sdhci-tegra: enable UHS modes for Tegra210
...
This requires the 'nvidia,pad' property in the devicetree. If not
present, UHS modes will not be available.
2018-02-17 16:56:02 +09:00
SwtcR
8b67f9e91a
sdhci-tegra: add support for updating pad I/O voltage via PMC
...
This is required on Tegra210 for 1.8V support.
2018-02-17 16:56:02 +09:00
SwtcR
32a142b53c
sdhci: introduce ops->pre_voltage_switch and extend voltage_switch
...
Provide a hook to be called *before* a voltage switch takes place. This
may be required, for example, to configure pins as 3.3V tolerant prior
to switching back from 1.8V to 3.3V.
This adds a 'struct mmc_ios' arg to voltage_switch to signal which
voltage we have just switched to.
2018-02-17 16:43:05 +09:00
SwtcR
edcdfe9f45
tegra: pmc: move IO pad IDs to a devicetree binding
2018-02-17 16:39:39 +09:00
SwtcR
2efb7c9f14
Enable mmc0 vddio control
2018-02-17 14:20:36 +09:00
SwtcR
2a0eaa25aa
Add missing SKU IDs
2018-02-15 00:24:07 +09:00
Andre Heider
199dc5b172
Revert "Hack: always do mbist_workaround"
...
This reverts commit d0f2e160b5
.
Not required anymore, properly fixed with:
soc/tegra: pmc: Pass PMC to tegra_powergate_power_up()
2018-02-13 07:01:17 +01:00
SwtcR
97bb2594fd
tegra210-nintendo-switch: Enable hwmon export of sensors
2018-02-13 08:12:43 +09:00
SwtcR
6d03bb7a3b
of-thermal: allow enabling hwmon
2018-02-13 08:12:42 +09:00
SwtcR
2dad2207a0
omit deprecated sysfs crap
2018-02-13 08:03:22 +09:00
SwtcR
f70da7cce1
defconfig: moar chips
2018-02-13 07:32:25 +09:00
SwtcR
cea8944af3
moar i2c devices
2018-02-13 07:30:36 +09:00
SwtcR
b0a10f0dc8
bq24190-charger: support bq24192
2018-02-13 07:29:43 +09:00
SwtcR
5bc5ee9155
Add battery gauge
2018-02-13 07:01:28 +09:00
SwtcR
cf66902fea
Fix thermal zone configs
2018-02-13 05:06:36 +09:00
SwtcR
d4a8bb1844
some whitespace fixes
2018-02-13 03:46:21 +09:00
SwtcR
5fad764709
tegra210-nintendo-switch.dts: add CPU clock scaling and cooling/thermal
2018-02-13 03:45:34 +09:00
SwtcR
ab68b73b7d
tegra210.dtsi: add missing i2c clock for dfll
2018-02-13 03:45:34 +09:00
Thierry Reding
636cbff1e8
soc/tegra: pmc: Pass PMC to tegra_powergate_power_up()
...
tegra_powergate_sequence_power_up() makes up a struct tegra_powergate
from scratch in order to reuse the same code as used by the generic PM
domain implementation. However, subsequent patches will need to access
the struct tegra_pmc * embedded in the powergate structure, so we need
to make sure we always pass it in.
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-02-13 03:45:34 +09:00
Andre Heider
ae7482afa4
steal some common debian settings
2018-02-12 18:50:54 +01:00
SwtcR
d0f2e160b5
Hack: always do mbist_workaround
...
Conditional is broken on legacy API.
2018-02-13 00:05:08 +09:00