Re: [PATCH v3 2/2] nvmem: core: skip nodes with compatibles other than "nvmem-cell"

2020-12-30 Thread Kamel Bouhara
off-by: Ahmad Fatoum Tested-by: Kamel Bouhara --- drivers/nvmem/core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 05c6ae4b0b97..eb697f5ad07d 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -547,6 +

Re: [PATCH] MAINTAINERS: Add Kamel Bouhara as TCB counter driver maintainer

2020-11-21 Thread Kamel Bouhara
On Sat, Nov 21, 2020 at 04:19:02PM +, Jonathan Cameron wrote: > On Mon, 16 Nov 2020 08:11:41 -0500 > William Breathitt Gray wrote: > > > Cc: Kamel Bouhara > > Signed-off-by: William Breathitt Gray > Purely for the record, Kamel, would you mind giving an > Acked

Re: [PATCH] MAINTAINERS: Add Kamel Bouhara as TCB counter driver maintainer

2020-11-21 Thread Kamel Bouhara
On Mon, Nov 16, 2020 at 08:11:41AM -0500, William Breathitt Gray wrote: > Cc: Kamel Bouhara > Signed-off-by: William Breathitt Gray Acked-by: Kamel Bouhara > --- > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS

Re: [PATCH] counter: microchip-tcb-capture: Fix CMR value check

2020-11-15 Thread Kamel Bouhara
gt; > The ATMEL_TC_ETRGEDG_* defines are not masks but rather possible values > > > > for CMR. This patch fixes the action_get() callback to properly check > > > > for these values rather than mask them. > > > > > > > > Fixes: 106b104137fd ("counter

Re: [PATCH v2] counter: microchip-tcb-capture: Fix CMR value check

2020-11-15 Thread Kamel Bouhara
("counter: Add microchip TCB capture counter") > Cc: Kamel Bouhara > Acked-by: Alexandre Belloni > Signed-off-by: William Breathitt Gray > --- Acked-by: Kamel Bouhara > drivers/counter/microchip-tcb-capture.c | 16 ++-- > 1 file changed, 10 insertions(

[tip: timers/core] ARM: at91: add atmel tcb capabilities

2020-07-23 Thread tip-bot2 for Kamel Bouhara
The following commit has been merged into the timers/core branch of tip: Commit-ID: 738c58ccac386bb068cba2446bd9dbabeae09b62 Gitweb: https://git.kernel.org/tip/738c58ccac386bb068cba2446bd9dbabeae09b62 Author:Kamel Bouhara AuthorDate:Sat, 11 Jul 2020 01:08:08 +02:00

[PATCH v2 2/2] ARM: dts: at91: add a dts and dtsi file for kizbox2 based boards

2019-10-21 Thread Kamel Bouhara
: Kamel Bouhara --- Changes in v2: - Replaced "_" by "-" in dts/dtsi file names - Fixed unusual C++ Style comments arch/arm/boot/dts/Makefile | 2 +- arch/arm/boot/dts/at91-kizbox.dts | 173 +++--- arch/arm/boot/dts/at91-kizbo

[PATCH v2 1/2] dt-bindings: arm: at91: Document Kizbox2-2 board binding

2019-10-21 Thread Kamel Bouhara
Document devicetree's binding for the Kizbox2-2 board of Overkiz SAS based on SAMA5D31 SoC. Signed-off-by: Kamel Bouhara --- Changes in v2: - Removed other kizbox2 boards as the main difference between them is the usart configuration, only add the two heads variant

[PATCH 2/2] ARM: at91: add support for SmartKiz board

2019-10-18 Thread Kamel Bouhara
Add the devicetree for the Overkiz's SmartKiz board. Signed-off-by: Kamel Bouhara Signed-off-by: Kévin RAYMOND Signed-off-by: Mickael GARDET --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-smartkiz.dts | 112 2 files changed, 113 inser

[PATCH RESEND 0/2] Add DTS for Smartkiz support

2019-10-18 Thread Kamel Bouhara
Yet another Overkiz's SAM9G25 based board and it's documentation. Kamel Bouhara (2): dt-bindings: arm: at91: Document SmartKiz board binding ARM: at91: add support for SmartKiz board .../devicetree/bindings/arm/atmel-at91.yaml | 8 ++ arch/arm/boot/dts/Makefile

[PATCH 1/2] dt-bindings: arm: at91: Document SmartKiz board binding

2019-10-18 Thread Kamel Bouhara
Document devicetree's bindings for the SAM9G25 SmartKiz board of Overkiz SAS. Signed-off-by: Kamel Bouhara --- Documentation/devicetree/bindings/arm/atmel-at91.yaml | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Document

[PATCH RESEND 0/2] Add Kizboxmini boards support

2019-10-18 Thread Kamel Bouhara
Add support for the Overkiz's SAM9G25 based boards and document them. Kamel Bouhara (2): dt-bindings: arm: at91: Document Kizboxmini boards binding ARM: dts: at91: add a common kizboxmini dtsi file .../devicetree/bindings/arm/atmel-at91.yaml | 14 ++ arch/arm/boot/dts/Mak

[PATCH 2/2] ARM: dts: at91: add a common kizboxmini dtsi file

2019-10-18 Thread Kamel Bouhara
Split the Kizbox Mini boards into two board configuration, the Kizboxmini Mother board and the Kizboxmini RailDIN board. Signed-off-by: Kamel Bouhara Signed-off-by: Kévin RAYMOND Signed-off-by: Mickael GARDET --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/at91

[PATCH 1/2] dt-bindings: arm: at91: Document Kizboxmini boards binding

2019-10-18 Thread Kamel Bouhara
Document devicetree's bindings for the SAM9G25 Kizbox Mini boards of Overkiz SAS. Signed-off-by: Kamel Bouhara --- .../devicetree/bindings/arm/atmel-at91.yaml| 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.ya

[PATCH] power: reset: at91-reset: add sysfs interface to the power on reason

2019-10-17 Thread Kamel Bouhara
This patch export the power on reason through the sysfs interface and introduce some generic reset sources. Update the ABI documentation to list current power on sources. Signed-off-by: Kamel Bouhara --- .../sysfs-devices-platform-power-on-reason| 14 ++ drivers/power/reset/at91-reset.c

[PATCH 2/2] ARM: dts: at91: add a common kizboxmini dtsi file

2019-10-17 Thread Kamel Bouhara
Split the Kizbox Mini boards into two board configuration, the Kizboxmini Mother board and the Kizboxmini RailDIN board. Signed-off-by: Kamel Bouhara Signed-off-by: Kévin RAYMOND Signed-off-by: Mickael GARDET --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/at91

[PATCH 2/2] ARM: dts: at91: add a common kizbox2 dtsi file

2019-10-17 Thread Kamel Bouhara
There are three different boards available depending on the PCB (3 antennas support and several revison). Add a dtsi file to share common binding between all kizbox2 boards. Signed-off-by: Kamel Bouhara Signed-off-by: Kévin RAYMOND Signed-off-by: Mickael GARDET --- arch/arm/boot/dts/Makefile

[PATCH 0/2] Add DTS for Smartkiz support

2019-10-17 Thread Kamel Bouhara
Yet another Overkiz's SAM9G25 based board and it's documentation. Kamel Bouhara (2): dt-bindings: arm: at91: Document SmartKiz board binding ARM: at91: add support for SmartKiz board .../devicetree/bindings/arm/atmel-at91.yaml | 8 ++ arch/arm/boot/dts/Makefile

[PATCH 1/2] dt-bindings: arm: at91: Document SmartKiz board binding

2019-10-17 Thread Kamel Bouhara
Document devicetree's bindings for the SAM9G25 SmartKiz board of Overkiz SAS. Signed-off-by: Kamel Bouhara --- Documentation/devicetree/bindings/arm/atmel-at91.yaml | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Document

[PATCH 1/2] dt-bindings: arm: at91: Document Kizboxmini boards binding

2019-10-17 Thread Kamel Bouhara
Document devicetree's bindings for the SAM9G25 Kizbox Mini boards of Overkiz SAS. Signed-off-by: Kamel Bouhara --- .../devicetree/bindings/arm/atmel-at91.yaml| 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.ya

[PATCH 0/2] Add Kizboxmini boards support

2019-10-17 Thread Kamel Bouhara
Add support for the Overkiz's SAM9G25 based boards and document them. Kamel Bouhara (2): dt-bindings: arm: at91: Document Kizboxmini boards binding ARM: dts: at91: add a common kizboxmini dtsi file .../devicetree/bindings/arm/atmel-at91.yaml | 14 ++ arch/arm/boot/dts/Mak

[PATCH 1/2] dt-bindings: arm: at91: Document Kizbox2 boards binding

2019-10-17 Thread Kamel Bouhara
Document devicetree's bindings for the SAMA5D31 Kizbox2 boards of Overkiz SAS. Signed-off-by: Kamel Bouhara --- .../devicetree/bindings/arm/atmel-at91.yaml | 35 +++ 1 file changed, 35 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.ya

[PATCH 0/2] Add a Kizbox2 dtsi and documentation

2019-10-17 Thread Kamel Bouhara
This short serie add a Kizbox2 DSTI file for the Overkiz's SAMAD31 based boards and add their documentation. Kamel Bouhara (2): dt-bindings: arm: at91: Document Kizbox2 boards binding ARM: dts: at91: add a common kizbox2 dtsi file .../devicetree/bindings/arm/atmel-at91.yaml

[PATCH 2/2] ARM: dts: at91: add a common kizbox2 dtsi file

2019-10-17 Thread Kamel Bouhara
There are three different boards available depending on the PCB (3 antennas support and several revison). Add a dtsi file to share common binding between all kizbox2 boards. Signed-off-by: Kamel Bouhara Signed-off-by: Kévin RAYMOND Signed-off-by: Mickael GARDET --- arch/arm/boot/dts/Makefile

[PATCH 3/3] ARM: at91: add Overkiz KIZBOX3 board

2019-10-11 Thread Kamel Bouhara
Add a common DT include file for the Kizbox3 boards. Add the devicetree for the Kizbox3 HS board. Signed-off-by: Kamel Bouhara Signed-off-by: Kévin RAYMOND Signed-off-by: Mickael GARDET --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-kizbox3-hs.dts | 309

[PATCH 2/3] dt-bindings: arm: at91: Document Kizbox3 HS board binding

2019-10-11 Thread Kamel Bouhara
Document devicetree binding of SAMA5D27 Kizbox3 HS board from Overkiz SAS. Signed-off-by: Kamel Bouhara --- Documentation/devicetree/bindings/arm/atmel-at91.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Documentation

[PATCH 0/3] Add new Overkiz Kizbox3 support

2019-10-11 Thread Kamel Bouhara
Add support for the Kizbox3 Overkiz SAS boards. Those boards are based on the Atmel SAMA5D27 SoC. Kamel Bouhara (3): dt-bindings: Add vendor prefix for Overkiz SAS dt-bindings: arm: at91: Document Kizbox3 HS board binding ARM: at91: add Overkiz KIZBOX3 board .../devicetree/bindings/arm

[PATCH 1/3] dt-bindings: Add vendor prefix for Overkiz SAS

2019-10-11 Thread Kamel Bouhara
Overkiz is a smarthome solutions provider, more information on: https://www.overkiz.com Signed-off-by: Kamel Bouhara --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b

[PATCH 2/4] i2c: at91: implement i2c bus recovery

2019-10-02 Thread Kamel Bouhara
Implement i2c bus recovery when slaves devices might hold SDA low. In this case re-assign SCL/SDA to gpios and issue 9 dummy clock pulses until the slave release SDA. Signed-off-by: Kamel Bouhara --- drivers/i2c/busses/i2c-at91-master.c | 63 drivers/i2c/busses/i2c

[PATCH 3/4] ARM: at91/dt: sama5d3: add i2c gpio pinctrl

2019-10-02 Thread Kamel Bouhara
Add the i2c gpio pinctrls to support the i2c bus recovery Signed-off-by: Kamel Bouhara --- arch/arm/boot/dts/sama5d3.dtsi | 33 ++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index

[PATCH 1/4] dt-bindings: i2c: at91: document optional bus recovery properties

2019-10-02 Thread Kamel Bouhara
The at91 I2C controller can support bus recovery by re-assigning SCL and SDA to gpios. Add the optional pinctrl and gpio properties to do so. Signed-off-by: Kamel Bouhara --- Documentation/devicetree/bindings/i2c/i2c-at91.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a

[PATCH 0/4] i2c bus recovery for Microchip SoCs.

2019-10-02 Thread Kamel Bouhara
This patch series introduce the kernel i2c-gpio bus recovery mechanism for the Microchip SoCs. Updated the corresponding dts to add i2c gpio pinctrl. The bus recovery is configured for the sama5d3/4 xplained boards in dts. Kamel Bouhara (4): dt-bindings: i2c: at91: document optional bus

[PATCH 4/4] ARM: at91/dt: sama5d4: add i2c gpio pinctrl

2019-10-02 Thread Kamel Bouhara
Add the i2c gpio pinctrls so the i2c bus recovery option can be enabled Signed-off-by: Kamel Bouhara --- arch/arm/boot/dts/sama5d4.dtsi | 33 ++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts

[PATCH v2] pwm: atmel: Remove platform_device_id and use only dt bindings

2019-09-18 Thread Kamel Bouhara
Since commit 26202873bb51 ("avr32: remove support for AVR32 architecture") there is no more user of platform_device_id and we should only use dt bindings Signed-off-by: Kamel Bouhara --- Changelog: v1->v2 - Remove whole function atmel_pwm_get_driver_data and call of_device_g

[PATCH] pwm: atmel: Remove platform_device_id and use only dt bindings

2019-09-18 Thread Kamel Bouhara
Since commit 26202873bb51 ("avr32: remove support for AVR32 architecture") there is no more user of platform_device_id and we should only use dt bindings Signed-off-by: Kamel Bouhara --- drivers/pwm/Kconfig | 2 +- drivers/pwm/pwm-atmel.c | 29 +++-- 2 fil