Commit graph

9 commits

Author SHA1 Message Date
Krzysztof Kozlowski
752e854522 ARM: dts: s5pv210: align pinctrl with dtschema
Align the pin controller related nodes with dtschema.  No functional
change expected.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220111201722.327219-17-krzysztof.kozlowski@canonical.com
2022-01-23 17:54:57 +01:00
Krzysztof Kozlowski
7b06c1ad88 ARM: dts: s5pv210: add 'chassis-type' property
A new 'chassis-type' root node property has recently been approved for
the device-tree specification.

Add this property for end-user devices (such as laptops,
smartphones and tablets) based on Samsung S5Pv210 ARM SoCs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20211017101228.19478-3-krzysztof.kozlowski@canonical.com
2021-10-19 10:57:40 +02:00
Krzysztof Kozlowski
214e6ec8c9 ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family
The Maxim fuel gauge datasheets describe the interrupt line as active
low with a requirement of acknowledge from the CPU.  The falling edge
interrupt will mostly work but it's not correct.

Fixes: 99bb20321f ("ARM: dts: s5pv210: Correct fuelgauge definition on Aries")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201210212534.216197-10-krzk@kernel.org
2021-03-07 20:56:18 +01:00
Jonathan Bakker
cd972fe900 ARM: dts: s5pv210: Enable audio on Aries boards
Both the Galaxy S and the Fascinate4G have a WM8994 codec, but they
differ slightly in their jack detection and micbias configuration.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2020-09-02 22:11:43 +02:00
Jonathan Bakker
99bb20321f ARM: dts: s5pv210: Correct fuelgauge definition on Aries
Correct the fuelgauge definition because only the fuelgauge on
fascinate4g has interrupt support (and even then it was wrong).

Also, assign the GPIO pinctrl so the interrupt is properly configured

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2020-06-15 09:00:39 +02:00
Jonathan Bakker
aa2146416d ARM: dts: s5pv210: Add WM8994 support to Aries boards
Aries boards have a Wolfson WM8994 sound card attached over gpio-i2c.

There is currently no ASoC Machine Driver.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2020-05-04 17:13:04 +02:00
Jonathan Bakker
d7d155a769 ARM: dts: s5pv210: Add sleep GPIO configuration for Fascinate4G
In order to minimize leakage current during sleep, set a config
for sleep GPIOs.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2020-05-04 16:50:10 +02:00
Paweł Chmiel
f143f8d680 ARM: dts: s5pv210: Remove hardcoded bootargs on Galaxy S and Fascinate 4G
Since we have U-Boot (flashed in place of stock kernel), it's not needed
anymore to hardcode bootargs on every Aries-family board.

Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
[krzk: Squash changes to fascinate4g and galaxys into one commit]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2019-01-07 20:20:50 +01:00
Jonathan Bakker
ac71a5cca5 ARM: dts: s5pv210: Add initial DTS for SGH-T959P phone
This DTS file have initial support Samsung SGH-T959P phone,
also known as Samsung Galaxy S 4G or fascinate4g.  It belongs to Samsung
Aries devices family.
Initial version have support for:
 - sdcard
 - max8998 pmic and rtc
 - max17040 fuel gauge
 - gpio keys
 - fimd (no panel driver yet)
 - usb (peripherial mode)
 - wifi

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2018-07-07 12:25:22 +02:00