From patchwork Sun Dec 22 17:04:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3721 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CF7D040CF7 for ; Sun, 22 Dec 2024 18:05:42 +0100 (CET) Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-aa680c6aa0esf179143666b.0 for ; Sun, 22 Dec 2024 09:05:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1734887142; cv=pass; d=google.com; s=arc-20240605; b=UNyscJhIO78eLEo/splYTpjz0M7VeL1GwMRTz5k4ht6aFc/HAi0li9KTQ5rfM71OGV ePWyV5A/VzCyYe3WWkjdHqAjBr2Vk9h9WPdgsmtrdxB8s4+wV5QGi40oMvGXpvKHGH9p tyWkwysTfKK0zS6A/eM74vXLRYtzkwClCMF2er9YUZ+r1efhESoflYk04vgabQqEtk+g cQnmU9lqy71mH+WoVzH0DaNg6oR5pdE/l0jyhIovB0r3s3CmsDi7yKZeS30gQAtQywnL vXrdRt1PdouRbuddMWfCzru2ZdhW/jbggO5l9J0B9PMPjVq56jpdDkz0Ep6tTFF3meO5 EnVg== 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=NwS9bqPNk2OXzCeRci1yO9vG0EcREplslcDuQdIU8aE=; fh=At1qUeO8d2wEcdEeCepsIi5qSmTB6w8UF8+EhCCr0zs=; b=CPstTToLeYFh+qfxIzWUQ9yLJu97tU7JiLtYCEu8edtq6XR/SzeL9LQKVQdu+QzTch 1nJeoFuFC/9ld2zAPWGgQgOwBaCM9eJhf54Jz1/N1b9YdWZp/tFgmj8fhK8PLQ7jZWOr IhFCfxjMIF1rOGmwK3xYU/UbHCLcCVhybqajTfZN2jiaHx55IMjdQN03F9Svo/FSWe7p s+kufDsQiccXvN5C8Yaurlmxr+/UUkaqowO3+WDZQKNsMpjlpAHReZVo4/g27tkNBsNR OXlWi5B8LUH4JWpoyJFJ55JRfy7XxvcR/UNQA3hunNmc7muS9HOPI1hUGzWqnLnu+oiY cICQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oMPcW8YQ; 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=1734887142; x=1735491942; 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=NwS9bqPNk2OXzCeRci1yO9vG0EcREplslcDuQdIU8aE=; b=VQEdlUusbgpDVG8xc2bg5gG4wtyzoEsjRKb2stTLHS3w5/GprSai1+p3nF2++miR7n KYXBv65tBV9c3gm0U/WZdpeS606LlMwJYPItzfuPxrhwgOcvTA/01Ioisi7Z6phxWsfb fx7/L6kSOQPoJ0MqwQc956C05JfRCc2xRcFY0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734887142; x=1735491942; 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=NwS9bqPNk2OXzCeRci1yO9vG0EcREplslcDuQdIU8aE=; b=TpoR3tsw7PosAqVAQqdjo8R8OJJiOU0+PhfdjpN9Zn8xx0DHWFEc7G+4rsQaLUk98S sjBRBiN6AEPg+MCzGFeF7XWIrSViSZnEv7j8kSAAkbIybpWk11Eqf02eNeiRhvV6/bLv +Q5wKTQH+Yf+k1fOnY8BzVhfkXRTPqvbAxJcfTV+csgowI0AMDQVkNKHOh8bNTQcBl58 WguogeSj9/9AOpPkplPeGImVQ2ixiBk45O15VT9U3zWy3use2Ntrxc5vxf+AN3PZNvDJ ZemMhfdLbH4qWm3WUghSon1bdIyZkemwnnUZsquAQkWxuckvGXZ4OiWH9ZSYyxCP200o K9+g== X-Forwarded-Encrypted: i=2; AJvYcCWB5yA1LFAlOpOb13Y3J+TFRzRWi19GqfxZHFMiQun1HbDjSYDeOuoq/5XtF7Nxl1O8XjDRm5EQbqmURNDp@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yy5J73daJqcUYxdch7a9DAn4JPU7/Hw3JKRFJoBzmzRhJOLWRZc tGFVdX6X8E0nL8Q9Cg9qMD+7TSKC8ZTps8fA/IFzcQpPMj5YpaDzDjTaUVFmDEfP0g== X-Google-Smtp-Source: AGHT+IGRIZIz4b4KsyR3s5OF1tmOK/E/YUZn8eIOcUePI1MR+JD34jOY8Tk+qLPGz4VVoaWBVFDIfg== X-Received: by 2002:a05:6402:34c2:b0:5d1:1f2:1143 with SMTP id 4fb4d7f45d1cf-5d81ddfe32bmr10306074a12.18.1734887142294; Sun, 22 Dec 2024 09:05:42 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a50:cd1d:0:b0:5d3:cfc7:9eef with SMTP id 4fb4d7f45d1cf-5d8025a9e8els222752a12.1.-pod-prod-08-eu; Sun, 22 Dec 2024 09:05:40 -0800 (PST) X-Received: by 2002:a17:907:2ce6:b0:aae:c9bf:41b3 with SMTP id a640c23a62f3a-aaec9bf461emr180911766b.37.1734887140316; Sun, 22 Dec 2024 09:05:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734887140; cv=none; d=google.com; s=arc-20240605; b=GmqKJtH0XTTnXSEoMQMw+xK4YpQOrJz9g+4XH0q803juxx6laj2Ij0gOtVJYU/X6r3 oGdy/00/vfWhAiLN731GzUa3stM71l4OWkayLfx8WJ+lrZtsbtXtV6Y0CJY3BqcfCrWS vKSp+mEYkiw61OZAWTfobc5THc/Tfc5nYNFcNLIihhdAu1CDtuggll/ek16Xy8cl8Cnv ny5MYbnjwMp0my6WbbFFmIw9yywYW9fEmgYbFPgXqtwpPOBV74nDizoT8hSqurSAM9k6 RoefsvW0XMmk6Hjtc8aE9Jee+6guL17cpSjVEHDpEncJFq/iLddNwShwRXIOD6xFOvKL Vr4Q== 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=mSqZmzfg82O+4dHUY/JUhUjoJ4s2N8toybCaelOQrvU=; fh=wKAqkX/zh+QR+hrT1E54GP1Qc3c+MR/u1426t/hKzhc=; b=SJ+SHoSYycywMqKy+TkoBCTlr3St2UHYuvNfHb3QKBGrS72Fa+ChwDAtvJULn2pCwV BN5eX+ecbNWqyDyD1MX974xeZRwfvKTn/t4+XjJw4TGkL/bKhRctvEWp8NvbShC+aAhO sU6kgI1nL+liotYhhrVOvTKgc5eu+Fj1qLOs+PqnK3m1Njx1ebsy0nb7ZTT+anfRdEeo 7sUMojB4HYgGUvPM/s4Xs69x8VKI4O3QBCb0uczzhzMdm9Ijv3jFI4fwNQPavKzbo1sv EACcroUsvMbLDi1/PeJDOBxU9+Kw1z6ExrtaJ2psfcLC9m2IaWCFj+QHPpgnEEuqcL26 HdGA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oMPcW8YQ; 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-aac0ef51de7sor166604666b.12.2024.12.22.09.05.40 for (Google Transport Security); Sun, 22 Dec 2024 09:05:40 -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: ASbGncvEUk1gvQQPwZWNUHfcaeudLpSodzJ3CznCcK8jpllCAMzXDsqYjpWZzP2giRs Crl2pmdBnYdqFds4Bep535fkQos5GPQeUfh1tgGPYCfZKDljRj/3Une7ZMThox7uX4oh0yUpFkS 7kUkH2OqL9kQRIGkHnHCNYYtvWtpJzA0EBe1kP+lIm7rCV6qgu7yoS9v6KjTC2eCOBe/62iwxp+ /j3MKvLYg/03Ia67s1kSr/b8bu8IN1APZ6cbY6yXEpPPf+i5iYyyEFizxcEoOhU9B/pi3sZkt0x ajhfWbAy919PzLxa5wU7vp3n0rfEH4KmiUb+bPIaUoKqDg== X-Received: by 2002:a17:906:730a:b0:aa6:a572:49fd with SMTP id a640c23a62f3a-aac3368c074mr1008129766b.54.1734887139810; Sun, 22 Dec 2024 09:05:39 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.41.87]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0efe48d6sm414056566b.127.2024.12.22.09.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 09:05:39 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Krzysztof Kozlowski , 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 v6 01/18] dt-bindings: clock: imx8mm: add VIDEO_PLL clocks Date: Sun, 22 Dec 2024 18:04:16 +0100 Message-ID: <20241222170534.3621453-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241222170534.3621453-1-dario.binacchi@amarulasolutions.com> References: <20241222170534.3621453-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=oMPcW8YQ; 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 --- 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