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: 11854885 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.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 568CBC55178 for ; Sat, 24 Oct 2020 16:22:59 +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 0A5762087C for ; Sat, 24 Oct 2020 16:22:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bleLlhiy"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OOgIiGsp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A5762087C 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: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:In-Reply-To:References:List-Owner; bh=dsRZFcHSqqkOP8/4iJ7ZaPZekcRcKxRMrm+NIaSjlU0=; b=bleLlhiyipJg7VCQT6gvOEK1F0 iKapRk3RSELhz1qaKOgz9YwvUd2pozFZm+ONnAU2KJAghsgvkkvtx8CPbFUXV93hc+SX3GwTEK6RI g3lrfmlYHjLuUTaL+3hKe3wHV/4j2mH/UGNfoNe629aNVrABdK/cvM6EdNhouH2w4Bwvev4A38AOs Jp2JG7JOSgzJBGsff2G1rOX0sf3YrRwuGT5/NZSjd92PQz+AeXB5AKwYe/UDnpqtyaJW2ZUuO81bt jAkJiBoFInWKJ2QzvcBfjr+CGUT759hdLLJTxqO4fwUgrFcQS/iQAbNUPAnREvjS6Yvc8m7aeTD8t /g1XkRoA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kWMI3-0002qK-5q; Sat, 24 Oct 2020 16:21:11 +0000 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kWMI0-0002pL-Bj for linux-arm-kernel@lists.infradead.org; Sat, 24 Oct 2020 16:21:09 +0000 Received: by mail-io1-xd43.google.com with SMTP id p7so5622288ioo.6 for ; Sat, 24 Oct 2020 09:21:06 -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=q9Fbm2OlU9WCZJxW+OK57J/iV2URE/HDnp5IacBMPht62juDlgqz5gHh21jIFcB7G0 +MgF6GEggluqMu4qFGTpKUoQvTfqy+Kth1+Gl/IW4O5iMrrGWv72lWWoOYD0H1MxMC// yd4Un2TBg8Oe9ITF00Q+I62s7XipHnEs7mTNDUT0NwvpAL0FRK8n+1gqPwemaNbZejts iIIyLneoXz6WJljS9AO07o6os/NMLUSopdiNaMBW7vcjORJk0DccsU/e+ts67sEmtCr9 mW9VOzkx2k0yW4h/9s2uJ4h4dzmUDPSlOBF4shYLmsoy9mJkt8agR524BRDXK8BOsZF7 ZU/Q== X-Gm-Message-State: AOAM533ybAeT5KP1tQXH+qCdAl9Ss5mDH6ypdo+kUBQ91BUhy91rRG/U 0ACHkRXK2hcFGutvQBphDEs= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201024_122108_454221_7F04CFF0 X-CRM114-Status: GOOD ( 15.11 ) 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 , abel.vesa@nxp.com, Stephen Boyd , Shawn Guo , Michael Turquette , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Philipp Zabel , Adam Ford , Sascha Hauer , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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