Re: [PATCH v3] bus: imx-weim: add DT overlay support for WEIM bus

From: Shawn Guo
Date: Tue Feb 22 2022 - 01:55:43 EST


On Tue, Feb 22, 2022 at 08:20:59AM +0300, Ivan Bornyakov wrote:
> Add OF reconfiguration notifier handler for WEIM bus to setup Chip
> Select timings on runtime creation of child devices.
>
> However, it is not possible to load another DT overlay with conflicting
> CS timings with previously loaded overlay, even if the first one is
> unloaded. The reason is that there is no acces to CS timing property of
> a device node being removed, thus we can't track which of configured CS
> are available for re-configuration.
>
> Signed-off-by: Ivan Bornyakov <i.bornyakov@xxxxxxxxxxx>
> ---
> Changelog:
> v1 -> v2: minor style fixes
> * rename "priv" -> weim_priv"
> * remove excessive newline
> v2 -> v3: minor style fixes
> * rename "weim_data *weim_priv" -> "weim_priv *priv"
>
> drivers/bus/imx-weim.c | 135 ++++++++++++++++++++++++++++++++++++++---
> 1 file changed, 126 insertions(+), 9 deletions(-)

Applied, thanks!