From patchwork Tue May 25 01:07:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12277715 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=-8.7 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,SPF_HELO_NONE, SPF_PASS,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 50781C2B9F7 for ; Tue, 25 May 2021 03:17:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 13CC761417 for ; Tue, 25 May 2021 03:17:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13CC761417 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Cdf2bx/Lwh1wWgzDFJJ0d51mn1SBVzVjgrhupUTUts4=; b=Ld3xxV9lBBcbSB pXkuC20sDiUJYswC99M0tDq69u/8zWqWyRar+3iX3QrttvxZcQn4mHdAEdrcx8vz77AUdR0+d1Mur ilJ+5qdhrPDyGRlKZpXcvz7pMKyyiNdl0Mj7OW4loWdk36mqQRQ+ty/v/Ymfx0MitWuEal7fvjzlk yJHpgean44ee3HbBeS7rPBseLVLrU04NR8VcfCFpl6Tf65/K8uzZfLMWf7nQZgkhUh1oXH6aVtfUt 7MW7uRqF/twDBvSZIf70afl8+x1SaDB9zByyh9NH2j9qzNy9tWY62+lq5YjJA3hJgoifKPSJDfD4c LF8oc/cNwjnYMVvOi0Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1llNWa-0035gJ-9O; Tue, 25 May 2021 03:14:33 +0000 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1llLXq-002iAf-UY for linux-arm-kernel@lists.infradead.org; Tue, 25 May 2021 01:07:44 +0000 Received: by mail-io1-xd2b.google.com with SMTP id n10so29787745ion.8 for ; Mon, 24 May 2021 18:07:42 -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:mime-version :content-transfer-encoding; bh=JU66pV3thDPdC26eaOb27qnzlLR2FWVox82N0CzJfSg=; b=kYlhMd4SJod98c1qttbLSCrqyJFZ/o1Tkm5mzudMOofWsbvmnfTfyfdYskdrsUaPZA dP5c6BcPJ8ihIQz0axJO9b/lPjGTGENXycgzVBXUFzHdsK0BehITXV0p2SxukTllW1r3 dlChkPFQTPF2O4CyGhsN8fdKId66k7mbDnthzIZl/wFBydOvdj9CUSswhk05vs43aPI3 6MbQMdQm4ph9hi+THSOfqETqD9h5IZMCz4AQysb3PGjS3xHF36TSaTyKPvbCrQA76ipY 03XNYUfz4XAR4ubXaz1I211b1UZWN7+iC26CxTmp9XvZYsPZxzg9xfLcb/NSr2Ui1qyg in4A== 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:mime-version :content-transfer-encoding; bh=JU66pV3thDPdC26eaOb27qnzlLR2FWVox82N0CzJfSg=; b=rLHRl8imKQyqlZZr6dt69BZcQNxVXzK3Y5///m8KzTRvLlqz8Jev/A+JljImrID7ob 3M2685KHRMFD1eMTck15TFLGcP/R1nHafJNEbdOlSxOaxjoxafHYBgFfj0N2Rae5jW29 pDV2j1pTgT3Gm9E1bjPRzEVzBoIn1E1x3iVvrWYk/29yNDh9N62HopW2PDUygk4gGi1P tVHPv1wXbfUEv7qBw4dWEIGpMEjyvdu/I2A7YUuRCDuf8mKspkXPREU++Y+r6qOR0FVH 2ANLCAJFCe1Ewc5X3Txnf2lTVW26P5/cR89B/t/o6QRVtJCer/Wt5ZoWKIJsz8ZftE3Y fI9g== X-Gm-Message-State: AOAM530Yze9o7pXRN3xl0M9wqZc0Q0b6WLbbe2PPP+dn80Q0odx1Ivzx vk5ogWwOKs8Nn8sSWx0qXTg12uu9mAfVrjfA X-Google-Smtp-Source: ABdhPJywoHgWUzuR1qqWW24UII9tVtEqcmzNwgWo5GmWuIRbdFmztqayYXi4y/8cKGud3m8hAqcQCQ== X-Received: by 2002:a5e:a604:: with SMTP id q4mr18771953ioi.178.1621904861481; Mon, 24 May 2021 18:07:41 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:599b:b8c7:b3a9:9f1d]) by smtp.gmail.com with ESMTPSA id w20sm12318413ilj.16.2021.05.24.18.07.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 18:07:41 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , 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 0/5] arm64: imx8mn: Add power domain and more peripherals Date: Mon, 24 May 2021 20:07:27 -0500 Message-Id: <20210525010732.115562-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210524_180743_038851_7EF03085 X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 i.MX8M Mini, but it's different enough to require some changes to both the device tree bindings and to the power domain registers. This series enables the power domains which don't require blk-ctl and a few peripherals that also do not require blk-ctl. V2: Rebase on Shawn Guo's 5.14 for-next repo where the PGC for i.MX8M is alreay appled. Adam Ford (5): dt-bindings: add defines for i.MX8MN power domains soc: imx: gpcv2: add support for i.MX8MN power domains arm64: dts: imx8mn: add GPC node and power domains arm64: dts: imx8mn: Add power-domain reference in USB controller arm64: dts: imx8mn: Add GPU node .../bindings/power/fsl,imx-gpcv2.yaml | 1 + arch/arm64/boot/dts/freescale/imx8mn.dtsi | 62 +++++++++++++ drivers/soc/imx/gpcv2.c | 93 +++++++++++++++++++ include/dt-bindings/power/imx8mn-power.h | 15 +++ 4 files changed, 171 insertions(+) create mode 100644 include/dt-bindings/power/imx8mn-power.h