From patchwork Wed Jan 1 16:31:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Trimarchi X-Patchwork-Id: 1002 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CD72B3F03F for ; Wed, 1 Jan 2020 17:31:39 +0100 (CET) Received: by mail-wr1-f71.google.com with SMTP id 90sf20452732wrq.6 for ; Wed, 01 Jan 2020 08:31:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577896299; cv=pass; d=google.com; s=arc-20160816; b=wmKRkiuQsjqDg3ZudKxsCLxjzlILkRXob0Y1WdcsyCTWnbSWxTriOup9f8WKrlOObx BPZVgavcYoBHF/sFmPrKb6XEFMbbemZZYq6Ryjlyr198OcubJYxfJ1XY4+D7C9IgJESN c1pR0F/cc8rFTBT3koItWImilWNhl6gJ2bHX7mt4A0/IaZkdKoOmN7+YmKipu7V3Ck9W ox5aIIXZW3ag5+pbCW6hQSSNNroSIl2gWEVVBLGUl6TGpJVpgILQH1TlcLuIkdadWYDq XNdC6Qp3WGDloFqaQ15ZEF6Vu8TltIFHL64tEy+S5Wap5ZUKqXl9c6jq6FjMKjdClcJd PlRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:message-id:date:subject:cc:to:from :mime-version:dkim-signature; bh=GsSCfpoAz6s2BiZfD9ruW2FQRFoNahYc7UH/S/Yv+kQ=; b=oCQcHrLp1dwove8Sh+YbMK8olTAk3jqlud/Koz4xzB/jh+uiYjWjSPUTrcxyidXuoO vu7O7aP5kntnq81w7rxQ4w86aWwad6obdPJG03NR7turbPkcqIh1G3J2C6a6BfidtnAq pOOHISuCYWeCi3C4BzUyHWS4186mQgl+UskmOM67n4HA26OcvG2PV4i9Y6rdtX80u2xW WXocsedNYWjmq0bCPD+XvowRt5ejth0SIFi8+/BO/PYVOdsw0r3pNJQS7LA5UFx2UeO8 fQamkzwxdadGkDRAW/xn6mGDXRjxjk5iQFy8o8OEZpVA5ghFaei3Ujbyhd7nHx5Gqvua y+aw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HWdlEBR3; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=GsSCfpoAz6s2BiZfD9ruW2FQRFoNahYc7UH/S/Yv+kQ=; b=gNUt2ph0fH4lvcatzqk962bnR9+PnNqmvnv+yulSmfTeQfeuCDwcKzNmkjTp4WtTh+ UEemZDjlI6n9wgFUZR6yHp6eVbmgvzomM64SFsCbF+rjGQXAfnmpiEBpHSu87BMNTgc8 etvqYlVzkWOXzDIFDfI/w26pVvE88iB8RI6F0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=GsSCfpoAz6s2BiZfD9ruW2FQRFoNahYc7UH/S/Yv+kQ=; b=ABHbN2X0GTxszN3KBIODxBWF/K2OrhWiQXDmOeIgGDIL69DX1+nQJD22LF+SSzUrVR 4w2tS6wAa6bGsH+P38S/TieDEvabl22nY+djEQ1BjTO/y23WO6OmX4zIqXMRBT9d05bE RGnJYQaTb/T0Q2+PPZ32VbqLGlIp+rRVDxwqFw7FmLwRHZCR5Cf2ipBj+ovJIUpaWOlb VOpPjbbWQ/sc5nH7iT4VFjQlcRtdVudF9tqPscsTdAtje1iHN+wCnMbkfvFLT8QecUY0 8dkh9jXvxXgSwO+fSwpvwwXS7h15sYWIP3Qe5hVVhRjAkbNCEV/nWYr8dt3Fx45Vh8Ws rKMw== X-Gm-Message-State: APjAAAUl5mggW4ASFS2xdh7n8o0WYnn6OJyNmBVyopk7cjO40VfKyDdB t64bPlLL2EgT6wbtcj9sD4Ed/dO6 X-Google-Smtp-Source: APXvYqxJsOIfqPNhzpN1zR4PQLsZ3sytaJWs4lcNABv2Qknv8eLzHuN8AFw9QFomzHZmIb/Dc/H6iQ== X-Received: by 2002:a5d:5345:: with SMTP id t5mr81332561wrv.0.1577896299492; Wed, 01 Jan 2020 08:31:39 -0800 (PST) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a7b:c452:: with SMTP id l18ls1367485wmi.1.canary-gmail; Wed, 01 Jan 2020 08:31:38 -0800 (PST) X-Received: by 2002:a05:600c:2318:: with SMTP id 24mr9920363wmo.48.1577896298802; Wed, 01 Jan 2020 08:31:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577896298; cv=none; d=google.com; s=arc-20160816; b=MKcyaIhIfbE5By9XQpFd3a1eAI3rXAtOhglZ9lyuXqu2vV3VE/Y6n8GMx7qIvm+4eb 8d5v8FHTyAlOlx6eb4oFfiFD5y/NZohgsSfDW6UH+Uu9bAO0X5ouZt4h31uucw/imFhw gTt4Mg5ZJG5PU9z+4H54v5XUZ6MWJc2qMjrTV/A2jbeX6FK5sMCIy5dOm5aNwNLgVEDx GH/yQZi0IWgTIzAo9zXQCejv4F7/JbbYmikk5kAMsWyyD6NGlGMmycsvgthIJbVqS8QO GP5hAyfee5BrWhZni7F/zYwA1L/Ma1bzE9ZrSxb4+qbnu20JkYwfw8SyJjGcMv8rODV3 z07A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=iN3ER8YBL77cDQ+F7+peYqBn5NYdW4aIpShdgc/0S5s=; b=HKLz4Der5TSXy03vkX0CHmO/p89FAmWm8/z2ONEWFXhmA0OVNII4D5L41w9IM5Bsdl 0O7AE9b1apAYw+X8JUjh8cQiFLq0DL66tyOc7/j45pMozjbOZNLxCQE2OPdexcmk9Ygc cXMzXYPXWk8biWapI9kPxdNHeSdUTtJ51Q2TzzkeOElXI5/D54uzEFd+DqyDA5eoH2MY Qvc1MKdM39vSMO6DrUTEIi+1srWMuqLC+pIllzMT0sWkLhkDoLVTtWDBzMHGl2t5NxwM v7tUwrPAxlvtjeMNlYKy9qUkW3DXinRQgFxz+YZJdy2Ns/TqeJbkcPJh/YzbCWlQ+QVn YK0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HWdlEBR3; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id u11sor2564189wmd.11.2020.01.01.08.31.38 for (Google Transport Security); Wed, 01 Jan 2020 08:31:38 -0800 (PST) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a1c:5945:: with SMTP id n66mr9505080wmb.98.1577896298391; Wed, 01 Jan 2020 08:31:38 -0800 (PST) Received: from panicking.lan (93-46-124-24.ip107.fastwebnet.it. [93.46.124.24]) by smtp.gmail.com with ESMTPSA id u13sm6108580wmd.36.2020.01.01.08.31.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 08:31:37 -0800 (PST) From: Michael Trimarchi To: Shawn Guo Cc: Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Fabio Estevam , Rob Herring , Mark Rutland , linux-amarula@amarulasolutions.com Subject: [PATCH 0/3] Add initial support for iMX8MM power domain Date: Wed, 1 Jan 2020 17:31:33 +0100 Message-Id: <20200101163136.1586-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HWdlEBR3; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add some minimal support for imx8mm power domain. This let my usb otg2 to properly work in host mode. The patches and the description are quite similar to iMX8MQ. I follow the same logic. Michael Trimarchi (3): soc: imx: gpcv2: add support for i.MX8MM SoC irqchip/irq-imx-gpcv2: Add IRQCHIP_DECLARE for i.MX8MM compatible arm64: dts: imx8mm: properly describe IRQ hierarchy .../bindings/power/fsl,imx-gpcv2.txt | 4 +- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 31 ++++- drivers/irqchip/irq-imx-gpcv2.c | 2 + drivers/soc/imx/gpcv2.c | 110 ++++++++++++++++++ 4 files changed, 145 insertions(+), 2 deletions(-)