From patchwork Thu Mar 6 11:27:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3855 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BF7B740D3E for ; Thu, 6 Mar 2025 12:30:36 +0100 (CET) Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-3910cd78330sf287478f8f.1 for ; Thu, 06 Mar 2025 03:30:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1741260636; cv=pass; d=google.com; s=arc-20240605; b=jHgnl7WdSuxkEebIQkPuCAoS42t0gAf5xN8TRamE21VIJPPD7PllDakixiGEYfPHXh g/Kwwj/xA2ektOkDC5CzH5W2QJjNcjJzpT0zLTOgDQ5G383a8/01SbzH+B3HM396/at3 x27O6BB7pNfqjxIp5/e5a6DQz7G//iryXt4TCXv17bQKWyQDFdiJ2mwGEyYBSMsiVCUc CCJgBL9hDmgmD/21L8vIwWuV9k3wQFj5APGejcGc77yIGm88H/P2vMldH0dZwbqByF0P cPGyCCfZYIMB3mza2Lgf0+VsVgoBcFL/MIZKlyA2568leH70BqkR2ZlcL3mRzo0X5o1Y fmFQ== 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=GVGMON8ZXlb8f2P01bijsfyAUOkDZNjQ94ajDxszB8w=; fh=fXb5iijQ0y+34bc/bM9upO6C2WcZZ+tYShX/yAWOPl0=; b=jttfKFPMkwDoJoNFxCrgLFcH5KMorpOyHWmk+yX9SJeAaneJMYUSJ3nDZTCzT8V9cs hfjy3LFAh8hBy3Yg+fTDgXFkrvLjPo/vYoojbczCw6/fwH80CV8HmAvJ0gDglTOYhNGb 9faK1FxfJWImW9l/1Rn6IeQNrAArDe9vDSdECmxJND1HPEIFb1JbMlksC8QTZYNUS0Se MX08RzFd8paqk1ZWZk74XLNPn9YNh6q3MqaQlnM/7JKkilEqrbgYzwx4Lvdi2BplZAS/ 0wfDRIDFV3nnq9cJb+dRcX/Fih7soKBCeBS/UxL0mK0gtrhxyulsggXX4Pt32+PB3kG5 uU+w==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=So25vA4o; 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=1741260636; x=1741865436; 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=GVGMON8ZXlb8f2P01bijsfyAUOkDZNjQ94ajDxszB8w=; b=dfXS9HCLDbPQ/vMWB3Kf7Nu1JODGmORs5GizLuUOUv/dm7eQFm9dznKUiLSMQAXG54 u47r1P7aHo1D6hW9qca3kKz9+9nrdojMTY6FhftgUcvJPJ+cQQmPKqTr1KQfn9HTz/Yt i1aRYCyQnRCZSBNQF+39ZdfsFtWIM3DPsUNbo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741260636; x=1741865436; 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=GVGMON8ZXlb8f2P01bijsfyAUOkDZNjQ94ajDxszB8w=; b=RQSmjH241u/D7vt1DBYh4TUc/5CvXG4lAQLq4W4ezNxAlknR9e/S7bojAjeL/Tfs/d RUj0tUxk/c/xqWggoUdPNx631eKnEWsZSRb2Bi2S6OC+Q1Mttq4Vupm3wu84WFNmBk1Y x/hfzjozlcjsBDe/bmpmBbsITTlSRiqFzYACiXDtJP1IecHI28OxvQ/iEIF+sss6fqKJ 7+5KPXgsOGMCaezEtqP8jiHFmhhheWYpai7pKq3piIwYP3dhTFQqXOVrnBZDrG8jDHCp cxmbhPNasHkFEYuaeosekW37AhMDBf2bdEZamO0xeK9mCCk9usoo2EpplMVfuumPq1PI s0Kg== X-Forwarded-Encrypted: i=2; AJvYcCVKLcQPIELUkPEGC9XHzPUVzcC5V4EoRf36wrUky73mWYQplC+134U8DCP/8pMMGGaoHEKsyRE54kEHeWtZ@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YyeP4VG8Q2gaGd+SZ6OEuDpC3LbMHgD1R0jrsluVq40EFq9FnZS DGfzfFNqWqpx+EMM0EW8GstXc9rVNNMqlS46u4ek0JoVC/8dxW0nRp+325CJgobVmw== X-Google-Smtp-Source: AGHT+IGiffev003F7FQWwc0kXdnZ7R6QxF/qryxZ2Vz3lhZbqs4KgM7G4BvvUkCqm/oGK0xi68cp/w== X-Received: by 2002:a05:6000:184c:b0:391:23de:b1b4 with SMTP id ffacd0b85a97d-39123deb51dmr4887668f8f.45.1741260636367; Thu, 06 Mar 2025 03:30:36 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com; h=Adn5yVErsEVzq1H2/99Fw9/tUMYjg4RzS1kJrr2KD+fpn4uEhw== Received: by 2002:a5d:6d08:0:b0:38e:5a45:4a6e with SMTP id ffacd0b85a97d-391294d915els472815f8f.0.-pod-prod-06-eu; Thu, 06 Mar 2025 03:30:35 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVqGCKWVHFWX3GQocA1pDVpmMQNiO6CjdxT0I4J8B7nCTwAMRCR5HWBzC4uqiVlklaUxJ76KIE0jop25Qb/@amarulasolutions.com X-Received: by 2002:a05:6000:178a:b0:391:2f2f:836 with SMTP id ffacd0b85a97d-3912f2f0b02mr602351f8f.17.1741260634642; Thu, 06 Mar 2025 03:30:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741260634; cv=none; d=google.com; s=arc-20240605; b=aX8dpZM3KRa7/C2CCoprFGfBTpFK9utqpdME29k/6Pdl4m1BwqwFEGaNdG0S+TfmZ7 JHPuEVU0IkzIQbzc5x0Zbo4G/tVhRISsjGui0YqATQfhje+sqUCqyrQziE012maiYHLO tNS2J5vWDP3TWCokRxNiKDPFXk97Ftgt++R78lfDd0ugrlhTB/S5A7ULH9A3Q2oaFeFs pkx4CJgiHmwIraOzaAGzPz8ieNzR2nP2fUX0MZWVWfptfftTTlQ+Gz/2zJYg5HYEQ/QL 6H7YZJ0XE2TgfclvDjeuLowf4AhOujhon1XNW55IOznoMqH8qIZiq9vn1EJgX6aYqd4f xvRw== 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=0D3K2ln9Lb+MNQxN4twGUjq+Zn0uEKE9IsRwsBI/jVw=; fh=xPXgsdceAiKIhj9BvNKjvfWCdpw04uzjlLIYiyBFtwU=; b=N8hMywSLwtJpx0DY2g48UYJd5FnYovY3p4CrrZBFGyCBwPj5L46qU5W5rldq8oOjyr Bjlqoiln0OIga9bkHnzYW0XO8UpSXB+1ahXp6Uw4BA905EbIiy+VZtfoA/Kq7prdIvg3 nZ7L8NieFhHx22Eehfc9bt8VPEgR7fGnqUcwZtrQIS2d0EmoyRGj/vMuS71j9ynBiGEc 5hvz1Sjv7qh//8Lcba2PPowhSOadsnIUEDPWweCgZMaR3zquKVhyD/M21mx9P3g1/YZF d7bNjfC8UpcHUmVFJO7nPsxxSYPf0RIUWgFgDdWD/N1A7CAts3igy8jZMvcck/sWQo86 JzNA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=So25vA4o; 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 ffacd0b85a97d-3912bfb3d1bsor277909f8f.1.2025.03.06.03.30.34 for (Google Transport Security); Thu, 06 Mar 2025 03:30:34 -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-Forwarded-Encrypted: i=1; AJvYcCUe4l2p3hBzhKrkkaIc5AFdNTfktME+Z7D5X9NKnlIMHfmiwU2v/FfB8U1TrFVUrvxJPEe/kgJUYYmG9E7M@amarulasolutions.com X-Gm-Gg: ASbGncsC6vi8wvbMqkzMos65i3rgicPvj7N9t9OewEyYhrgqIaogi+H9WtdqPZvNWku dCD8SAwlldjk0MFXQwlC9hvxuzigedk86p7ENUZy3/04peP1MsMWjj4h6nxC2hSQIcslg2nRmDc G/LFExB2GdshtJJcipNm1A63+5T6Ofo8O/01+22H1qiS35i0fqijjokNhKw9ULow02A/JLB5nqo nR5oD3eAQ5G79vsjj1Kw9CD9wrn0w4RnJ+KsLQhJNY2IaTFKxVDX7DLel6usMbdo/qGxIUA+5iS PMTzjtd+kCtpSn/O5CmJdyxfTU18NoXVm949Infn+w57omCfxCyK7v2dLAI6HP2WSiNEHrzJVZg T0iznoQ== X-Received: by 2002:a5d:64cb:0:b0:390:df75:ddc4 with SMTP id ffacd0b85a97d-3911f7cba2amr6815821f8f.44.1741260634196; Thu, 06 Mar 2025 03:30:34 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:4703:aa8c:6eab:8161]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3912bfb79b9sm1749650f8f.3.2025.03.06.03.30.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Mar 2025 03:30:33 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Stephen Boyd , Peng Fan , Abel Vesa , linux-amarula@amarulasolutions.com, Dario Binacchi , Krzysztof Kozlowski , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Michael Turquette , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v10 01/18] dt-bindings: clock: imx8mm: add VIDEO_PLL clocks Date: Thu, 6 Mar 2025 12:27:50 +0100 Message-ID: <20250306112959.242131-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250306112959.242131-1-dario.binacchi@amarulasolutions.com> References: <20250306112959.242131-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=So25vA4o; 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: , Unlike audio_pll1 and audio_pll2, there is no video_pll2. Further, the name used in the RM is video_pll. So, let's add the IMX8MM_VIDEO_PLL[_*] definitions to be consistent with the RM and avoid misunderstandings. The IMX8MM_VIDEO_PLL1* constants have not been removed to ensure backward compatibility of the patch. No functional changes intended. Signed-off-by: Dario Binacchi Acked-by: Krzysztof Kozlowski --- (no changes since v6) Changes in v6: - Add 'Acked-by' tag of Krzysztof Kozlowski Changes in v5: - New include/dt-bindings/clock/imx8mm-clock.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/dt-bindings/clock/imx8mm-clock.h b/include/dt-bindings/clock/imx8mm-clock.h index 1f768b2eeb1a..102d8a6cdb55 100644 --- a/include/dt-bindings/clock/imx8mm-clock.h +++ b/include/dt-bindings/clock/imx8mm-clock.h @@ -16,7 +16,8 @@ #define IMX8MM_CLK_EXT4 7 #define IMX8MM_AUDIO_PLL1_REF_SEL 8 #define IMX8MM_AUDIO_PLL2_REF_SEL 9 -#define IMX8MM_VIDEO_PLL1_REF_SEL 10 +#define IMX8MM_VIDEO_PLL_REF_SEL 10 +#define IMX8MM_VIDEO_PLL1_REF_SEL IMX8MM_VIDEO_PLL_REF_SEL #define IMX8MM_DRAM_PLL_REF_SEL 11 #define IMX8MM_GPU_PLL_REF_SEL 12 #define IMX8MM_VPU_PLL_REF_SEL 13 @@ -26,7 +27,8 @@ #define IMX8MM_SYS_PLL3_REF_SEL 17 #define IMX8MM_AUDIO_PLL1 18 #define IMX8MM_AUDIO_PLL2 19 -#define IMX8MM_VIDEO_PLL1 20 +#define IMX8MM_VIDEO_PLL 20 +#define IMX8MM_VIDEO_PLL1 IMX8MM_VIDEO_PLL #define IMX8MM_DRAM_PLL 21 #define IMX8MM_GPU_PLL 22 #define IMX8MM_VPU_PLL 23 @@ -36,7 +38,8 @@ #define IMX8MM_SYS_PLL3 27 #define IMX8MM_AUDIO_PLL1_BYPASS 28 #define IMX8MM_AUDIO_PLL2_BYPASS 29 -#define IMX8MM_VIDEO_PLL1_BYPASS 30 +#define IMX8MM_VIDEO_PLL_BYPASS 30 +#define IMX8MM_VIDEO_PLL1_BYPASS IMX8MM_VIDEO_PLL_BYPASS #define IMX8MM_DRAM_PLL_BYPASS 31 #define IMX8MM_GPU_PLL_BYPASS 32 #define IMX8MM_VPU_PLL_BYPASS 33 @@ -46,7 +49,8 @@ #define IMX8MM_SYS_PLL3_BYPASS 37 #define IMX8MM_AUDIO_PLL1_OUT 38 #define IMX8MM_AUDIO_PLL2_OUT 39 -#define IMX8MM_VIDEO_PLL1_OUT 40 +#define IMX8MM_VIDEO_PLL_OUT 40 +#define IMX8MM_VIDEO_PLL1_OUT IMX8MM_VIDEO_PLL_OUT #define IMX8MM_DRAM_PLL_OUT 41 #define IMX8MM_GPU_PLL_OUT 42 #define IMX8MM_VPU_PLL_OUT 43