Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1770808pxy; Thu, 29 Apr 2021 14:18:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcN7A++RV6FLB76Hc6OCcIFdoEXlQkPWNrWaHP/2dm+nFQIv9kqlMVYGc/ekcvVZS946uJ X-Received: by 2002:aa7:da92:: with SMTP id q18mr1969285eds.142.1619731115138; Thu, 29 Apr 2021 14:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619731115; cv=none; d=google.com; s=arc-20160816; b=dY9+C2ad8BuUL+HlUKIQo2cCKOlbPJGjnVodtABkUUEvTARVQPPHMy+mHNQtA/W+6y GKY3OE9KMhUcIrZAvzDOntAsSgbgsLJ/zwWITjssX97u58uAmGLQSJj3yUXumKPQ1+rF AmosIQViRF7F00XX+qCnYgHoECWMDega61RKQrFEOttSsQMxhAgDZ55oCpa8bJx9Woyg 1+l02iDncqCxbbhertCjdEtJGMbxW/TKFQSQQIoVBkkXzP8PyilV9nLsnNTxc7rFZVWN uL+iOt43Fh+/6OPC6/ZJXKzQqdj2MQzioMua6r2uR6wGqstcDIYa8rkQbqNmmSWEveTO WMPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2yoj5H+QCx6bc+UM4nyFoXNp2IJ9VP/R50NAmY/87kc=; b=VaHp2wRQggqzBQtUVHi85O9KhX4kl09ojs5TMpY28RdSjzRkjxwTNwBnSoZCTiFF4O aeXuTelHazQyE2HBOahRuDZHYztEWTd6R18P7baNimRi9RN2+EgR/cxQfnCCzVeEUhno z2QRzQXWyLoaMELeWwhOvglH0PT68Cxzw9eA7zm1otHgcwMtaMksP3UNTk5NCH74A+pf EoPJi4L9oOuaSZbPTRalHR8l3tuyOn0T7fH3CQ3o4r7J6HF60T52YBmuL95FBF3BVABk mSB568utYfFhxvNnWDYywsYRgW7eGTsLBVT1/ihWNMnEjXk/AjtBHm1EAir4ADEb89qE PFdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NWVvCJOU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si4109235edx.492.2021.04.29.14.18.08; Thu, 29 Apr 2021 14:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NWVvCJOU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237144AbhD2VRc (ORCPT + 99 others); Thu, 29 Apr 2021 17:17:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233284AbhD2VRa (ORCPT ); Thu, 29 Apr 2021 17:17:30 -0400 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5407C06138B; Thu, 29 Apr 2021 14:16:43 -0700 (PDT) Received: by mail-il1-x12f.google.com with SMTP id c15so7608777ilj.1; Thu, 29 Apr 2021 14:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2yoj5H+QCx6bc+UM4nyFoXNp2IJ9VP/R50NAmY/87kc=; b=NWVvCJOUY1TRFUi91NRJDzxsqZsP5JqiA4xLNNf0Cj0VTaU6+fzqazEw99O02ZZCH+ Yq+PIS0TfzCVxY/0QdzsgD1moqX/0zVytssSbEM5iXa15IPNGNne8VvNA7hhcjMYSiv0 JS4YSKqQ6+8lvil6ImnNAQ6wFh0Myq37xvXzIwafR94Wd1ATGXfQezv1pu3WhondW3tl XfdBe5ukIsx2/uzaM0Cyt7D3ikCUhNrMDXgopU+jEWPl79XuBHgtg4lVDkyt6Qr/VfBu AIn6Q6+yypGAi386pl5IXCIuCGiB/rCv752p4/o2cYiaf7/M7ZZvqkcOuJQ+vIVYa/OR M7uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2yoj5H+QCx6bc+UM4nyFoXNp2IJ9VP/R50NAmY/87kc=; b=gjK1ygQWra6rRD6lrOWV+mrCmUsmQ4McNvGdZsQdLAhGq7eZImWjeT0lDHXCWmusR1 9UbO7/Bpng9tgh9Fbapon/FHYelg1pcsZAlSZ8tzpRA9OvhIe/29cls0lLM6DFa4QEs0 2PgeO70N/Uwta3SLme2doj8vLZf0Wvnw45cn9lxkHchM0NzWiXGuHtBC0EkNZP2qHBwf cECoRmdkfZuwK/7+akoqvbF36hPxErN7bnHuy0ThspmXVXwq8qj+6FBRVXdS6mkDNiDL 7tDpxdLahZ2BJ+1SbjIgo61GIwlCglrqfjCr0ipEgc8+KVhv41hovjzzFWmZxdBNG71D ZnJQ== X-Gm-Message-State: AOAM531O4Em62hsdaVMi4t3/wK+P7nU2FFp87nnBophFEKJ/mh+QAMTP HXTW/uHywNZ5aM/mKyIjYXA= X-Received: by 2002:a92:cec3:: with SMTP id z3mr1368665ilq.179.1619731002946; Thu, 29 Apr 2021 14:16:42 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:8a74:d2ad:27b:e619]) by smtp.gmail.com with ESMTPSA id q11sm1808076ile.56.2021.04.29.14.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 14:16:42 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: peng.fan@oss.nxp.com, marex@denx.de, frieder.schrempf@kontron.de, tharvey@gateworks.com, aford@beaconembedded.com, Adam Ford , Krzysztof Kozlowski , Rob Herring , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andrey Smirnov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 1/5] dt-bindings: add defines for i.MX8MN power domains Date: Thu, 29 Apr 2021 16:16:20 -0500 Message-Id: <20210429211625.1835702-2-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210429211625.1835702-1-aford173@gmail.com> References: <20210429211625.1835702-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The i.MX8M Nano has a similar power domain controller to that of the mini, but it isn't fully compatible, so it needs a separate binding and power domain tables. Add the bindings and tables. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- V3: Rebase on series starting https://lkml.org/lkml/2021/4/29/72 V2: No change diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml index d3539569d45f..a87c44c15ace 100644 --- a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml +++ b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml @@ -25,6 +25,7 @@ properties: compatible: enum: - fsl,imx7d-gpc + - fsl,imx8mn-gpc - fsl,imx8mq-gpc - fsl,imx8mm-gpc diff --git a/include/dt-bindings/power/imx8mn-power.h b/include/dt-bindings/power/imx8mn-power.h new file mode 100644 index 000000000000..102ee85a9b62 --- /dev/null +++ b/include/dt-bindings/power/imx8mn-power.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/* + * Copyright (C) 2020 Compass Electronics Group, LLC + */ + +#ifndef __DT_BINDINGS_IMX8MN_POWER_H__ +#define __DT_BINDINGS_IMX8MN_POWER_H__ + +#define IMX8MN_POWER_DOMAIN_HSIOMIX 0 +#define IMX8MN_POWER_DOMAIN_OTG1 1 +#define IMX8MN_POWER_DOMAIN_GPUMIX 2 +#define IMX8MN_POWER_DOMAIN_DISPMIX 3 +#define IMX8MN_POWER_DOMAIN_MIPI 4 + +#endif -- 2.25.1