Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6305897ybi; Wed, 31 Jul 2019 11:57:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVHkncLXOVyce6ja+Vessfmb6N9sfplY6cmLnDsYCWRNKUsAHS+qLLhv7zCEa4pQ49jbUD X-Received: by 2002:a17:90a:a410:: with SMTP id y16mr4400375pjp.62.1564599465534; Wed, 31 Jul 2019 11:57:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564599465; cv=none; d=google.com; s=arc-20160816; b=XgoSaoyQjwjnZz7/KXEaqDYrdcv4+iJ3Dei2YVROQaYCZVwOOD0RuMVH7fXaJzKcpA c8Zn4XQtt5XeCd+tU0gNH4AueeI5QTZTV2IuwJ4GTwVBJWi0T6Z3T4a7hGoV8iSdFOVo a5YPbJ16r82AQqH3GR+KHOOW9WLa/YRNLmliIV6fXhDJATkw+9bXjKMvd3ZT38aBVfwn Ps7Cz3CoY10Cs6WEA9FgHF3lIMtuYoGC4KCuQ5X43OlaDXsgwpohN0PYZ8vxVoAJmNiN UTYVvzMnY+96imPl5q+DyvMDKb9cO8uKPv4jjARY/UyQS4MGqH1winYwPF/+xokKAPmf 687g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:to:from:subject:message-id; bh=BCEFClMxD8vLLETbCiQll9iuV7F9gIohvqbA9ahV2QY=; b=Q6lus6eBg5oPXzy6uIMk5cWeKJ2vLTMaFXCFBxEb97+rzUAnYSPUNZWiyfsXK3gJBx bHFGio4yxEwA98F+RXq3e9giGI46jeyUfJV0Ae79Z9kQchNrLbYskoFYTHm46oMQuF1W Jt7yadp0cj+DVS3ZR/Ko9jVv4BsIaRlY7Cd68JJ876ZQ20MrctRYZbkrGEPqGzekZF2g JC2ZXIQ0XKF9vle/c8ceTyyXFkbWWd8kxOUtS+3o+YMW7uWiCIJrOYBQUP1GK/v4fj7a BJcbDS9oBSLE1mbnY6DwKyiPHrNS73AFVE0bJtm1WVetetn3DJ7acdWDN39pVAyXE7e9 /tnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5si32803677pgw.454.2019.07.31.11.57.30; Wed, 31 Jul 2019 11:57:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729505AbfGaQqc (ORCPT + 99 others); Wed, 31 Jul 2019 12:46:32 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:43495 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726268AbfGaQqc (ORCPT ); Wed, 31 Jul 2019 12:46:32 -0400 Received: from kresse.hi.pengutronix.de ([2001:67c:670:100:1d::2a]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1hsrkA-0005jG-Fj; Wed, 31 Jul 2019 18:46:26 +0200 Message-ID: <1564591585.7267.22.camel@pengutronix.de> Subject: Re: [PATCH 2/2] reset: imx7: Fix IMX8MQ_RESET_MIPI_DSI_ defines From: Lucas Stach To: Guido =?ISO-8859-1?Q?G=FCnther?= , Philipp Zabel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Date: Wed, 31 Jul 2019 18:46:25 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::2a X-SA-Exim-Mail-From: l.stach@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, den 31.07.2019, 18:43 +0200 schrieb Guido Günther: > Some of the mipi dsi resets were called > >   IMX8MQ_RESET_MIPI_DIS_ > > instead of > >   IMX8MQ_RESET_MIPI_DSI_ > > Since they're DSI related this looks like a typo. > > I wasn't sure if this should be a single patch since it otherwise breaks > bisectability. I couldn't find any device trees using this yet. Yes, I think this should be squashed into a single commit. Other than that, the change looks correct. Regards, Lucas > Signed-off-by: Guido Günther > --- >  drivers/reset/reset-imx7.c | 12 ++++++------ >  1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/reset/reset-imx7.c b/drivers/reset/reset-imx7.c > index 3ecd770f910b..1443a55a0c29 100644 > --- a/drivers/reset/reset-imx7.c > +++ b/drivers/reset/reset-imx7.c > @@ -169,9 +169,9 @@ static const struct imx7_src_signal imx8mq_src_signals[IMX8MQ_RESET_NUM] = { > > >   [IMX8MQ_RESET_OTG2_PHY_RESET] = { SRC_USBOPHY2_RCR, BIT(0) }, > > >   [IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N] = { SRC_MIPIPHY_RCR, BIT(1) }, > > >   [IMX8MQ_RESET_MIPI_DSI_RESET_N] = { SRC_MIPIPHY_RCR, BIT(2) }, > > > - [IMX8MQ_RESET_MIPI_DIS_DPI_RESET_N] = { SRC_MIPIPHY_RCR, BIT(3) }, > > > - [IMX8MQ_RESET_MIPI_DIS_ESC_RESET_N] = { SRC_MIPIPHY_RCR, BIT(4) }, > > > - [IMX8MQ_RESET_MIPI_DIS_PCLK_RESET_N] = { SRC_MIPIPHY_RCR, BIT(5) }, > > > + [IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N] = { SRC_MIPIPHY_RCR, BIT(3) }, > > > + [IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N] = { SRC_MIPIPHY_RCR, BIT(4) }, > > > + [IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N] = { SRC_MIPIPHY_RCR, BIT(5) }, > > >   [IMX8MQ_RESET_PCIEPHY] = { SRC_PCIEPHY_RCR, > >       BIT(2) | BIT(1) }, > > >   [IMX8MQ_RESET_PCIEPHY_PERST] = { SRC_PCIEPHY_RCR, BIT(3) }, > @@ -220,9 +220,9 @@ static int imx8mq_reset_set(struct reset_controller_dev *rcdev, >   > >   case IMX8MQ_RESET_PCIE_CTRL_APPS_EN: > > >   case IMX8MQ_RESET_PCIE2_CTRL_APPS_EN: /* fallthrough */ > > > - case IMX8MQ_RESET_MIPI_DIS_PCLK_RESET_N: /* fallthrough */ > > > - case IMX8MQ_RESET_MIPI_DIS_ESC_RESET_N: /* fallthrough */ > > > - case IMX8MQ_RESET_MIPI_DIS_DPI_RESET_N: /* fallthrough */ > > > + case IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N: /* fallthrough */ > > > + case IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N: /* fallthrough */ > > > + case IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N: /* fallthrough */ > > >   case IMX8MQ_RESET_MIPI_DSI_RESET_N: /* fallthrough */ > > >   case IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N: /* fallthrough */ > >   value = assert ? 0 : bit;