, an audio/microphone jack, a camera CSI
port, 2 sets of 22 GPIOs and an accelerometer.
Signed-off-by: Quentin Schulz
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/sun8i-r16-parrot.dts | 333 +
2 files changed, 334 insertions(+)
create mode
When phy-sun4i-usb's probing fails, it does not print the reason in
kernel log, forcing the developer to edit this driver to add info logs.
This commit makes the kernel print the reason of phy-sun4i-usb's probing
failure or a success message.
Signed-off-by: Quentin Schulz
---
drive
fail, preventing the driver from probing properly,
while the vbus and id gpios are optional.
Signed-off-by: Quentin Schulz
---
drivers/phy/phy-sun4i-usb.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c
index
The Allwinner SoCs all have an ADC that can also act as a touchscreen
controller and a thermal sensor. For now, only the ADC and the thermal
sensor drivers are probed by the MFD, the touchscreen controller support
will be added later.
Signed-off-by: Quentin Schulz
---
drivers/mfd/Kconfig
iio_hwmon if such error is returned by
iio_channel_get_all in order to let a chance to iio drivers to expose
channels in iio_map_list.
Signed-off-by: Quentin Schulz
---
drivers/hwmon/iio_hwmon.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/iio_hwmon.c b
Device Tree.
This driver probes on three different platform_device_id to take into
account slight differences between Allwinner SoCs ADCs.
Signed-off-by: Quentin Schulz
---
drivers/iio/adc/Kconfig | 12 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/sunxi-gpadc-iio.c
o iio channel is
found. Currently when no iio channel is found, the probing of iio-hwmon fails.
This is problematic when iio-hwmon probes before the iio driver could register
iio channels to share.
Quentin Schulz (3):
mfd: add support for Allwinner SoCs ADC
iio: adc: add support for Allwinner SoC
Hi Antoine,
On 2020-06-19 14:22, Antoine Tenart wrote:
This patch takes in account the use of the 1588 block in the MACsec
initialization, as a conditional configuration has to be done (when the
1588 block is used).
Signed-off-by: Antoine Tenart
---
drivers/net/phy/mscc/mscc_macsec.c | 4 +++-
Hi Antoine,
Feels weird to review my own patches a year later having written them,
almost nostalgic :)
The review is mostly nitpicks.
On 2020-06-19 14:22, Antoine Tenart wrote:
[...]
@@ -373,6 +374,21 @@ struct vsc8531_private {
unsigned long ingr_flows;
unsigned long egr_flows
Hi Antoine,
On 2020-06-19 14:22, Antoine Tenart wrote:
[...]
@@ -999,9 +1553,35 @@ int vsc8584_ptp_probe(struct phy_device *phydev)
if (!vsc8531->ptp)
return -ENOMEM;
+ mutex_init(&vsc8531->phc_lock);
mutex_init(&vsc8531->ts_lock);
+ /* Retrieve the
repare(info->ths_bus_clk);
> + reset_control_deassert(info->reset);
> + }
> +
I'm not really fond of using this boolean as I don't see it being
possibly reused for any other SoCs that has a GPADC or THS.
Here, you could make use of a list/array of clk which
capacity (in percentage), voltage max and min limits, current
voltage and battery capacity (in Ah).
Signed-off-by: Quentin Schulz
Acked-by: Chen-Yu Tsai
Acked-by: Maxime Ripard
---
v6:
- removed mention to monitored-battery, will be sent when the battery
framework has been merged,
v5
ead of matching on IDs,
- Switched from DT IIO channels mapping to iio_map structures IIO
channels mapping,
Quentin
Quentin Schulz (6):
dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding
power: supply: add battery driver for AXP20X and AXP22X PMICs
ARM: dtsi: axp209: add
max and min limits, current voltage and battery
capacity (in Ah).
This battery driver uses the AXP20X/AXP22X ADC driver as PMIC data
provider.
Signed-off-by: Quentin Schulz
Acked-by: Jonathan Cameron
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
Acked-by: Sebastian Reichel
---
v5
supply subnode for AXP20X PMIC.
Signed-off-by: Quentin Schulz
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
---
v2:
- changed DT node name from battery_power_supply to
battery-power-supply,
- removed io-channels and io-channel-names from DT (the IIO mapping is
done in the IIO ADC driver
subnode for AXP22X PMIC.
Signed-off-by: Quentin Schulz
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
---
v2:
- changed DT node name from battery_power_supply to
battery-power-supply,
- removed io-channels and io-channel-names from DT (the IIO mapping is
done in the IIO ADC driver now
The NextThing Co. CHIP has an AXP209 PMIC with battery connector.
This enables the battery power supply subnode.
Signed-off-by: Quentin Schulz
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/sun5i-r8-chip.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch
The Sinlinx SinA33 has an AXP223 PMIC and a battery connector, thus, we
enable the battery power supply subnode in its Device Tree.
Signed-off-by: Quentin Schulz
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4
1 file changed, 4
the following:
# ip link set can0 down
# ip link set can0 up type can bitrate 125000
# cansend can0 500#1E.10.10
Last line at least 10 times, every message is received on my computer.
Same with can1. Tested with candump can0 as well, everything looks fine.
Tested-by: Quentin Schulz
Thanks,
Quentin
ERLIN2_ADC) += berlin2-adc.o
diff --git a/drivers/iio/adc/axp20x_adc.c b/drivers/iio/adc/axp20x_adc.c
new file mode 100644
index 000..11e1771
--- /dev/null
+++ b/drivers/iio/adc/axp20x_adc.c
@@ -0,0 +1,617 @@
+/* ADC driver for AXP20X and AXP22X PMICs
+ *
+ * Copyright (c) 2016 Free Elect
supply subnode for AXP20X PMIC.
Signed-off-by: Quentin Schulz
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
---
v2:
- changed DT node name from battery_power_supply to
battery-power-supply,
- removed io-channels and io-channel-names from DT (the IIO mapping is
done in the IIO ADC driver
subnode for AXP22X PMIC.
Signed-off-by: Quentin Schulz
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
---
v2:
- changed DT node name from battery_power_supply to
battery-power-supply,
- removed io-channels and io-channel-names from DT (the IIO mapping is
done in the IIO ADC driver now
The Sinlinx SinA33 has an AXP223 PMIC and a battery connector, thus, we
enable the battery power supply subnode in its Device Tree.
Signed-off-by: Quentin Schulz
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4
1 file changed, 4
From: Maxime Ripard
This adds GPU thermal throttling for the Allwinner A33.
Signed-off-by: Maxime Ripard
Signed-off-by: Quentin Schulz
---
v3:
- got rid of cooling-min-level and cooling-max-level as it's not used in any
code in the kernel,
added in v2
arch/arm/boot/dts/sun8i-a2
Hi Lee,
On 04/04/2017 10:31, Lee Jones wrote:
> On Tue, 21 Mar 2017, Quentin Schulz wrote:
>
>> The Allwinner SoCs all have an ADC that can also act as a touchscreen
>> controller and a thermal sensor. The first four channels can be used
>> either for the ADC or the t
r
SoCs ADC"
Thanks,
Quentin
Maxime Ripard (1):
ARM: sun8i: a33: Add devfreq-based GPU cooling
Quentin Schulz (7):
dt-bindings: mfd: add A33 GPADC binding
dt-bindings: input: touschcreen: remove sun4i documentation
iio: adc: sun4i-gpadc-iio: move code used in MFD probing to new
func
This patch adds documentation for the A33 GPADC binding.
Signed-off-by: Quentin Schulz
Acked-by: Rob Herring
---
v4:
- correct patch title,
v3:
- fixed missing allwinner in front of compatible,
- updated compatible to allwinner,sun8i-a33-ths to better reflect the
datasheet's
This patch removes the sun4i touchscreen controller binding
documentation since it has been merged with the sun4i GPADC binding
documentation.
Signed-off-by: Quentin Schulz
Acked-by: Rob Herring
Acked-by: Dmitry Torokhov
---
v4:
- correct patch title,
.../bindings/input/touchscreen
that will require to create a DT binding for this IP, we can
avoid using an MFD, thus we need two separate functions: one for probing
via MFD and one for probing without MFD.
This split the code specific to MFD probing in a function separated from
the driver probe function.
Signed-off-by: Quentin
ready supported SoCs
and almost the same bits, for the same purpose (thermal sensor).
The thermal sensor behaves exactly the same (except the presence of
interrupts or not) on the different SoCs.
Signed-off-by: Quentin Schulz
Acked-by: Lee Jones
Acked-by: Jonathan Cameron
---
v3:
- swi
Hi Lee,
On 05/04/2017 11:57, Lee Jones wrote:
> On Wed, 05 Apr 2017, Quentin Schulz wrote:
>> On 04/04/2017 10:31, Lee Jones wrote:
>>> On Tue, 21 Mar 2017, Quentin Schulz wrote:
>>>> v3:
>>>> - fixed compatible name in DT and in documentat
This adds the DT node for the thermal sensor present in the Allwinner
A33 GPADC.
Signed-off-by: Quentin Schulz
---
v3:
- switched compatible to allwinner,sun8i-a33-ths,
- renamed DT node name and label to ths to better match datasheet's name,
arch/arm/boot/dts/sun8i-a33.dtsi
This adds CPU thermal throttling for the Allwinner A33. It uses the
thermal sensor present in the SoC's GPADC.
Signed-off-by: Quentin Schulz
---
v3:
- switched to new phandle because of modified DT node name for the GPADC
(named THS),
- got rid of cooling-min-level and cooling-max-
table of the Sinlinx
SinA33.
Signed-off-by: Quentin Schulz
---
added in v3
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
index
The NextThing Co. CHIP has an AXP209 PMIC with battery connector.
This enables the battery power supply subnode.
Signed-off-by: Quentin Schulz
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/sun5i-r8-chip.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch
capacity (in percentage), voltage max and min limits, current
voltage and battery capacity (in Ah).
Signed-off-by: Quentin Schulz
Acked-by: Chen-Yu Tsai
Acked-by: Maxime Ripard
---
v5:
- removed DT property example from monitored-battery,
v4:
- added monitored-battery optional property
The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply.
This patch adds the AXP20X/AXP22X battery driver to the MFD cells of the
AXP209, AXP221 and AXP223 MFD.
Signed-off-by: Quentin Schulz
Acked-for-MFD-by: Lee Jones
Acked-by: Chen-Yu Tsai
---
v2:
- changed DT node name
iio_map structures IIO
channels mapping,
Quentin
Quentin Schulz (7):
dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding
power: supply: add battery driver for AXP20X and AXP22X PMICs
mfd: axp20x: add MFD cells for AXP20X and AXP22X battery driver
ARM: dtsi: axp209: add battery
max and min limits, current voltage and battery
capacity (in Ah).
This battery driver uses the AXP20X/AXP22X ADC driver as PMIC data
provider.
Signed-off-by: Quentin Schulz
Acked-by: Jonathan Cameron
Acked-by: Maxime Ripard
Acked-by: Chen-Yu Tsai
Acked-by: Sebastian Reichel
---
v5
olfgang Grandegger
>> Cc: Alexandre Belloni ; Florian
>> Fainelli
>> ; Quentin Schulz ;
>> Wenyou Yang - A41535 ; Nicolas Ferre
>> ; linux-...@vger.kernel.org; net...@vger.kernel.org;
>> linux-kernel@vger.kernel.org
>> Subject: Re: [PATCH v2] can: m_can: en
Hi Lee,
Just to make sure you didn't miss that patch (can't find it in
for-mfd-next and for-mfd-next-next).
Thanks,
Quentin
On 04/04/2017 08:34, Quentin Schulz wrote:
> The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the
> battery voltage, battery char
Hi Lee,
On 10/04/2017 16:54, Lee Jones wrote:
> On Mon, 10 Apr 2017, Quentin Schulz wrote:
>
>> Hi Lee,
>>
>> Just to make sure you didn't miss that patch (can't find it in
>> for-mfd-next and for-mfd-next-next).
>
> It has not been missed, but is
This adds PM support to the ATMEL SAMA5D2 Xplained.
When suspending, VDDCore is shut down and the SPI registers are lost.
Thus, the SPI controller needs to be re-initialized after resuming from
a system suspend.
Signed-off-by: Quentin Schulz
---
drivers/spi/spi-atmel.c | 9 +
1 file
The SPI controller configuration during the init can be reused, for the
resume function for example.
Let's move this configuration to a separate function.
Signed-off-by: Quentin Schulz
---
drivers/spi/spi-atmel.c | 35 +--
1 file changed, 21 insertions(+
assert(info->reset);
> +
> return 0;
> }
>
> diff --git a/include/linux/mfd/sun4i-gpadc.h b/include/linux/mfd/sun4i-gpadc.h
> index d31d962bb7d8..36046a0d91f3 100644
> --- a/include/linux/mfd/sun4i-gpadc.h
> +++ b/include/linux/mfd/sun4i-gpadc.h
> @@ -39,9 +39,13 @@
> #define SUN6I_GPADC_CTRL1_ADC_CHAN_MASK GENMASK(3, 0)
>
> /* TP_CTRL1 bits for sun8i A23/A33 SoCs */
> +/* TP_CTRL1 bits for sun8i A23/A33 SoCs */
Spurious change?
Thanks,
Quentin
--
Quentin Schulz, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
};
> +
> + thermal-zones {
> + cpu_thermal {
> + /* milliseconds */
> + polling-delay-passive = <250>;
> + polling-delay = <1000>;
> + thermal-sensors = <&ths>;
> +
The SPI controller configuration during the init can be reused, for the
resume function for example.
Let's move this configuration to a separate function.
Signed-off-by: Quentin Schulz
Acked-by: Nicolas Ferre
---
drivers/spi/spi-atmel.c | 35 +--
1 file ch
This adds deepest (Backup+Self-Refresh) PM support to the ATMEL SAMA5D2
SoC's SPI controller.
When resuming from deepest state, it is required to restore MR register
as the registers are lost since VDD core has been shut down when
entering deepest state on the SAMA5D2.
Signed-off-by: Qu
Signed-off-by: Quentin Schulz
Reported-by: Corentin Labbe
---
v2:
- save struct device used to register in thermal framework in
sun4i_gpadc_iio,
- use this struct device to unregister from thermal framework instead
of doing a condition on pdev->dev.of_node,
- check if CONFIG_THERMAL_OF
ed to be
reconfigured as well.
The other registers and init process are taken care of by the SDHCI
core.
Signed-off-by: Quentin Schulz
Acked-by: Ludovic Desroches
---
v2:
- use runtime_resume as system_resume,
- set a flag to tell when restoring presets is needed,
- use a flag to
The setting of clocks and presets is currently done in probe only but
once deep PM support is added, it'll be needed in the resume function.
Let's create a function for this setting.
Signed-off-by: Quentin Schulz
Acked-by: Ludovic Desroches
Acked-by: Adrian Hunter
---
drivers/mmc/
have different enable bits and different dividers and divider formulas,
they are handled by two different drivers.
This adds the audio plls (frac, pad and pmc) to the compatible list of
at91 clocks in DT binding.
Signed-off-by: Quentin Schulz
Acked-by: Rob Herring
---
added in v2:
- split from
(passed along req argument of the function) and
the parent clock rate, thus we know the closest rounded divisor, we
don't need to iterate over the available divisors to find the best one
for a given clock.
Signed-off-by: Quentin Schulz
Acked-by: Boris Brezillon
---
drivers/clk/at91/clk-genera
[3] https://patchwork.kernel.org/patch/9462349/
[4] https://www.spinics.net/lists/arm-kernel/msg436120.html
[5] http://www.spinics.net/lists/linux-clk/msg17927.html
Cyrille Pitchen (2):
ARM: dts: at91: sama5d2: add classd nodes
ARM: dts: at91: sama5d2_xplained: add pin muxing and enable class
From: Cyrille Pitchen
This patch adds the pin muxing for classd and enables it.
Signed-off-by: Cyrille Pitchen
Signed-off-by: Nicolas Ferre
Signed-off-by: Quentin Schulz
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 16
1 file changed, 16 insertions(+)
diff --git a
: Quentin Schulz
Acked-by: Mark Brown
---
added in v2:
- split from bigger patch with audio PLLs and DT binding,
- updated all variables and macros named ACLK to GCLK,
sound/soc/atmel/atmel-classd.c | 47 +-
1 file changed, 14 insertions(+), 33 deletions
the clock.
Since audio IPs are most likely to request the same rate, we enforce
that the only clks able to modify gck rate are those of audio IPs.
To remain consistent, we deny other clocks to be children of audio_pll.
Signed-off-by: Quentin Schulz
Acked-by: Boris Brezillon
---
v3:
- added
Since gclk (generated-clk) is now able to determine the rate of the
audio_pll, there is no need for classd to have a direct phandle to the
audio_pll while already having a phandle to gclk.
This binding is used by no board in mainline so it is safe to be
modified.
Signed-off-by: Quentin Schulz
have different enable bits and different dividers and divider formulas,
they are handled by two different drivers. Each of them could modify the
rate of the main audio pll parent.
The main audio pll clock can output 620MHz to 700MHz.
Signed-off-by: Nicolas Ferre
Signed-off-by: Quentin Schulz
From: Cyrille Pitchen
This patch adds nodes for the classd device and its generated clock.
Signed-off-by: Cyrille Pitchen
Signed-off-by: Nicolas Ferre
Signed-off-by: Quentin Schulz
---
arch/arm/boot/dts/sama5d2.dtsi | 39 ++-
1 file changed, 38 insertions
The way to find the best_diff and do the appropriate process afterwards
can be re-used.
This patch prepares the driver for an upcoming patch that will allow
clk_generated to determine the rate of the audio_pll.
Signed-off-by: Quentin Schulz
Acked-by: Boris Brezillon
---
drivers/clk/at91/clk
ed to be
reconfigured as well.
The other registers and init process are taken care of by the SDHCI
core.
Signed-off-by: Quentin Schulz
Acked-by: Ludovic Desroches
---
v3:
- pm_runtime_force_suspend before setting restore_needed flag,
v2:
- use runtime_resume as system_resume,
- set a fl
The setting of clocks and presets is currently done in probe only but
once deep PM support is added, it'll be needed in the resume function.
Let's create a function for this setting.
Signed-off-by: Quentin Schulz
Acked-by: Ludovic Desroches
Acked-by: Adrian Hunter
---
drivers/mmc/
Hi Adrian and Ludovic,
On 20/06/2017 11:49, Ludovic Desroches wrote:
> On Tue, Jun 20, 2017 at 10:07:06AM +0200, Quentin Schulz wrote:
>> Hi Adrian,
>>
>> On 20/06/2017 09:39, Adrian Hunter wrote:
>>> On 16/06/17 10:29, Quentin Schulz wrote:
>>>> This add
Better with the link.
On 05/07/2017 08:23, Quentin Schulz wrote:
> Hi Adrian and Ludovic,
>
> On 20/06/2017 11:49, Ludovic Desroches wrote:
>> On Tue, Jun 20, 2017 at 10:07:06AM +0200, Quentin Schulz wrote:
>>> Hi Adrian,
>>>
>>> On 20/06/2017 09:39, A
According to their datasheets, the AXP221, AXP223, AXP288, AXP803,
AXP809 and AXP813 PEK have different values for startup time bits from
the AXP20X, let's use the platform device id with the correct values.
Signed-off-by: Quentin Schulz
---
drivers/mfd/axp20x.c | 12 ++--
1
The AXP221 has different values for startup time bits from the AXP20X.
This patch introduces a different platform_device_id to the driver and
adds the necessary code to handle the different platform_device_ids.
Signed-off-by: Quentin Schulz
---
drivers/input/misc/axp20x-pek.c | 62
from the board.
Thanks,
Quentin
Quentin Schulz (2):
Input: axp20x-pek: add support for AXP221 PEK
mfd: axp20x: use correct platform device id for many PEK
drivers/input/misc/axp20x-pek.c | 62 ++---
drivers/mfd/axp20x.c| 12
2 files ch
Hi all,
On 17/07/2017 11:53, Quentin Schulz wrote:
> According to their datasheets, the AXP221, AXP223, AXP288, AXP803,
> AXP809 and AXP813 PEK have different values for startup time bits from
> the AXP20X PEK (which are currently used for all the aforementioned PMICs).
>
> Th
Hi Lee,
On 18/07/2017 09:18, Lee Jones wrote:
> On Mon, 17 Jul 2017, Quentin Schulz wrote:
>
>> Hi all,
>>
>> On 17/07/2017 11:53, Quentin Schulz wrote:
>>> According to their datasheets, the AXP221, AXP223, AXP288, AXP803,
>>> AXP809 and AXP813 PEK h
Hi Maxime,
On 17/07/2017 13:29, Maxime Ripard wrote:
> Hi,
>
> On Mon, Jul 17, 2017 at 11:53:06AM +0200, Quentin Schulz wrote:
>> The AXP221 has different values for startup time bits from the AXP20X.
>>
>> This patch introduces a different platform_device_id to
Hi Lee,
On 18/07/2017 09:19, Lee Jones wrote:
> On Mon, 17 Jul 2017, Quentin Schulz wrote:
>
>> According to their datasheets, the AXP221, AXP223, AXP288, AXP803,
>> AXP809 and AXP813 PEK have different values for startup time bits from
>> the AXP20X, let's use th
Hi Maxime,
On 18/07/2017 09:57, Maxime Ripard wrote:
> On Tue, Jul 18, 2017 at 09:36:04AM +0200, Quentin Schulz wrote:
>>>> +
>>>> + error = sysfs_create_group(&pdev->dev.kobj,
>>>> + axp20x_pek->attribute_group);
>
Hi Lee,
On 18/07/2017 11:49, Lee Jones wrote:
> On Tue, 18 Jul 2017, Quentin Schulz wrote:
>
>> Hi Lee,
>>
>> On 18/07/2017 09:19, Lee Jones wrote:
>>> On Mon, 17 Jul 2017, Quentin Schulz wrote:
>>>
>>>> According to their datasheets, the
Hi all,
Kindly pinging since the merge window is now closed and I haven;t
received any update in the last two weeks,
Thanks,
Quentin
On 04/07/2017 14:37, Quentin Schulz wrote:
> When phy-sun4i-usb's probing fails, it does not print the reason in
> kernel log, forcing the developer t
Hi all,
It's been almost a week with no comments on this patch set, so kindly
pinging.
Thanks,
Quentin
On 13/07/2017 09:49, Quentin Schulz wrote:
> This patch series adds support for the audio PLLs and enables ClassD that
> can be found in ATMEL Sama5d2 SoC.
>
> There are tw
Now that extended attributes aren't used anymore, remove all the
mentions to extended attributes.
Signed-off-by: Quentin Schulz
---
drivers/input/misc/axp20x-pek.c | 60 -
1 file changed, 29 insertions(+), 31 deletions(-)
diff --git a/drivers/input
PMIC can be easily supported by just filling
correctly its ax20x_info structure and adding a platform_device_id.
Signed-off-by: Quentin Schulz
---
drivers/input/misc/axp20x-pek.c | 131 +++-
1 file changed, 88 insertions(+), 43 deletions(-)
diff --git a/drivers/
masks,
- separate in different patches,
- removed mfd patch to correct mfd cell name since Chen-Yu will take care
of it in another patch series,
Thanks,
Quentin
Quentin Schulz (3):
Input: axp20x-pek: use driver_data of platform_device_id instead of
extended attributes
Input: axp20x-pek: r
The AXP221 has different values for startup time bits from the AXP20X.
Signed-off-by: Quentin Schulz
---
drivers/input/misc/axp20x-pek.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/input/misc/axp20x-pek.c b/drivers/input/misc/axp20x-pek.c
index fa49f45c0f0e
_detect_change_begin / _end functions
Quentin Schulz (1):
staging: net: wireless: add ESP8089 WiFi driver
drivers/mmc/core/core.c | 47 +-
drivers/staging/Kconfig |2 +
drivers/staging/Makefile|1 +
drivers/sta
From: Hans de Goede
Some sdio devices have a multiple stage bring-up process. Specifically
the esp8089 (for which an out of tree driver is available) loads firmware
on the first call to its sdio-drivers' probe function and then resets
the device causing it to reboot from its RAM with the new firm
Hi Greg,
On 21/07/2017 17:01, Greg KH wrote:
> On Fri, Jul 21, 2017 at 04:35:01PM +0200, Quentin Schulz wrote:
>> The Espressif ESP8089 WiFi chips can be often found in cheap tablets.
>> There is one in A23 Polaroid tablets for example.
>>
>> The chip is often embe
an eMMC SDIO device.
>>>>
>>>> The code was taken from an out-of-tree repository and has seen a first
>>>> pass in the cleanup process.
>>>>
>>>> At the moment, there is no publicly available datasheet for this chip.
>>>>
>
Hi Ulf,
On Wed, Aug 30, 2017 at 03:43:49PM +0200, Ulf Hansson wrote:
> On 30 August 2017 at 14:44, Hans de Goede wrote:
> > Hi,
> >
> >
> > On 21-07-17 16:35, Quentin Schulz wrote:
> >>
> >> From: Hans de Goede
> >>
> >> Some sd
Hi Ulf,
On Thu, Feb 08, 2018 at 10:31:39PM +0100, Ulf Hansson wrote:
> On 8 February 2018 at 15:59, Quentin Schulz
> wrote:
> > Hi Ulf,
> >
> > On Wed, Aug 30, 2017 at 03:43:49PM +0200, Ulf Hansson wrote:
> >> On 30 August 2017 at 14:44, Hans de Goede wrote:
&
This makes the axp20x_adc driver probe with platform device id
"axp813-adc".
Signed-off-by: Quentin Schulz
Acked-for-MFD-by: Lee Jones
Acked-by: Chen-Yu Tsai
---
drivers/mfd/axp20x.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mfd/axp20x.c b/d
This makes AXP209 and AXP22x ADCs probe first via DT and then by
fallback via platform.
Signed-off-by: Quentin Schulz
Acked-for-MFD-by: Lee Jones
Acked-by: Chen-Yu Tsai
---
drivers/mfd/axp20x.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mfd/axp20x.c b
The DT node should be named after its functionality and not after the
IP it's defining.
Signed-off-by: Quentin Schulz
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/axp81x.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boo
use it.
Signed-off-by: Quentin Schulz
Reviewed-by: Chen-Yu Tsai
---
drivers/power/supply/axp20x_battery.c | 100 +--
1 file changed, 66 insertions(+), 34 deletions(-)
diff --git a/drivers/power/supply/axp20x_battery.c
b/drivers/power/supply/axp20x_battery.c
index 7
This adds a DT node for the ADC of the PMIC so that there can be
consumers of its IIO channels declaring their consumptions via DT.
Signed-off-by: Quentin Schulz
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/axp22x.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts
The TBS A711 has an AXP813 PMIC and a soldered battery, thus, we enable
the battery power supply subnode in its Device Tree.
Signed-off-by: Quentin Schulz
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot
!!'s behaviour isn't that obvious and sparse complained about it, so
let's replace it with a ternary condition.
Signed-off-by: Quentin Schulz
---
drivers/iio/adc/axp20x_adc.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/axp20x_adc.
This adds a DT node for the ADC of the PMIC so that there can be
consumers of its IIO channels declaring their consumptions via DT.
Signed-off-by: Quentin Schulz
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/axp209.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts
As axp20x-battery-power-supply now supports AXP813, add a cell for it.
Signed-off-by: Quentin Schulz
Acked-for-MFD-by: Lee Jones
Reviewed-by: Chen-Yu Tsai
---
drivers/mfd/axp20x.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index e5516aa
supply subnode for AXP81X PMIC.
Signed-off-by: Quentin Schulz
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/axp81x.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi
index 6b5e7bc..1b05c7f 100644
--- a/arch/arm/boot/dts
the
PMIC is valid.
Signed-off-by: Quentin Schulz
Reviewed-by: Chen-Yu Tsai
---
drivers/power/supply/axp20x_battery.c | 42 -
1 file changed, 42 insertions(+)
diff --git a/drivers/power/supply/axp20x_battery.c
b/drivers/power/supply/axp20x_battery.c
index 099e785
The AXP813 can have a battery as power supply, so let's add it to the
list of compatibles.
Signed-off-by: Quentin Schulz
Reviewed-by: Rob Herring
Acked-by: Chen-Yu Tsai
---
Documentation/devicetree/bindings/power/supply/axp20x_battery.txt | 8 +++
1 file changed, 4 insertions(
This adds a DT node for the ADC of the PMIC so that there can be
consumers of its IIO channels declaring their consumptions via DT.
Signed-off-by: Quentin Schulz
Acked-by: Chen-Yu Tsai
---
arch/arm/boot/dts/axp81x.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts
f ID for variant specific code in
battery driver,
- add DT binding for ADC driver,
- make mfd probe the ADC driver via DT as well so that its IIO channels
can be consumed by other drivers via DT mapping,
Thanks,
Quentin
Quentin Schulz (13):
ARM: dtsi: axp209: add node for ADC
ARM: dtsi: a
401 - 500 of 655 matches
Mail list logo