functions.
On 2019-01-25 5:32 p.m., Dmitry Torokhov wrote:
> On Fri, Jan 25, 2019 at 06:50:45PM +0100, Paweł Chmiel wrote:
>> From: Jonathan Bakker
>>
>> This commit adds documentation for Sharp GP2AP002A00F.
>> It's Proximity/Opto Sensor connected over i2c.
>>
On 2019-01-25 5:28 p.m., Dmitry Torokhov wrote:
> On Fri, Jan 25, 2019 at 07:44:00PM +0100, Paweł Chmiel wrote:
>> From: Jonathan Bakker
>>
>> Add device tree bindings for Bosch BMA150 Accelerometer Sensor
>>
>> Signed-off-by: Jonathan Bakke
On 2019-01-25 5:29 p.m., Dmitry Torokhov wrote:
> On Fri, Jan 25, 2019 at 07:43:58PM +0100, Paweł Chmiel wrote:
>> From: Jonathan Bakker
>>
>> The driver can be cleaned up by using managed resource helpers
>>
>> Signed-off-by: Jonathan Bakker
>> Signed-o
gs on boot.
Signed-off-by: Jonathan Bakker
---
Changes from v1:
- Don't remove the function from the vfd entity as it is distinct
from the sd entity
- Re-word commit message for above change
---
drivers/media/platform/exynos4-is/fimc-capture.c | 1 +
1 file changed, 1 insertion(+)
diff --git
modifying driver
Jonathan Bakker (10):
media: exynos4-is: Remove static driver data for S5PV210 FIMC variants
media: exynos4-is: Fix nullptr when no CSIS device present
media: exynos4-is: Correct missing entity function initialization
media: exynos4-is: Properly set JPEG options for parallel
The S5PV210 platform only supports device tree based booting
where the FIMC variant data is parsed directly from
the device tree, hence the now unused static data can be removed.
Signed-off-by: Jonathan Bakker
Reviewed-by: Tomasz Figa
Reviewed-by: Sylwester Nawrocki
---
Changes from v1
From: Tomasz Figa
On FIMC variants which don't have writeback channel, there is no need to
access system registers. This patch makes the driver request sysreg
regmap conditionally depending on whether writeback is supported.
Signed-off-by: Tomasz Figa
Signed-off-by: Jonathan Bakker
Rev
ly to check if we are using the subdev API
Signed-off-by: Jonathan Bakker
Reviewed-by: Sylwester Nawrocki
---
Changes from v1:
- Added R-b tag
---
drivers/media/platform/exynos4-is/media-dev.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/media/pla
On some devices, there may be multiple camera sensors attached
to the same port. Make sure we probe all of them, not just the
first one.
Signed-off-by: Jonathan Bakker
---
Changes from v1:
- Separated parsing each endpoint into separate func
---
drivers/media/platform/exynos4-is/media-dev.c
The parallel port nodes should be numbered 1 and 2, not 0 and 1
for A and B respectively. The driver has always implemented 1
and 2 and the in-tree Goni DTS uses 1 as port A as well. Update
the documentation to match this behaviour.
Signed-off-by: Jonathan Bakker
---
Changes from v1:
- New
This is a no-op as it is never set and is a remnant from non-DT days
that can be safely removed.
Signed-off-by: Jonathan Bakker
Reviewed-by: Tomasz Figa
Reviewed-by: Sylwester Nawrocki
---
Changes from v1:
- Added R-b tags
---
drivers/media/platform/exynos4-is/fimc-capture.c | 13
tiple sensors
being connected to the same port.
Signed-off-by: Jonathan Bakker
---
Changes from v1:
- New patch
---
drivers/media/platform/exynos4-is/media-dev.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/media/platform/exynos4-is/media-dev.c
b/drivers/
dded a WARN for unbalanced calls to media_pipeline_stop.
Signed-off-by: Jonathan Bakker
---
Changes from v1:
- re-worded commit message for a better description of the problem
---
drivers/media/platform/exynos4-is/fimc-capture.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
This is no longer used since the conversion to DT
Signed-off-by: Jonathan Bakker
Reviewed-by: Tomasz Figa
Reviewed-by: Sylwester Nawrocki
---
Changes from v1:
- Added R-b tags
---
drivers/media/platform/exynos4-is/fimc-core.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/media
Commit ee7160e57c98 ("[media] s5p-fimc: Add support for JPEG capture")
added support for JPEG capture, but missed setting a register when the
parallel port was used rather than the CSIS device.
Signed-off-by: Jonathan Bakker
Reviewed-by: Sylwester Nawrocki
---
Changes from v1:
-
Hi Krzysztof,
On 2020-05-01 6:31 a.m., Krzysztof Kozlowski wrote:
>>
>> Well, it may not be in the bindings, but the driver definitely requires it
>> :) See drivers/mfd/wm8994-core.c
>>
>> What's the best way of dealing with this situation?
>
> I'll send a patch fixing the bindings. However don'
suspend state
- Split commit adding support for new devices into separate commits
for each device
- Add note where sleep gpio cfgs come from
- Ensure subject of all patches matches subsystem
- Add patch correcting GPI node name
Jonathan Bakker (17):
ARM: dts: s5pv210: Add helper define for
In order to minimize leakage current during sleep, set a config
for sleep GPIOs.
Signed-off-by: Jonathan Bakker
---
Changes from v1
- Note where sleep GPIOs came from
---
arch/arm/boot/dts/s5pv210-fascinate4g.dts | 243 ++
1 file changed, 243 insertions(+)
diff --git a
To simplify writing of sleep gpio configs, add a common helper
similar to what is present for other Samsung CPUs.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-pinctrl.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/s5pv210-pinctrl.dtsi
b/arch
Aries boards have soft touchkeys, manufactured by Cypress,
attached over i2c-gpio.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 58
1 file changed, 58 insertions(+)
diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi
b/arch/arm/boot/dts
The bitbanged GPIO i2c adapters have external pull-ups attached
so the internal pulls should be disabled for lower power usage.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts
The exynos-adc driver now supports the S5PV210, so add the DT
node so that devices can use it.
Signed-off-by: Jonathan Bakker
---
Changes from v1
- Adjust node name to match reg address
---
arch/arm/boot/dts/s5pv210.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch
The enable GPIO for the fixed vibrator regulator shouldn't be
pulled in one direction or the other.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi
b/arch/arm/boo
Aries boards have an s6e63m0 AMOLED panel connected over i2c-spi.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 68 +---
1 file changed, 52 insertions(+), 16 deletions(-)
diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi
b/arch/arm/boot/dts
that match the vendor kernel.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 8
arch/arm/boot/dts/s5pv210-galaxys.dts | 4
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi
b/arch/arm/boot/dts/s5pv210-aries.dtsi
index
The Fairchild FSA9480 is a USB mux connected over i2c-gpio.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 36
1 file changed, 36 insertions(+)
diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi
b/arch/arm/boot/dts/s5pv210-aries.dtsi
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-pinctrl.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/s5pv210-pinctrl.dtsi
b/arch/arm/boot/dts/s5pv210-pinctrl.dtsi
index 609f323d0805..5e8b66281f01 100644
--- a/arch/arm/boot/dts/s5pv210-pin
The extended mainscaler is only available on FIMC1 and there
are minimum pixel alignments that differ from the default.
Additionally, the cam-if interface is available on all three
while FIMC2 has no rotators. The lcd-wb interface is supported
on FIMC1.
Signed-off-by: Jonathan Bakker
The remaining i2c-gpio adapters that are common to all aries boards
have devices without mainline bindings attachted to them. Add them
here for documentation.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 69
1 file changed, 69
SDHCI1 is connected to a BCM4329 WiFi/BT chip which requires
power to be kept over suspend. As the surrounding hardware supports
this, mark it as such. This fixes wifi after a suspend/resume cycle.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 1 +
1 file changed
From: Paweł Chmiel
Add support for the Silicon Labs si4709 fmradio, which can be found
on Galaxy S GT-i9000 (but not most other aries variants).
Signed-off-by: Paweł Chmiel
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 2 +-
arch/arm/boot/dts/s5pv210-galaxys.dts
Aries boards have a Wolfson WM8994 sound card attached over gpio-i2c.
There is currently no ASoC Machine Driver.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 65 ++-
arch/arm/boot/dts/s5pv210-fascinate4g.dts | 6 +++
2 files changed, 69
Make sure that the GPIOs are configured correctly
for the interrupt (otherwise it won't fire) and disable the
pulls on the DVS GPIOs which are outputs.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --
On aries boards, the ADC is used for things such as jack detection
and battery temperature monitoring. It is connected to ldo4 of max8998,
so only enable that regulator when we are actually using the ADC.
Signed-off-by: Jonathan Bakker
---
Changes from v1
- Replace removed regulator-off-in
In order to minimize leakage current during sleep, set a config
for sleep GPIOs.
Signed-off-by: Jonathan Bakker
---
Changes from v1
- Note where sleep GPIOs came from
---
arch/arm/boot/dts/s5pv210-galaxys.dts | 241 ++
1 file changed, 241 insertions(+)
diff --git a
The bma180 and related chips should have two registers attached to
them. The IIO driver currently uses them, document them here as
well.
Signed-off-by: Jonathan Bakker
---
Documentation/devicetree/bindings/iio/accel/bma180.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation
Some variants of the bma180 (eg bma023) have different reset
values. In preparation for adding support for them, factor
out the reset value into the chip specific data.
Signed-off-by: Jonathan Bakker
---
drivers/iio/accel/bma180.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions
The bma180 IIO driver has been extended for support for bma023.
However, this could cause conflicts with this driver. Since some
setups may depend upon the evdev setup, disable support in this
driver for the bma023 only when the IIO driver is being built.
Signed-off-by: Jonathan Bakker
the dt binding doc was missing
the regulators, so I've added those in.
The patches have been tested on a GT-i9000. The interrupt pin
is not connected on this board so the trigger was not tested.
Jonathan Bakker (5):
iio: accel: bma180: Prepare for different reset values
input: misc: b
support is not added for it.
Signed-off-by: Jonathan Bakker
---
drivers/iio/accel/Kconfig | 6 +-
drivers/iio/accel/bma180.c | 123 +++--
2 files changed, 122 insertions(+), 7 deletions(-)
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index
The bma023 is in the same family as the bma180 and support is
being added to the bma180 IIO driver for it.
Signed-off-by: Jonathan Bakker
---
Documentation/devicetree/bindings/iio/accel/bma180.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree
Hi Krzysztof,
On 2020-04-27 8:46 a.m., Krzysztof Kozlowski wrote:
> On Sun, Apr 26, 2020 at 07:57:12AM -0700, Jonathan Bakker wrote:
>> Hi Paul,
>>
>> On 2020-04-26 5:56 a.m., Paul Cercueil wrote:
>>>
>>>
>>> Le ven. 24 avril 2020 à 22:34, H. Nikol
Hi Kishon,
On 2020-04-27 5:40 a.m., Kishon Vijay Abraham I wrote:
> Hi Jonathan,
>
> On 4/25/2020 11:06 PM, Jonathan Bakker wrote:
>> The USB phy takes some time to reset, so make sure we give it to it. The
>> delay length was taken from the 4x12 phy driver.
>>
>&g
Hi Krzysztof,
On 2020-04-28 3:29 a.m., Krzysztof Kozlowski wrote:
> On Sun, Apr 26, 2020 at 11:36:01AM -0700, Jonathan Bakker wrote:
>> On aries boards, the ADC is used for things such as jack detection
>> and battery temperature monitoring. It is connected to ldo4 of max8998,
&g
Hi Krzysztof,
On 2020-04-28 3:26 a.m., Krzysztof Kozlowski wrote:
> On Sun, Apr 26, 2020 at 11:36:00AM -0700, Jonathan Bakker wrote:
>> The exynos-adc driver now supports the S5PV210, so add the DT
>> node so that devices can use it.
>>
>> Signed-off-by: Jonathan Bakke
Hi Krzysztof,
On 2020-04-28 3:32 a.m., Krzysztof Kozlowski wrote:
> On Sun, Apr 26, 2020 at 11:36:03AM -0700, Jonathan Bakker wrote:
>> The extended mainscaler is only available on FIMC1 and there
>> are minimum pixel alignments that differ from the default.
>> Additionally,
Hi all,
On 2020-04-28 2:39 p.m., Jonathan Bakker wrote:
> Hi Krzysztof,
>
> On 2020-04-27 8:46 a.m., Krzysztof Kozlowski wrote:
>> On Sun, Apr 26, 2020 at 07:57:12AM -0700, Jonathan Bakker wrote:
>>> Hi Paul,
>>>
>>> On 2020-04-26 5:56 a.m., Paul Cercu
Hi Krzysztof,
On 2020-04-28 3:20 a.m., Krzysztof Kozlowski wrote:
> On Sun, Apr 26, 2020 at 11:35:57AM -0700, Jonathan Bakker wrote:
>> Add support for following devices:
>> - touchkeys connected over i2c-gpio
>> - s6e63m0 panel connected over spi-gpio
>> - fsa94
Hi Krzysztof,
On 2020-04-28 3:02 a.m., Krzysztof Kozlowski wrote:
> On Sun, Apr 26, 2020 at 11:35:53AM -0700, Jonathan Bakker wrote:
>> In order to minimize leakage current during sleep, set a config
>> for sleep GPIOs.
>>
>> Signed-off-by: Jonathan Bakker
>>
On 2019-02-18 11:18 a.m., Rob Herring wrote:
> On Sat, Feb 02, 2019 at 04:18:02PM +0100, Paweł Chmiel wrote:
>> From: Jonathan Bakker
>>
>> Add device tree bindings for Bosch BMA150 Accelerometer Sensor
>>
>> Changes from v1:
>> - Add properties for all
Hi Tomasz,
On 2020-06-24 4:58 a.m., Tomasz Figa wrote:
> On Wed, Jun 24, 2020 at 1:54 PM Krzysztof Kozlowski wrote:
>>
>> On Wed, Jun 24, 2020 at 01:39:50PM +0200, Hans Verkuil wrote:
>>> Can someone from Samsung or someone who knows this SoC take a look at this
>>> series?
>>>
>>> This series l
The GPH3 pins on s5pv210 have interrupt support and had the
interrupt-cells property but was missing the interrupt-controller
property.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-pinctrl.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/s5pv210
Aries boards have a BMA023 accelerometer attached over i2c-gpio.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi
b/arch/arm/boot/dts/s5pv210-aries.dtsi
index
some rates didn't work,
and the some pinctrl settings weren't explicitly set. Fix all
of the above issues.
While we're at it, update from the deprecated host-wakeup-gpios
property to the host-wake interrupt.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5p
definition also had some issues
with it.
There is one change to the common s5pv210 dtsi and that is that the gph3
bank was missing the interrupt-controller property.
Jonathan Bakker (5):
ARM: dts: s5pv210: Add interrupt-controller property to gph3
ARM: dts: s5pv210: Correct fuelgauge definition
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
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 4 +---
arch/arm
Aries boards have a GP2A light/proximity sensor attached over i2c-gpio.
As the chip outputs a current and the board has no current ADC, a
current shunt resistor and a voltage ADC are used.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 50
The wm8994 exposes several inputs and outputs that can be used by
machine drivers in their routing. Add them to the documention so
they don't have been duplicated in any machine drivers bindings.
Signed-off-by: Jonathan Bakker
---
.../devicetree/bindings/sound/wm8994.txt
the headphone jack.
There are two main variants, one with an FM radio and where the modem
is the master and one without a radio and the modem is the slave.
Signed-off-by: Jonathan Bakker
---
sound/soc/samsung/Kconfig| 13 +
sound/soc/samsung/Makefile | 2 +
sound/soc/samsung
FM and the modem is
the master.
Signed-off-by: Jonathan Bakker
---
.../bindings/sound/samsung,aries-wm8994.yaml | 147 ++
1 file changed, 147 insertions(+)
create mode 100644
Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml
diff --git a/Documentation
e AIF should
be forced into mono mode.
UCM2 config files are available at
https://github.com/xc-racer99/aries-hw-files/tree/ucm2/usr/share/alsa/ucm2
Jonathan Bakker (3):
dt-bindings: sound: Document wm8994 endpoints
dt-bindings: sound: Add bindings for Samsung Aries audio complex
ASoC: sams
Hi Rob,
On 2020-05-28 1:13 p.m., Rob Herring wrote:
> On Fri, May 15, 2020 at 07:26:18PM -0700, Jonathan Bakker wrote:
>> Some devices may require a current adc, but only have a voltage
>> ADC onboard. In order to read the current, they have a resistor
>> connected to the A
x17040
but does for the later max17043/max77836 where its only 8 bits)?
Thanks and sorry for the issues,
Jonathan
On 2020-05-28 10:02 a.m., Sebastian Reichel wrote:
> Hi,
>
> This patch does not even compile, how did you test it?
>
> -- Sebastian
>
> On Mon, May 04, 2020 at 03
for all mainline dts
and cross referenced with the public Exynos4412 and S5PV210
datasheets.
Signed-off-by: Jonathan Bakker
---
drivers/iio/adc/exynos_adc.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc
n was implemented in such
a way that only the default clock was ever actually compared.
Fix this by iterating through all possible clocks, except when a
specific clock has already been picked via clk_sel (which is
only possible via board files).
Signed-off-by: Jonathan Bakker
---
drivers/tty/s
-off-by: Jonathan Bakker
---
drivers/iio/light/gp2ap002.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/gp2ap002.c b/drivers/iio/light/gp2ap002.c
index b7ef16b28280..7a2679bdc987 100644
--- a/drivers/iio/light/gp2ap002.c
+++ b/drivers/iio
Hi Kishon,
Is there anything else you (or someone else) needs from me? I'd really
appreciate getting USB working again on s5pv210 as without this patch it is
entirely broken.
Thanks,
Jonathan
On 2020-04-28 2:50 p.m., Jonathan Bakker wrote:
> Hi Kishon,
>
> On 2020-04-27 5:4
x27;t even need to change the device id check.
It has been tested with a modified libdrm's test from
https://github.com/tobiasjakobi/libdrm/tree/ippv2
Signed-off-by: Jonathan Bakker
---
drivers/gpu/drm/exynos/exynos_drm_fimc.c | 13 -
1 file changed, 12 insertions(+), 1 delet
: 97d642e23037 ("iio: light: Add a driver for Sharp GP2AP002x00F")
Signed-off-by: Jonathan Bakker
---
Changes from v1:
- Add Fixes tag
---
drivers/iio/light/gp2ap002.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/light/gp2ap002.c b/d
Hi Sebastian,
On 2020-05-10 1:08 p.m., Sebastian Reichel wrote:
> Hi,
>
> On Mon, May 04, 2020 at 03:13:00PM -0700, Jonathan Bakker wrote:
>> According to the datasheet (1), the rcomp parameter can
>> vary based on the typical operating temperature and the
>> batt
This patchset does two things:
1) Corrects the voltage reading from the max17040, which was missing
the shift and scaling.
2) Adds the ability to the set the rcomp, which is used to optimize
performance for specific battery chemistries and/or workloads.
Jonathan Bakker (3):
power: supply
According to the datasheet (1), the rcomp parameter can
vary based on the typical operating temperature and the
battery chemistry. If provided, make sure we set it after
we reset the chip on boot.
1) https://datasheets.maximintegrated.com/en/ds/MAX17040-MAX17041.pdf
Signed-off-by: Jonathan
The rcomp value is a device-specific value for configuration based
on specific chemistries. There is no public documentation on how
to tune it.
Signed-off-by: Jonathan Bakker
---
.../devicetree/bindings/power/supply/max17040_battery.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git
-MAX17041.pdf
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/max17040_battery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/supply/max17040_battery.c
b/drivers/power/supply/max17040_battery.c
index 8a1f0ee493aa..48aa44665e2f 100644
--- a/drivers/power
The bma023, bma150, and smb380 are in the same family as the bma180
and support is being added to the bma180 IIO driver for them.
Reviewed-by: Linus Walleij
Signed-off-by: Jonathan Bakker
---
Changes from v1
- Added bma150 and smb380 compatibles
- Added R-b tag
---
Documentation/devicetree
support is not added for it.
Reviewed-by: Linus Walleij
Signed-off-by: Jonathan Bakker
---
Changes from v1
- Added R-b tag
---
drivers/iio/accel/Kconfig | 6 +-
drivers/iio/accel/bma180.c | 123 +++--
2 files changed, 122 insertions(+), 7 deletions(-)
diff
The bma180 and related chips should have two registers attached to
them. The IIO driver currently uses them, document them here as
well.
Acked-by: Rob Herring
Reviewed-by: Linus Walleij
Signed-off-by: Jonathan Bakker
---
Changes from v1
- Added A-b and R-b tags
---
Documentation/devicetree
Some variants of the bma180 (eg bma023) have different reset
values. In preparation for adding support for them, factor
out the reset value into the chip specific data.
Reviewed-by: Linus Walleij
Signed-off-by: Jonathan Bakker
---
Changes from v1
- Added R-b tag
---
drivers/iio/accel/bma180.c
were working.
Changes from v1:
-Added patches for bma150 and smb380 variants
-Add R-b and A-b tags
-Change so BMA180 and INPUT_BMA150 conflict rather than removing
the i2c ids from the input driver when the iio driver is enabled
Jonathan Bakker (7):
iio: accel: bma180: Prepare for different
The bma150/smb380 are very similar to the bma023 but have a temperature
channel as well.
Signed-off-by: Jonathan Bakker
---
drivers/iio/accel/Kconfig | 6 ++--
drivers/iio/accel/bma180.c | 71 +++---
2 files changed, 70 insertions(+), 7 deletions(-)
diff --git
The bma180 driver is being extended to support the bma150.
Its temperature channel is unsigned so the center_temp naming
no longer makes.
Signed-off-by: Jonathan Bakker
---
drivers/iio/accel/bma180.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/iio
The bma180 IIO driver is being extended for support for the chips
support by input's bma150 driver (bma023, bma150, smb380). Don't
allow both drivers to be enabled simultaneously as they're for the
same hardware.
Signed-off-by: Jonathan Bakker
---
drivers/iio/accel/Kconfig
: Jonathan Bakker
---
drivers/power/supply/charger-manager.c | 91 --
1 file changed, 11 insertions(+), 80 deletions(-)
diff --git a/drivers/power/supply/charger-manager.c
b/drivers/power/supply/charger-manager.c
index a21e1a2673f8..330185b960a5 100644
--- a/drivers/power/supply
Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/charger-manager.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/power/supply/charger-manager.c
b/drivers/power/supply/charger-manager.c
index 80d1699c938a
more important
that charging is enabled always in safe context.
Signed-off-by: Jonghwa Lee
Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/charger-manager.c | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/drivers/power/s
Rather than having a cm-chargers and a separate cm-num-chargers
property, simply count the entries in cm-chargers.
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/charger-manager.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/charger
, cm_monitor() moves battery state diagram and does the
optimal operation for current state. As a result, it reduces whole
monitoring time almost in half.
Signed-off-by: Jonghwa Lee
Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/charger-manager.c | 181
og/drivers/power/charger-manager.c?h=tizen_5.0
Jonathan Bakker (4):
power: supply: charger-manager: Always use POWER_SUPPLY_PROP_TEMP
power: supply: charger-manager: Update extcon functions
power: supply: charger-manager: Count cm-chargers property directly
dt-bindings: power: supply: Clean
The bindings for charger-manager were very unclear and didn't
specify allowable values in many cases. Clean these up to show
what each value does and make sure all properties are documented
here rather than using wildcards.
Signed-off-by: Jonathan Bakker
---
.../bindings/power/supply/ch
oth to use POWER_SUPPLY_PROP_TEMP.
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/charger-manager.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/power/supply/charger-manager.c
b/drivers/power/supply/charger-manager.c
index 413f291fda5f..6a5ae1d0e
the extcon cable names and their IDs is needed. In order to retain DT
compatibility, TA and CHARGE-DOWNSTREAM are added as they were present up
until commit 11eecf910bd8 ("extcon: Modify the id and name of external
connector")
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/ch
From: Jonghwa Lee
The POWER_SUPPLY_CHARGE_NOW/FULL property reflects battery's charges
in uAh unit, but charger-manager has been used it wrongly as a
status field.
Signed-off-by: Jonghwa Lee
Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/ch
-off-by: Jonghwa Lee
Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Jonathan Bakker
---
drivers/power/supply/charger-manager.c | 183 ++---
include/linux/power/charger-manager.h | 33 +
2 files changed, 16 insertions(+), 200 deletions(-)
diff --git a/drivers/power
://lore.kernel.org/linux-iio/20200202150843.762c6897@archlinux/
Jonathan Bakker (2):
dt-bindings: iio: adc: Add binding for current-from-voltage
iio: adc: Add current-from-voltage driver
.../iio/adc/linux,current-from-voltage.yaml | 47 +++
MAINTAINERS | 8
Some devices may require a current adc, but only have a voltage
ADC onboard. In order to read the current, they have a resistor
connected to the ADC.
Suggested-by: Jonathan Cameron
Signed-off-by: Jonathan Bakker
---
MAINTAINERS| 8 ++
drivers/iio/adc/Kconfig
Some devices may require a current adc, but only have a voltage
ADC onboard. In order to read the current, they have a resistor
connected to the ADC. Add bindings for this possibility.
Signed-off-by: Jonathan Bakker
---
.../iio/adc/linux,current-from-voltage.yaml | 47 +++
1
On 2020-09-02 9:46 a.m., Colin Ian King wrote:
> On 02/09/2020 17:43, Gustavo A. R. Silva wrote:
>> On Wed, Sep 02, 2020 at 09:29:31AM -0700, Randy Dunlap wrote:
>>> On 9/2/20 9:23 AM, Gustavo A. R. Silva wrote:
A few months ago, commit e132fc6bb89b ("power: supply: charger-manager:
M
Both the galaxys and the fascinate4g have a wm8994 codec,
but they differ slightly in their jack detection and micbias
configuration.
Signed-off-by: Jonathan Bakker
---
arch/arm/boot/dts/s5pv210-aries.dtsi | 10 +++
arch/arm/boot/dts/s5pv210-fascinate4g.dts | 98
Looking at this again, it appears that there is actually control for
it at offset 0x6818 of pmu_syscon (0xe0108000) [1]. However, it defaults to
enabled so it's not required for proper use of the block. Whether it should
be present in the schema/DTS is up to you.
Thanks,
Jonathan
[1]
https://a
DMA still works for me on the Galaxy S.
Tested-by: Jonathan Bakker
Thanks,
Jonathan
On 2020-09-07 9:11 a.m., Krzysztof Kozlowski wrote:
> There is no need to keep DMA controller nodes under AMBA bus node.
> Remove the "amba" node to fix dtschema warnings like:
>
> am
1 - 100 of 125 matches
Mail list logo