Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7059820ybi; Thu, 1 Aug 2019 02:36:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8m8i1XBjlphB/+rgfMHlYL0ej0JekLxu5MU47PdqMxTEW+jQuHgrstBXlK519odYEjRTV X-Received: by 2002:a63:5b52:: with SMTP id l18mr118443913pgm.21.1564652168391; Thu, 01 Aug 2019 02:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564652168; cv=none; d=google.com; s=arc-20160816; b=nyhWIESflkY+x1cyjnpMo0yNPUNaLCX6bAyNQsF1OBFb7EXFVzotj64lDR1GQFTcXI 1hVatp0FzZ2JuljJ894VWikWnBwMXu3angtV/Hj5fW6poQytJ73soZ8TAhch8YK+hh4h Byietjm4tZHyhUTkQcIb/+Gd4OB2ZP6Qb60OWN1Kyv24eJgi0UN41VfrRL8gZoefhDiv fZFqe3yJQirqTOOdUdIjbu9Dem+NnpPrPW1MscYBbigT+i+yhPfDd3MY2N9no2tPSXSK oThHd1hTrQrHuOkAYgtxPwbdgP/egZesywOSCPqM2UlAyjskatmIaeuED6Q3uogcyt1R zBcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=sRVaDiQA4YE5yJyhtXvBBiiro4w/TSLvmReaTb/6LpY=; b=xLJbj9X0woE6NyLfGxS/x3bxZRAwHBST36ygtR0MLuy66TxWALJWiJ07F+E6umCvFq pu6qkDzX0aJVMPlRDlLbRSoTUWrIDZifU3/A0Pbt6lpaToUuHqygHmMQq+4pOu8yuroB 9ytmPW20+Y46hQACiDzkTUbJeuLcos3PuXVVX8ZZQ+OwHgiQdI5TxFAX901TvIpbpFHq 3/acjh/Vvne7MtWIM8CQAyfP32AzW0wO2BVD06h7pLAsnNtF99DiarT8ym5U/C2ncP0P Zw9k1Rxyyv4upyGLZjzN2WJKyvmSz73lSRGPOjjEvKj36upAF2XH8iXtcftsxK1kqHmY Eq2g== 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 f20si37563417pfn.166.2019.08.01.02.35.52; Thu, 01 Aug 2019 02:36:08 -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 S1729345AbfHAIWM (ORCPT + 99 others); Thu, 1 Aug 2019 04:22:12 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:43968 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726381AbfHAIWM (ORCPT ); Thu, 1 Aug 2019 04:22:12 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 559D4FB03; Thu, 1 Aug 2019 10:22:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Gg7twQCHvA7; Thu, 1 Aug 2019 10:22:09 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 84CBD46DEA; Thu, 1 Aug 2019 10:22:09 +0200 (CEST) Date: Thu, 1 Aug 2019 10:22:09 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Lucas Stach Cc: 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 Subject: Re: [PATCH 2/2] reset: imx7: Fix IMX8MQ_RESET_MIPI_DSI_ defines Message-ID: <20190801082209.GA7524@bogon.m.sigxcpu.org> References: <1564591585.7267.22.camel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1564591585.7267.22.camel@pengutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lucas, On Wed, Jul 31, 2019 at 06:46:25PM +0200, Lucas Stach wrote: > 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. Thanks for having a look. Sent out v2 as a single patch. Cheers, -- Guido > > 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; >