From patchwork Sun Dec 29 14:49:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3766 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D88563F174 for ; Sun, 29 Dec 2024 15:50:35 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5d821f9730asf1352959a12.1 for ; Sun, 29 Dec 2024 06:50:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1735483835; cv=pass; d=google.com; s=arc-20240605; b=LNtk+t5mTgJQjcvxXVuw1irJEm9Aj+WYrIM/BxqAmgaqTTAnEEdm8gz/CUA7eOyLnA Gg8AdWSpgJsdUVKudfW4w5D/Vm9jlWz61m+PWOpbwWgi1FdhR9TxReaswHKd6a4vfFwt axr1x7p2/2/+SlzfmmvHTwxZ3gI3zoN5NVCxo3PzOGyzP4Mpghs1aop8ry3wizbc/Qx1 efl2kHQAdcv1Tg49C1h/beS7H2KuNYEml74T9/6avR10gylXKYnJKhVfh+q/0UpjtOgi Wr7s7N7eZZGdXoWaWvJnqDiGT4rxojxMGGyWF6O6+yxqmmpNh1K24MBcG8didCSQjyHa YP3Q== 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=v0DeQnwZvf0OH2I6sDuPqMl1axNehLje/5qK6s+epME=; b=ArEAzaph4ATFK5KXoS9vWivep16Z1tKbkuKDFkBHEX14jK9Yvnf46N9OOF/n1eI9TH zjUW4rEj5V2ZUlPz0/UagJdxzNMSi/CwdH4oOTERcp7puHyPUezy5JmQ6F5QqjSvC4Wv asPDqzZb6AP9nHzmyyxbDx4HoA+2fEJSpkfdks5m2bA10Rmd6+J+9z6wbhXEPxvRZp+9 58LqcLX0TFgpQ699EGRUMNzaXc31FDXR3cYMUqwwr+U5tivhcV1lSjPAFVIfu/WYLK5f U15NL3hAIrER/FJJZjU4APokG/2EnHk/QQfh2g7rotAoEOui9+0vlnW5qy/T5Rrky1K9 srDA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="OBIFa/2O"; 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=1735483835; x=1736088635; 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=XiEcfKodUr3tGJN2H2fTbo0tIZmZmJzO2q4u2V9+CygS4lYYc23WqDJP1KAXvrV7nN p2tJTuxHAKjfUAJjFMMRx8yC9AH2D0QJcfyo9erRjHw2zgACDoAnTX0yz1WrSsN/U6cb NIuqQTf5PDXfwFXt9QScq5sgnZC1RVT1UOWko= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735483835; x=1736088635; 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=I+Pm9bNTevwxf67lm/lnsyEjz9EKn4uCcjPQKYs0AVOREtjHS/tbpbv5pqVUvUA9hu LjmTiTMW5sDuExPiJevI+fGvtj9dJcboQhtpeJRIigly6vj3Bbo1vchcOVllnJO+cdrv zUH52VqYLaOuOLSjFNfXLMq+neyYdGGKuUGooocAEYLQFPUGP14QjVPmmP2xh554zrjd CqipORz1ALSNWpQwAaRyd0q44HB8qtaN9DGzScChSCPFL4vunmQRSScLAA/xNCF3Yo/o gpbtVw4ZS+Xh7DE2lU/OuLCEGVTtVHPs5VXXr2o+JZpZrDn8NgTjfOQQ0+0vypbuAJ8/ gQ6A== X-Forwarded-Encrypted: i=2; AJvYcCWhTfPZL5pnwvGhThvDqLRpoMLbYBsiBwWgXRPzn1ZSy1wGRlnXAaxYyjRh0BzJP5OQ3wKQz/Xm7m2svOIE@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxVrEuPZOWThLz40PQjwpE+emJ/fLF+b8uhpeTWbDq5rZhJ00rK 1ER8DtQUr60anr7gDTRPSh4XJxBs6gez5QV9X12R8D38ztS76foaxYEXCTyCzQVn6g== X-Google-Smtp-Source: AGHT+IFH820TEWb/e8B279EvY20bYWXUMKxKNpUonkqTbSH9B1k5LdadT7F2kBW1QEp3f0bo16Jgng== X-Received: by 2002:a05:6402:4304:b0:5d3:d2d0:12c9 with SMTP id 4fb4d7f45d1cf-5d81e7507c9mr26588311a12.8.1735483835441; Sun, 29 Dec 2024 06:50:35 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:e9d:b0:5d3:ce70:f232 with SMTP id 4fb4d7f45d1cf-5d8a84f20ebls441628a12.2.-pod-prod-00-eu; Sun, 29 Dec 2024 06:50:33 -0800 (PST) X-Received: by 2002:a50:c88a:0:b0:5d8:8292:5674 with SMTP id 4fb4d7f45d1cf-5d8829256d9mr11676006a12.7.1735483833459; Sun, 29 Dec 2024 06:50:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735483833; cv=none; d=google.com; s=arc-20240605; b=cSzWKro5fEpt0DZWIDHOV0LvDpibl3tXHeqMyAGoymcUuiAj5hCtLsMz+Ct+RtDr2L Fvn3oLrQrd9Qg5hL0+J7hgVGcI+ozxGyG0bpkSCMOfoiuFjMtmuQDQDbzFoE7A/j9o62 VUMdSOt64kwJLql5mUA0G0CkL029jibE70H/fRwN9mLztCU7v3DzxXLCDOolk2CD4ylY cbKFjO7SnFYQyhp9Dt7hrgqbkIJCZCv6ytbUHru7kCJIUrznngbr4kXrdzyQhve5n7Q3 1/p7A5K4qI5JvMlcuVI4B9q7xstjYxQodmSHoif82lmueOqAJnylbofsUogqEGOokxMh M8lA== 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=wKAqkX/zh+QR+hrT1E54GP1Qc3c+MR/u1426t/hKzhc=; b=YipFH0MtTE7xIUbCXnvIa6RyeQNVm9Epv1YMnydr1XQ7hksZPp0zmMdOvBQEHnA2dk 2n/ylPVXxfXPq54S4wrMjewDA7ovCoZY2u0E9qaK0YD50kj6wNX/RDUNSDFel39srbWH s7dP/Hh7h+Ui3ymFEdT3RMWM9YYtwDhN2PKEWSUWft/+zeop1UxLPaZihtSkbWfbZJgw C8eisqyu8D3ZKk/86pHZz7Wdpes1ZoxWf8QqRfWSMN08bs+w+s/FFKJOhylnG1qo2gfP b9QEuMbyDMHPC3UsYmDMTJ4s8KWODgzH3apa5Ukh2Rnf1q6lsFk+lYB4C7pNWRTLeUOt pPuA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="OBIFa/2O"; 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-aabf71eb62asor747631466b.1.2024.12.29.06.50.33 for (Google Transport Security); Sun, 29 Dec 2024 06:50: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: ASbGncsm5W9ibBBCKIaVUQFidu/g2g5Mw7r0SSB5DllP5zBtUURpcdjYAoxIHfdLe1D C4F3VomQ1DTs4cgu3Goeo9NiYjkLHAyWkc9BZpQLEALFtibXXpzpABDaP/inqSkLWx5aLx1YfQI vNOlIJoFYUkTbuaZpRRMeWvY7nfv9vT8hg8nN0nEjjEpmLB2g+sBoEZEXjUg8NdSAHBDPzQfxpX V9r4DlQYggk/ppDrAMCZdhAaMxoTGFMyZMiBeqDwcHYLKmNdybOfNvHLoZegPjyLxKN3LxTbEOZ Vpx9qnAoqPzW18tJtJrGAg== X-Received: by 2002:a17:906:415a:b0:aaf:c0:be7e with SMTP id a640c23a62f3a-aaf00c0c9d4mr1166766266b.29.1735483833021; Sun, 29 Dec 2024 06:50:33 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2024 06:50:32 -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 01/18] dt-bindings: clock: imx8mm: add VIDEO_PLL clocks Date: Sun, 29 Dec 2024 15:49:25 +0100 Message-ID: <20241229145027.3984542-2-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="OBIFa/2O"; 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