From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF42FC433F5 for ; Sat, 30 Apr 2022 16:14:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8F34883F2D; Sat, 30 Apr 2022 18:14:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="iapNF0bB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ED291818A3; Sat, 30 Apr 2022 18:14:41 +0200 (CEST) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 578E783542 for ; Sat, 30 Apr 2022 18:14:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-il1-x133.google.com with SMTP id o5so5714752ils.11 for ; Sat, 30 Apr 2022 09:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8tgnn9vAbZjwv+YuIrvPvw8+vg0gwzTUVIWeAxXF00A=; b=iapNF0bBKfwo7/gESSKcefiE3vTNmOb2iOCRM3VS6QjpnlYMmuKqt9GsVm7zN+Vx1S T4kei3v84V4HKRHTXP3U4Y9jWkxheRXR3IA7KzndoBoojmhZ6WXuVZgFAinds4seCsQZ RVgjxlTUvBhUlz7AIH5Hsqui38WoC5E8MPgzuS4beIbkh9GG4YsMTypxJj6jM8d1+KNH 2tqmMln5Jtx9ywtVUlGuB3WbpKLDyGJUTqrCNW0fkUr2laJI70smrWEJ84om4XU4HztG 1MTtJAGsB0hqOLSx++9WusSaevmC4kfA6EJt+2axm33LSywRpiC1LKNZg5Ccwa7HSJ8r vdlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8tgnn9vAbZjwv+YuIrvPvw8+vg0gwzTUVIWeAxXF00A=; b=S4CubMuA45pc+x9qkqETkfF1njEMOE4MuSBS3vllz3ppgdsFwMxZ5n77aRNWtKCWvx VYjTfOLaQKBzBB74XpF4vRDZehWupoJZgNcqb5CoGLXHc92yuUwHv5kOwmqCE+x5PCoM wvzXUX0AykguX7+wci+7L/0PIur7vpDlWh/3QjwsfuulwCk40OsYv2LaakZ17a0b89zQ anKp7Gk4CKg5n8M7ZcAnc8MhvAL3o9CAgUL9Xrf0tXtsHXY356nm1QN3gm3iszmd3wXP Fsd1aR0pJCu+Js187d1up/kq+vAbGkR/M487KgxCxW8hunuV27a3rc2X55zGZbCJWihD vczg== X-Gm-Message-State: AOAM531XGh62sw/7ubCekYmsrm9k5AKYuYqVkD/gOclIW88hpp/7Qji0 q2f1ihvspnMnpuFBdB2sJ257rDh0hIk= X-Google-Smtp-Source: ABdhPJzACfLw8FGWsUpo7gSkzvRVBjy51MKo6o8mFw2zo8FbrAQZNbQ/z2cHDkDELHlgtM2i9x0k5w== X-Received: by 2002:a05:6e02:1a21:b0:2cc:52d0:b06b with SMTP id g1-20020a056e021a2100b002cc52d0b06bmr1826077ile.62.1651335276660; Sat, 30 Apr 2022 09:14:36 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:3a27:d646:29a7:7498]) by smtp.gmail.com with ESMTPSA id u2-20020a02b1c2000000b0032b3a781771sm1532860jah.53.2022.04.30.09.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 09:14:35 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: Adam Ford , "Ying-Chun Liu (PaulLiu)" , Jagan Teki , Matteo Lisi , Marek Vasut , Olaf Mandel , Peng Fan , Tim Harvey , "Ariel D'Alessandro" , Michael Trimarchi , Ilko Iliev , Fabio Estevam , Marco Franchi , Alifer Moraes Subject: [RFC 0/3] imx8m: Remove manual UART clock initialization Date: Sat, 30 Apr 2022 11:14:19 -0500 Message-Id: <20220430161422.558361-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean This series is an RFC focussing on only the i.MX8M Mini until feedback is received when the series can be expanded to other imx boards. This series adds the UART clocks to the CCF, adds functions to the serial driver to fetch, enable, and query the clock(s), and finally removes the manual clock intialization from SPL. Once feedback is received and final method is accepted, it can be expanded to other boards. Adam Ford (3): clk: imx8mm: Add UART clocks serial: mxc: Enable getting and enabling clocks with CCF Composite imx8: imx8mm_beacon: Remove manual UART clock initialization board/beacon/imx8mm/spl.c | 2 -- drivers/clk/imx/clk-imx8mm.c | 30 +++++++++++++++++++++ drivers/serial/serial_mxc.c | 39 ++++++++++++++++++++++++++- include/dm/platform_data/serial_mxc.h | 2 ++ 4 files changed, 70 insertions(+), 3 deletions(-) -- 2.34.1