From patchwork Thu Oct 22 15:08:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11851491 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFA98C388F9 for ; Thu, 22 Oct 2020 15:10:04 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 747FF24630 for ; Thu, 22 Oct 2020 15:10:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OhVMFJbR"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KnAMn+Xp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 747FF24630 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EgZ4m9agxldP1EGAun3DFjDphkjiYv2eESKNoxwUULM=; b=OhVMFJbRARWLMMiA900UjXyTc mN2G32LfwP9k90Kf3D1PuVuH8e32sYRuTUx6SMfkX/MENh6hrO/Q4Y0o2I6jr++FX/uzR8XS1ir8K XO3zDKD3ToY2pilr7rUzM9gGrVY5Bf5sMJ5/+gzIUhiN5jrvDXpLm7ACIOGTbuNf+EoxagjhPcVdZ KISyOMYNImIH/bWwKbVH1HN0GX10H2EPzPMOVZ27w7iRS25LD4S//nGt6hKs4kj9kNLLJHbnVCSWA YhYFiPfdinkpvfeZliNf9ishhk2V0YAeao5DF29NRq6v+H8N3zQxgdi3lrYC2q/cpVF84xMyTwKJ3 66BfMHfqQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVcCe-0004cl-P3; Thu, 22 Oct 2020 15:08:32 +0000 Received: from mail-il1-x143.google.com ([2607:f8b0:4864:20::143]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVcCY-0004Zr-EK for linux-arm-kernel@lists.infradead.org; Thu, 22 Oct 2020 15:08:28 +0000 Received: by mail-il1-x143.google.com with SMTP id p10so2029667ile.3 for ; Thu, 22 Oct 2020 08:08:24 -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=QFpFjBeW2UJa8NxmOhUDnOAN1N87W5tmSfgqtGWazXE=; b=KnAMn+XpJ4JRHVFA8cVoQh+5s/lejE5yw9P0rqisgRL5PAnMlVNjAmb0UQu7CFcAB7 dDk6c5Gt60SHJMTvJTd3XwMk9fbA3YAadACsJ5l5DiSQ81XJnHeBB5dAB3y15rqS1Stf WW6hwV5vPc7pMYAyHepoaNUgmOlH8vpIZYw3npHkr1VP5DVD+5Ktyk4F7Febf7hJD0gR nOYFPnWq0H5Wyc+3NSFJdDx03lMs4Q277gBWIKs23m6UOUOM+0OPgG1NsxB3IA++jo0b uDFXFrJRYqne7eehntZp3rvEqlyknsI0NuwTGgP+CZyhMtEoaTAGHthglLPUrZ6HvrzF GXkw== 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=QFpFjBeW2UJa8NxmOhUDnOAN1N87W5tmSfgqtGWazXE=; b=muj4EVD4i+5odjU5LcwD+QC4+tnGiuSHkgCZmzKp8XTFgRlWohiaO7TQjLe/lyVJxo Z7MiWbqMHGZIQSZLFNvmnNIQIGSexLcjy26yShtxTeO3Xz6KpEcUFf6uRNWEJjYwZnMo vIgLcvy4TNy5cRgm/bBgUVo2RLtu7BJ9JFwLAgODl2T3N2UoZFBsmfe85rkr2EjeGa9m aUv44DRnaLE0yqeG3x418CeKiy1kaLzFudBWMzTTezVjZ1Wi2yVfdYugBzOreXMzkopj EqryG4c3UyMAoWxTupdjUuCiGSKbYX2CdOXGcnQd36O9TOv+1fAyK/AEWBchgAjjvDaX A9Ag== X-Gm-Message-State: AOAM531sV4cPh2kxypUm0TJ0u2FrXHnd4buvNcpxw3yLdAOeGg+O0pJE Hnu3+bErR+d2JWPivWVPKoaQyxyG3jkpDg== X-Google-Smtp-Source: ABdhPJy6SQVW1cYIyZ96kMBa7w0PCrmCPl3uwU0XrP84PxWIyts64xm0/gApfT2P0FvuW184ZjboMg== X-Received: by 2002:a92:d390:: with SMTP id o16mr2033038ilo.213.1603379303242; Thu, 22 Oct 2020 08:08:23 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:527:767:b750:2d3c]) by smtp.gmail.com with ESMTPSA id y6sm1233816ilj.59.2020.10.22.08.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2020 08:08:22 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/4] dt-bindings: add defines for i.MX8MN power domains Date: Thu, 22 Oct 2020 10:08:04 -0500 Message-Id: <20201022150808.763082-2-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201022150808.763082-1-aford173@gmail.com> References: <20201022150808.763082-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201022_110826_506631_0D9C591E X-CRM114-Status: GOOD ( 13.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marex@denx.de, devicetree@vger.kernel.org, Fabio Estevam , Andrey Smirnov , Adam Ford , Sascha Hauer , aford@beaconembedded.com, linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , l.stach@pengutronix.de Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml index 8dd86f67c210..e71a01a541ad 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