From patchwork Wed Mar 16 09:00:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 1606049 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=bKdvBdYB; 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 4KJPRX08NMz9s0m for ; Wed, 16 Mar 2022 20:02:15 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 94D6A83CB6; Wed, 16 Mar 2022 10:01:56 +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="bKdvBdYB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A03E0833EC; Wed, 16 Mar 2022 10:00:46 +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-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (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 733048393D for ; Wed, 16 Mar 2022 10:00:28 +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-ej1-x630.google.com with SMTP id qx21so2636471ejb.13 for ; Wed, 16 Mar 2022 02:00:28 -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=+oe6telMJBHWA2coAjpxAt7gSBiTcN7f0ILCZIS9ckI=; b=bKdvBdYBUyggR5IqiTLqSRMgnd8H2vJUA63MFco22Jwdy4Ev4/Imq86USB18tJEGK/ 7EacMg+zUD10Du0jq0ZEy+DC2PfuHJLR8UtFURF86c8vgz5TGrxkqf8yy3igQmYCSKcF 8RmnoiRwoRAd3vN58gqwPMXPP5yn02lkjR3xc= 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=+oe6telMJBHWA2coAjpxAt7gSBiTcN7f0ILCZIS9ckI=; b=Ygg8s8VuCSvVf9GO5thvYgvANZMl+UxlmhmGkCFVwx6Lz20XC5OeP3StY77XiYFVrV k+3bYpnWQm+2scAaVHgmXvlXrd/zOMwj5Pfflc630RemFKclHBlOb/Afmu0D/GmEc+/l ad+jLwMozOLwr9blv+f3sLRiZ6OMMrBfW8Wmtc0SIuv4IKSxKOf1eVYrh3cnRY337H3h 0NanUSm2p4tGrNZp7kEDrvKBp4EOun9q/39LAHI42YewUPP7WGso27XjdKUEXFtwh8qV UPM9P4cjy8iiXy//MU38/sIXSykVHW0C/BvP5FNV3DZEus0DN0bqW7vtVdVT2iNu2K8A 2/gw== X-Gm-Message-State: AOAM5335e82XLBC8QofNvzJzfqenH/TFhLlrcgLYjnfCQwayD4JPqbLQ 9A86juN7dg9UjjzCg6GRdKXMeQ== X-Google-Smtp-Source: ABdhPJySJ4d2/lwajwqkJjFFkdAKg9AdfVrDp0Sjq/SmrOKuzknyLs1nOSvnXFGr03NNB/uDvuP+Aw== X-Received: by 2002:a17:907:72ce:b0:6db:aed5:833e with SMTP id du14-20020a17090772ce00b006dbaed5833emr18440825ejc.420.1647421228038; Wed, 16 Mar 2022 02:00:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 02:00:27 -0700 (PDT) From: Tommaso Merciai To: Cc: tommaso.merciai@amarulasolutions.com, Peng Fan , Ye Li , Patrick Wildt , Alice Guo , Andrey Zhizhikin , u-boot@lists.denx.de Subject: [PATCH 5/9] imx8m: clock: add enable_pwm_clk function Date: Wed, 16 Mar 2022 10:00:09 +0100 Message-Id: <20220316090013.8150-6-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 Add enable_pwm_clk function in clock.h Signed-off-by: Tommaso Merciai --- arch/arm/include/asm/arch-imx8m/clock.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-imx8m/clock.h b/arch/arm/include/asm/arch-imx8m/clock.h index 50359d8e46..5692bafcea 100644 --- a/arch/arm/include/asm/arch-imx8m/clock.h +++ b/arch/arm/include/asm/arch-imx8m/clock.h @@ -278,3 +278,4 @@ int set_clk_enet(enum enet_freq type); int set_clk_eqos(enum enet_freq type); void hab_caam_clock_enable(unsigned char enable); void enable_usboh3_clk(unsigned int enable); +void enable_pwm_clk(unsigned char enable);