Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1579478pxb; Thu, 4 Mar 2021 15:21:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlXe5ycQcEneAv5510iJ/NN2bp/MJbWSyzsq6zCFHzVkjivRcZj6pBRkuXhEuqnitOTuct X-Received: by 2002:a05:6402:100b:: with SMTP id c11mr6719535edu.193.1614900119353; Thu, 04 Mar 2021 15:21:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614900119; cv=none; d=google.com; s=arc-20160816; b=0x6L8Bu3I/q7c/vL+g1g3OHYz8DD5S7gTg3RYXQ27kCSOCUrmv3eD9q8GqnBb68JzW ahymJycnWTEDNy4Kz1RCIvOdNf4gpD12KMIvjKT234wqmN/DwruvZVgiYPbmXXoFosta m/nfKkSUOfjBmJ6AEmak2olbut1g2L4x6qbJHs+pacX3mRGHO5AqNGDxcF0VrlytDVFd KGOqZBm1umE7r5FsVWnVQggWRS6dS8WmtLO3A4WTLYIBg8n2VyRc2RS5HE0rHcLR21Qh +8RP7HFJsXjw7iyCzkCrLOJoxcy6VzTWEqS2OhuMkrJIxil6gEzKK0IBlgmwscgwW8cl RBaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=wgbU7V0gD2AaAABFWbDEKAn6lnrKuOAzox0VITMiULA=; b=AbwHoybdpCyrCZ1U1RNUG623MoPYJkSuiCOrAUgPym7GgWVXeD2ze1nBhc6qE55ffm W+y32i0JpP8KiTFGGjZD93YTKe7ieQ5raf9hKyiMTzKcUT2wzmAlSmds5TXhuhQU2gAF GtryjWFrCKTao8nN9+ZYdaduHTrrqefJAUPjqaMlJYvd3+6Xepf4Vc0NABPlgEN1gYIC PlPhteBjDFl7AZv70BvYJsOKP1V1zXFLMFmYpyQWlKtV/l/NLj7BJrOn+J4uztA6y7vb IhUnQTGHa3QJtUFLyvjlxVXmlB280Wb0lZf3MfkUT5e3w624vWNQAXiQ3zsYmEpiLN9V Pmkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id br23si340363ejb.740.2021.03.04.15.21.37; Thu, 04 Mar 2021 15:21:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1575769AbhCCRfy convert rfc822-to-8bit (ORCPT + 99 others); Wed, 3 Mar 2021 12:35:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237416AbhCCOSo (ORCPT ); Wed, 3 Mar 2021 09:18:44 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5413DC061797 for ; Wed, 3 Mar 2021 06:18:02 -0800 (PST) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lHSK3-00014Z-9q; Wed, 03 Mar 2021 15:17:55 +0100 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1lHSK2-00075d-0s; Wed, 03 Mar 2021 15:17:54 +0100 Message-ID: Subject: Re: [PATCH v3 0/5] Reset driver for IMX8MQ VPU hardware block From: Philipp Zabel To: Benjamin Gaignard , robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, ezequiel@collabora.com, mchehab@kernel.org, gregkh@linuxfoundation.org Cc: kernel@pengutronix.de, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devel@driverdev.osuosl.org, kernel@collabora.com Date: Wed, 03 Mar 2021 15:17:53 +0100 In-Reply-To: <20210301151754.104749-1-benjamin.gaignard@collabora.com> References: <20210301151754.104749-1-benjamin.gaignard@collabora.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Benjamin, On Mon, 2021-03-01 at 16:17 +0100, Benjamin Gaignard wrote: > The two VPUs inside IMX8MQ share the same control block which can be see > as a reset hardware block. This isn't a reset controller though. The control block also contains clock gates of some sort and a filter register for the featureset fuses. Those shouldn't be manipulated via the reset API. > In order to be able to add the second VPU (for HECV decoding) it will be > more handy if the both VPU drivers instance don't have to share the > control block registers. This lead to implement it as an independ reset > driver and to change the VPU driver to use it. Why not switch to a syscon regmap for the control block? That should also allow to keep backwards compatibility with the old binding with minimal effort. > Please note that this series break the compatibility between the DTB and > kernel. This break is limited to IMX8MQ SoC and is done when the driver > is still in staging directory. I know in this case we are pretty sure there are no users of this binding except for a staging driver, but it would still be nice to keep support for the deprecated binding, to avoid the requirement of updating kernel and DT in lock-step. regards Philipp