From: Boris Brezillon
The regulator supports a dedicated suspend mode.
Implement the appropriate ->set_suspend_xx() hooks, add support for
->set_mode(), and provide basic PM ops functionalities to setup the
regulator in a suspend state when the system is entering suspend.
Signed-off-by: Boris Br
From: Claudiu Beznea
Implement shutdown method to make sure the PMIC will not enter the suspend
state when the system is shutdown.
This work is based on work done by Borris Brezillon on [1].
[1] https://www.spinics.net/lists/kernel/msg2942960.html
Signed-off-by: Claudiu Beznea
---
drivers/re
From: Boris Brezillon
When entering suspend-to-mem, all PMIC outputs are disabled except
VDDIODDR which is put in power saving mode, and whose voltage is
increased (probably to counter the poor accuracy of power saving mode).
Signed-off-by: Boris Brezillon
[claudiu.bez...@microchip.com: use reg
From: Claudiu Beznea
This series implements PM functionality for act8945a PMIC and use that support
on SAMA5D2 Xplained board.
Changes in v2:
- split patch 1/1 from previous series in 3 patches: one adding regmap,
one adding pm functionality, one adding shutdown functionality
- use dev_pm_ops
From: Claudiu Beznea
Fix line over 80 chars checkpatch.pl warning.
Signed-off-by: Claudiu Beznea
---
drivers/regulator/act8945a-regulator.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/regulator/act8945a-regulator.c
b/drivers/regulator/act8945a-regulator.c
ind
From: Claudiu Beznea
Add documentation for regulator modes and suspend states.
Signed-off-by: Claudiu Beznea
---
.../bindings/regulator/act8945a-regulator.txt | 34 ++
1 file changed, 34 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/act8945a-r
On 28.11.2018 23:09, Brandon Streiff wrote:
> On 11/23/2018 3:59 AM, Harini Katakam wrote:
>> +/* Errata mask bits */
>> +#define MACB_ERRATA_RXLOCKUP0x0001
>> +
>> /* LSO settings */
>> #define MACB_LSO_UFO_ENABLE 0x01
>> #define MACB_LSO_TSO_ENABLE
Hi Sebastian,
On 06.12.2018 00:40, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Nov 07, 2018 at 06:23:40PM +0100, Alexandre Belloni wrote:
>> On 07/11/2018 14:54:17+, claudiu.bez...@microchip.com wrote:
>>> Hi Alexandre,
>>>
>>> On 06.11.2018 23:09, Alexandre Belloni wrote:
Hi Claudiu,
>>>
From: Claudiu Beznea
Move SHDWC realted data to only one structure to have them grouped.
Inspired from commit 9be74f0d39c1 ("power: reset: at91-poweroff: make
mpddrc_base part of struct shdwc").
Signed-off-by: Claudiu Beznea
---
Changes in v2:
- avoid allocate at91_shdwc and keep it static ins
From: Claudiu Beznea
On some platforms (currently detected only on SAMA5D4) TX might stuck
even the pachets are still present in DMA memories and TX start was
issued for them. This happens due to race condition between MACB driver
updating next TX buffer descriptor to be used and IP reading the s
Hi David,
Please ignore this one for the moment, I'll have to run few more tests on it.
Thank you,
Claudiu Beznea
On 06.12.2018 19:44, Claudiu Beznea - M18063 wrote:
> From: Claudiu Beznea
>
> On some platforms (currently detected only on SAMA5D4) TX might stuck
> even the pachets are still pr
On 12.12.2018 00:13, Rob Herring wrote:
> On Tue, Nov 27, 2018 at 11:57:25AM +, claudiu.bez...@microchip.com wrote:
>> From: Claudiu Beznea
>>
>> Add documentation for regulator modes and suspend states.
>>
>> Signed-off-by: Claudiu Beznea
>> ---
>> .../bindings/regulator/act8945a-regulato
On 12.12.2018 15:32, Rob Herring wrote:
> On Wed, Dec 12, 2018 at 3:13 AM wrote:
>>
>>
>>
>> On 12.12.2018 00:13, Rob Herring wrote:
>>> On Tue, Nov 27, 2018 at 11:57:25AM +, claudiu.bez...@microchip.com
>>> wrote:
From: Claudiu Beznea
Add documentation for regulator modes a
From: Claudiu Beznea
This series implements PM functionality for act8945a PMIC and use that support
on SAMA5D2 Xplained board.
Changes in v4:
- move dt-bindings/regulator/active-semi,8945a-regulator.h in documentation
patch; driver uses macros included in this file; due to this documentation
From: Claudiu Beznea
Add documentation for regulator modes and suspend states.
Signed-off-by: Claudiu Beznea
---
.../bindings/regulator/act8945a-regulator.txt | 34 ++
.../regulator/active-semi,8945a-regulator.h| 30 +++
2 files changed, 64 inse
From: Boris Brezillon
When entering suspend-to-mem, all PMIC outputs are disabled except
VDDIODDR which is put in power saving mode, and whose voltage is
increased (probably to counter the poor accuracy of power saving mode).
Signed-off-by: Boris Brezillon
[claudiu.bez...@microchip.com: use reg
From: Claudiu Beznea
Implement shutdown method to make sure the PMIC will not enter the suspend
state when the system is shutdown.
This work is based on work done by Borris Brezillon on [1].
[1] https://www.spinics.net/lists/kernel/msg2942960.html
Signed-off-by: Claudiu Beznea
---
drivers/re
From: Claudiu Beznea
Unlock expert registers for act8945a.
This is based on orginal work of Boris Brezillon at [1].
[1] https://www.spinics.net/lists/kernel/msg2942960.html
Signed-off-by: Claudiu Beznea
---
drivers/regulator/act8945a-regulator.c | 13 -
1 file changed, 12 insertio
From: Boris Brezillon
The regulator supports a dedicated suspend mode.
Implement the appropriate ->set_suspend_xx() hooks, add support for
->set_mode(), and provide basic PM ops functionalities to setup the
regulator in a suspend state when the system is entering suspend.
Signed-off-by: Boris Br
From: Claudiu Beznea
Fix line over 80 chars checkpatch.pl warning.
Signed-off-by: Claudiu Beznea
---
drivers/regulator/act8945a-regulator.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/regulator/act8945a-regulator.c
b/drivers/regulator/act8945a-regulator.c
ind
Hi Mark,
I saw that previous version of this series was applied to your tree just
after I've send this new one. The only difference b/w them is in the
documentation patch where I moved the new header. No functionality change.
Sorry for the noise,
Claudiu Beznea
On 13.12.2018 14:49, Claudiu Bezne
From: Claudiu Beznea
On some platforms (currently detected only on SAMA5D4) TX might stuck
even the pachets are still present in DMA memories and TX start was
issued for them. This happens due to race condition between MACB driver
updating next TX buffer descriptor to be used and IP reading the s
From: Claudiu Beznea
On some platforms (currently detected only on SAMA5D4) TX might stuck
even the pachets are still present in DMA memories and TX start was
issued for them. This happens due to race condition between MACB driver
updating next TX buffer descriptor to be used and IP reading the s
From: Claudiu Beznea
Fix 'defined but not used' compiler warning for act8945a_suspend()
function in case CONFIG_PM_SLEEP is not defined.
Fixes: b5ebba46e694 ("regulator: act8945a-regulator: add shutdown function")
Signed-off-by: Claudiu Beznea
Reported-by: Andrei Stefanescu
---
drivers/regula
From: Claudiu Beznea
Add basic PWM modes: normal and complementary. These modes should
differentiate the single output PWM channels from two outputs PWM
channels. These modes could be set as follow:
1. PWM channels with one output per channel:
- normal mode
2. PWM channels with two outputs per ch
From: Claudiu Beznea
Hi,
This series extends PWM framework with PWM modes.
The current patch series add the following PWM modes:
- PWM mode normal
- PWM mode complementary
- PWM mode push-pull
In the following description PWMx_y refers to output y of PWM with ID x.
Normal mode - for PWM chann
From: Claudiu Beznea
Add support for PWM push-pull mode. This is only supported by SAMA5D2 SoCs.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/pwm-atmel.c | 40
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/drivers/pwm/pwm-atmel.c b/dri
From: Claudiu Beznea
Add push-pull mode support. In push-pull mode the channels' outputs have
same polarities and the edges are complementary delayed for one period.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/core.c | 3 +++
include/linux/pwm.h | 3 +++
2 files changed, 6 insertions(+)
di
From: Claudiu Beznea
Add documentation for PWM push-pull mode.
Signed-off-by: Claudiu Beznea
---
Hi Rob,
In prevous version I had your Revie
From: Claudiu Beznea
Add pwm capabilities for Atmel/Microchip PWM controllers.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/pwm-atmel.c | 86 -
1 file changed, 57 insertions(+), 29 deletions(-)
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm
From: Claudiu Beznea
Add PWM normal and complementary modes.
Signed-off-by: Claudiu Beznea
---
Hi Rob,
In prevous version I had your Acked-by tag on this patch but I removed it
in this version since there are some changes b/w the previous one and this
one. Please see bellow and let me know if
Please ignore this one, the number of patches in cover letter is wrong: 0/9
should be 0/6.
Thank you,
Claudiu Beznea
On 17.12.2018 16:03, Claudiu Beznea - M18063 wrote:
> From: Claudiu Beznea
>
> Hi,
>
> This series extends PWM framework with PWM modes.
>
> The current patch series add the fo
From: Claudiu Beznea
Hi,
This series extends PWM framework with PWM modes.
The current patch series add the following PWM modes:
- PWM mode normal
- PWM mode complementary
- PWM mode push-pull
In the following description PWMx_y refers to output y of PWM with ID x.
Normal mode - for PWM chann
From: Claudiu Beznea
Add PWM normal and complementary modes.
Signed-off-by: Claudiu Beznea
---
Hi Rob,
In prevous version I had your Acked-by tag on this patch but I removed it
in this version since there are some changes b/w the previous one and this
one. Please see bellow and let me know if
From: Claudiu Beznea
Add support for PWM push-pull mode. This is only supported by SAMA5D2 SoCs.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/pwm-atmel.c | 40
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/drivers/pwm/pwm-atmel.c b/dri
From: Claudiu Beznea
Add pwm capabilities for Atmel/Microchip PWM controllers.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/pwm-atmel.c | 86 -
1 file changed, 57 insertions(+), 29 deletions(-)
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm
From: Claudiu Beznea
Add documentation for PWM push-pull mode.
Signed-off-by: Claudiu Beznea
---
Hi Rob,
In prevous version I had your Revie
From: Claudiu Beznea
Add push-pull mode support. In push-pull mode the channels' outputs have
same polarities and the edges are complementary delayed for one period.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/core.c | 3 +++
include/linux/pwm.h | 3 +++
2 files changed, 6 insertions(+)
di
From: Claudiu Beznea
Add basic PWM modes: normal and complementary. These modes should
differentiate the single output PWM channels from two outputs PWM
channels. These modes could be set as follow:
1. PWM channels with one output per channel:
- normal mode
2. PWM channels with two outputs per ch
From: Claudiu Beznea
Add documentation for regulator modes and suspend states.
Signed-off-by: Claudiu Beznea
---
.../bindings/regulator/act8945a-regulator.txt | 34 ++
1 file changed, 34 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/act8945a-r
From: Claudiu Beznea
Implement shutdown method to make sure the PMIC will not enter the suspend
state when the system is shutdown.
This work is based on work done by Borris Brezillon on [1].
[1] https://www.spinics.net/lists/kernel/msg2942960.html
Signed-off-by: Claudiu Beznea
---
drivers/re
From: Boris Brezillon
When entering suspend-to-mem, all PMIC outputs are disabled except
VDDIODDR which is put in power saving mode, and whose voltage is
increased (probably to counter the poor accuracy of power saving mode).
Signed-off-by: Boris Brezillon
[claudiu.bez...@microchip.com: use reg
From: Claudiu Beznea
Fix line over 80 chars checkpatch.pl warning.
Signed-off-by: Claudiu Beznea
---
drivers/regulator/act8945a-regulator.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/regulator/act8945a-regulator.c
b/drivers/regulator/act8945a-regulator.c
ind
From: Boris Brezillon
The regulator supports a dedicated suspend mode.
Implement the appropriate ->set_suspend_xx() hooks, add support for
->set_mode(), and provide basic PM ops functionalities to setup the
regulator in a suspend state when the system is entering suspend.
Signed-off-by: Boris Br
From: Claudiu Beznea
This series implements PM functionality for act8945a PMIC and use that support
on SAMA5D2 Xplained board.
Changes in v3:
- add patch "unlock expert registers"; it was wrongly missed in previous version
Changes in v2:
- split patch 1/1 from previous series in 3 patches: one
From: Claudiu Beznea
Unlock expert registers for act8945a.
This is based on orginal work of Boris Brezillon at [1].
[1] https://www.spinics.net/lists/kernel/msg2942960.html
Signed-off-by: Claudiu Beznea
---
drivers/regulator/act8945a-regulator.c | 13 -
1 file changed, 12 insertio
On 05.01.2019 23:05, Uwe Kleine-König wrote:
> Hello,
>
> On Thu, Jan 03, 2019 at 01:29:44PM +, claudiu.bez...@microchip.com wrote:
>> From: Claudiu Beznea
>>
>> Add basic PWM modes: normal and complementary. These modes should
>> differentiate the single output PWM channels from two output
On 05.01.2019 22:41, Uwe Kleine-König wrote:
> On Thu, Jan 03, 2019 at 01:29:47PM +, claudiu.bez...@microchip.com wrote:
>> From: Claudiu Beznea
>>
>> Add PWM normal and complementary modes.
>>
>
> The Subject line and the commit log don't really match the patch
> content as it only adds do
Hi Uwe,
On 08.01.2019 00:10, Uwe Kleine-König wrote:
> Hello Claudiu,
>
> On Mon, Jan 07, 2019 at 09:30:55AM +, claudiu.bez...@microchip.com wrote:
>> On 05.01.2019 23:05, Uwe Kleine-König wrote:
>>> On Thu, Jan 03, 2019 at 01:29:44PM +, claudiu.bez...@microchip.com
>>> wrote:
From:
From: Claudiu Beznea
Add helper to check if regulator will be disabled in suspend.
Signed-off-by: Claudiu Beznea
---
drivers/regulator/core.c | 17 +
include/linux/regulator/consumer.h | 7 +++
2 files changed, 24 insertions(+)
diff --git a/drivers/regulator/cor
From: Claudiu Beznea
Add support to check if platform's power will be cut off in suspend.
This will help drivers shared by multiple platforms to take only the
necessary actions while suspending/resuming (some platform may not need
to save/restore all the registers if platforms remains powered whi
From: Claudiu Beznea
Add support to check if platform is off in suspend. The check is based on
pm_data.mode and CPU's regulator which will be turn off in suspend.
Signed-off-by: Claudiu Beznea
---
arch/arm/mach-at91/pm.c | 61 +
1 file changed, 5
From: Claudiu Beznea
Hi,
AT91 platforms support a power saving mode where SoC's power is cut off (we call
it backup mode). The resume is done with the help of bootloaders. To be able to
suspend/resume Linux to/from this mode all the drivers suspend/resume callbacks
should save/restore the conten
From: Claudiu Beznea
Hi,
AT91 platforms support a power saving mode where SoC's power is cut off (we call
it backup mode). The resume is done with the help of bootloaders. To be able to
suspend/resume Linux to/from this mode all the drivers suspend/resume callbacks
should save/restore the conten
From: Claudiu Beznea
Add helper to check if regulator will be disabled in suspend.
Signed-off-by: Claudiu Beznea
---
drivers/regulator/core.c | 17 +
include/linux/regulator/consumer.h | 7 +++
2 files changed, 24 insertions(+)
diff --git a/drivers/regulator/cor
From: Claudiu Beznea
Add support to check if platform is off in suspend. The check is based on
pm_data.mode and CPU's regulator which will be turn off in suspend.
Signed-off-by: Claudiu Beznea
---
arch/arm/mach-at91/pm.c | 61 +
1 file changed, 5
From: Claudiu Beznea
Add support to check if platform's power will be cut off in suspend.
This will help drivers shared by multiple platforms to take only the
necessary actions while suspending/resuming (some platform may not need
to save/restore all the registers if platforms remains powered whi
From: Claudiu Beznea
Add push-pull mode support. In push-pull mode the channels' outputs have
same polarities and the edges are complementary delayed for one period.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/core.c | 3 +++
include/linux/pwm.h | 3 +++
2 files changed, 6 insertions(+)
di
From: Claudiu Beznea
Add basic PWM modes: normal and complementary. These modes should
differentiate the single output PWM channels from two outputs PWM
channels. These modes could be set as follow:
1. PWM channels with one output per channel:
- normal mode
2. PWM channels with two outputs per ch
From: Claudiu Beznea
Add documentation for PWM push-pull mode.
Signed-off-by: Claudiu Beznea
---
Documentation/pwm.txt | 16
1 file changed, 16 insertions(+)
diff --git a/Documentation/pwm.txt b/Documentation/pwm.txt
index 669fd4c9cc8e..80552627627d 100644
--- a/Documentation
From: Claudiu Beznea
Add support for PWM push-pull mode. This is only supported by SAMA5D2 SoCs.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/pwm-atmel.c | 40
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/drivers/pwm/pwm-atmel.c b/dri
From: Claudiu Beznea
Add PWM normal and complementary modes.
Signed-off-by: Claudiu Beznea
---
Documentation/pwm.txt | 22 ++
1 file changed, 22 insertions(+)
diff --git a/Documentation/pwm.txt b/Documentation/pwm.txt
index 8fbf0aa3ba2d..669fd4c9cc8e 100644
--- a/Documenta
From: Claudiu Beznea
Add pwm capabilities for Atmel/Microchip PWM controllers.
Signed-off-by: Claudiu Beznea
---
drivers/pwm/pwm-atmel.c | 86 -
1 file changed, 57 insertions(+), 29 deletions(-)
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm
From: Claudiu Beznea
Hi,
This series extends PWM framework with PWM modes.
The current patch series add the following PWM modes:
- PWM mode normal
- PWM mode complementary
- PWM mode push-pull
In the following description PWMx_y refers to output y of PWM with ID x.
Normal mode - for PWM chann
From: Claudiu Beznea
Commit 653e92a9175e ("net: macb: add support for padding and fcs
computation") introduced a bug fixed by commit 899ecaedd155 ("net:
ethernet: cadence: fix socket buffer corruption problem"). Code removed
in this patch is not reachable at all so remove it.
Fixes: 653e92a9175e
Hi Jonas,
On 07.10.2018 15:57, Jonas Danielsson wrote:
> From: Jonas Danielsson
>
> This fixes a bug where our embedded system (AT91SAM9260 based) would
> hang at reboot. At the most we managed 16 boot loops without a hang.
>
> With this patch applied the problem has not been observed and the b
On 17.10.2018 15:17, Jonas Danielsson wrote:
> On Tue, Oct 16, 2018 at 4:52 PM Alexander Stein
> wrote:
>>
>> On Tuesday, October 16, 2018, 3:30:24 PM CEST claudiu.bez...@microchip.com
>> wrote:
>>> Hi Jonas,
>>>
>>> On 07.10.2018 15:57, Jonas Danielsson wrote:
From: Jonas Danielsson
Hi Alexandre,
On 06.11.2018 23:09, Alexandre Belloni wrote:
> Hi Claudiu,
>
> On 05/11/2018 11:14:26+, claudiu.bez...@microchip.com wrote:
>> static int __init at91_poweroff_probe(struct platform_device *pdev)
>> @@ -154,16 +160,22 @@ static int __init at91_poweroff_probe(struct
>> platform
On 07.11.2018 16:53, Mark Brown wrote:
> On Fri, Oct 26, 2018 at 04:19:48PM +, claudiu.bez...@microchip.com wrote:
>
>> +static unsigned int act8945a_of_map_mode(unsigned int mode)
>> +{
>> +if (mode == ACT8945A_DCDC_MODE_POWER_SAVING)
>> +return REGULATOR_MODE_STANDBY;
>> +
Check at91_shdwc before continuing with probe since we want only one instance of
this driver. Inspired from commit 9f1e44774be5 ("power: reset: at91-poweroff:
do not procede if at91_shdwc is allocated").
Signed-off-by: Claudiu Beznea
---
drivers/power/reset/at91-poweroff.c | 3 +++
1 file change
Move SHDWC realted data to only one structure to have them grouped.
Inspired from commit 9be74f0d39c1 ("power: reset: at91-poweroff: make
mpddrc_base part of struct shdwc").
Signed-off-by: Claudiu Beznea
---
drivers/power/reset/at91-poweroff.c | 60 +++--
1 file c
Use only one poweroff function and adapt it to work for both scenarios
(with LPDDR or not). The assignement of pm_power_off was moved at the
end of probe after all initializations are OK. This patch adapt the idea
from commit 4e018c1e9b05 ("power: reset: at91-poweroff: use only one
poweroff functio
Hi,
This series includes cleanups for at91-poweroff.c similar to the one did for
SAMA5D2 Xplained SHDWC on series at [1].
Changes were tested on SAMA5D3 Xplained, SAMA5D4 Xplained and AT91SAM9G35-EK
boards.
Thank you,
Claudiu Beznea
[1] https://www.spinics.net/lists/arm-kernel/msg673559.html
C
Remove at91_ramc_of_match[] since it is not used anywhere in this code.
Signed-off-by: Claudiu Beznea
---
drivers/power/reset/at91-poweroff.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/power/reset/at91-poweroff.c
b/drivers/power/reset/at91-poweroff.c
index e75d8f0f0526..43b
On 19.10.2018 13:30, Jonas Danielsson wrote:
> On Wed, Oct 17, 2018 at 3:10 PM wrote:
>>
>>>
>>> We take the normal path of sys_reboot => kernel_restart => machine_restart
>>> ...
>>>
>>> I added code to print the c1 register in different paths. And I-cache
>>> is enabled.
>>> So now I am reall
This series implements PM functionality for act8945 and use that support
on sama5d2_xplained board.
Boris Brezillon (2):
regulator: act8945: Implement PM functionalities
ARM: dts: at91: sama5d2_xplained: Add proper regulator states for
suspend-to-mem
arch/arm/boot/dts/at91-sama5d2_xplain
From: Boris Brezillon
The regulator supports a dedicated suspend mode.
Implement the appropriate ->set_suspend_xx() hooks, add support for
->set_mode(), and provide basic PM ops functionalities to setup the
regulator in a suspend state when the system is entering suspend.
We also implement the -
From: Boris Brezillon
When entering suspend-to-mem, all PMIC outputs are disabled except
VDDIODDR which is put in power saving mode, and whose voltage is
increased (probably to counter the poor accuracy of power saving mode).
Signed-off-by: Boris Brezillon
[claudiu.bez...@microchip.com: use reg
On 28.02.2019 23:38, Sam Ravnborg wrote:
> Hi Claudiu
>
> One more reply to this patch...
>
> On Wed, Feb 27, 2019 at 04:24:16PM +, claudiu.bez...@microchip.com wrote:
>> From: Claudiu Beznea
>>
>> SAM9x60 LCD Controller has no option to select clock source as previous
>> controllers have.
On 28.02.2019 23:55, Sam Ravnborg wrote:
> Hi Claudiu
>
> On Wed, Feb 27, 2019 at 04:24:40PM +, claudiu.bez...@microchip.com wrote:
>> From: Sandeep Sheriker Mallikarjun
>>
>>
>> For SAM9X60 SoC, sys_clk is through lcd_gclk clock source and this
>> needs to be enabled before enabling lcd_c
On 28.02.2019 23:25, Sam Ravnborg wrote:
> Hi Claudiu
>
> On Wed, Feb 27, 2019 at 04:24:16PM +, claudiu.bez...@microchip.com wrote:
>> From: Claudiu Beznea
>>
>> SAM9x60 LCD Controller has no option to select clock source as previous
>> controllers have. To be able to use the same driver ev
On 28.02.2019 23:13, Sam Ravnborg wrote:
> Hi Alexandre.
>
These patches adds support for SAM9X60's LCD controller.
>>> Can you elaborate a little more which chips that are relevant.
>>> To be able to look into the right data-sheet, while reviewing.
>>> Link to data-sheet would be nice
From: Claudiu Beznea
atmel_qspi objects are kept in spi_controller objects, so, first get
pointer to spi_controller object and then get atmel_qspi object from
spi_controller object.
Fixes: 2d30ac5ed633 ("mtd: spi-nor: atmel-quadspi: Use spi-mem interface for
atmel-quadspi driver")
Signed-off-by
On 14.03.2019 08:27, Anson Huang wrote:
> i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module)
> inside, add TPM PWM driver support.
>
> Signed-off-by: Anson Huang
> ---
> Changes since V2:
> - Add "IMX_" as prefix to macro define as TPM is already used;
> - Use macro def
On 14.03.2019 15:07, Anson Huang wrote:
> so here I just make it enabled
> after probed, and ONLY disable it after driver is removed or suspended.
Ok, agree!
From: Claudiu Beznea
Hi,
This series adds driver for Microchip PIT64B timer.
Timer could be used in continuous or oneshot mode. It has 2x32 bit registers
to emulate a 64 bit timer. The timer's period could be configured via LSB_PR
and MSB_PR registers. The current timer's value could be checked
From: Claudiu Beznea
Add driver for Microchip PIT64B timer. Timer could be used in continuous
mode or oneshot mode. The hardware has 2x32 bit registers for period
emulating a 64 bit timer. The LSB_PR and MSB_PR registers are used to set
the period value (compare value). TLSB and TMSB keeps the cu
From: Claudiu Beznea
Add timer-microchip-pit64b.c as maintained file.
Signed-off-by: Claudiu Beznea
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 85bc819867da..5af947c9f350 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10023,6 +10023,7 @@
From: Claudiu Beznea
Add device tree bindings for PIT64B timer.
Signed-off-by: Claudiu Beznea
---
Documentation/devicetree/bindings/arm/atmel-sysregs.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt
b/Documentation/devicetr
From: Claudiu Beznea
Add myself as maintainer for Microchip timers and clocksource
drivers.
Signed-off-by: Claudiu Beznea
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0948d6592ea5..85bc819867da 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@
From: Claudiu Beznea
Change Microchip timers section name to be more generic.
Signed-off-by: Claudiu Beznea
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4d04cebb4a71..0948d6592ea5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
On 06.02.2019 10:13, Ludovic Desroches wrote:
> On Thu, Jan 31, 2019 at 05:18:04PM +0100, Claudiu Beznea - M18063 wrote:
>> From: Claudiu Beznea
>>
>> SAM9X60 uses high and low drive strengths. To implement this, in
>> at91_pinctrl_mux_ops::set_drivestrength and
>> at91_pinctrl_mux_ops::get_driv
On 06.02.2019 12:24, Ludovic Desroches wrote:
> On Wed, Feb 06, 2019 at 09:46:28AM +, claudiu.bez...@microchip.com wrote:
>>
>>
>> On 06.02.2019 10:13, Ludovic Desroches wrote:
>>> On Thu, Jan 31, 2019 at 05:18:04PM +0100, Claudiu Beznea - M18063 wrote:
From: Claudiu Beznea
SA
From: Claudiu Beznea
Add slew rate support for SAM9X60 pin controller.
Signed-off-by: Claudiu Beznea
Acked-by: Ludovic Desroches
---
drivers/pinctrl/pinctrl-at91.c | 48 ++
drivers/pinctrl/pinctrl-at91.h | 1 +
include/dt-bindings/pinctrl/at91.h |
From: Claudiu Beznea
Add drive strength support for SAM9X60 pin controller.
Signed-off-by: Claudiu Beznea
Acked-by: Ludovic Desroches
---
drivers/pinctrl/pinctrl-at91.c | 52 ++
drivers/pinctrl/pinctrl-at91.h | 2 ++
2 files changed, 54 insertions(+)
From: Claudiu Beznea
Add documentation for slew rate.
Signed-off-by: Claudiu Beznea
Acked-by: Ludovic Desroches
---
Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl
From: Claudiu Beznea
SAM9X60 uses high and low drive strengths. To implement this, in
at91_pinctrl_mux_ops::set_drivestrength and
at91_pinctrl_mux_ops::get_drivestrength we need bit numbers of
drive strengths (1 for low, 2 for high), thus change the code to
allow the usage of drive strength bit n
From: Claudiu Beznea
Add device tree binding for SAM9X60 pin controller.
Signed-off-by: Claudiu Beznea
Acked-by: Ludovic Desroches
---
Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/device
From: Claudiu Beznea
This series adds drive strenght and slew rate support for SAMX60's pin
controller. For drive strenght we could have 2 values: low, high.
For slew rate we could have 2 values: enable, disabled.
Besides this I took the chance and adapt the documentation for at91 pinctrl
driver
From: Claudiu Beznea
Add compatibles for SAM9X60 pin controller.
Signed-off-by: Claudiu Beznea
Acked-by: Ludovic Desroches
---
drivers/pinctrl/pinctrl-at91.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index 46443b97d81
1 - 100 of 289 matches
Mail list logo