Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2428560pxb; Tue, 23 Feb 2021 06:56:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYPrLEFZFBfwPJD6z97J0fXFT2wroFLbxSdguXAN6MUGknTDZtYc478uJmbZqFxDrF9scp X-Received: by 2002:a17:906:12db:: with SMTP id l27mr26061850ejb.500.1614092193101; Tue, 23 Feb 2021 06:56:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614092193; cv=none; d=google.com; s=arc-20160816; b=IhiyHIrO94eu+KNbXxsgK9ZfaopQoQ0Bt+nLMuMIXlS0QwTw+IvrZNrh5FlEi3uVeP VsY1O8TcuR7pflw9XZ0hnMaEb5corovJoW9RYxpGnh6FYfD1kX4q0Gydrx8FlDwHmOQj QUnSYYzKGZRVLTpNBL6aBhmZJrnyNoqafoCyZHrg3GdPE5exDUBIKEJpHdUVsk2QHi+X /ZfVaO/l9KgqxfdTLDnMSXYVajzhrIO88HbebbXO0IV0hkdFfQT2aSuhkby+XpQ6OWhF v+J0Rc7ok2Bz38ktfGAxCF6Ei9objSmxsdjVerPrn0wrmDMBwNZ0EEBrpPMVoYiPKn7G hFlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=WTzJ67dKXxZKZNCkGrHp8RTapRLIwmvSQX9CZciRtm4=; b=uviisrtmmq7VynMOB+z6kV+shK3kBl4Por5hP2Hyb3koC4qlaSGWdX4kIJCKycLe0O 2XnSrC9pOpoKZzUPOAt1/eLpK3I3yzNhVpBbtldwHGQ7hRsnFTRp4ZgO+sx9bg70NRvS vZehjMDklOaE5Di2w2jRaQ6TeuRRW/oENFIizr3a2wCgmLqYxzxv5c7jmmMmkSO7kNQT Gw3Y8Hj9uAck8+Yd/F3PGoLRzPc2GCBIAyt4d2M//ZcpINaohBHrKGptL1QVUulerTwU /4zzZVUORHBbeTxxwVwmi+lKHLw0GadHi0LUXW12K/nTgdCcxYVcviWlVZgHcKTBH9bo 2DXg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hy12si13054002ejc.509.2021.02.23.06.56.07; Tue, 23 Feb 2021 06:56:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231818AbhBWOtf (ORCPT + 99 others); Tue, 23 Feb 2021 09:49:35 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43834 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232997AbhBWOtX (ORCPT ); Tue, 23 Feb 2021 09:49:23 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 8AFB91F44D4B Message-ID: Subject: Re: [PATCH v3 8/9] dt-bindings: media: nxp,imx8mq-vpu: Update bindings From: Ezequiel Garcia To: Rob Herring , Benjamin Gaignard Cc: Philipp Zabel , Mauro Carvalho Chehab , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , NXP Linux Team , Greg Kroah-Hartman , Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Jernej Skrabec , Peng Fan , Hans Verkuil , Dan Carpenter , Linux Media Mailing List , "open list:ARM/Rockchip SoC..." , devicetree@vger.kernel.org, linux-arm-kernel , "linux-kernel@vger.kernel.org" , Collabora Kernel ML Date: Tue, 23 Feb 2021 11:48:29 -0300 In-Reply-To: References: <20210222122406.41782-1-benjamin.gaignard@collabora.com> <20210222122406.41782-9-benjamin.gaignard@collabora.com> <20210223003442.GA2516123@robh.at.kernel.org> <25f30110-d655-2d77-d3b7-30c1c61f6965@collabora.com> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.2-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Tue, 2021-02-23 at 08:31 -0600, Rob Herring wrote: > On Tue, Feb 23, 2021 at 2:04 AM Benjamin Gaignard > wrote: > > > > > > Le 23/02/2021 à 01:34, Rob Herring a écrit : > > > On Mon, Feb 22, 2021 at 01:24:05PM +0100, Benjamin Gaignard wrote: > > > > The current bindings seem to make the assumption that the > > > > two VPUs hardware blocks (G1 and G2) are only one set of > > > > registers. > > > > After implementing the VPU reset driver and G2 decoder driver > > > > it shows that all the VPUs are independent and don't need to > > > > know about the registers of the other blocks. > > > > Remove from the bindings the need to set all blocks register > > > > but keep reg-names property because removing it from the driver > > > > may affect other variants. > > > > > > > > Signed-off-by: Benjamin Gaignard > > > > --- > > > > version 2: > > > > - be more verbose about why I change the bindings > > > > Keep in mind that series comes after: https://www.spinics.net/lists/arm-kernel/msg875766.html > > > > without that review and ack it won't work > > > Better, but you've still mentioned nothing about breaking compatibility. > > > Why is that okay? > > Indeed, the commit description should be clearer about breaking compatibility. > > Because this reg-names wasn't used before for this variant so remove it won't change anything. > > It is the reset changes in the driver that break. The driver > previously got the 'ctrl' registers whether it went by name or index, > right? With an old DTB and a kernel with the changes (and vice-versa), > you'll have nothing to handle the VPU resets because the VPU reset > node doesn't exist. It could work if the default state is not held in > reset. > > At least the removal of 'ctrl' registers belongs in the reset changes series. > > Considering that FFMPEG patches that are required to support this driver are still floating around, and GStreamer's implementation is also still a bit under discussion, we are certain there aren't many upstreams users (leaving ChromiumOS aside which mostly care for Rockchip variants). So, given the driver is in staging, and that there aren't users of the i.MX8MQ G1 variant just yet, I think we are safe breaking the compatibility (and I'm not taking it lightly). It would be important to detect an old devicetree and do some pr_warn about the driver not supporting it. Thanks, Ezequiel