On 3/9/19 11:50 AM, Wolfram Sang wrote:
> On Sat, Mar 09, 2019 at 11:13:40AM +0100, Wolfram Sang wrote:
>> On Wed, Mar 06, 2019 at 03:12:16PM +0000, Bich HEMON wrote:
>>> From: Nicolas Le Bayon
>>>
>>> It conforms with Reference Manual I2C timing section.
>
Signed-off-by: Bich Hemon
---
drivers/i2c/busses/i2c-stm32f7.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c
index 4284fc9..48337be 100644
--- a/drivers/i2c/busses/i2c-stm32f7.c
+++ b/drivers/i2c/busses/i2c-stm32f7.c
This patchset provides dt-bindings updates for I2C.
Bich Hemon (2):
dt-bindings: i2c-stm32: remove extra spaces
dt-bindings: i2c-stm32: update optional properties for
stm32h7/stm32mp1
.../devicetree/bindings/i2c/i2c-stm32.txt | 37 +++---
1 file changed, 19
From: Nicolas Le Bayon
It conforms with Reference Manual I2C timing section.
Signed-off-by: Nicolas Le Bayon
Signed-off-by: Bich Hemon
---
drivers/i2c/busses/i2c-stm32f7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c
Add STM32H7 and STM32MP1 in the list of compatible socs for each
optional property.
Signed-off-by: Bich Hemon
---
Documentation/devicetree/bindings/i2c/i2c-stm32.txt | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/i2c/i2c
Remove extra spaces before colons.
Signed-off-by: Bich Hemon
---
.../devicetree/bindings/i2c/i2c-stm32.txt | 26 +++---
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-stm32.txt
b/Documentation/devicetree
Add can1 pinctrl definition for low-power mode
Signed-off-by: Bich Hemon
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
index c485127..9ec4694 100644
Add pinctrl sleep state for can1 on stm32mp157c-ev1.
Signed-off-by: Bich Hemon
---
arch/arm/boot/dts/stm32mp157c-ev1.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts
b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index 063ee8a..fdc4c92
Split the 10Kbytes CAN message RAM to be able to use simultaneously
FDCAN1 and FDCAN2 instances.
First 5Kbytes are allocated to FDCAN1 and last 5Kbytes are used for
FDCAN2. To do so, set the offset to 0x1400 in mram-cfg for FDCAN2.
Signed-off-by: Bich Hemon
---
arch/arm/boot/dts
Add can1 pinctrl definition for low-power mode
Signed-off-by: Bich Hemon
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
index c485127..9ec4694 100644
Add pinctrl sleep state for can1 on stm32mp157c-ev1.
Signed-off-by: Bich Hemon
---
arch/arm/boot/dts/stm32mp157c-ev1.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts
b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index 063ee8a..fdc4c92
Split the 10Kbytes CAN message RAM to be able to use simultaneously
FDCAN1 and FDCAN2 instances.
First 5Kbytes are allocated to FDCAN1 and last 5Kbytes are used for
FDCAN2. To do so, set the offset to 0x1400 in mram-cfg for FDCAN2.
Signed-off-by: Bich Hemon
---
arch/arm/boot/dts
This patchset changes the CAN RAM mapping and adds CAN sleep pins.
Bich Hemon (3):
ARM: dts: stm32: change CAN RAM mapping on stm32mp157c
ARM: dts: stm32: add can1 sleep pins muxing
ARM: dts: stm32: add can1 sleep pins muxing on stm32mp157c-ev1 board
arch/arm/boot/dts/stm32mp157
This patchset changes the CAN RAM mapping and adds CAN sleep pins.
Bich Hemon (3):
ARM: dts: stm32: change CAN RAM mapping on stm32mp157c
ARM: dts: stm32: add can1 sleep pins muxing
ARM: dts: stm32: add can1 sleep pins muxing on stm32mp157c-ev1 board
arch/arm/boot/dts/stm32mp157
issue you find with it.
>
> As mentioned in my original email, I tried to consolidate the two
> versions, so a look-through and follow up with fixes would be
> appreciated. Thanks!
>
>
> -Olof
>
> On Tue, Nov 13, 2018 at 2:17 AM Bich HEMON wrote:
>>
>>
&
issue you find with it.
>
> As mentioned in my original email, I tried to consolidate the two
> versions, so a look-through and follow up with fixes would be
> appreciated. Thanks!
>
>
> -Olof
>
> On Tue, Nov 13, 2018 at 2:17 AM Bich HEMON wrote:
>>
>>
&
On 11/13/18 10:24 AM, Russell King - ARM Linux wrote:
> On Tue, Nov 13, 2018 at 09:16:16AM +0000, Bich HEMON wrote:
>>
>> On 11/12/18 7:22 PM, Olof Johansson wrote:
>>> On Thu, Jul 27, 2017 at 04:50:20PM +, Bich HEMON wrote:
>>>> From: Gerald Baeza
On 11/13/18 10:24 AM, Russell King - ARM Linux wrote:
> On Tue, Nov 13, 2018 at 09:16:16AM +0000, Bich HEMON wrote:
>>
>> On 11/12/18 7:22 PM, Olof Johansson wrote:
>>> On Thu, Jul 27, 2017 at 04:50:20PM +, Bich HEMON wrote:
>>>> From: Gerald Baeza
On 11/12/18 7:22 PM, Olof Johansson wrote:
> On Thu, Jul 27, 2017 at 04:50:20PM +0000, Bich HEMON wrote:
>> From: Gerald Baeza
>>
>> This adds low-level debug support on USART1 for STM32F4
>> and STM32F7.
>> Compiled via 'CONFIG_DEBUG_LL' and 'CONFIG_EARLY_PRI
On 11/12/18 7:22 PM, Olof Johansson wrote:
> On Thu, Jul 27, 2017 at 04:50:20PM +0000, Bich HEMON wrote:
>> From: Gerald Baeza
>>
>> This adds low-level debug support on USART1 for STM32F4
>> and STM32F7.
>> Compiled via 'CONFIG_DEBUG_LL' and 'CONFIG_EARLY_PRI
Configure RS485 mode during port initialization.
Fixes: 1bcda09d291081a7732fcaa9d1745312404a4e36 ("serial: stm32: add
support for RS485 hardware control mode")
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 4
1 file changed, 4 ins
Configure RS485 mode during port initialization.
Fixes: 1bcda09d291081a7732fcaa9d1745312404a4e36 ("serial: stm32: add
support for RS485 hardware control mode")
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 4
1 file changed, 4 insertions(+)
diff --git a/d
Add options for enabling RS485 hardware control and configuring
Driver Enable signal:
- rs485-rts-delay
- rs485-rx-during-tx
- rs485-rts-active-low
- linux,rs485-enabled-at-boot-time
Signed-off-by: Bich Hemon <bich.he...@st.com>
Reviewed-by: Rob Herring <r...@kernel.org>
---
D
Add options for enabling RS485 hardware control and configuring
Driver Enable signal:
- rs485-rts-delay
- rs485-rx-during-tx
- rs485-rts-active-low
- linux,rs485-enabled-at-boot-time
Signed-off-by: Bich Hemon
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/serial/st,stm32
Implement Driver Enable signal (DE) to activate the transmission mode
of the external transceiver.
Signed-off-by: Yves Coppeaux <yves.coppe...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 130 ++-
Implement Driver Enable signal (DE) to activate the transmission mode
of the external transceiver.
Signed-off-by: Yves Coppeaux
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 130 ++-
drivers/tty/serial/stm32-usart.h | 3 +
2 files
v2:
- Patch series rebased on gregkh/tty/tty-next
This patchset updates existing stm32 usart driver by adding support for RS485.
Bich Hemon (2):
dt-bindings: serial: stm32: add RS485 optional properties
serial: stm32: add support for RS485 hardware control mode
.../devicetree/bindings
v2:
- Patch series rebased on gregkh/tty/tty-next
This patchset updates existing stm32 usart driver by adding support for RS485.
Bich Hemon (2):
dt-bindings: serial: stm32: add RS485 optional properties
serial: stm32: add support for RS485 hardware control mode
.../devicetree/bindings
Make sure to apply the correct pin state in suspend/resume callbacks.
Putting pins in sleep state saves power.
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/net/can/m_can/m_can.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/n
Make sure to apply the correct pin state in suspend/resume callbacks.
Putting pins in sleep state saves power.
Signed-off-by: Bich Hemon
---
drivers/net/can/m_can/m_can.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index
Hi all,
On 03/01/2018 01:29 PM, Bich HEMON wrote:
> Make sure to apply the correct pin state in suspend/resume callbacks.
> Putting pins in sleep state saves power.
>
> Signed-off-by: Bich Hemon <bich.he...@st.com>
> ---
> drivers/net/can/m_can/m_can.c | 4
> 1
Hi all,
On 03/01/2018 01:29 PM, Bich HEMON wrote:
> Make sure to apply the correct pin state in suspend/resume callbacks.
> Putting pins in sleep state saves power.
>
> Signed-off-by: Bich Hemon
> ---
> drivers/net/can/m_can/m_can.c | 4
> 1 file changed, 4 insertio
Hi all,
On 02/28/2018 11:51 AM, Bich HEMON wrote:
> This patchset updates existing stm32 usart driver by updating interrupt
> initialization by name.
>
> Bich Hemon (2):
>dt-bindings: serial: stm32: add wakeup option using note
>serial: stm32: update interr
Hi all,
On 02/28/2018 11:51 AM, Bich HEMON wrote:
> This patchset updates existing stm32 usart driver by updating interrupt
> initialization by name.
>
> Bich Hemon (2):
>dt-bindings: serial: stm32: add wakeup option using note
>serial: stm32: update interr
Make sure to apply the correct pin state in suspend/resume callbacks.
Putting pins in sleep state saves power.
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/net/can/m_can/m_can.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/n
Make sure to apply the correct pin state in suspend/resume callbacks.
Putting pins in sleep state saves power.
Signed-off-by: Bich Hemon
---
drivers/net/can/m_can/m_can.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index
Add options for enabling RS485 hardware control and configuring
Driver Enable signal:
- rs485-rts-delay
- rs485-rx-during-tx
- rs485-rts-active-low
- linux,rs485-enabled-at-boot-time
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
Documentation/devicetree/bindings/serial/st,stm32-usart.t
This patchset updates existing stm32 usart driver by adding support for RS485.
Bich Hemon (2):
dt-bindings: serial: stm32: add RS485 optional properties
serial: stm32: add support for RS485 hardware control mode
.../devicetree/bindings/serial/st,stm32-usart.txt | 2 +
drivers/tty/serial
This patchset updates existing stm32 usart driver by adding support for RS485.
Bich Hemon (2):
dt-bindings: serial: stm32: add RS485 optional properties
serial: stm32: add support for RS485 hardware control mode
.../devicetree/bindings/serial/st,stm32-usart.txt | 2 +
drivers/tty/serial
Add options for enabling RS485 hardware control and configuring
Driver Enable signal:
- rs485-rts-delay
- rs485-rx-during-tx
- rs485-rts-active-low
- linux,rs485-enabled-at-boot-time
Signed-off-by: Bich Hemon
---
Documentation/devicetree/bindings/serial/st,stm32-usart.txt | 2 ++
1 file changed
Implement Driver Enable signal (DE) to activate the transmission mode
of the external transceiver.
Signed-off-by: Yves Coppeaux <yves.coppe...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 134 ++-
Implement Driver Enable signal (DE) to activate the transmission mode
of the external transceiver.
Signed-off-by: Yves Coppeaux
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 134 ++-
drivers/tty/serial/stm32-usart.h | 3 +
2 files
For each port, get each IRQ using its specific name instead of its index.
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-u
For each port, get each IRQ using its specific name instead of its index.
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index 0fa735b
Update bindings with interrupt-names and wakeup-source information
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
Documentation/devicetree/bindings/serial/st,stm32-usart.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/st,stm32-usart.
Update bindings with interrupt-names and wakeup-source information
Signed-off-by: Bich Hemon
---
Documentation/devicetree/bindings/serial/st,stm32-usart.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/st,stm32-usart.txt
b/Documentation
This patchset updates existing stm32 usart driver by updating interrupt
initialization by name.
Bich Hemon (2):
dt-bindings: serial: stm32: add wakeup option using note
serial: stm32: update interrupt initialization
Documentation/devicetree/bindings/serial/st,stm32-usart.txt | 4
This patchset updates existing stm32 usart driver by updating interrupt
initialization by name.
Bich Hemon (2):
dt-bindings: serial: stm32: add wakeup option using note
serial: stm32: update interrupt initialization
Documentation/devicetree/bindings/serial/st,stm32-usart.txt | 4
From: Gerald Baeza <gerald.ba...@st.com>
100µs was too short for low speed transmission
(9600bps)
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1
Hi Greg,
On 07/30/2017 04:32 PM, Greg Kroah-Hartman wrote:
> On Thu, Jul 13, 2017 at 03:08:28PM +0000, Bich HEMON wrote:
>> From: Gerald Baeza <gerald.ba...@st.com>
>>
>> 100µs was too short for low speed transmission
>> (9600bps)
>>
>> Signed-off-by:
From: Gerald Baeza
100µs was too short for low speed transmission
(9600bps)
Signed-off-by: Gerald Baeza
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial
Hi Greg,
On 07/30/2017 04:32 PM, Greg Kroah-Hartman wrote:
> On Thu, Jul 13, 2017 at 03:08:28PM +0000, Bich HEMON wrote:
>> From: Gerald Baeza
>>
>> 100µs was too short for low speed transmission
>> (9600bps)
>>
>> Signed-off-by: Gerald Baeza
>> S
From: Gerald Baeza <gerald.ba...@st.com>
This adds low-level debug support on USART1 for STM32F4
and STM32F7.
Compiled via 'CONFIG_DEBUG_LL' and 'CONFIG_EARLY_PRINTK'.
Enabled via 'earlyprintk' in bootargs.
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
Signed-off-by: Bich He
From: Gerald Baeza
This adds low-level debug support on USART1 for STM32F4
and STM32F7.
Compiled via 'CONFIG_DEBUG_LL' and 'CONFIG_EARLY_PRINTK'.
Enabled via 'earlyprintk' in bootargs.
Signed-off-by: Gerald Baeza
Signed-off-by: Bich Hemon
---
arch/arm/Kconfig.debug | 27
This patch adds low-level debug support on USART1 for STM32F4 and STM32F7.
Gerald Baeza (1):
ARM: stm32: debug: add low-level debug support
arch/arm/Kconfig.debug | 27 +++
arch/arm/include/debug/stm32.S | 41 +
2 files
This patch adds low-level debug support on USART1 for STM32F4 and STM32F7.
Gerald Baeza (1):
ARM: stm32: debug: add low-level debug support
arch/arm/Kconfig.debug | 27 +++
arch/arm/include/debug/stm32.S | 41 +
2 files
From: Fabrice Gasnier <fabrice.gasn...@st.com>
Disable clock properly in case of error.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 11 +--
1 file changed, 9 insertio
From: Fabrice Gasnier <fabrice.gasn...@st.com>
Add support for wake-up from low power modes. This extends stm32f7.
Introduce new compatible for stm32h7 to manage wake-up capability.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.co
From: Fabrice Gasnier
Disable clock properly in case of error.
Signed-off-by: Fabrice Gasnier
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial
From: Fabrice Gasnier
Add support for wake-up from low power modes. This extends stm32f7.
Introduce new compatible for stm32h7 to manage wake-up capability.
Signed-off-by: Fabrice Gasnier
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 90
From: Fabrice Gasnier <fabrice.gasn...@st.com>
Introduce new compatibles for "st,stm32h7-usart" and "st,stm32h7-uart".
This new compatible allow to use optional wake-up interrupt.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-b
Fix missing copyright for STMicroelectronics
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 1 +
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
From: Fabrice Gasnier
Introduce new compatibles for "st,stm32h7-usart" and "st,stm32h7-uart".
This new compatible allow to use optional wake-up interrupt.
Signed-off-by: Fabrice Gasnier
Signed-off-by: Bich Hemon
---
.../devicetree/bindings/serial/st,stm32-
Fix missing copyright for STMicroelectronics
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 1 +
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index 0338562..ebc49e4
From: Gerald Baeza <gerald.ba...@st.com>
Increase max number of ports for stm32h7
which supports up to 8 uart and usart instances.
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.h | 2 +-
From: Gerald Baeza
Increase max number of ports for stm32h7
which supports up to 8 uart and usart instances.
Signed-off-by: Gerald Baeza
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32
From: Gerald Baeza <gerald.ba...@st.com>
This patch adds fifo mode support for rx and tx.
A fifo configuration is set in each port structure.
Add has_fifo flag to usart configuration to use fifo only when possible.
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
Signed-off-by
From: Gerald Baeza
This patch adds fifo mode support for rx and tx.
A fifo configuration is set in each port structure.
Add has_fifo flag to usart configuration to use fifo only when possible.
Signed-off-by: Gerald Baeza
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 7
Implement support of RTS in USART control register
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index ca61bfe..9
Implement support of RTS in USART control register
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index ca61bfe..9158d31 100644
--- a/drivers
From: Gerald Baeza <gerald.ba...@st.com>
Correct management of multi-ports. Each port has
its own last residue value and its own alias.
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 12 +++
From: Gerald Baeza
Correct management of multi-ports. Each port has
its own last residue value and its own alias.
Signed-off-by: Gerald Baeza
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 12 +++-
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 8
This patchset updates existing stm32 usart driver:
- Misc fixes: copyright, mutliport management and timeout issue
- Add support for STM32H7
- Add support for wake-up and fifo management (for STM32H7)
Bich Hemon (2):
serial: stm32: fix copyright
serial: stm32: add RTS support
Fabrice Gasnier
This patchset updates existing stm32 usart driver:
- Misc fixes: copyright, mutliport management and timeout issue
- Add support for STM32H7
- Add support for wake-up and fifo management (for STM32H7)
Bich Hemon (2):
serial: stm32: fix copyright
serial: stm32: add RTS support
Fabrice Gasnier
From: Gerald Baeza <gerald.ba...@st.com>
100µs was too short for low speed transmission
(9600bps)
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1
From: Gerald Baeza
100µs was too short for low speed transmission
(9600bps)
Signed-off-by: Gerald Baeza
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial
Dear all,
Please, do not take into account this patchset. A newer version is currently
being prepared with typo/format corrections and will be sent later. The
previous version has to be abandoned.
Sorry for the inconvenience,
Bich HEMON
-Original Message-
From: Bich HEMON
Sent
Dear all,
Please, do not take into account this patchset. A newer version is currently
being prepared with typo/format corrections and will be sent later. The
previous version has to be abandoned.
Sorry for the inconvenience,
Bich HEMON
-Original Message-
From: Bich HEMON
Sent
Dear all,
Please, do not take into account this patchset. A newer version is currently
being prepared with typo/format corrections and will be sent later. The
previous version has to be abandoned.
Sorry for the inconvenience,
Bich HEMON
-Original Message-
From: Bich HEMON
Sent
Dear all,
Please, do not take into account this patchset. A newer version is currently
being prepared with typo/format corrections and will be sent later. The
previous version has to be abandoned.
Sorry for the inconvenience,
Bich HEMON
-Original Message-
From: Bich HEMON
Sent
From: Bich Hemon <bich.he...@st.com>
Each usart controller should have an alias correctly
numbered in "aliases" node.
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
---
Documentation/devicetree/bindings/serial/st,stm32-usart.txt | 13 +++--
1 file change
From: Bich Hemon
Each usart controller should have an alias correctly
numbered in "aliases" node.
Signed-off-by: Gerald Baeza
---
Documentation/devicetree/bindings/serial/st,stm32-usart.txt | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/Doc
From: Bich Hemon <bich.he...@st.com>
Adding debugfs infrastructure and one virtual
file allowing to change fifoen value.
This value change is taken into account on next
port setup or enabling.
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
---
drivers/tty/serial/stm32-
From: Bich Hemon
Adding debugfs infrastructure and one virtual
file allowing to change fifoen value.
This value change is taken into account on next
port setup or enabling.
Signed-off-by: Gerald Baeza
---
drivers/tty/serial/stm32-usart.c | 49
drivers
From: Bich Hemon <bich.he...@st.com>
100µs was too short for low speed transmission
(9600bps)
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32-usart.c b
From: Bich Hemon
100µs was too short for low speed transmission
(9600bps)
Signed-off-by: Gerald Baeza
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index 3ce0f7a
From: Bich Hemon <bich.he...@st.com>
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
---
drivers/tty/serial/stm32-usart.c | 10 +++---
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b
From: Bich Hemon
Signed-off-by: Gerald Baeza
---
drivers/tty/serial/stm32-usart.c | 10 +++---
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index c6ae4fd..34e31d1
From: Bich Hemon <bich.he...@st.com>
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
---
drivers/tty/serial/stm32-usart.c | 25 +++--
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/drivers/tty/serial/stm
From: Bich Hemon
Signed-off-by: Gerald Baeza
---
drivers/tty/serial/stm32-usart.c | 25 +++--
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index
From: Bich Hemon <bich.he...@st.com>
This patch adds fifo mode support for rx and tx.
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
---
drivers/tty/serial/stm32-usart.c | 3 +++
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/tty/
From: Bich Hemon
This patch adds fifo mode support for rx and tx.
Signed-off-by: Gerald Baeza
---
drivers/tty/serial/stm32-usart.c | 3 +++
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32
From: Bich Hemon <bich.he...@st.com>
tx_empty: poll TC (PIO mode) or DMAT (DMA mode) bit.
flush_buffer: terminate on going DMA tx transfer.
remove: terminate DMA rx and tx transfers.
Signed-off-by: Gerald Baeza <gerald.ba...@st.com>
---
drivers/tty/serial/stm32-
From: Bich Hemon <bich.he...@st.com>
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index 13fc520..a7
From: Bich Hemon <bich.he...@st.com>
When stm32 dma is used, Data register has to be read in order
to clear the RXNE interrupt in case we received data before
usart probe.
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 11 ++-
1 file
From: Bich Hemon
tx_empty: poll TC (PIO mode) or DMAT (DMA mode) bit.
flush_buffer: terminate on going DMA tx transfer.
remove: terminate DMA rx and tx transfers.
Signed-off-by: Gerald Baeza
---
drivers/tty/serial/stm32-usart.c | 37 ++---
1 file changed, 34
From: Bich Hemon
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index 13fc520..a7401b0 100644
--- a/drivers/tty/serial/stm32-usart.c
+++ b
From: Bich Hemon
When stm32 dma is used, Data register has to be read in order
to clear the RXNE interrupt in case we received data before
usart probe.
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git
From: Bich Hemon <bich.he...@st.com>
Set last_res value in each port
Signed-off-by: Bich Hemon <bich.he...@st.com>
---
drivers/tty/serial/stm32-usart.c | 6 +++---
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/
From: Bich Hemon
Set last_res value in each port
Signed-off-by: Bich Hemon
---
drivers/tty/serial/stm32-usart.c | 6 +++---
drivers/tty/serial/stm32-usart.h | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32
1 - 100 of 122 matches
Mail list logo