From patchwork Sun May 9 14:47:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12246421 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,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 A6355C433ED for ; Sun, 9 May 2021 14:49:22 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 2554F613F0 for ; Sun, 9 May 2021 14:49:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2554F613F0 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=desiato.20200630; 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=JnIOBJQrl+ibly6nKpf83XUTukhSJKfnEvduCxDwd1s=; b=Zz0tnQRPqqKvzlGh1fa9YR71cN 4lKbQ7wiNAPZXZvL/eEF4Axms/4sZOton5ICB1PSMifFA5oc7EMhOwUfG2bmuSjuRK1UZEaAIxGoE NWje9lXn0pDHb9mFb1hH4f3piXAyzBry1YJcAprDk9NvbgjIXXEIZc20x8a/cYelAGf5LpYpbI++X Ra9BhPVITyPBN1AV8Eigkc4EyCPh8KQZPTUsoQJ9//wp+22EnavJwuITqTRq68vhMHEsc2Eb3v7rJ fb03Dn0Ss5TVJGMy/2qGswcSVjvanN33neRtTXRynIN5bwgxh2SJVdTLHx9y8QimMoqMrxT04IYrW RFEdX3Aw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lfkiP-00BlOj-5j; Sun, 09 May 2021 14:47:29 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lfkiJ-00BlNb-VG for linux-arm-kernel@desiato.infradead.org; Sun, 09 May 2021 14:47:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=FSRVWZ7GIbReA9g4c/2prcNkLdgqmfQrTkMKX6h/qVA=; b=oPvuNK27Hqcn0C7C5MUiKpItZm SpTVOAWgjjTkPDuYevr5adHvbIkTtgH0zAtMY8fligRppBVIXemXzWpbbfLBhtZZSlM/PwxFMpVr3 XQek2s6hIBf2rutcEnrkaq+dML5cBHLdKQK7tb6/XtZ4Xu5N8hyMKBAAesJWoe0zW+YW0P/Ophpnw U1sFDtck63fuWe5BiVzN5lW3c4qp13+18muQoozhAqzqyNExN1sgTj2g2Eo2oatcMHJnrvjzc+b/u 3F8NmX+AUtB6e1JXzlKf7e9qjJ90yTfPLASFYAczUSNzteY5oLbAb+M7nL52c3gjnst0cT78im4Xz NHfabLSg==; Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lfkiG-0080DS-KN for linux-arm-kernel@lists.infradead.org; Sun, 09 May 2021 14:47:22 +0000 Received: by mail-il1-x12a.google.com with SMTP id p15so11893449iln.3 for ; Sun, 09 May 2021 07:47:19 -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=FSRVWZ7GIbReA9g4c/2prcNkLdgqmfQrTkMKX6h/qVA=; b=Bja/ADAfzLTeWbF5+WWQXWC0r9vUbcZMVb6dN52pW++cBt6wnGodGpSH6GaPFpyn7T lcoWew0gZogOlp4BqXUeQtDj3R6nk3qCtVhUwyrAiNn3z6zK/rfCny1y/P3GVOll1OOq TaSxjOdUM86z22QJOVR1UwfUXfhZQtZbOs7IT4yfzVX4orbt2w29VNM2WJhBRetNAq2Y qMWIYlsYgDUs0F0BGJV54i3KUsQOKjdIUB1sRnh3uJGrH7fgOHEoa0uSua6x7pJorkPj K6EU5ACmu2BuDBb+9CSi8vYHJPCc8m4HQ8+obQ9dHUyYz29vDRlJqOugE3nDN1ea/UMK RmVw== 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=FSRVWZ7GIbReA9g4c/2prcNkLdgqmfQrTkMKX6h/qVA=; b=K6ODI8s18fXeC3TqF4/vPp7HBb2jtTm8LYSZX/9bDENWxs4GhS8uI92xu72yskpohY XH6XdioMG/lH5hjXAcBxp/pvyaoQRQAeyDdSObM091KpvR9YQJ+Ddu9RHnaP77tqnBcY DxWo9aR8Mc4E22qeLWHa/O9gL9yJtf7kcNy5ghWIZVg0ozZAsdHVhhwszxHxMog1KlVl F4x1H1VGjRHsaPvsMnBNY7egQWZRRaAZbrrBA9o5k5ukUaBGfHUlWe9RKwLwOy9mQyHH kN+6wu5/I6OUw5liM0FlA92ntx4BQZbQvRrDs5c0XtgEdbbogaIjNSpSNEBphd/ZztZK Tg3Q== X-Gm-Message-State: AOAM531KHc/Bf4vWeEjPUshLE+ftI3Xrr9+PU2eTDZRFJkbrGOkCfKD+ ZQUcrg4p0uRXKxfntGGoJF4nNA3Z5z/kgA== X-Google-Smtp-Source: ABdhPJweg9LyR0QQbfqA/W4RSSsOA8rOV1iBEU6RpZQX5L4K/p5mSC+97foKrD9msXspRilZC49qPQ== X-Received: by 2002:a05:6e02:548:: with SMTP id i8mr16599768ils.69.1620571638087; Sun, 09 May 2021 07:47:18 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:18a0:bffb:ecae:3d39]) by smtp.gmail.com with ESMTPSA id d4sm6281759ilg.65.2021.05.09.07.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 May 2021 07:47:17 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: Adam Ford Subject: [RFC 0/4] soc: imx8mn: Add additional power domains Date: Sun, 9 May 2021 09:47:07 -0500 Message-Id: <20210509144711.2192991-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-20210509_074720_744001_8A4968BF X-CRM114-Status: GOOD ( 11.89 ) 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 is similar to the i.MX8M Mini is some ways, but there are enough differences that require the Nano to have its own power domains in both gpcv2 and blk-ctl. This series is based on a few series [1] - from Peng and Lucas which updates the GPCv2 [2] - from Peng which adds the blk-ctl [3] - from myself which adds imx8mn to the GPCv2 [1] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210506010440.7016-2-peng.fan@oss.nxp.com/ [2] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210506041555.10719-2-peng.fan@oss.nxp.com/ [3] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210429211625.1835702-6-aford173@gmail.com/ Adam Ford (4): soc: imx: gpcv2: add support for i.MX8MN power domains Documentation: bindings: fsl,imx-blk-ctl: Support imx8mn soc: imx: Add blk-ctl driver for i.MX8MN arm64: dts: imx8mn: Enable blt-ctl power domains .../bindings/soc/imx/fsl,imx-blk-ctl.yaml | 1 + arch/arm64/boot/dts/freescale/imx8mn.dtsi | 35 ++++++ drivers/soc/imx/Makefile | 2 +- drivers/soc/imx/blk-ctl-imx8mn.c | 118 ++++++++++++++++++ drivers/soc/imx/gpcv2.c | 93 ++++++++++++++ include/dt-bindings/power/imx8mn-power.h | 21 ++++ 6 files changed, 269 insertions(+), 1 deletion(-) create mode 100644 drivers/soc/imx/blk-ctl-imx8mn.c create mode 100644 include/dt-bindings/power/imx8mn-power.h