>
> Signed-off-by: Quentin Schulz
> Acked-by: Boris Brezillon
Acked-by: Nicolas Ferre
> ---
> drivers/clk/at91/clk-generated.c | 25 -
> 1 file changed, 12 insertions(+), 13 deletions(-)
>
> diff --git a/drivers/clk/at91/clk-generated.c
> b/dri
nfradead.org
> Cc: linux-samsung-...@vger.kernel.org
> Cc: linux-media...@lists.infradead.org
> Cc: linux-renesas-...@vger.kernel.org
> ---
> drivers/media/i2c/s5c73m3/s5c73m3-core.c | 3 +-
> drivers/media/i2c/s5k5baf.c| 7 ++--
> drivers/media/platform/am43
ux-samsung-...@vger.kernel.org
> Cc: linux-media...@lists.infradead.org
> Cc: linux-renesas-...@vger.kernel.org
> ---
> drivers/media/i2c/s5c73m3/s5c73m3-core.c | 3 +-
> drivers/media/i2c/s5k5baf.c| 7 ++--
> drivers/media/platform/am437x/am437x-vpf
On 18/07/2017 at 15:22, Ludovic Desroches wrote:
> A new compatible string is introduced for SMC on sama5d2 to manage a
> different layout of the registers.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroc...@microchip.com>
> Acked-by: Rob Herring <r...@kernel.org&g
On 18/07/2017 at 15:22, Ludovic Desroches wrote:
> A new compatible string is introduced for SMC on sama5d2 to manage a
> different layout of the registers.
>
> Signed-off-by: Ludovic Desroches
> Acked-by: Rob Herring
Acked-by: Nicolas Ferre
> ---
> Documentation/de
On 18/07/2017 at 15:22, Ludovic Desroches wrote:
> A new compatible string has been introduced for sama5d2 SMC to allow to
> manage the registers mapping change.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroc...@microchip.com>
Acked-by: Nicolas Ferre <nicola
On 18/07/2017 at 15:22, Ludovic Desroches wrote:
> A new compatible string has been introduced for sama5d2 SMC to allow to
> manage the registers mapping change.
>
> Signed-off-by: Ludovic Desroches
Acked-by: Nicolas Ferre
> ---
> arch/arm/boot/dts/sama5d2.dtsi | 2 +-
&g
---
>>> drivers/mtd/nand/atmel/nand-controller.c | 10 +++--
>>> include/linux/mfd/syscon/atmel-smc.h | 32 ++-
>>> 4 files changed, 92 insertions(+), 30 deletions(-)
>>
>> Applied, thanks.
>
> Apologies, it looks like this nee
>>> include/linux/mfd/syscon/atmel-smc.h | 32 ++-
>>> 4 files changed, 92 insertions(+), 30 deletions(-)
>>
>> Applied, thanks.
>
> Apologies, it looks like this needs 2 more Acks before I can even
> consider taking it.
>
> Unappli
On 10/07/2017 at 08:12, Ludovic Desroches wrote:
> Use pin macros instead of magic numbers to ease interpretation.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroc...@microchip.com>
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
> ---
>
> I have remov
On 10/07/2017 at 08:12, Ludovic Desroches wrote:
> Use pin macros instead of magic numbers to ease interpretation.
>
> Signed-off-by: Ludovic Desroches
Acked-by: Nicolas Ferre
> ---
>
> I have remove the unexpected brace removal from the first version of this
> patch
On 11/07/2017 at 09:58, Ludovic Desroches wrote:
> On Tue, Jul 11, 2017 at 09:52:58AM +0200, Nicolas Ferre wrote:
>> On 11/07/2017 at 09:40, Ludovic Desroches wrote:
>>> A new compatible string has been introduced for sama5d2 SMC to allow to
>>> manage the registers map
On 11/07/2017 at 09:58, Ludovic Desroches wrote:
> On Tue, Jul 11, 2017 at 09:52:58AM +0200, Nicolas Ferre wrote:
>> On 11/07/2017 at 09:40, Ludovic Desroches wrote:
>>> A new compatible string has been introduced for sama5d2 SMC to allow to
>>> manage the registers map
synchronize with mfd or mtd/nand for this part.
Regards,
> reg = <0xf8014000 0x1000>;
> interrupts = <17 IRQ_TYPE_LEVEL_HIGH 6>;
> clocks = <_clk>;
>
--
Nicolas Ferre
nand for this part.
Regards,
> reg = <0xf8014000 0x1000>;
> interrupts = <17 IRQ_TYPE_LEVEL_HIGH 6>;
> clocks = <_clk>;
>
--
Nicolas Ferre
: d9c41bf30cf8 ("ARM: dts: at91: Declare EBI/NAND controllers")
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
Thanks, regards,
> ---
> arch/arm/boot/dts/sama5d2.dtsi | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/ar
are EBI/NAND controllers")
Acked-by: Nicolas Ferre
Thanks, regards,
> ---
> arch/arm/boot/dts/sama5d2.dtsi | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index cc06da39
d\n",
>__func__, best_rate,
>__clk_get_name((req->best_parent_hw)->clk),
> @@ -264,7 +299,8 @@ at91_clk_register_generated(struct regmap *regmap,
> spinlock_t *lock,
> init.ops = _ops;
> init.parent_names = parent_names;
> init.num_parents = num_parents;
> - init.flags = CLK_SET_RATE_GATE | CLK_SET_PARENT_GATE;
> + init.flags = CLK_SET_RATE_GATE | CLK_SET_PARENT_GATE |
> + CLK_SET_RATE_PARENT;
>
> gck->id = id;
> gck->hw.init =
>
--
Nicolas Ferre
te,
>__clk_get_name((req->best_parent_hw)->clk),
> @@ -264,7 +299,8 @@ at91_clk_register_generated(struct regmap *regmap,
> spinlock_t *lock,
> init.ops = _ops;
> init.parent_names = parent_names;
> init.num_parents = num_parents;
> - init.flags = CLK_SET_RATE_GATE | CLK_SET_PARENT_GATE;
> + init.flags = CLK_SET_RATE_GATE | CLK_SET_PARENT_GATE |
> + CLK_SET_RATE_PARENT;
>
> gck->id = id;
> gck->hw.init =
>
--
Nicolas Ferre
gt; Claudiu
You can add my:
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
for the whole series.
(I remember that we also had Ludovic's one as well).
Regards,
> Changes in v3:
> - remove qspi flash mapping for the moment
> - remove at24 and i2c bindings; this will be introdu
gt; Claudiu
You can add my:
Acked-by: Nicolas Ferre
for the whole series.
(I remember that we also had Ludovic's one as well).
Regards,
> Changes in v3:
> - remove qspi flash mapping for the moment
> - remove at24 and i2c bindings; this will be introduced when
> "Add at24
ify slightly commit msg]
Signed-off-by: Nicolas Ferre <nicolas.fe...@microchip.com>
---
drivers/net/ethernet/cadence/macb_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/cadence/macb_main.c
b/drivers/net/ethernet/cadence/macb_main.c
value greater than 1500, it threw error:
sudo ifconfig eth1 mtu 9000
SIOCSIFMTU: Invalid argument
Add this support to driver so that it works as expected and designed.
Signed-off-by: vishnuvardhan
[nicolas.fe...@microchip.com: modify slightly commit msg]
Signed-off-by: Nicolas Ferre
;0x50>;
>> +pagesize = <8>;
>> +start-offset = /bits/ 8 <0xf8>;
>
> Are you sure about the offset? I thought it was 0xfa but maybe I am
> wrong.
Moreover, as the binding for this is not yet accepted I would advice to
remove this part for now. It will be easier for synchronization with i2c
eeprom.
Best regards,
--
Nicolas Ferre
gt; +start-offset = /bits/ 8 <0xf8>;
>
> Are you sure about the offset? I thought it was 0xfa but maybe I am
> wrong.
Moreover, as the binding for this is not yet accepted I would advice to
remove this part for now. It will be easier for synchronization with i2c
eeprom.
Best regards,
--
Nicolas Ferre
CID#1449361 ("Structurally dead code")
>
> Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
> ---
> drivers/net/ethernet/cadence/macb_main.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --gi
ead code")
>
> Signed-off-by: Colin Ian King
Acked-by: Nicolas Ferre
> ---
> drivers/net/ethernet/cadence/macb_main.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/cadence/macb_main.c
> b/drivers/net/ethernet/cadence/macb_main.c
&g
er at the SPI sub-system level but such solution needs more time to be
> discussed. Then the use of DMA transfers could be enabled again to improve
> the performances but before that, this patch already solves the issue.
>
> Signed-off-by: Cyrille Pitchen <cyrille.pitc...@microchip.c
er at the SPI sub-system level but such solution needs more time to be
> discussed. Then the use of DMA transfers could be enabled again to improve
> the performances but before that, this patch already solves the issue.
>
> Signed-off-by: Cyrille Pitchen
Yes:
Acked-by: Nicolas Ferre
Thanks Cy
ers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c| 14
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h| 16 ++
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 29
> +
> 4 files changed, 64 insertions(+)
>
--
Nicolas Ferre
ers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c| 14
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h| 16 ++
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 29
> +
> 4 files changed, 64 insertions(+)
>
--
Nicolas Ferre
.default_color = 6,
>>> - .chroma_key = 7,
>>> - .chroma_key_mask = 8,
>>> - .general_config = 9,
>>> - },
>>> - },
>>> - {
>>> .name = "high-end-overlay",
>>> .formats = _hlcdc_plane_rgb_and_yuv_formats,
>>> .regs_offset = 0x340,
>>> - .id = 3,
>>> + .id = 2,
>>> .type = ATMEL_HLCDC_OVERLAY_LAYER,
>>> .cfgs_offset = 0x4c,
>>> .layout = {
>>
>
>
--
Nicolas Ferre
,
>>> - .chroma_key_mask = 8,
>>> - .general_config = 9,
>>> - },
>>> - },
>>> - {
>>> .name = "high-end-overlay",
>>> .formats = _hlcdc_plane_rgb_and_yuv_formats,
>>> .regs_offset = 0x340,
>>> - .id = 3,
>>> + .id = 2,
>>> .type = ATMEL_HLCDC_OVERLAY_LAYER,
>>> .cfgs_offset = 0x4c,
>>> .layout = {
>>
>
>
--
Nicolas Ferre
@microchip.com>
>> Acked-by: Ludovic Desroches <ludovic.desroc...@microchip.com>
> Driver support heading upstream.
>
> Acked-by: Jonathan Cameron <ji...@kernel.org>
Thanks,
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
>> ---
>> Changes in v4:
&g
support heading upstream.
>
> Acked-by: Jonathan Cameron
Thanks,
Acked-by: Nicolas Ferre
>> ---
>> Changes in v4:
>> - Modified bindings to be similar with interrupts
>>
>> arch/arm/boot/dts/sama5d2.dtsi | 1 +
>> 1 file changed, 1 insertion(+)
>>
>
ugen.hris...@microchip.com>
>> Acked-by: Ludovic Desroches <ludovic.desroc...@microchip.com>
> The driver changes are on their way upstream.
>
> Acked-by: Jonathan Cameron <ji...@kernel.org>
Thanks Jonathan,
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
Eugen, no
The driver changes are on their way upstream.
>
> Acked-by: Jonathan Cameron
Thanks Jonathan,
Acked-by: Nicolas Ferre
Eugen, note that we may need to wait for 4.14 as our changes for 4.13
are already queued in arm-soc...
Best regards,
>> ---
>> arch/arm/boot/dts/at91-sama5d2_xpl
Le 08/06/2017 à 02:36, Alexandre Belloni a écrit :
> On sama5d2, VDD core maybe be cut while in suspend. This means registers
> will be lost. Ensure they are saved and restored properly.
>
> Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com>
Acked
Le 08/06/2017 à 02:36, Alexandre Belloni a écrit :
> On sama5d2, VDD core maybe be cut while in suspend. This means registers
> will be lost. Ensure they are saved and restored properly.
>
> Signed-off-by: Alexandre Belloni
Acked-by: Nicolas Ferre
> ---
> Changes in v5:
&
Le 17/06/2017 à 13:35, Alexandre Belloni a écrit :
> Now that AVR32 is gone, we can use the proper IO accessors that are
> correctly handling endianness.
>
> Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.fe...@
Le 17/06/2017 à 13:35, Alexandre Belloni a écrit :
> Now that AVR32 is gone, we can use the proper IO accessors that are
> correctly handling endianness.
>
> Signed-off-by: Alexandre Belloni
Acked-by: Nicolas Ferre
Thanks!
> ---
> Changes in v2:
> - Also use
> This enables the driver for the on-chip UARTs of the Atmel
Here as well...
> - AT91 and AT32 processors.
> + ARM processors.
>
> config SERIAL_ATMEL_CONSOLE
> bool "Support for console on AT91 / AT32 serial port"
What about removing AT32 here as well ^ ?
>
--
Nicolas Ferre
he on-chip UARTs of the Atmel
Here as well...
> - AT91 and AT32 processors.
> + ARM processors.
>
> config SERIAL_ATMEL_CONSOLE
> bool "Support for console on AT91 / AT32 serial port"
What about removing AT32 here as well ^ ?
>
--
Nicolas Ferre
Le 12/06/2017 à 15:25, Daniel Lezcano a écrit :
> On 12/06/2017 14:54, Nicolas Ferre wrote:
>
> [ ... ]
>
>>> I like the 'chosen' approach with the nodes you are proposing below. Thanks
>>> for
>>> the constructive suggestion. The binding des
Le 12/06/2017 à 15:25, Daniel Lezcano a écrit :
> On 12/06/2017 14:54, Nicolas Ferre wrote:
>
> [ ... ]
>
>>> I like the 'chosen' approach with the nodes you are proposing below. Thanks
>>> for
>>> the constructive suggestion. The binding des
compatible = "atmel,tcb-timer";
>>>>reg = <2>;
>>>>linux,timer-function = "clockevent";
>>>>};
>>>>};
>>>>
>>>> Alternatively, we could have a property or a node in chosen describing
>>>> which
>>>> timer should be used:
>>>>
>>>>chosen {
>>>>clockevent {
>>>>timer = <>;
>>>>};
>>>>
>>>>clocksource {
>>>>timer = <>;
>>>>};
>>>>
>>>>/*
>>>> * or
>>>> *
>>>> * clockevent = <>;
>>>> * clocksource = <>;
>>>> *
>>>> * but I think the clocksource/clockevent node approach
>>>> * is more future proof in case we need to add extra
>>>> * information like the expected resolution/precision or
>>>> * anything that could be tweakable.
>>>> */
>>>>};
>>>>
>>>>tcb0: timer@fff7c000 {
>>>>compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
>>>>#address-cells = <1>;
>>>>#size-cells = <0>;
>>>>reg = <0xfff7c000 0x100>;
>>>>interrupts = <18 4>;
>>>>clocks = <_clk>, <>;
>>>>clock-names = "t0_clk", "slow_clk";
>>>>
>>>>timer0: timer@0 {
>>>>compatible = "atmel,tcb-timer";
>>>>reg = <0>, <1>;
>>>>};
>>>>
>>>>timer2: timer@2 {
>>>>compatible = "atmel,tcb-timer";
>>>>reg = <2>;
>>>>};
>>>>};
>>>
>>
>> [1]http://elixir.free-electrons.com/linux/latest/source/Documentation/devicetree/bindings/input/gpio-keys.txt
>
--
Nicolas Ferre
>>reg = <2>;
>>>>linux,timer-function = "clockevent";
>>>>};
>>>>};
>>>>
>>>> Alternatively, we could have a property or a node in chosen describing
>>>> which
>>>> timer should be used:
>>>>
>>>>chosen {
>>>>clockevent {
>>>>timer = <>;
>>>>};
>>>>
>>>>clocksource {
>>>>timer = <>;
>>>>};
>>>>
>>>>/*
>>>> * or
>>>> *
>>>> * clockevent = <>;
>>>> * clocksource = <>;
>>>> *
>>>> * but I think the clocksource/clockevent node approach
>>>> * is more future proof in case we need to add extra
>>>> * information like the expected resolution/precision or
>>>> * anything that could be tweakable.
>>>> */
>>>>};
>>>>
>>>>tcb0: timer@fff7c000 {
>>>>compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
>>>>#address-cells = <1>;
>>>>#size-cells = <0>;
>>>>reg = <0xfff7c000 0x100>;
>>>>interrupts = <18 4>;
>>>>clocks = <_clk>, <>;
>>>>clock-names = "t0_clk", "slow_clk";
>>>>
>>>>timer0: timer@0 {
>>>>compatible = "atmel,tcb-timer";
>>>>reg = <0>, <1>;
>>>>};
>>>>
>>>>timer2: timer@2 {
>>>>compatible = "atmel,tcb-timer";
>>>>reg = <2>;
>>>>};
>>>>};
>>>
>>
>> [1]http://elixir.free-electrons.com/linux/latest/source/Documentation/devicetree/bindings/input/gpio-keys.txt
>
--
Nicolas Ferre
Le 01/06/2017 à 22:05, Alexandre Belloni a écrit :
> This series adds initial support for Atmel armv7m SoCs.
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
To the whole series.
Thanks Szemző and Alexandre for having taken care of this support!
Best regards,
> Changes in v4:
Le 01/06/2017 à 22:05, Alexandre Belloni a écrit :
> This series adds initial support for Atmel armv7m SoCs.
Acked-by: Nicolas Ferre
To the whole series.
Thanks Szemző and Alexandre for having taken care of this support!
Best regards,
> Changes in v4:
> - rename the fam
Le 31/05/2017 à 11:49, Alexandre Belloni a écrit :
> Assembly in at91_lpddr_poweroff has r0 in the clobber list but uses r6.
>
> Reported-by: Ben Hutchings <ben.hutchi...@codethink.co.uk>
> Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com>
Le 31/05/2017 à 11:49, Alexandre Belloni a écrit :
> Assembly in at91_lpddr_poweroff has r0 in the clobber list but uses r6.
>
> Reported-by: Ben Hutchings
> Signed-off-by: Alexandre Belloni
Acked-by: Nicolas Ferre
> ---
> drivers/power/reset/at91-sama5d2_shdwc.c | 2 +-
&g
Le 31/05/2017 à 11:49, Alexandre Belloni a écrit :
> Assembly in at91_lpddr_poweroff has r0 in the clobber list but uses r6.
>
> Reported-by: Ben Hutchings <ben.hutchi...@codethink.co.uk>
> Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com>
Le 31/05/2017 à 11:49, Alexandre Belloni a écrit :
> Assembly in at91_lpddr_poweroff has r0 in the clobber list but uses r6.
>
> Reported-by: Ben Hutchings
> Signed-off-by: Alexandre Belloni
Acked-by: Nicolas Ferre
> ---
> drivers/power/reset/at91-poweroff.c | 2 +-
&g
f Atmel ClassD device.
>
> Signed-off-by: Quentin Schulz <quentin.sch...@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
Thanks
> ---
> sound/soc/atmel/atmel-classd.c | 9 +
> 1 file changed, 9 insertions(+)
>
> diff --git a/
f Atmel ClassD device.
>
> Signed-off-by: Quentin Schulz
Acked-by: Nicolas Ferre
Thanks
> ---
> sound/soc/atmel/atmel-classd.c | 9 +
> 1 file changed, 9 insertions(+)
>
> diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c
> index 7ae46c
od, thanks!
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
> ---
> Changes in v3:
> - use regmap_read_poll_timeout to handle the USB PLL
> - fix typo
>
>
> drivers/clk/at91/pmc.c | 104
> +
> 1 file changed, 1
Le 10/05/2017 à 19:09, Alexandre Belloni a écrit :
> On sama5d2, VDD core maybe be cut while in suspend. This means registers
> will be lost. Ensure they are saved and restored properly.
>
> Signed-off-by: Alexandre Belloni
Very good, thanks!
Acked-by: Nicolas Ferre
> ---
Le 02/05/2017 à 13:25, Andy Shevchenko a écrit :
> AVR32 is gone. Now it's time to clean up the driver by removing
> leftovers that was used by AVR32 related code.
>
> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
Seems okay:
Acked-by: Nicolas
Le 02/05/2017 à 13:25, Andy Shevchenko a écrit :
> AVR32 is gone. Now it's time to clean up the driver by removing
> leftovers that was used by AVR32 related code.
>
> Signed-off-by: Andy Shevchenko
Seems okay:
Acked-by: Nicolas Ferre
Thanks!
> ---
> sound/atmel/Kconfig
Le 20/04/2017 à 10:51, Songjun Wu a écrit :
> Sometimes 'DMA single access' is not enough to transfer
> a frame of image, '8-beat burst access' is set as the
> default DMA memory burst size.
>
> Signed-off-by: Songjun Wu <songjun...@microchip.com>
Seems okay:
Acked-by: Nico
Le 20/04/2017 à 10:51, Songjun Wu a écrit :
> Sometimes 'DMA single access' is not enough to transfer
> a frame of image, '8-beat burst access' is set as the
> default DMA memory burst size.
>
> Signed-off-by: Songjun Wu
Seems okay:
Acked-by: Nicolas Ferre
> ---
>
>
inel */ }
> +};
> +
> +static int __init pmc_register_ops(void)
> +{
> + struct device_node *np;
> +
> + np = of_find_matching_node(NULL, sama5d2_pmc_dt_ids);
> +
> + pmcreg = syscon_node_to_regmap(np);
> + if (IS_ERR(pmcreg))
> + return PTR_ERR(pmcreg);
> +
> + register_syscore_ops(_syscore_ops);
> +
> + return 0;
> +}
> +/* This has to happen before arch_initcall becaues of the tcb_clksrc driver
> */
NIT: typo ^ (because)
> +postcore_initcall(pmc_register_ops);
> +#endif
>
--
Nicolas Ferre
atic int __init pmc_register_ops(void)
> +{
> + struct device_node *np;
> +
> + np = of_find_matching_node(NULL, sama5d2_pmc_dt_ids);
> +
> + pmcreg = syscon_node_to_regmap(np);
> + if (IS_ERR(pmcreg))
> + return PTR_ERR(pmcreg);
> +
> + register_syscore_ops(_syscore_ops);
> +
> + return 0;
> +}
> +/* This has to happen before arch_initcall becaues of the tcb_clksrc driver
> */
NIT: typo ^ (because)
> +postcore_initcall(pmc_register_ops);
> +#endif
>
--
Nicolas Ferre
b: Added PCI wrapper for Platform Driver.")
Means 4.10+
> Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
Seems a good candidate for net stable.
Bye,
> ---
> drivers/net/ethernet/cadence/ma
b: Added PCI wrapper for Platform Driver.")
Means 4.10+
> Signed-off-by: Alexandre Belloni
Acked-by: Nicolas Ferre
Seems a good candidate for net stable.
Bye,
> ---
> drivers/net/ethernet/cadence/macb.c | 18 ++
> 1 file changed, 10 insertions(+), 8 delet
+
> +static const struct of_device_id sama5d2_pmc_dt_ids[] = {
> + { .compatible = "atmel,sama5d2-pmc" },
> + { /* sentinel */ }
> +};
> +
> +static int __init pmc_register_ops(void)
> +{
> + struct device_node *np;
> +
> + np = of_find_matching_node(NULL, sama5d2_pmc_dt_ids);
> +
> + pmcreg = syscon_node_to_regmap(np);
> + if (IS_ERR(pmcreg))
> + return PTR_ERR(pmcreg);
> +
> + register_syscore_ops(_syscore_ops);
> +
> + return 0;
> +}
> +/* This has to happen before arch_initcall becaues of the tcb_clksrc driver
> */
> +postcore_initcall(pmc_register_ops);
> +#endif
>
--
Nicolas Ferre
5d2_pmc_dt_ids[] = {
> + { .compatible = "atmel,sama5d2-pmc" },
> + { /* sentinel */ }
> +};
> +
> +static int __init pmc_register_ops(void)
> +{
> + struct device_node *np;
> +
> + np = of_find_matching_node(NULL, sama5d2_pmc_dt_ids);
> +
> + pmcreg = syscon_node_to_regmap(np);
> + if (IS_ERR(pmcreg))
> + return PTR_ERR(pmcreg);
> +
> + register_syscore_ops(_syscore_ops);
> +
> + return 0;
> +}
> +/* This has to happen before arch_initcall becaues of the tcb_clksrc driver
> */
> +postcore_initcall(pmc_register_ops);
> +#endif
>
--
Nicolas Ferre
Le 21/04/2017 à 14:07, Colin King a écrit :
> From: Colin Ian King <colin.k...@canonical.com>
>
> trivial fix to spelling mistake in documentation
>
> Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Acked-by: Nicolas Ferre <nicolas.fe...@microchi
Le 21/04/2017 à 14:07, Colin King a écrit :
> From: Colin Ian King
>
> trivial fix to spelling mistake in documentation
>
> Signed-off-by: Colin Ian King
Acked-by: Nicolas Ferre
> ---
> Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt | 2 +-
> 1 f
pi_master_get_devdata(master);
> int ret;
>
> + ret = clk_prepare_enable(as->clk);
> + if (ret)
> + return ret;
> +
> + atmel_spi_init(as);
> +
> + clk_disable_unprepare(as->clk);
> +
> if (!pm_runtime_suspended(dev)) {
> ret = atmel_spi_runtime_resume(dev);
> if (ret)
>
--
Nicolas Ferre
int ret;
>
> + ret = clk_prepare_enable(as->clk);
> + if (ret)
> + return ret;
> +
> + atmel_spi_init(as);
> +
> + clk_disable_unprepare(as->clk);
> +
> if (!pm_runtime_suspended(dev)) {
> ret = atmel_spi_runtime_resume(dev);
> if (ret)
>
--
Nicolas Ferre
ons.com>
Okay:
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
> ---
> drivers/spi/spi-atmel.c | 35 +--
> 1 file changed, 21 insertions(+), 14 deletions(-)
>
> diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
> index
Le 12/04/2017 à 09:05, Quentin Schulz a écrit :
> 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
Okay:
Acked-by: Nicolas Ferre
ioremap_wc ioremap_nocache
> #define ioremap_wt ioremap_nocache
> #define ioremap_uc ioremap_nocache
> +#include
>
> #define cached(addr) P1SEGADDR(addr)
> #define uncached(addr) P2SEGADDR(addr)
>
--
Nicolas Ferre
f855646..b2ff522 100644
> --- a/arch/avr32/include/asm/io.h
> +++ b/arch/avr32/include/asm/io.h
> @@ -298,6 +298,7 @@ extern void __iounmap(void __iomem *addr);
> #define ioremap_wc ioremap_nocache
> #define ioremap_wt ioremap_nocache
> #define ioremap_uc ioremap_nocache
> +#include
>
> #define cached(addr) P1SEGADDR(addr)
> #define uncached(addr) P2SEGADDR(addr)
>
--
Nicolas Ferre
Le 10/04/2017 à 10:25, Ludovic Desroches a écrit :
> The voltage reference for the ADC is not 3V but 3.3V since it is connected to
> VDDANA.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroc...@microchip.com>
> Cc: <sta...@vger.kernel.org> # 3.16+
Acked-by
Le 10/04/2017 à 10:25, Ludovic Desroches a écrit :
> The voltage reference for the ADC is not 3V but 3.3V since it is connected to
> VDDANA.
>
> Signed-off-by: Ludovic Desroches
> Cc: # 3.16+
Acked-by: Nicolas Ferre
> ---
> arch/arm/boot/dts/at91-sama5d3_xplained.dts |
com>
> Cc: <sta...@vger.kernel.org> # 3.16+
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
> ---
> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> b/
Le 10/04/2017 à 10:25, Ludovic Desroches a écrit :
> Remove ADC channels that are not available by default on the sama5d3_xplained
> board (resistor not populated) in order to not create confusion.
>
> Signed-off-by: Ludovic Desroches
> Cc: # 3.16+
Acked-by: Nicolas Ferre
&g
values against device tree" patch
As for previous revision, the whole series:
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
Regards,
> Cristian Birsan (4):
> usb: gadget: udc: atmel: Check fifo configuration values against
> device tree
> usb: gadget:
patch
As for previous revision, the whole series:
Acked-by: Nicolas Ferre
Regards,
> Cristian Birsan (4):
> usb: gadget: udc: atmel: Check fifo configuration values against
> device tree
> usb: gadget: udc: atmel: Minor code cleanup
> usb: gadget: udc: atmel: Use dev_war
Le 27/03/2017 à 17:21, Alexandre Belloni a écrit :
> Both atmel-ebi and atmel-sdram are maintained as part of the Atmel ARM
> SoCs.
>
> Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.fe...@microchip.com>
> --
Le 27/03/2017 à 17:21, Alexandre Belloni a écrit :
> Both atmel-ebi and atmel-sdram are maintained as part of the Atmel ARM
> SoCs.
>
> Signed-off-by: Alexandre Belloni
Acked-by: Nicolas Ferre
> ---
> MAINTAINERS | 1 +
> 1 file changed, 1 insertion(+)
>
>
A side effect of 89d8232411a8 ("tty/serial: atmel_serial: BUG: stop DMA
from transmitting in stop_tx") is that the console can be called with
TX path disabled. Then the system would hang trying to push charecters
out in atmel_console_putchar().
Signed-off-by: Nicolas Ferre &
A side effect of 89d8232411a8 ("tty/serial: atmel_serial: BUG: stop DMA
from transmitting in stop_tx") is that the console can be called with
TX path disabled. Then the system would hang trying to push charecters
out in atmel_console_putchar().
Signed-off-by: Nicolas Ferre
Fixes: 89
Le 17/03/2017 à 16:11, Richard Genoud a écrit :
> 2017-03-15 17:56 GMT+01:00 Nicolas Ferre <nicolas.fe...@microchip.com>:
>> Le 15/03/2017 à 17:19, Richard Genoud a écrit :
>>> On 15/03/2017 16:29, Nicolas Ferre wrote:
>>>> A side effect of 89d8232411a8 (&quo
Le 17/03/2017 à 16:11, Richard Genoud a écrit :
> 2017-03-15 17:56 GMT+01:00 Nicolas Ferre :
>> Le 15/03/2017 à 17:19, Richard Genoud a écrit :
>>> On 15/03/2017 16:29, Nicolas Ferre wrote:
>>>> A side effect of 89d8232411a8 ("tty/serial: atmel_serial: B
Le 15/03/2017 à 17:19, Richard Genoud a écrit :
> On 15/03/2017 16:29, Nicolas Ferre wrote:
>> A side effect of 89d8232411a8 ("tty/serial: atmel_serial: BUG: stop DMA
>> from transmitting in stop_tx") is that the console can be called with
>> TX path disabled. Th
Le 15/03/2017 à 17:19, Richard Genoud a écrit :
> On 15/03/2017 16:29, Nicolas Ferre wrote:
>> A side effect of 89d8232411a8 ("tty/serial: atmel_serial: BUG: stop DMA
>> from transmitting in stop_tx") is that the console can be called with
>> TX path disabled. Th
A side effect of 89d8232411a8 ("tty/serial: atmel_serial: BUG: stop DMA
from transmitting in stop_tx") is that the console can be called with
TX path disabled. Then the system would hang trying to push charecters
out in atmel_console_putchar().
Signed-off-by: Nicolas Ferre &
A side effect of 89d8232411a8 ("tty/serial: atmel_serial: BUG: stop DMA
from transmitting in stop_tx") is that the console can be called with
TX path disabled. Then the system would hang trying to push charecters
out in atmel_console_putchar().
Signed-off-by: Nicolas Ferre
Fixes: 89
he boot process as it seems that a burst of open/close of the
serial port happens while starting the rootfs. It's definitively my own
problem, but it can bring light to what we are seeing on Mainline...
I think that we may need to flush the DMA channel in this
atmel_stop_tx() function.
Best regards,
[1] If you want to test, you need to apply this patch for eMMC BTW:
https://patchwork.kernel.org/patch/9617489/
--
Nicolas Ferre
the
serial port happens while starting the rootfs. It's definitively my own
problem, but it can bring light to what we are seeing on Mainline...
I think that we may need to flush the DMA channel in this
atmel_stop_tx() function.
Best regards,
[1] If you want to test, you need to apply this patch for eMMC BTW:
https://patchwork.kernel.org/patch/9617489/
--
Nicolas Ferre
use power-down instead of self-refresh. As we can
simplify the code for sama5d3 compatible DDR controllers,
we instantiate a new sama5d3_ddr_standby() function.
Signed-off-by: Nicolas Ferre <nicolas.fe...@microchip.com>
Cc: <sta...@vger.kernel.org> # v4.1+
Fixes: 017b5522d5e3 ("A
use power-down instead of self-refresh. As we can
simplify the code for sama5d3 compatible DDR controllers,
we instantiate a new sama5d3_ddr_standby() function.
Signed-off-by: Nicolas Ferre
Cc: # v4.1+
Fixes: 017b5522d5e3 ("ARM: at91: Add new binding for sama5d3-ddramc")
---
arch/arm
Le 13/03/2017 à 22:07, Alexandre Belloni a écrit :
> On 13/03/2017 at 18:14:50 +0100, Nicolas Ferre wrote:
>> On some DDR controllers, compatible with the sama5d3 one,
>> the sequence to enter/exit/re-enter the self-refresh mode adds
>> more constrains than what
Le 13/03/2017 à 22:07, Alexandre Belloni a écrit :
> On 13/03/2017 at 18:14:50 +0100, Nicolas Ferre wrote:
>> On some DDR controllers, compatible with the sama5d3 one,
>> the sequence to enter/exit/re-enter the self-refresh mode adds
>> more constrains than what
use power-down instead of self-refresh. As we can
simplify the funciton for sama5d3 compatible DDR controllers,
we instanciate a new sama5d3_ddr_standby() function.
Signed-off-by: Nicolas Ferre <nicolas.fe...@microchip.com>
---
arch/arm/mach-at91/pm.c | 19 ++-
1 file chang
use power-down instead of self-refresh. As we can
simplify the funciton for sama5d3 compatible DDR controllers,
we instanciate a new sama5d3_ddr_standby() function.
Signed-off-by: Nicolas Ferre
---
arch/arm/mach-at91/pm.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion
the one requested by the
> DT overlay.
>
> What's your solution for this case?
It seems that we don't have any progress on this topic for more than 6
months which is a pity as we now experience an issue that would have
been addressed completely by the TC rework [1].
aka "ping"... ;-)
Best regards,
[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/492080.html
--
Nicolas Ferre
301 - 400 of 3877 matches
Mail list logo