Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6243524ybi; Wed, 31 Jul 2019 10:46:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbqmCUtbytYmUndElLl/Y/Qu/CQiCaSNeCTcQ4vfT+BalSjWJ8tesSOFJX7Z2/WvHMSyXB X-Received: by 2002:a62:874d:: with SMTP id i74mr47679571pfe.94.1564595183118; Wed, 31 Jul 2019 10:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564595183; cv=none; d=google.com; s=arc-20160816; b=akhpi7D7t3QMbmMQyth536EuM8xs3wHUkIUqBlZdd1ctnibNnki5F/9EoYh0vNpKuK kFgVTedxg2riT2O/G+8Al0wn7jx6r/OmwP5ZAXhLcc54jo0COq4fzlr3FesfT9ez0q8c g5xoqs4rSX9/fmw4z3WKzsfQOyRWBnKzLLRznSORQq3CA7roWn2Pt/6V6DNc0aW7x6QM IrLwfGR80eLdRWTURkOi5GlXWnoZ0bpvzF1suV7teCKwPrInD5WtEUgbIb+WlrSzhvNd jmF2E6u1ks4JEcLlnS8bRAAQCESuycF1FgyHxk3FV/XRKR8wmi4LJbgxEfJz4wEkJSpX 9GrA== 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:message-id:date:subject:to:from; bh=oktNQorrnwanWBM9NkjtMbWj8krt5nI62GuJ1hSFd5A=; b=ragNOc1MK62RqUnT161i2UMWKOd9z2SQiIrBRC2xxkm+21WR6mE5DAUSxxnGJXxx6V QGb8QeJsnuoXrsxAKjEJEwiBbtCQ2N0zSnxnNLz9miV1AgmF705zq3I5vqvb632PqpPp czBx1mSeaRuKYv3QQAB/I/dm9tpvUayS5YRrW/1tEsgGSr/JXBi8YCJF3+OjwOm3/vMm Ebv7kLssdL7ErfIMmpgLLpSmnjChsdQXEdcZ36yWPj2wPBOYh3fw8uGE/CY0CqLXt4XD epPbFb51/eglrKvjv9VBfbJItpaHc4x0+lBiU/7BrZseq1Nktooy5apKiGo6wYnp4pyc 5yzQ== 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 d1si18418654pgn.512.2019.07.31.10.46.07; Wed, 31 Jul 2019 10:46:23 -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 S1730317AbfGaQnh (ORCPT + 99 others); Wed, 31 Jul 2019 12:43:37 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:55476 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728795AbfGaQng (ORCPT ); Wed, 31 Jul 2019 12:43:36 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 3E805FB05; Wed, 31 Jul 2019 18:43:34 +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 DuVvq0P8aW1u; Wed, 31 Jul 2019 18:43:33 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 6F50746D8B; Wed, 31 Jul 2019 18:43:31 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: 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: [PATCH 2/2] reset: imx7: Fix IMX8MQ_RESET_MIPI_DSI_ defines Date: Wed, 31 Jul 2019 18:43:31 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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; -- 2.20.1