From patchwork Sat Oct 24 16:20:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11854877 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=-6.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no 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 231FEC2D0A3 for ; Sat, 24 Oct 2020 16:21:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE2292087C for ; Sat, 24 Oct 2020 16:21:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OOgIiGsp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762038AbgJXQVG (ORCPT ); Sat, 24 Oct 2020 12:21:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759673AbgJXQVF (ORCPT ); Sat, 24 Oct 2020 12:21:05 -0400 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCA48C0613CE; Sat, 24 Oct 2020 09:21:05 -0700 (PDT) Received: by mail-io1-xd44.google.com with SMTP id u19so5633321ion.3; Sat, 24 Oct 2020 09:21:05 -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=wWyoxZmi/FlddChHaymi/wsISdG3xKHaSJYRVIR+21M=; b=OOgIiGspFu3YlBbS5yWxJliGdHnmhk8lftt7KiwgBzj7G9muXYCrBKAKCu62y2wqsC 51b91HC/e87lVcs4RxkShomCG01WboHsSbKEON04tE27o8Ba1vaISbuZhq0+II2K5bpD hW9wyLhc145LEcTtCujCf2qmKFJkXJ0T8pWGIUtfipTjcGY+ByZLNjl1uWc4do72eWKw QJ4/9wi70kYSqqvxtKxwuro+kl9ZFnXrW8n9gQNbauX3+BWJC0RePQS7CxJ9E27FLKun EzYtEDlo3jwvrWiLtbxRH10qVsvGhB/YYUKbN7npjnXnIfbZoMAsQyfxBZDthTquus5a rebg== 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=wWyoxZmi/FlddChHaymi/wsISdG3xKHaSJYRVIR+21M=; b=m5Ny2bYGKiJJT1zWW25sNoybx7MkyYpGJtSEUrkMfFYpflGf6V9vTU17BuWu3uxSXv n+L5FvBK7m9RKqEEzqGz9Q5BtPxmF2UrgCEvoyVBC8MjoO85Lm612rlRZMd232V9oFqb HAlNL+m4dWFf4elAGYZ2NF+1Sozzv9ujBJxcTQAhb5rCi08/Al1wmez5gWyuwW83xZ5A f1i+7GSgBwdUYj8cmYI3TNMWMQywu2Gsa1+HaWyacyOKIRjrjyjsGHbl/1bb/MVUTEb+ EJr2aftjQxgvsIMpdqthiSQJ2vGR6olOj79R6yd9I2p4JUx5HpWKLRXPvu4wDZpM5k23 dnDA== X-Gm-Message-State: AOAM533OBtEPQJ13MRG7LIPEHLsLGSC7r9Ld9JyqIBrlyFDjT2ygwDzH dsejKsukcbsOPInQOl1lGg5R0/n0ALRsGw== X-Google-Smtp-Source: ABdhPJy5vSVk245QpNXf7RaLmv6F5K7Kl+sAaWeAiizjOhoV1VZNhzyZ6ax/2ciA7WWEmw6FfK7GzA== X-Received: by 2002:a5d:904d:: with SMTP id v13mr5362225ioq.116.1603556464730; Sat, 24 Oct 2020 09:21:04 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:527:767:b750:2d3c]) by smtp.gmail.com with ESMTPSA id m86sm3028587ilb.44.2020.10.24.09.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Oct 2020 09:21:03 -0700 (PDT) From: Adam Ford To: linux-clk@vger.kernel.org Cc: abel.vesa@nxp.com, marex@denx.de, Adam Ford , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Philipp Zabel , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN Date: Sat, 24 Oct 2020 11:20:12 -0500 Message-Id: <20201024162016.1003041-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org There are some less-documented registers which control clocks and resets for the multimedia block which controls the LCDIF, ISI, MIPI CSI, and MIPI DSI. The i.Mx8M Nano appears to have a subset of the i.MX8MP registers with a couple shared registers with the i.MX8MM. This series builds on the series that have been submitted for both of those other two platforms. This is an RFC because when enabling the corresponding DTS node, the system freezes on power on. There are a couple of clocks that don't correspond to either the imx8mp nor the imx8mm, so I might have something wrong, and I was hoping for some constructive feedback in order to get the imx8m Nano to a similar point of the Mini and Plus. Adam Ford (3): dt-bindings: clock: imx8mn: Add media blk_ctl clock IDs dt-bindings: reset: imx8mn: Add media blk_ctl reset IDs clk: imx: Add blk-ctl driver for i.MX8MN drivers/clk/imx/clk-blk-ctl-imx8mn.c | 80 ++++++++++++++++++++++++ include/dt-bindings/clock/imx8mn-clock.h | 11 ++++ include/dt-bindings/reset/imx8mn-reset.h | 22 +++++++ 3 files changed, 113 insertions(+) create mode 100644 drivers/clk/imx/clk-blk-ctl-imx8mn.c create mode 100644 include/dt-bindings/reset/imx8mn-reset.h