From patchwork Sun Dec 1 17:46:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3679 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 643E23F033 for ; Sun, 1 Dec 2024 18:47:34 +0100 (CET) Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-aa530a61803sf210965266b.1 for ; Sun, 01 Dec 2024 09:47:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733075254; cv=pass; d=google.com; s=arc-20240605; b=a9xmVIB78/Qu8l4XLQa+KRDJJRVzqXWvlMk99lPXp5i6a4fPi6tav6NaXPwN64bIhZ ZrVV+aaOxNQtbUbGxiA+q6zdBLODaI0dcMC3AzShCm+oF1T+ISDcAmJi3zrW5gO7lcOw Kw1VbH++qQXe0iZqa5eRP3oo5ZUkMA+o2k4qr4qyXrMUJClQX8uNtKBmVM/uO+Adkslg GyHP+9PW89fA3TZTXfwWpZ7pbYKbpzZdx3Pbz4Ew50obZwlXNpzSpPOAU+Fna/vklFIX DJiMFORHZRjh/0hJnsmHE+IAbvL4ric2WAuaACK7K7WGrGrpVWi2EU4khNIF7iBWrRkd NhcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=MzjA5o2uAR+qI3DEjrz60RNci5MTzVAmO71/jmZqag0=; fh=nikifGlrQcgEgVGXZhAJ3Mat9i75bP94maDUK3d52NU=; b=BkmbYFP+parjYo+pscs+1vriSeC6Iqcz+CDfPWfxvzsOcQSoXrZFX5MsByDgT7IlSJ ca2O7+3bq2802NMwGiUiRFrEfCrtg5rCBhhtbAiL6SwWEFnH4gswy+Kl6EdEycBeHnqX DJNVOcHoMQZsMGBIhPULcom/2FncOdwkM9+d4cMAIv5/rCBjZPlW008QfJlZjmTYgK+Y 2xAZhfbIlzJb3ZIuKPkKtLiaSAJwrAo+XCHMY+afRN/7TKh4EKEL03jf0NGQPMeqHFeb 2GsJb2RokLG9I79YJlHLcH7xS9+hMyRmsXiVSkmLP1MnjSFN5PQtf6vRTvJECXGOiKf1 o3mA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ebqbz530; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1733075254; x=1733680054; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=MzjA5o2uAR+qI3DEjrz60RNci5MTzVAmO71/jmZqag0=; b=Z4dv6LptO+1c2XYilNxG7t5Q/H/F7HmOUZVchEzYLGhl/vsVUjWfxwPkSDnOc/kriF h4FRJeVJikY6QANXmE1GEXLwClA8pqV2Iu2NG5Jmy1fiAc/l7RlqWihGFhq4KLXuZNAA WzVkGct+XnMXEWFK4vQR+AqK7MKfPZA8DSNfQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733075254; x=1733680054; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MzjA5o2uAR+qI3DEjrz60RNci5MTzVAmO71/jmZqag0=; b=nH804NskS1c4U7QWfuzYFT+e1I6WYCK/n3gpv9hbofXXwOnpBnENqbGxykr93aYmFX Qc9OYNyRA8rDs1vZnrEsR/yXapusQoqM/I+2GFZFIoU5/U9Z66lFKm+bzN+fIxb1gJIU 2Ylf44O/YKXfHpi3yOM5ErObr9GcZdWzBtVTKu67gvzUpiA8jFZBCx4AJCWa0+FQkZIu PLgNKDLUcUzOanAI6OvGaI+BF4fSJBhxPQPPG3fBWuc9PNtWnALoIxqUZZcgWQtk9tVd nBR/NVgiP97gKmRFar5jOd79kl+IajeJkHc4fQ4yOnLMtsroHETGIiumG3BLqb6sbmRD VP8w== X-Forwarded-Encrypted: i=2; AJvYcCUQEu1zPlyR3NvuxKhEg721S5mRlO47MV2rmdsJZ5S9LROZNJxd8VwT0K0E5HvkT83/0PTg8r9pWL1kFXhB@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yyau/eYTE8tNph2IJrckG7Twrc+Vc/f2BToWFnMO7BdHQaxT2t6 02aWz9gnBxf0bapSv57mtVnmwAw460D0nGs5JpRn4V/rfVHmtNXlyPPWl9fyBbbixQ== X-Google-Smtp-Source: AGHT+IF2un3qxSJCczsLBtvtW9v+xLNstiZ9dFdps6+/0n5VXhlUOnRLbACH0+14O1+HHmM51C63RQ== X-Received: by 2002:a17:906:3295:b0:aa5:19a8:f142 with SMTP id a640c23a62f3a-aa580f1d55bmr1815240366b.18.1733075253972; Sun, 01 Dec 2024 09:47:33 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:c995:0:b0:5d0:bf73:1c41 with SMTP id 4fb4d7f45d1cf-5d0bf73247bls312845a12.2.-pod-prod-02-eu; Sun, 01 Dec 2024 09:47:32 -0800 (PST) X-Received: by 2002:a17:906:308f:b0:a9a:423:3278 with SMTP id a640c23a62f3a-aa581070e96mr1670892466b.49.1733075251980; Sun, 01 Dec 2024 09:47:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733075251; cv=none; d=google.com; s=arc-20240605; b=LxUOSBChrjPk76z2v0d20gqf3+xuFseiq/f848PMvbKSqqS3yplQjsEqijqwTEFrXw 0msNb6IHIcj236XjngxE1xpc/4WzHWX2iXbNHNhQbPxOibzcgCfE9w+Pjv3bZ+qpjoay vWd0/9I+ci0LXRRqH4PfS0g/omnnYdcKUFu6G9F2QW9fkXg8LwU53Y3+rkpllbhOhcFE hXky2pLQOcieFqT3N320Pcej6SDiRm8qrVdVerMGvMWKaocdhPQSPd2erqiQ1iBMqQl4 bcxLZa4LoLf6v0fPnYyh5lQLIoLNIZBVHFZd3TWji0LpF/iM8ryw3hS5OfrpguiOTvZO W41g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=6vpGtyZ0NLJqQmHQubdh3p8VNW8Gv2lh2Riw5LPZEts=; fh=2TL5gdVAJyX/yhk5/AxHrADrCeVz/BiuKBD/sWsuHYo=; b=ML2wDlA2CgtSSNU/v/0TnvzE1755zPz+qoc0lsnSENhb7vl9sHOzwIsgEsSTl1jtkt 9WmHGoZZ1nUiUG7GtnP6hPNJnexcJdmrKFuOT2sNOJtuF61lFWkRTgqKj+WBUGzgE8vh 9rWdb/Vw5aXPADIiSE/FI3uebrR1Q+RHoi/EJUuHJDXxAVZHLLu4TnnH8ULvLdlLiJct g2cEIniN2XmYxyrU8GSMiqgQ0iQ0qPOl2X6yrlvCfuLsJAWbfz8K/w3ZE+w7HqW6EDLE dKv6dLaKxfEGk9BpBurLNkcL6fXZvdrAIss182I5kyVjJyeeGVaIOpIT/hyQg+dNwRc/ 7CQA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ebqbz530; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-aa59990281dsor219478966b.17.2024.12.01.09.47.31 for (Google Transport Security); Sun, 01 Dec 2024 09:47:31 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGncsJaCl7efafq2WuNSqOsVlH70dZ3egdP7rw39USACLm2dxXVm1cOL+sZ4es8Ty Ty5e6IPHRiCSNlc2HINHb15CtCIcZ+SwUroCvJUMH3V6a23Df+ZGbR1OKGHiraAidqZd7407Uxg VRjswli6YS1i0wDVWk+5CmH/zrIeZO0ddQkH07br7VxPBU+Xxi7MoL2m+cntrsPNi+vdNxATb8c osaW6EjlO1jo0QRyJ9efskwcpBpe3900el+I22yt+mTBLtZjDSaCnxlIjby1PiPjBXJXYibFbox X3lhJSMkLg6k1IqlaIwmUDVaK+r6yEvfdIFxhBa9odw6tHHomBImOa4M07Zi2EnnP+ayOUifIkm XKr7L5pxy+H7dxdAH X-Received: by 2002:a17:906:23ea:b0:a9a:10c9:f4b8 with SMTP id a640c23a62f3a-aa58109dc28mr1664550866b.61.1733075251568; Sun, 01 Dec 2024 09:47:31 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-54-94-193.retail.telecomitalia.it. [82.54.94.193]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa59990a78esm415220066b.163.2024.12.01.09.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 09:47:31 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Abel Vesa , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Michael Turquette , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , Stephen Boyd , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v4 08/18] dt-bindings: clock: imx8mm: add binding definitions for anatop Date: Sun, 1 Dec 2024 18:46:08 +0100 Message-ID: <20241201174639.742000-9-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241201174639.742000-1-dario.binacchi@amarulasolutions.com> References: <20241201174639.742000-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ebqbz530; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add the bindings definitions for the anatop node. The patch is preparatory for future developments. Signed-off-by: Dario Binacchi - Added in v4 --- (no changes since v1) include/dt-bindings/clock/imx8mm-clock.h | 66 ++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/include/dt-bindings/clock/imx8mm-clock.h b/include/dt-bindings/clock/imx8mm-clock.h index 102d8a6cdb55..1962b0a1e732 100644 --- a/include/dt-bindings/clock/imx8mm-clock.h +++ b/include/dt-bindings/clock/imx8mm-clock.h @@ -287,4 +287,70 @@ #define IMX8MM_CLK_END 258 +#define IMX8MM_ANATOP_CLK_DUMMY 0 +#define IMX8MM_ANATOP_CLK_32K 1 +#define IMX8MM_ANATOP_CLK_24M 2 +#define IMX8MM_ANATOP_AUDIO_PLL1_REF_SEL 3 +#define IMX8MM_ANATOP_AUDIO_PLL2_REF_SEL 4 +#define IMX8MM_ANATOP_VIDEO_PLL_REF_SEL 5 +#define IMX8MM_ANATOP_DRAM_PLL_REF_SEL 6 +#define IMX8MM_ANATOP_GPU_PLL_REF_SEL 7 +#define IMX8MM_ANATOP_VPU_PLL_REF_SEL 8 +#define IMX8MM_ANATOP_ARM_PLL_REF_SEL 9 +#define IMX8MM_ANATOP_SYS_PLL3_REF_SEL 10 +#define IMX8MM_ANATOP_AUDIO_PLL1 11 +#define IMX8MM_ANATOP_AUDIO_PLL2 12 +#define IMX8MM_ANATOP_VIDEO_PLL 13 +#define IMX8MM_ANATOP_DRAM_PLL 14 +#define IMX8MM_ANATOP_GPU_PLL 15 +#define IMX8MM_ANATOP_VPU_PLL 16 +#define IMX8MM_ANATOP_ARM_PLL 17 +#define IMX8MM_ANATOP_SYS_PLL1 18 +#define IMX8MM_ANATOP_SYS_PLL2 19 +#define IMX8MM_ANATOP_SYS_PLL3 20 +#define IMX8MM_ANATOP_AUDIO_PLL1_BYPASS 21 +#define IMX8MM_ANATOP_AUDIO_PLL2_BYPASS 22 +#define IMX8MM_ANATOP_VIDEO_PLL_BYPASS 23 +#define IMX8MM_ANATOP_DRAM_PLL_BYPASS 24 +#define IMX8MM_ANATOP_GPU_PLL_BYPASS 25 +#define IMX8MM_ANATOP_VPU_PLL_BYPASS 26 +#define IMX8MM_ANATOP_ARM_PLL_BYPASS 27 +#define IMX8MM_ANATOP_SYS_PLL3_BYPASS 28 +#define IMX8MM_ANATOP_AUDIO_PLL1_OUT 29 +#define IMX8MM_ANATOP_AUDIO_PLL2_OUT 30 +#define IMX8MM_ANATOP_VIDEO_PLL_OUT 31 +#define IMX8MM_ANATOP_DRAM_PLL_OUT 32 +#define IMX8MM_ANATOP_GPU_PLL_OUT 33 +#define IMX8MM_ANATOP_VPU_PLL_OUT 34 +#define IMX8MM_ANATOP_ARM_PLL_OUT 35 +#define IMX8MM_ANATOP_SYS_PLL3_OUT 36 +#define IMX8MM_ANATOP_SYS_PLL1_OUT 37 +#define IMX8MM_ANATOP_SYS_PLL1_40M 38 +#define IMX8MM_ANATOP_SYS_PLL1_80M 39 +#define IMX8MM_ANATOP_SYS_PLL1_100M 40 +#define IMX8MM_ANATOP_SYS_PLL1_133M 41 +#define IMX8MM_ANATOP_SYS_PLL1_160M 42 +#define IMX8MM_ANATOP_SYS_PLL1_200M 43 +#define IMX8MM_ANATOP_SYS_PLL1_266M 44 +#define IMX8MM_ANATOP_SYS_PLL1_400M 45 +#define IMX8MM_ANATOP_SYS_PLL1_800M 46 +#define IMX8MM_ANATOP_SYS_PLL2_OUT 47 +#define IMX8MM_ANATOP_SYS_PLL2_50M 48 +#define IMX8MM_ANATOP_SYS_PLL2_100M 49 +#define IMX8MM_ANATOP_SYS_PLL2_125M 50 +#define IMX8MM_ANATOP_SYS_PLL2_166M 51 +#define IMX8MM_ANATOP_SYS_PLL2_200M 52 +#define IMX8MM_ANATOP_SYS_PLL2_250M 53 +#define IMX8MM_ANATOP_SYS_PLL2_333M 54 +#define IMX8MM_ANATOP_SYS_PLL2_500M 55 +#define IMX8MM_ANATOP_SYS_PLL2_1000M 56 +#define IMX8MM_ANATOP_CLK_CLKOUT1_SEL 57 +#define IMX8MM_ANATOP_CLK_CLKOUT1_DIV 58 +#define IMX8MM_ANATOP_CLK_CLKOUT1 59 +#define IMX8MM_ANATOP_CLK_CLKOUT2_SEL 60 +#define IMX8MM_ANATOP_CLK_CLKOUT2_DIV 61 +#define IMX8MM_ANATOP_CLK_CLKOUT2 62 + +#define IMX8MM_ANATOP_CLK_END 63 + #endif