From patchwork Wed Mar 16 09:00:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 1606053 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=CkfcxdV9; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KJPT86msCz9s0m for ; Wed, 16 Mar 2022 20:03:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4F59183C91; Wed, 16 Mar 2022 10:03:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="CkfcxdV9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9ECFE8393D; Wed, 16 Mar 2022 10:00:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (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 57D58833ED for ; Wed, 16 Mar 2022 10:00:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tommaso.merciai@amarulasolutions.com Received: by mail-ed1-x535.google.com with SMTP id w25so1821743edi.11 for ; Wed, 16 Mar 2022 02:00:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pgbGAXIeQt+X+2BD6Xm/WV6mH0H91AKkdVu5CWk+5Kg=; b=CkfcxdV9yU4Sf4rxkbus5c6qfeiXSg5gv/AC+2H+x4d/4KoWeuKONth7ELtoGiQ3T9 brvL4SOrdpRZ/NU0FCwqeeIrB/GicXytbFOyy/6iApQtX1vdmg+E8WAriwIu839CxfyV wFleFMcvAlUEwV2e9zowxpJwXqD0uKMqjzvko= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=pgbGAXIeQt+X+2BD6Xm/WV6mH0H91AKkdVu5CWk+5Kg=; b=V0839dzD15eq84f0u4yBIFCpqzLT5Ow+3qPO0icN52o2SQY5HE4Hw3vkLjEDq+rbwC 3NBf33fmYvF6ZfGGxttx1zZJurCt7fivpe20K6qBlTvuJwI5EmVOb20e50U80kS9Y/9o shHoNCYYYbyaZ+qO9c8iY9vz3NOdrDGC5iGr3ih9cGNJsQIP+amXbmYZrmq+NtII7XU/ vvcwEBmEQXhLPb8QXrtibRQ3+twhCxFrP7e3z3Y+M9oXPBtRkdwXlpj1iggIUgqjypvM 0mdsJA1gWTKMfPGNM3evrg9Im5UHe4nRlBeaqQQzx/IhmoMauf5nigBBLnrAbl065w1Q tSbg== X-Gm-Message-State: AOAM531wv0hFZrcPQKEidez1JJok0A8HYy0tfxHfh9uyNUi46UK0oSVC Wx2jc+9TLjP4bojgv4+jSy44Jw== X-Google-Smtp-Source: ABdhPJw7xD89aOks9BAPnqpRmuyjACAVLWOktFxn3eDN/+P0FUZaiszUgTvVPge8fL2njRJvT6nF4A== X-Received: by 2002:a50:fb19:0:b0:404:eb52:62cb with SMTP id d25-20020a50fb19000000b00404eb5262cbmr28695226edq.363.1647421231709; Wed, 16 Mar 2022 02:00:31 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i.station (net-188-217-56-61.cust.vodafonedsl.it. [188.217.56.61]) by smtp.gmail.com with ESMTPSA id sa13-20020a1709076d0d00b006ce3ef8e1d4sm603793ejc.31.2022.03.16.02.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 02:00:31 -0700 (PDT) From: Tommaso Merciai To: Cc: tommaso.merciai@amarulasolutions.com, Peng Fan , Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , Ye Li , Andrey Zhizhikin , Alice Guo , u-boot@lists.denx.de Subject: [PATCH 7/9] imx8mm_evk: spl: enable pwm clock Date: Wed, 16 Mar 2022 10:00:11 +0100 Message-Id: <20220316090013.8150-8-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220316090013.8150-1-tommaso.merciai@amarulasolutions.com> References: <20220316090013.8150-1-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 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 Enable pwm clock into spl Signed-off-by: Tommaso Merciai --- board/freescale/imx8mm_evk/spl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c index 4ef7f6f180..5aabdba0b0 100644 --- a/board/freescale/imx8mm_evk/spl.c +++ b/board/freescale/imx8mm_evk/spl.c @@ -135,6 +135,10 @@ void board_init_f(ulong dummy) init_uart_clk(1); +#ifdef CONFIG_PWM_IMX + enable_pwm_clk(1); +#endif + board_early_init_f(); timer_init();