From patchwork Sun Dec 29 14:49:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3768 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4DDF73F174 for ; Sun, 29 Dec 2024 15:50:39 +0100 (CET) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-aa6a7bea04csf244780266b.3 for ; Sun, 29 Dec 2024 06:50:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1735483839; cv=pass; d=google.com; s=arc-20240605; b=S0RsoT8PzAON88OAnbS5udhnKAVRLObm7aN9R3kM9LdibnT4d/bArLCCjXdNsJDsej d7HOoC2Lj8DK8AvkdwLQr0JuHyLwedV5UNZG4whq+GdG7zd2jnBDOAOjDryz1AebQ4rn 9igUY1UWWiaPaMLv608kIYT0d03O/ynJCP0gHoDQ7CFMW7t7Tn6ZF3jn1n1aH/+uayNK qM2Rm20BvvSa2PXvvARNh6Jp+9y/5hbQMeCVwszCDbKTT2TiwKW9j+ltEseYcBUXHoKk 92luos7Q+fRqU77CqSRg0MEiEI3SAyBo6n4l437CRCZSVCforrFjbqz0IXzyjUmDjQ4M HL8w== 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=Hc/edmENs7cNpUyocf5Uk/+AzgikSUC4xu+qcbxqACc=; fh=z44WZaD6q+lzw2WFqlhJ8HBuDAC5Sc33hC/gZfSck5w=; b=Ajokr+vVecP1xafaq/PxTA6IqVf3fANvAJw0V/z0EYgkwu/vk4raQekQ3x/BOrU++P byMc9DwFmsW/DK3SrG21x8gsOlf33iiso+woCvJ2h/cy+d0S0dLcVpS5gRETtoxZmSUG Ul0bxE0ocm3lrzRVzCggg82rLrQALdvpIqKrueNKLSvRRIE0Es6ih7mDi01gQcw1CMsF MgadLqr13jtpUU19j76TPrGZCSxoJnMjAMxXVUjEKtOfdFCOVr1wffTJjv5aU+ZsvPyt hYRkrdDECRp9/CYBJcy7oDYUiEXsFihxw5nA8oV9FO4NgXI18FOGJ09dfR3vueHjqnJp wS4A==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EZgVzf3N; 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=1735483839; x=1736088639; 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=Hc/edmENs7cNpUyocf5Uk/+AzgikSUC4xu+qcbxqACc=; b=FOGoYLQ9DUPaCPmePMN6Hqn6WVAijXv08xF4wSdafbfwI8WXv9jL/7xO/t8dY+YAdy Sy2ts8/HKVpWgE+kT3MfDJnhunJRN5yL+hzmxFDJSzaZOhHTjHp1UFzg3PxSGQBP6Pdy t2FLBkiFWnq250qahE/1Oy6hchWWnLuTiSgbo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735483839; x=1736088639; 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=Hc/edmENs7cNpUyocf5Uk/+AzgikSUC4xu+qcbxqACc=; b=H6IkHY1ES+VY1JPqCq7yoMP3bW46Te1tSmstij6MST7VlNL+tPGaEJVJWP7YlJMXwl OnzS//Hujv1LOHeLEq+SXr6H2f5EZOkCCv46p4KZIuJeZlbB84yOf0jt6jfc96F3y72V Y3FB84MtytWx0s14qsYvulTu4nxxGtmpoTLE28BM48a2ztS+7cnIzwMxD6l7qcskyZ8y FePzUMHLGrtaqZx4oBfL7XoNC/+xnS6j8a/b0DVrNSe7ENnr1bO/YvAAeQvm91w/UHdc 2ZmlwADUj+SOABrYwEzB5hPUlvESMVE62tIGQhfSfyWmcJLhbhFlnEbTK2CJAFgeaoFN ekUQ== X-Forwarded-Encrypted: i=2; AJvYcCUvxeQdpRlMjY8xSpPksXvWPLKUlQ0DX/lhtlENxZ4d/Y6sEwMuCz5zz5q/jtVL29iz79IyF8Vw+JhqlIuY@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YzFCWhda+rF0i1wn6wHne83GEs9dM5ieD/sO0XEsKSRIR3y+LJc T4xNaWil/bPB5DAYMHkPaETk0eoAG1ujlRMhA0cwAt9NABXxNI16+R2rov9ihpq0Ng== X-Google-Smtp-Source: AGHT+IHwOoRHBpZmtgNR48niI38sic9vTHAi/IujeD2EcnQuqR/shZVC9G9Tb38OsajpYzpUtTlqvw== X-Received: by 2002:a17:907:3d9f:b0:aa6:7df0:b179 with SMTP id a640c23a62f3a-aac334422cfmr2533618066b.22.1735483838697; Sun, 29 Dec 2024 06:50:38 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a50:a45a:0:b0:5d3:bf89:291f with SMTP id 4fb4d7f45d1cf-5d8b136ea56ls140948a12.0.-pod-prod-07-eu; Sun, 29 Dec 2024 06:50:37 -0800 (PST) X-Received: by 2002:a17:907:3e8d:b0:aa6:912f:7ec1 with SMTP id a640c23a62f3a-aac3444ec54mr2792556866b.39.1735483836947; Sun, 29 Dec 2024 06:50:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735483836; cv=none; d=google.com; s=arc-20240605; b=QxXh/1wt/4KQ5gFBG+e1IuxMh4/8SBxMamz+iB8wd8t8JbUZ71uBOQcEkRdM0EaSej WHb4BhEx8/4wCf9MEBCnC31nh8F8o57i6vbr/SZTImJmFnufcfR9yQpwF3sTffcJDNfi j4aUIaxPmlODORKCe+Za/0CRYlOKzbbdyTuyrr4Hu2jnO1ehxdQeKGpCZAnanGSHq8hA e805hl4dl0SsNdeS9vSMQi1OQDDKf9NY92azXhGZPUT2AYsAzeoi3D/YoJb7J6weY2wL AEyH5rszTCX8DgcyvNW9YZE8RScLXtpcEk8LI+GkKCxzO/9t7EhmWvKIVcf3Uaxz+4df GsLg== 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=T8/6J4AE7rdE7DvbcqL7lv8LvF8nVi/MJUfgoa9DfhY=; fh=wKAqkX/zh+QR+hrT1E54GP1Qc3c+MR/u1426t/hKzhc=; b=H8QEQVTbZ7yyZKwC4n27unb2dWmwJwwq5cZf9S+hBYZBr+Eh2TBtVrF5VQnKPl9efc XZI/AUS2hbjWyj5MH8EqEoQHPhxqHpGmjvwLetbqpyueo8Y6y/sLkUtRelMZzIWv/9l5 P5GXAptfvyJPKkHfQXHvLC/ZWxl7yS+HJz/x6g2hrJ35hjfcxbCAhqqfbnKVXOKZEE2K wKWF5dHixicxnq5NA2S1y/7J7epMtGKZ2NfwzgcCkxZSO/2OeqKrAGLxWmL3y5+gRpen tZnBOBk90vNaAIiepechX0eGGYUdYHM4P/uuz1LSjf0JYN5pjUHr5Sy3qQY7P/CrgqhM Hdtg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EZgVzf3N; 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-aac0ef2ce4asor500340966b.13.2024.12.29.06.50.36 for (Google Transport Security); Sun, 29 Dec 2024 06:50:36 -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: ASbGncsFFg/+a6L8JK+VTsLG1r+9Rv3xQP6zgGKAKzz6FAYO11P/d/zDoEsygpSkKx0 OImNKJlEGvDC31MhHs0qgkxSDgSb1vH9HQs1IJe8Pgx22BJLkX8Bnz/ClywNx709pN6+gGBDMSE lEYs1jbbLWauVaKW0MTZM54tSWZDU1vVizDL2IbOJ4LQ8UEk0fjRIs3RFqq8iJYGCTTVtTLbhwb H8A8s4PbFuGbAlXiiWUMSxgOFPpCe1jntPQr6RFS8+WyKlz3BtVtLXhodQiWwYAuloVtrK01ge3 jHZg9h8eugtNvtnk/qx1wQ== X-Received: by 2002:a17:907:3f89:b0:aa6:9624:78fd with SMTP id a640c23a62f3a-aac3444eb22mr3253470566b.48.1735483836473; Sun, 29 Dec 2024 06:50:36 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.43.175]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0e895080sm1362084466b.47.2024.12.29.06.50.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2024 06:50:36 -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 v8 03/18] dt-bindings: clock: imx8mp: add VIDEO_PLL clocks Date: Sun, 29 Dec 2024 15:49:27 +0100 Message-ID: <20241229145027.3984542-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241229145027.3984542-1-dario.binacchi@amarulasolutions.com> References: <20241229145027.3984542-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=EZgVzf3N; 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 IMX8MP_VIDEO_PLL[_*] definitions to be consistent with the RM and avoid misunderstandings. The IMX8MP_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/imx8mp-clock.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/clock/imx8mp-clock.h index 7da4243984b2..3235d7de3b62 100644 --- a/include/dt-bindings/clock/imx8mp-clock.h +++ b/include/dt-bindings/clock/imx8mp-clock.h @@ -16,7 +16,8 @@ #define IMX8MP_CLK_EXT4 7 #define IMX8MP_AUDIO_PLL1_REF_SEL 8 #define IMX8MP_AUDIO_PLL2_REF_SEL 9 -#define IMX8MP_VIDEO_PLL1_REF_SEL 10 +#define IMX8MP_VIDEO_PLL_REF_SEL 10 +#define IMX8MP_VIDEO_PLL1_REF_SEL IMX8MP_VIDEO_PLL_REF_SEL #define IMX8MP_DRAM_PLL_REF_SEL 11 #define IMX8MP_GPU_PLL_REF_SEL 12 #define IMX8MP_VPU_PLL_REF_SEL 13 @@ -26,7 +27,8 @@ #define IMX8MP_SYS_PLL3_REF_SEL 17 #define IMX8MP_AUDIO_PLL1 18 #define IMX8MP_AUDIO_PLL2 19 -#define IMX8MP_VIDEO_PLL1 20 +#define IMX8MP_VIDEO_PLL 20 +#define IMX8MP_VIDEO_PLL1 IMX8MP_VIDEO_PLL #define IMX8MP_DRAM_PLL 21 #define IMX8MP_GPU_PLL 22 #define IMX8MP_VPU_PLL 23 @@ -36,7 +38,8 @@ #define IMX8MP_SYS_PLL3 27 #define IMX8MP_AUDIO_PLL1_BYPASS 28 #define IMX8MP_AUDIO_PLL2_BYPASS 29 -#define IMX8MP_VIDEO_PLL1_BYPASS 30 +#define IMX8MP_VIDEO_PLL_BYPASS 30 +#define IMX8MP_VIDEO_PLL1_BYPASS IMX8MP_VIDEO_PLL_BYPASS #define IMX8MP_DRAM_PLL_BYPASS 31 #define IMX8MP_GPU_PLL_BYPASS 32 #define IMX8MP_VPU_PLL_BYPASS 33 @@ -46,7 +49,8 @@ #define IMX8MP_SYS_PLL3_BYPASS 37 #define IMX8MP_AUDIO_PLL1_OUT 38 #define IMX8MP_AUDIO_PLL2_OUT 39 -#define IMX8MP_VIDEO_PLL1_OUT 40 +#define IMX8MP_VIDEO_PLL_OUT 40 +#define IMX8MP_VIDEO_PLL1_OUT IMX8MP_VIDEO_PLL_OUT #define IMX8MP_DRAM_PLL_OUT 41 #define IMX8MP_GPU_PLL_OUT 42 #define IMX8MP_VPU_PLL_OUT 43