From: Patrice Chotard
stm32x7.c driver is dedicated for STM32F7.
In kernel, "st,stm32-usart" and "st,stm32-uart" compatible
strings are dedicated for STM32F4.
To keep U-boot and kernel aligned, replace the serial compatible
string from "st,stm32-usart", "st,stm32-uart"
From: Patrice Chotard
This patch update the STM32F7 serial driver compatible string
with the one used in kernel.
It reworks the baud rate register calculation, this code is inspired by the
kernel driver implementation.
Patrice Chotard (2):
serial: stm32x7: align
From: Patrice Chotard
Simplify baud rate register formula and use the oversampling
uart feature.
This code is aligned with what is implemented in kernel driver
drivers/tty/serial/stm32-usart.c since kernel v4.9.
Signed-off-by: Patrice Chotard
From: Patrice Chotard
Add reset_assert_all() method which Request/Assert/Free an
array of resets signal that has been previously successfully
requested by reset_get_by_*()
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
From: Patrice Chotard
This series improves generic ehci and ohci drivers by addition of :
_ error path during probe (clocks, resets and phy release)
_ .remove callback
_ add generic PHY framework for both generic ehci and ohci drivers
_ add
From: Patrice Chotard
Extend ehci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v7: _ none
v6: _ none
v5: _ none
v4: _ update the memory allocation
From: Patrice Chotard
Use an array to save enabled clocks reference and deasserted resets
in order to respectively disabled and asserted them in case of error
during probe() or during driver removal.
Signed-off-by: Patrice Chotard
---
v7: _
From: Patrice Chotard
use array to save deasserted resets reference in order to
assert them in case of error during probe() or during driver
removal.
Signed-off-by: Patrice Chotard
---
v7: _ replace reset_count() by
From: Patrice Chotard
use array to save enabled clocks reference in order to
disabled them in case of error during probe() or during
driver removal.
Signed-off-by: Patrice Chotard
---
v7: _ replace clk_count() by
From: Patrice Chotard
Add clk_disable_all() method which Request/Disable/Free an
array of clocks that has been previously requested by
clk_request/get_by_*()
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v7:
From: Patrice Chotard
this allows to get file, line and function location
of the current error message.
Signed-off-by: patrice chotard
Reviewed-by: Simon Glass
---
v7: _ none
v6: _ none
v5: _ none
v4: _ none
From: Patrice Chotard
This is needed in error path to assert previously deasserted
reset by using a saved reset_ctl reference.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v7: _ none
v6: _ none
v5: _
From: Patrice Chotard
This function is usefull to get phandle number contained
in a property list.
For example, this allows to allocate the right amount
of memory to keep clock's reference contained into the
"clocks" property.
To implement it, either
From: Patrice Chotard
Extend ohci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v7: _ none
v6: _ none
v5: _ none
v4: _ use generic_phy_valid() before
From: Patrice Chotard
Add clk_disable_all() method which Request/Disable/Free an
array of clocks that has been previously requested by
clk_request/get_by_*()
Signed-off-by: Patrice Chotard
---
v8: _ replace clk->dev by clk[i].dev in
From: Patrice Chotard
Extend ehci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
---
v8: _ rework error path by propagating the initial error code until the end
of probe()
v7: _ none
v6: _ none
v5: _
From: Patrice Chotard
This series improves generic ehci and ohci drivers by addition of :
_ error path during probe (clocks, resets and phy release)
_ .remove callback
_ add generic PHY framework for both generic ehci and ohci drivers
_ add
From: Patrice Chotard
Use an array to save enabled clocks reference and deasserted resets
in order to respectively disabled and asserted them in case of error
during probe() or during driver removal.
Signed-off-by: Patrice Chotard
---
v8: _
From: Patrice Chotard
use array to save deasserted resets reference in order to
assert them in case of error during probe() or during driver
removal.
Signed-off-by: Patrice Chotard
---
v8: _ rework error path by propagating the initial error
From: Patrice Chotard
Add reset_assert_all() method which Request/Assert/Free an
array of resets signal that has been previously successfully
requested by reset_get_by_*()
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
From: Patrice Chotard
This is needed in error path to assert previously deasserted
reset by using a saved reset_ctl reference.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v8: _ none
v7: _ none
v6: _
From: Patrice Chotard
use array to save enabled clocks reference in order to
disabled them in case of error during probe() or during
driver removal.
Signed-off-by: Patrice Chotard
---
v8: _ rework error path by propagating the initial error
From: Patrice Chotard
this allows to get file, line and function location
of the current error message.
Signed-off-by: patrice chotard
Reviewed-by: Simon Glass
---
v8: _ none
v7: _ none
v6: _ none
v5: _ none
From: Patrice Chotard
This function is usefull to get phandle number contained
in a property list.
For example, this allows to allocate the right amount
of memory to keep clock's reference contained into the
"clocks" property.
To implement it, either
From: Patrice Chotard
Extend ohci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
---
v8: _ rework error path by propagating the initial error code until the end
of probe()
v7: _ none
v6: _ none
v5: _
From: Patrice Chotard
Add reset_release_all() method which Assert/Free an
array of resets signal that has been previously successfully
requested by reset_get_by_*()
Signed-off-by: Patrice Chotard
---
v9: _ to avoid confusion, rename
From: Patrice Chotard
Use an array to save enabled clocks reference and deasserted resets
in order to respectively disabled and asserted them in case of error
during probe() or during driver removal.
Signed-off-by: Patrice Chotard
---
v9: _
From: Patrice Chotard
Extend ehci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
---
v9: _ none
v8: _ rework error path by propagating the initial error code until the end
of probe()
v7: _ none
v6: _
From: Patrice Chotard
This is needed in error path to assert previously deasserted
reset by using a saved reset_ctl reference.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v9: _ none
v8: _ none
v7: _
From: Patrice Chotard
This series improves generic ehci and ohci drivers by addition of :
_ error path during probe (clocks, resets and phy release)
_ .remove callback
_ add generic PHY framework for both generic ehci and ohci drivers
_ add
From: Patrice Chotard
this allows to get file, line and function location
of the current error message.
Signed-off-by: patrice chotard
Reviewed-by: Simon Glass
---
v9: _ none
v8: _ none
v7: _ none
v6: _ none
From: Patrice Chotard
use array to save deasserted resets reference in order to
assert them in case of error during probe() or during driver
removal.
Signed-off-by: Patrice Chotard
---
v9: _ remove useless reset_free() when a reset is
From: Patrice Chotard
Add clk_release_all() method which Disable/Free an
array of clocks that has been previously requested by
clk_request/get_by_*()
Signed-off-by: Patrice Chotard
---
v9: _ to avoid confusion, rename clk_disable_all() in
From: Patrice Chotard
Extend ohci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
---
v9: _ none
v8: _ rework error path by propagating the initial error code until the end
of probe()
v7: _ none
v6: _
From: Patrice Chotard
This function is usefull to get phandle number contained
in a property list.
For example, this allows to allocate the right amount
of memory to keep clock's reference contained into the
"clocks" property.
To implement it, either
From: Patrice Chotard
use array to save enabled clocks reference in order to
disabled them in case of error during probe() or during
driver removal.
Signed-off-by: Patrice Chotard
---
v9: _ remove useless clk_free() when a clock is correctly
From: Christophe Kerello
This patch handles a configuration list behind pinctrl-0
like pinctrl-0 = <_clk_a _bk1_a _bk2_a>;
Signed-off-by: Christophe Kerello
Acked-by: Vikas MANOCHA
---
drivers/pinctrl/pinctrl_stm32.c
From: Patrice Chotard
This series improves the stm32 pinctrl driver by adding:
_ pinmux list support
_ set_state ops callback support
Christophe Kerello (2):
pinctrl: stm32: handle a configuration list
pinctrl: stm32: add set_state ops
From: Christophe Kerello
set_state_ops is kept under PINCTRL_FULL flag in order
to decrease memory footprint in some configuration.
PINCTRL_FULL can be enabled for debug purpose.
Signed-off-by: Christophe Kerello
Signed-off-by: Patrice
From: Patrice Chotard
This series improves generic ehci and ohci drivers by addition of :
_ error path during probe (clocks, resets and phy release)
_ .remove callback
_ add generic PHY framework for both generic ehci and ohci drivers
_ add
From: Patrice Chotard
use array to save deasserted resets reference in order to
assert them in case of error during probe() or during driver
removal.
Signed-off-by: Patrice Chotard
---
v4: _ update the memory allocation for deasserted
From: Patrice Chotard
Add clk_count() method to be able to get the number
of clocks contained into a clock property. This will allow
to allocate the right amount of memory in order to keep clock
reference. These clock reference can be used later on error path
or in
From: Patrice Chotard
Extend ehci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
---
v4: _ use generic_phy_valid() before generic_phy_exit() call
v3: _ test return value on generic_phy_get_by_index() and
From: Patrice Chotard
This is needed in error path to assert previously deasserted
reset by using a saved reset_ctl reference.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v4: _ none
v3: _ none
v2:
From: Patrice Chotard
This allows to get file, line and function location
of the current error message.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v4: _ none
v3: _ add commit message
v2: _
From: Patrice Chotard
Add reset_count() method to be able to get the number
of resets contained into a resets property. This will allow
to allocate the right amount of memory in order to keep resets
reference. These resets reference can be used later on error path
or in
From: Patrice Chotard
use array to save enabled clocks reference in order to
disabled them in case of error during probe() or during
driver removal.
Signed-off-by: Patrice Chotard
---
v4: _ use generic_phy_valid() before generic_phy_exit()
From: Patrice Chotard
Add clk_disable_all() method which Request/Disable/Free an
array of clocks that has been previously requested by
clk_request/get_by_*()
Signed-off-by: Patrice Chotard
---
v4: _ add clk_disable_all() method as suggested
From: Patrice Chotard
This is needed in error path to assert previously deasserted
reset by using a saved reset_ctl reference.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v4: _ none
v3: _ none
v2:
From: Patrice Chotard
Use an array to save enabled clocks reference and deasserted resets
in order to respectively disabled and asserted them in case of error
during probe() or during driver removal.
Signed-off-by: Patrice Chotard
---
v4: _
From: Patrice Chotard
This allows to get file, line and function location
of the current error message.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v4: _ none
v3: _ add commit message
v2: _
From: Patrice Chotard
Add reset_assert_all() method which Request/Assert/Free an
array of resets signal that has been previously successfully
requested by reset_get_by_*()
Signed-off-by: Patrice Chotard
---
v4: _ add reset_assert_all()
From: Patrice Chotard
Extend ohci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
---
v4: _ use generic_phy_valid() before generic_phy_exit() call
v3: _ extract in this patch the PHY support add-on from previous
From: Patrice Chotard
Use an array to save enabled clocks reference and deasserted resets
in order to respectively disabled and asserted them in case of error
during probe() or during driver removal.
Signed-off-by: Patrice Chotard
---
v4: _
From: Patrice Chotard
Extend ohci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
---
v4: _ use generic_phy_valid() before generic_phy_exit() call
v3: _ extract in this patch the PHY support add-on from previous
From: Patrice Chotard
use array to save deasserted resets reference in order to
assert them in case of error during probe() or during driver
removal.
Signed-off-by: Patrice Chotard
---
v4: _ update the memory allocation for deasserted
From: Patrice Chotard
use array to save enabled clocks reference in order to
disabled them in case of error during probe() or during
driver removal.
Signed-off-by: Patrice Chotard
---
v4: _ use generic_phy_valid() before generic_phy_exit()
From: Patrice Chotard
Extend ehci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
---
v4: _ use generic_phy_valid() before generic_phy_exit() call
v3: _ test return value on generic_phy_get_by_index() and
From: Patrice Chotard
This series improves generic ehci and ohci drivers by addition of :
_ error path during probe (clocks, resets and phy release)
_ .remove callback
_ add generic PHY framework for both generic ehci and ohci drivers
_ add
From: Patrice Chotard
Add clk_count() method to be able to get the number
of clocks contained into a clock property. This will allow
to allocate the right amount of memory in order to keep clock
reference. These clock reference can be used later on error path
or in
From: Patrice Chotard
v2: _ use dev_get_addr() in PATCH 1 and removed useless piece of code
Convert xhci-dwc3 to Driver Model
Add dual role mode selection from DT
Add generic PHY support
Patrice Chotard (3):
usb: host: xhci-dwc3: Convert driver to DM
usb: host:
From: Patrice Chotard
Add Driver Model support with use of generic DT
compatible string "snps,dwc3"
Signed-off-by: Patrice Chotard
---
v2: _ use dev_get_addr() and removed useless piece of code
drivers/usb/host/xhci-dwc3.c | 50
From: Patrice Chotard
Add support of generic PHY framework support
Signed-off-by: Patrice Chotard
---
v2: _ none
drivers/usb/host/xhci-dwc3.c | 32
1 file changed, 32 insertions(+)
diff --git
From: Patrice Chotard
DWC3 dual role mode is selected using DT "dr_mode"
property. If not found, DWC3 controller is configured
in HOST mode by default
Signed-off-by: Patrice Chotard
---
v2: _ none
drivers/usb/host/xhci-dwc3.c | 9 +
From: Patrice Chotard
v3: _ introduce generic_phy_valid() method
_ add Reviewed-by
v2: _ use dev_get_addr() in PATCH 1 and removed useless piece of code
Patrice Chotard (4):
usb: host: xhci-dwc3: Convert driver to DM
usb: host: xhci-dwc3: Add dual
From: Patrice Chotard
DWC3 dual role mode is selected using DT "dr_mode"
property. If not found, DWC3 controller is configured
in HOST mode by default
Signed-off-by: Patrice Chotard
Reviewed-by: Marek Vasut
Reviewed-by: Simon
From: Patrice Chotard
Add Driver Model support with use of generic DT
compatible string "snps,dwc3"
Signed-off-by: Patrice Chotard
Reviewed-by: Marek Vasut
Reviewed-by: Simon Glass
---
v3: _ none
v2: _
From: Patrice Chotard
Add support of generic PHY framework support
Signed-off-by: Patrice Chotard
Reviewed-by: Marek Vasut
Reviewed-by: Simon Glass
---
v3: _ use generic_phy_valid() method
v2: _ none
From: Patrice Chotard
This allow to check if a PHY has been correctly
initialised and avoid to get access to phy struct.
Signed-off-by: Patrice Chotard
---
drivers/phy/phy-uclass.c | 5 +
include/generic-phy.h| 8
2 files
From: Patrice Chotard
This series extend xhci-dwc3.c drivers by :
_ converting it to DM model,
_ adding dual role mode support from DT
_ adding new generic_phy_valid() method in PHY framework
_ adding support of generic PHY framework
v4:
From: Patrice Chotard
DWC3 dual role mode is selected using DT "dr_mode"
property. If not found, DWC3 controller is configured
in HOST mode by default
Signed-off-by: Patrice Chotard
---
d4: _ none
v3: _ none
v2: _ none
From: Patrice Chotard
phy->dev need to be set to NULL in case of generic_phy_get_by_index()
fails. Then phy->dev can be used to check if the phy is valid
Reported-by: Jean-Jacques Hiblot
Signed-off-by: Patrice Chotard
---
v4:
From: Patrice Chotard
Add Driver Model support with use of generic DT
compatible string "snps,dwc3"
Signed-off-by: Patrice Chotard
---
v4: _ none
v3: _ none
v2: _ use dev_get_addr() and removed useless piece of code
From: Patrice Chotard
This allow to check if a PHY has been correctly
initialised and avoid to get access to phy struct.
Signed-off-by: Patrice Chotard
---
v4: _ none
drivers/phy/phy-uclass.c | 5 +
include/generic-phy.h| 8
From: Patrice Chotard
Add support of generic PHY framework support
Signed-off-by: Patrice Chotard
---
v4: _ none
v3: _ use generic_phy_valid() method
v2: _ none
drivers/usb/host/xhci-dwc3.c | 32
1
From: Patrice Chotard
Signed-off-by: Patrice Chotard
Reviewed-by: Jaehoon Chung
Reviewed-by: Simon Glass
---
v6: _ add reviewed-by Simon Glass
v5: _ none
v4: _ none
v3: _ none
v2: _
From: Patrice Chotard
Enable USB Host Networking support by enabling Ethernet/USB
adaptors support and by enabling some BOOTP flags
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v6: _ add reviewed-by Simon
From: Patrice Chotard
Update ehci and ohci node's compatible string in order to
use ehci-generic and ohci-generic drivers.
Signed-off-by: Patrice Chotard
---
arch/arm/dts/stih410.dtsi | 11 +++
1 file changed, 7 insertions(+), 4
From: Patrice Chotard
Use struct udevice* as input parameter. Previous
parameters are retrieved through plat and priv data.
This to prepare to use the reset framework.
Signed-off-by: Patrice Chotard
Reviewed-by: Jaehoon Chung
From: Patrice Chotard
This series adds :
_ update existing sdhci driver to use reset framework
_ add usb phy driver
_ add fastboot support
With all this feature enable, it's now possible to
_ boot on usb mass storage device
_ boot
From: Patrice Chotard
This is the generic phy driver for the picoPHY ports
used by USB2/1.1 controllers. It is found on STiH407 SoC
family from STMicroelectronics.
Signed-off-by: Patrice Chotard
Reviewed-by: Marek Vasut
---
v6:
From: Patrice Chotard
On STi 96boards, configure by default the micro USB connector
(managed by DWC3 hardware block) in peripheral mode.
This will allow to use fastboot feature.
Signed-off-by: Patrice Chotard
---
arch/arm/dts/stih407-family.dtsi
From: Patrice Chotard
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v6: _ add reviewed-by Simon Glass
v5: _ remove CONFIG_USB_OHCI_STI and CONFIG_USB_EHCI_STI
_ enable CONFIG_USB_EHCI_GENERIC
From: Patrice Chotard
This patch adds the ST glue logic to manage the DWC3 HC
on STiH407 SoC family. It configures the internal glue
logic and syscfg registers.
Part of this code been extracted from kernel.org driver
(drivers/usb/dwc3/dwc3-st.c)
Signed-off-by: Patrice
From: Patrice Chotard
Add usb_gadget_handle_interrupts(), board_usb_init(),
board_usb_cleanup() and g_dnl_board_usb_cable_connected()
callbacks needed for FASTBOOT support
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
From: Patrice Chotard
reset-names property is needed to use the reset
API for STi sdhci driver.
Signed-off-by: Patrice Chotard
Reviewed-by: Jaehoon Chung
Reviewed-by: Simon Glass
---
v6: _ add
From: Patrice Chotard
If CONFIG_CLK flag is not set, compilation raises the
following error message:
drivers/ram/stm32_sdram.c: In function 'stm32_fmc_probe':
drivers/ram/stm32_sdram.c:154:2: error: 'ret' undeclared (first use in this
function)
ret =
From: Patrice Chotard
Add reset_count() method to be able to get the number
of resets contained into a resets property. This will allow
to allocate the right amount of memory in order to keep resets
reference. These resets reference can be used later on error path
or in
From: Patrice Chotard
Add clk_count() method to be able to get the number
of clocks contained into a clock property. This will allow
to allocate the right amount of memory in order to keep clock
reference. These clock reference can be used later on error path
or in
From: Patrice Chotard
Add clk_disable_all() method which Request/Disable/Free an
array of clocks that has been previously requested by
clk_request/get_by_*()
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v6:
From: Patrice Chotard
this allows to get file, line and function location
of the current error message.
signed-off-by: patrice chotard
Reviewed-by: Simon Glass
---
v6: _ none
v5: _ none
v4: _ none
v3: _ add
From: Patrice Chotard
use array to save enabled clocks reference in order to
disabled them in case of error during probe() or during
driver removal.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v6: _ none
From: Patrice Chotard
Extend ohci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v6: _ none
v5: _ none
v4: _ use generic_phy_valid() before
From: Patrice Chotard
use array to save deasserted resets reference in order to
assert them in case of error during probe() or during driver
removal.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v6: _ none
From: Patrice Chotard
Extend ehci-generic driver with generic PHY framework
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v6: _ none
v5: _ none
v4: _ update the memory allocation for deasserted
From: Patrice Chotard
Add reset_assert_all() method which Request/Assert/Free an
array of resets signal that has been previously successfully
requested by reset_get_by_*()
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
From: Patrice Chotard
This series improves generic ehci and ohci drivers by addition of :
_ error path during probe (clocks, resets and phy release)
_ .remove callback
_ add generic PHY framework for both generic ehci and ohci drivers
_ add
From: Patrice Chotard
This is needed in error path to assert previously deasserted
reset by using a saved reset_ctl reference.
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
v6: _ none
v5: _ none
v4: _
From: Patrice Chotard
Use an array to save enabled clocks reference and deasserted resets
in order to respectively disabled and asserted them in case of error
during probe() or during driver removal.
Signed-off-by: Patrice Chotard
Reviewed-by:
From: Patrice Chotard
DWC3 dual role mode is selected using DT "dr_mode"
property. If not found, DWC3 controller is configured
in HOST mode by default
Signed-off-by: Patrice Chotard
Reviewed-by: Marek Vasut
Reviewed-by: Simon
301 - 400 of 661 matches
Mail list logo