Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9788225ybi; Wed, 24 Jul 2019 09:58:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkzBI1SSG4ltWPiVshraitxyfUkw5lBQjOG4gbEJf1iuF5r5w14wf26X0SDGkFVym6m7nB X-Received: by 2002:a17:90a:1b4a:: with SMTP id q68mr88350515pjq.61.1563987527919; Wed, 24 Jul 2019 09:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563987527; cv=none; d=google.com; s=arc-20160816; b=K8ij7XQ116+F1nH2XHeYwDPovHYd7sMBwukVEIJgzpmwk6Jw2FMTj2Ck4gD2rNsRIH 29ivuo1JYI8yqPb/VNJoD27BJCaUlnBYPorkYQm+R+Gd5cwVpQYAzM01L9D+JsXJk7ok Wr5zmFlBfL0CMCGzOMQ8aueUJYGoMbayA76200AftDau6YNbjDi+YvLiSRmW3Kj4ecXZ mhGnd3G9wtB82nGQT54sO24GWdP8/CI7Cr4yxMIRAsdezd7Ox/+zz6LPbVip12dhtJJd 1jlz7tqoakRXlhUYOdh0dtK2cUQKYUpXvXLN4dP9OJ5vF/7ty980rbQTVC3YzCkdpLaM +BJQ== 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=M7bBVS3H/mU80yQ/VNY5LhPbpAE4Y18HjGyYSLq076s=; b=SyEYhZwFnl4JGuFubugJsvoFb5XQnJNYNx0cIaw8+oEia9np2MgcQdMgRut0p/+2Op vbg4SQ2TZs7GJu9B+rwdwUY9w5qDqJ/ncUc5PuKx/v9Wkh+h5b652KsPFUk5QVbvda1B V8hABay1MviwYvZlPSHctm2EIVYO1r27q2WBKSs3ceVUNuMlDXZ8IQRSiCkr9K0zz7sb ltLZx4oG/JpuOVwqS1iIngyu2hWQxPnBK1LszOIIUxuv3Eiub1X9NmYR17i08HJD1oo4 p4tYXzdi8NikjyWYALWuVUoZP21bi6QJWOCb0rvB3xh0kyoib7B2NxOQp8YLMs8BaOIf 47MQ== 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 i4si13855404pgk.8.2019.07.24.09.58.32; Wed, 24 Jul 2019 09:58:47 -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 S1728591AbfGXPwg (ORCPT + 99 others); Wed, 24 Jul 2019 11:52:36 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:33564 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726371AbfGXPwd (ORCPT ); Wed, 24 Jul 2019 11:52:33 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 64C62FB02; Wed, 24 Jul 2019 17:52:30 +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 1TeSWBVSsdkI; Wed, 24 Jul 2019 17:52:27 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 010B0416CA; Wed, 24 Jul 2019 17:52:26 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Lee Jones , =?UTF-8?q?Guido=20G=C3=BCnther?= , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Robert Chiras Subject: [PATCH 1/3] arm64: imx8mq: add imx8mq iomux-gpr field defines Date: Wed, 24 Jul 2019 17:52:24 +0200 Message-Id: <3b85102dfe3e358bbdde359e0a3a5f8e121fd691.1563983037.git.agx@sigxcpu.org> 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 This adds all the gpr registers and the define needed for selecting the input source in the imx-nwl drm bridge. Signed-off-by: Guido Günther --- include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h | 62 ++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h diff --git a/include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h b/include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h new file mode 100644 index 000000000000..62e85ffacfad --- /dev/null +++ b/include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h @@ -0,0 +1,62 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2017 NXP + * 2019 Purism SPC + */ + +#ifndef __LINUX_IMX8MQ_IOMUXC_GPR_H +#define __LINUX_IMX8MQ_IOMUXC_GPR_H + +#define IOMUXC_GPR0 0x00 +#define IOMUXC_GPR1 0x04 +#define IOMUXC_GPR2 0x08 +#define IOMUXC_GPR3 0x0c +#define IOMUXC_GPR4 0x10 +#define IOMUXC_GPR5 0x14 +#define IOMUXC_GPR6 0x18 +#define IOMUXC_GPR7 0x1c +#define IOMUXC_GPR8 0x20 +#define IOMUXC_GPR9 0x24 +#define IOMUXC_GPR10 0x28 +#define IOMUXC_GPR11 0x2c +#define IOMUXC_GPR12 0x30 +#define IOMUXC_GPR13 0x34 +#define IOMUXC_GPR14 0x38 +#define IOMUXC_GPR15 0x3c +#define IOMUXC_GPR16 0x40 +#define IOMUXC_GPR17 0x44 +#define IOMUXC_GPR18 0x48 +#define IOMUXC_GPR19 0x4c +#define IOMUXC_GPR20 0x50 +#define IOMUXC_GPR21 0x54 +#define IOMUXC_GPR22 0x58 +#define IOMUXC_GPR23 0x5c +#define IOMUXC_GPR24 0x60 +#define IOMUXC_GPR25 0x64 +#define IOMUXC_GPR26 0x68 +#define IOMUXC_GPR27 0x6c +#define IOMUXC_GPR28 0x70 +#define IOMUXC_GPR29 0x74 +#define IOMUXC_GPR30 0x78 +#define IOMUXC_GPR31 0x7c +#define IOMUXC_GPR32 0x80 +#define IOMUXC_GPR33 0x84 +#define IOMUXC_GPR34 0x88 +#define IOMUXC_GPR35 0x8c +#define IOMUXC_GPR36 0x90 +#define IOMUXC_GPR37 0x94 +#define IOMUXC_GPR38 0x98 +#define IOMUXC_GPR39 0x9c +#define IOMUXC_GPR40 0xa0 +#define IOMUXC_GPR41 0xa4 +#define IOMUXC_GPR42 0xa8 +#define IOMUXC_GPR43 0xac +#define IOMUXC_GPR44 0xb0 +#define IOMUXC_GPR45 0xb4 +#define IOMUXC_GPR46 0xb8 +#define IOMUXC_GPR47 0xbc + +/* i.MX8Mq iomux gpr register field defines */ +#define IMX8MQ_GPR13_MIPI_MUX_SEL BIT(2) + +#endif /* __LINUX_IMX8MQ_IOMUXC_GPR_H */ -- 2.20.1