Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4483018pxb; Mon, 21 Feb 2022 22:55:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTvJfHLWXNAKXiWTRqjmdTG39q04vBFRIYMlvXcB9ixxH75exw2x92RbAhR+9+BSTm4oTp X-Received: by 2002:a17:902:cf02:b0:14d:54cf:9a6a with SMTP id i2-20020a170902cf0200b0014d54cf9a6amr21679906plg.137.1645512944577; Mon, 21 Feb 2022 22:55:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645512944; cv=none; d=google.com; s=arc-20160816; b=HIlT9G+tXbTJeNuleFW17Oiwc9hC7+LGEAZwE7aAp5tjBOPZtufq6QiK7IFZwZrP+0 V2m0ZETzPXlBpqlp8GDYwjiDM7pIOlZdqHbCoFfFVAZAno2DzJ0fWQrG10P+/Hy0ctUu p4IMRTGXVKc0ZVt9lfLwBMR/xwcu8Mc0wqnWwRmXLgk/b4p44Z6VEP1Ea89cy5Y332i0 1b/AntZMx1xKR3wPfs40VGkA2YrNtcOUsSwqXG+/e80XewumT0P7hdrKqWI5JP+1YTFH RXQHjh181DYUz0a3OxBHkFVnXvuMae0NJo4AREu1jIpIFv9TTjUnkPMcnwe+maI38W/X YFZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7Z/4cGAcPo0q2YmrmeMk/UqUlZYqjihb8remQAIsn+0=; b=iOMAMnPvrpNtKnuN35Jhlmcb4vIO7hYuom34ePvhrXYNPlK9uvH6VVoZjchlrZ/Ryn +0i5ISYxEEbFspFa4GlEKkzhIjiKMGq3Qti3sJkXclIwgvv7ys8ONn127OJx/ITE+M8N 1zgF+q6xfNf7Anf8cWKx+rgkwhJ7bbnlTizzzBE4tPc4LKQOO9BCDfuYER24a5sMG3fl x6zvNpihysQXUbJcspWnfsXMMANIy5+fx3hRbSUzl+f3zs17apIc20qIG5wN69fnpHq7 m/qt1K9vFpK16wE2pW7GPLecx6rwKh4C1SFAJx4ir4H07uR3msshCsTu3lKNwGDQaSIB 2XXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RZ29PDc2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 7si20544769pgc.71.2022.02.21.22.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 22:55:44 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RZ29PDc2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 378D9111DC7; Mon, 21 Feb 2022 22:55:43 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230327AbiBVG4F (ORCPT + 99 others); Tue, 22 Feb 2022 01:56:05 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:40170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230316AbiBVG4E (ORCPT ); Tue, 22 Feb 2022 01:56:04 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96B461111BF for ; Mon, 21 Feb 2022 22:55:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B69A96077B for ; Tue, 22 Feb 2022 06:55:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A68DBC340E8; Tue, 22 Feb 2022 06:55:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645512937; bh=aHbl0umTQOj534Uobo3+upnZJRJmo6o3DEZLEbvbXtk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RZ29PDc22tFmjuzYTO3QgeB4lUqtyJLYDTpCnaGDeX25+P68RkxfgJrQa8LxL1ZPN gOmXS6r24FDEm3P48lt4ZPiFQpir5kebUHI71Leo4R0imqfPLWop5/j9UhFOdCEYm5 K1LlUA+RnmD9BOrKG6AgOYAMxo1nDuxt+kq3WD4qQVm6REIZIRJ/pnQ2DiRrK4qWfj 3q4AqmnHu99hLAKRhtrrLiWmjucjs5mRAaeFLtuHeyhFmzABjOMtbl9f6OktPEzzsD v2vs0y4WpcufY0kb+sskS/w4oYrpztDtCv/4XLLufDV0+leBoMrcUWFkQpqgifdkVg Ez8J/nBOJE53Q== Date: Tue, 22 Feb 2022 14:55:31 +0800 From: Shawn Guo To: Ivan Bornyakov Cc: s.hauer@pengutronix.de, festevam@gmail.com, kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, system@metrotek.ru Subject: Re: [PATCH v3] bus: imx-weim: add DT overlay support for WEIM bus Message-ID: <20220222065531.GY2249@dragon> References: <20220205055006.23447-1-i.bornyakov@metrotek.ru> <20220222052059.23610-1-i.bornyakov@metrotek.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220222052059.23610-1-i.bornyakov@metrotek.ru> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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!