From patchwork Sun Dec 1 17:46:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3680 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B84983F033 for ; Sun, 1 Dec 2024 18:47:35 +0100 (CET) Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-aa52d371666sf335305366b.3 for ; Sun, 01 Dec 2024 09:47:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733075255; cv=pass; d=google.com; s=arc-20240605; b=dsMe8U9h7qtlurrTaV7r6sLvufEkmyOlf5Gy7oC7K5E8HQYwAk3y5Ab2W72yflOVLN im+jGV/tEicbmLk9/+dA3OLNA0x75fzzsG9vzczSfvGdNiDv9j8Yz/xx8a6CDBxlOKN3 hle/2rfhlgyLHy/T+XqnxdEapaVKBvEVuu/rSjp7iAREwGpzSfXTpwZdoAmdIDAtv60i s9Hwd5eXJrKedVFTKaLj83UHU5Z0PmNZ9UGyZ1wx957wUy0kTwa0VsaQNAh3llNctETG X9afLJ8fnEfi6El3pao41Jk5AkPiJTTImocmaLPf5343TJfMKeUJuvi+XizFP9B9Vnib /syQ== 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=y34/RaIvqtjBcW+pH1n5UxhzPFdEwhdasM6k+VIBmfU=; fh=vC715IxGXuCuLnVgAgFveikgI9UPNsS5MC9vqykj9yk=; b=Jo3FC9W3xstXMjOsdYPy1tvYyzul0j5h44UVqGe9/7bRD3UPvEm+Vo+I0sWFLjvajq 8mTbqd1Q8yS8YpwoDT6FWGr75u0UXQ9kj0ek4q9BmoLwojMtrYw7Bk9wPTgV3Fjgf95G N45hvQV1SJsABHsZxwLnZEDCfz8keCADBRBaILhi/9hnx4ZpRbvloSDIyRrvO8oWI8oj jRDDV01dUC8wk3XyMK9Z9cp4E1P9WGhCSqTBVoaUDB2KXIztpF9CmWndiOXDmQJwyhEE GLlEkVNZnVELFWkCe5Z+cMS49Go2rQ9glBb9Jwzgwe8TOdN+AKK+dHZDMm/TosanY6GL Tzhw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mw8OpCII; 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=1733075255; x=1733680055; 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=y34/RaIvqtjBcW+pH1n5UxhzPFdEwhdasM6k+VIBmfU=; b=DfjHgRaanrrgIyQbd1uL4U3IbCn80x0/sEfm8faaCLVmh0K5ZBvcYY39FXuWtkMl9s d6OmJodEDVaBYLJEL572u87+s0dt2hlp5Rxha3pHjabSDZALEshUUtYs37P2HSgcPVRK GFE7WmI55nOoosIsBIkdwzeHtlvQzpiO2STfQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733075255; x=1733680055; 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=y34/RaIvqtjBcW+pH1n5UxhzPFdEwhdasM6k+VIBmfU=; b=nS2ZGxvtnkRSiCoSv4sIQB3FF/HTnPwh2fuCrpNVu6goDod+ru4SgH+Zg76yHJ/hUE FQxGamRdqtp4ecNk9Ex5+lC7bCwkmw8t/ORAjHLksr41QWdwCnbA4oH8toHXcye7FiG4 xj0Hvqf7sSkBXos4o4chpdqn68bALu9Tzsbu2p+MRzzkU72lXfJVPakWtaAlm5a5nzE/ IcgCKIDjKc7255edEAMs9ktHOfkZcKkh3wQ8ke5ADjelqDK8rUNEDTwMHQmXrREeEeAi JpzUPbuTiu+9scw2mefp2vPwuAZOwcoQhvD74EqD71sgsn4+N5EMujqeDUEPrst/Ef8k hANg== X-Forwarded-Encrypted: i=2; AJvYcCUBYED21QAy/QL38ib/vh36IUoNXTAM87kxSYY4+lU1uL72Ry7OLZXbXE3jBXTew6xVRvENofxGSZBN/ME9@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yx/MZQ+pqoBJGYgL9PDuH1jM6E5PSHlKKSLEjAqBdbyaRWH7X6H 4tM0jTQYJkyyBsmcUvvykxklym1o17e2r7PGRlprwbgTd7FYCMj693ZWTQxx46IT7fuFc5qgfA= = X-Google-Smtp-Source: AGHT+IHMISBV0Pb3J8Fb9qrEyKXu0S16s03vVNo/z7SZJBXDWrq4ZsE63kANt5L6GEqGLvGBdpBdHg== X-Received: by 2002:a05:6402:524b:b0:5d0:cca6:2355 with SMTP id 4fb4d7f45d1cf-5d0cca6bd75mr7152616a12.9.1733075255414; Sun, 01 Dec 2024 09:47:35 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:6cd:b0:5d0:9b07:cfd1 with SMTP id 4fb4d7f45d1cf-5d09b07d1bcls223594a12.0.-pod-prod-01-eu; Sun, 01 Dec 2024 09:47:34 -0800 (PST) X-Received: by 2002:a17:906:d513:b0:aa5:199f:2bf2 with SMTP id a640c23a62f3a-aa580f56baamr1971377766b.29.1733075253568; Sun, 01 Dec 2024 09:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733075253; cv=none; d=google.com; s=arc-20240605; b=g/E+2/WYFRr8stNzLWKUwTXNLCIYTEz+h9tvSQB7DGmWUBZj4hq+sgX07SoazlDDAg sF9KvfpeHTewbb9hpq4ZVk1Y7J74ctRTq5eVtdTJyoPqXk4N0DHi/giSnCgF6kDQB7m0 aqNNwjZKQ1xJ9PgXNgogwTBf9Hp3Px0EQcv+IlMqOT8fy4KNURWei5m17AlAVH0F9OZJ vRBhx8+XYe9CeqaWHTc6vte1JdinIaYY+Goo2wQQDSgW1Et2yRVPVepki9S69cPaLZjJ N5KsGNMy+GkktayAcs9AgJQOiywMp6IIB5klVrv0m6ULf4pkhEquQ+nV7e/k7ez5TOdM XJ8Q== 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=oLhcLywhuJhFOiraoxYfL0OnvzBa/3HuAHL0GSCsrJE=; fh=2TL5gdVAJyX/yhk5/AxHrADrCeVz/BiuKBD/sWsuHYo=; b=LK2+THkFz1IcdQLcbnMOMykjTpD/hQnH8+Guo2uI6FF2eT6MJJkIOhpG1yC6ala5cQ aL4lhDXpzEkcNaeDEM346VyTQUZwCdYg31kFcyq+tgggcMhCj6xfZp2p7t8brAHSXeoI VCIyL9AT4qtGILjZzNDak6f0D1LRPDwy0ENDOSRannIThg0L+kz1tveetvVrb6mzCFXg OkLY2EDSCpy+YIcxbLFRQHJurG63Q2zcYwnNM6P6TEsNx9bLS29GHPxrj9gPLuNbKR3y yBGi9SGZuYnmLwchOw6+UTWmJeQeSqnMNXblA7NWBUxDUE/ze3C+Bx+u1LEqW3wS9dyM sJkw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mw8OpCII; 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-aa599901560sor302286866b.17.2024.12.01.09.47.33 for (Google Transport Security); Sun, 01 Dec 2024 09:47:33 -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: ASbGncuuw5Il98kpHR2E9nx3Go+oMSuItEUvHr9FC2+O+vcENkOYBxAquIiGn4V/ajV iJNLeANbrAE/GfwgnuKT1ILyxzWYUzs3LNT9+jPoGxHaCf2y6Eq/0gdSn8MeIhp47AT/FJpybSj 4ak8LrGwR1dk5YmWeGZu0Gna7KnRRT7Mh3L3QBAojt0btyu7VjPLJ1JZvU6RtW91uaFeCRXO5mL iSuDMm/IikekuEUj/Q8yjVoepvJJPkSkt4p4BuH538LmL9WByOfnwoYvY23Ago7TZcKOZJ1gWc2 b69yRUqGIHKLGzIm7yubOgmV8eIyywIVZWc1dNb31SAILuyrsY+woMeioNqCZuIoZDBf+vi1zmG g80p6PPPUQaiCX2zu X-Received: by 2002:a17:906:3090:b0:aa5:1ce8:e4e0 with SMTP id a640c23a62f3a-aa580edfc21mr2238279966b.10.1733075253130; Sun, 01 Dec 2024 09:47:33 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 09:47:32 -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 09/18] dt-bindings: clock: imx8mn: add binding definitions for anatop Date: Sun, 1 Dec 2024 18:46:09 +0100 Message-ID: <20241201174639.742000-10-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=mw8OpCII; 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/imx8mn-clock.h | 67 ++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/include/dt-bindings/clock/imx8mn-clock.h b/include/dt-bindings/clock/imx8mn-clock.h index 04809edab33c..732ff87a16c2 100644 --- a/include/dt-bindings/clock/imx8mn-clock.h +++ b/include/dt-bindings/clock/imx8mn-clock.h @@ -267,4 +267,71 @@ #define IMX8MN_CLK_END 235 +#define IMX8MN_ANATOP_CLK_DUMMY 0 +#define IMX8MN_ANATOP_CLK_32K 1 +#define IMX8MN_ANATOP_CLK_24M 2 +#define IMX8MN_ANATOP_AUDIO_PLL1_REF_SEL 3 +#define IMX8MN_ANATOP_AUDIO_PLL2_REF_SEL 4 +#define IMX8MN_ANATOP_VIDEO_PLL_REF_SEL 5 +#define IMX8MN_ANATOP_DRAM_PLL_REF_SEL 6 +#define IMX8MN_ANATOP_GPU_PLL_REF_SEL 7 +#define IMX8MN_ANATOP_M7_ALT_PLL_REF_SEL 8 +#define IMX8MN_ANATOP_ARM_PLL_REF_SEL 9 +#define IMX8MN_ANATOP_SYS_PLL3_REF_SEL 10 +#define IMX8MN_ANATOP_AUDIO_PLL1 11 +#define IMX8MN_ANATOP_AUDIO_PLL2 12 +#define IMX8MN_ANATOP_VIDEO_PLL 13 +#define IMX8MN_ANATOP_DRAM_PLL 14 +#define IMX8MN_ANATOP_GPU_PLL 15 +#define IMX8MN_ANATOP_M7_ALT_PLL 16 +#define IMX8MN_ANATOP_ARM_PLL 17 +#define IMX8MN_ANATOP_SYS_PLL1 18 +#define IMX8MN_ANATOP_SYS_PLL2 19 +#define IMX8MN_ANATOP_SYS_PLL3 20 +#define IMX8MN_ANATOP_AUDIO_PLL1_BYPASS 21 +#define IMX8MN_ANATOP_AUDIO_PLL2_BYPASS 22 +#define IMX8MN_ANATOP_VIDEO_PLL_BYPASS 23 +#define IMX8MN_ANATOP_DRAM_PLL_BYPASS 24 +#define IMX8MN_ANATOP_GPU_PLL_BYPASS 25 +#define IMX8MN_ANATOP_M7_ALT_PLL_BYPASS 26 +#define IMX8MN_ANATOP_ARM_PLL_BYPASS 27 +#define IMX8MN_ANATOP_SYS_PLL3_BYPASS 28 +#define IMX8MN_ANATOP_AUDIO_PLL1_OUT 29 +#define IMX8MN_ANATOP_AUDIO_PLL2_OUT 30 +#define IMX8MN_ANATOP_VIDEO_PLL_OUT 31 +#define IMX8MN_ANATOP_DRAM_PLL_OUT 32 +#define IMX8MN_ANATOP_GPU_PLL_OUT 33 +#define IMX8MN_ANATOP_M7_ALT_PLL_OUT 34 +#define IMX8MN_ANATOP_ARM_PLL_OUT 35 +#define IMX8MN_ANATOP_SYS_PLL3_OUT 36 +#define IMX8MN_ANATOP_SYS_PLL1_OUT 37 +#define IMX8MN_ANATOP_SYS_PLL1_40M 38 +#define IMX8MN_ANATOP_SYS_PLL1_80M 39 +#define IMX8MN_ANATOP_SYS_PLL1_100M 40 +#define IMX8MN_ANATOP_SYS_PLL1_133M 41 +#define IMX8MN_ANATOP_SYS_PLL1_160M 42 +#define IMX8MN_ANATOP_SYS_PLL1_200M 43 +#define IMX8MN_ANATOP_SYS_PLL1_266M 44 +#define IMX8MN_ANATOP_SYS_PLL1_400M 45 +#define IMX8MN_ANATOP_SYS_PLL1_800M 46 +#define IMX8MN_ANATOP_SYS_PLL2_OUT 47 +#define IMX8MN_ANATOP_SYS_PLL2_50M 48 +#define IMX8MN_ANATOP_SYS_PLL2_100M 49 +#define IMX8MN_ANATOP_SYS_PLL2_125M 50 +#define IMX8MN_ANATOP_SYS_PLL2_166M 51 +#define IMX8MN_ANATOP_SYS_PLL2_200M 52 +#define IMX8MN_ANATOP_SYS_PLL2_250M 53 +#define IMX8MN_ANATOP_SYS_PLL2_333M 54 +#define IMX8MN_ANATOP_SYS_PLL2_500M 55 +#define IMX8MN_ANATOP_SYS_PLL2_1000M 56 + +#define IMX8MN_ANATOP_CLK_CLKOUT1_SEL 57 +#define IMX8MN_ANATOP_CLK_CLKOUT1_DIV 58 +#define IMX8MN_ANATOP_CLK_CLKOUT1 59 +#define IMX8MN_ANATOP_CLK_CLKOUT2_SEL 60 +#define IMX8MN_ANATOP_CLK_CLKOUT2_DIV 61 +#define IMX8MN_ANATOP_CLK_CLKOUT2 62 + +#define IMX8MN_ANATOP_CLK_END 63 + #endif