From patchwork Sun Dec 22 17:04:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3723 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 2F70C40CF6 for ; Sun, 22 Dec 2024 18:05:46 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5d3ce91c403sf3589204a12.3 for ; Sun, 22 Dec 2024 09:05:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1734887146; cv=pass; d=google.com; s=arc-20240605; b=GkUV3nqKI8KUyu+rmNpUBQAP2bDIOVS1VhRFbx6jjCOHTmMHQiLYq9WR2ixE6EXso3 pKDnJGCIN9o+UpX7Z2SO/bQcvfrgVYFinzQdHtK0cZGuaMHIgorp/rSVT6eLIUv0pE+x PuYSgDbahbE+UIcM3dHiz+iLySez8LAA+kpJ3Dsq+sGfQK4CMxfhXfPx1lqNyvn6zfY6 0FDpqplatYkKgXiHpAMg/Q9+JIdpK28Yc8rS6Wn4wAbggK/VUkbLxPjRkZbqi6FLp+av +xyGWz49Z5pzf9oUwO4V1cKcepJLdw1w3NNy2lzTkO9FNQS0x1OYzdFz8xszSgjGSIqI E+2w== 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=s4zhzUiTOGDUf29cBmdF88+28cREOImuqH2Hzc1tdAc=; fh=VeTUkpqU+3Fv1sAJmHAofHOqrZt/u8CToaRDyCvLxjg=; b=WhRsdncFAfn6LwGoRlDdoQmOwAK5gKjnEFhn4jtCaAqyl1rBgLwsLrUAhR2Fkh5l2j UnsvNb2n3Azedht5HX/gRRV/ivnPCLjvQtnISvSaMQp8U2YjUG8t+X9ajF1liNXD9a3v 6nFbT5sfeJbc/C9yG2bINmUkOYSRoXFMUQ4a2f8pkR6SYo5AEcCK3fvNqtxHUEs9ccNB kR/uwsaEcsUYcr7/qmyJHnUHBxCfsllUZJdtddulGpF4QCjymzB2zfRHnUEIPjKI8zdy Ar9a+9E/WvysFc86GCDN0NrgUR/epD/Hm+woxWFIefSJobecUfmk22g3imxNXJSFDyFb cFDw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pgcG+tn1; 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=1734887146; x=1735491946; 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=s4zhzUiTOGDUf29cBmdF88+28cREOImuqH2Hzc1tdAc=; b=Y4vwu3gA3Lyjd0FuRhSDC65ZOSdYg61HVCPGqgbBrf4+CnDuH1uj+aGQNQFCjh6Lsx 2Wqf+J90XuRfbrMKLPUfdI1X3tIoez4FXY5f2xyq3j0KoMPyBlWcg2OKc/AqdcrVtNev xMHmugYQR1mxPD3teAeLLVgkPMBlk4pY6tG1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734887146; x=1735491946; 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=s4zhzUiTOGDUf29cBmdF88+28cREOImuqH2Hzc1tdAc=; b=BfP33xWNXmIJn0ZIEw5M4wfTAzjMkmBf3xVCBMJT+r21AXWxKx5H1YCE3ajmS9J2Y9 0GwsGVHr5ch65f2HANnzC0fr5mCckOq85xeAN7QNtpx85R7LxeDTG87VA6qIHxwV1waG SNP7x2vSA+PFqFtojHBcRnrNTQs9jb0h7aFJKeFd2gI6Z6Ebr9+CoYWO39WdhHkuWVk3 fsvHR4T5I9i0bD0Dm0ViLidbUzu0NVYKHLszdn/Z240aYNr4Z4ifVJfcCMGvqPNiWT52 kKgwpG2JkeZGFt6i/4yR0JtSr4Heoks9lFCMYTE9nMEyOAO/SoXWSlzWRrHYGFf4CUal 6/IQ== X-Forwarded-Encrypted: i=2; AJvYcCXQ1gKlwet7Em726EGKFWOHVnyYj7kHjzlOBq7MRnPCEaxWr6nqbWJKlL8xK50E+XX0wPRfY0k5Ng6y6GoL@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YwDhAsCjJgG38UhSsg9I0Nc9A239RSYA3pcfmYu5i333sade3Iy Yu9LXCkgEaSxDOjn156WYPEROPlIfZZRns0gum4BchYv+xPcy1d6V0qzWzNA++zCSQ== X-Google-Smtp-Source: AGHT+IFE0HSjjFn+PWz4upE/QskdgwUlIjVLljPWuScG6+urB4kkWN0vGIlaTR4koeW+bUGLMEni0Q== X-Received: by 2002:a05:6402:360b:b0:5d4:5e4:1561 with SMTP id 4fb4d7f45d1cf-5d81ddcd24fmr9755302a12.20.1734887145834; Sun, 22 Dec 2024 09:05:45 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a50:9f09:0:b0:5d3:c489:125 with SMTP id 4fb4d7f45d1cf-5d80243f086ls2527a12.0.-pod-prod-04-eu; Sun, 22 Dec 2024 09:05:44 -0800 (PST) X-Received: by 2002:a17:906:c10b:b0:aa6:7d82:5411 with SMTP id a640c23a62f3a-aac334e4c3emr916201066b.40.1734887143912; Sun, 22 Dec 2024 09:05:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734887143; cv=none; d=google.com; s=arc-20240605; b=SOe7uJKV8ahHE2O2LQsbDqK+SjA23SoIDoUuI4JMXUHWMLLGHoA0qQHzIibT0QiWL8 mmo8AzRLDYY353pXuCs71ihMxQSARM2bFnTZ7ktkIEmdAmrxd/5EGfGzOeRMdncRk5z5 BmuerJvv5Nd2rS4Ectb9XHu3SgeyihNZGSK22QoguexP3Ntr1ZWTVGSnSFLyHA6CJt6d Y9+HxegJpjl9ZLuJz0Er8IfKwUO27xYa3w9E3MO86v+3/MOV+eJKCsw5x5tYYW/2fWVI tijRS5ShAjAQFLLgdWFWIzVrek8iXKL+CJON3ELgjJvSGWNWphCsiwWa+/o+ekDC0XmU tysA== 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=RyU4lCuYuLHxLX+AwXcVxyfMEtnFlBSdsy5ZVGUKyRI=; fh=wKAqkX/zh+QR+hrT1E54GP1Qc3c+MR/u1426t/hKzhc=; b=AV81+ZHff+z+rKBk180C/vWHP4VuK5rvS8266Rbh7Q85C6r7p9TDbyN4MUJEpzTsOJ 0by+S3fv9uXwTY4/z8HK+JGRmhxxUnsC8IM5VzbYagpKMl5AH06v4ul6I4wT9v+tyfNY Wt09Nd6np5gu5+Uc/Ei0RfHohqJTyqTwszJi0P1hCFwfFv4JYoq4dn28lEOMs5/1xMzw g6W5tuBpSH/LftUzGjJiiDhjEJIJv5z+NGOROj/DSh8rSrqP+9PR1iHHP8tXJfrnIaA9 tOYi4YMVUL3Qvh5ZAvm/8yZby5f2CF4Dr+gyb0BsI23lgAyffXiIX0vtBgSwBG1Xmnrq vnag==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pgcG+tn1; 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-aac0e836104sor272512766b.1.2024.12.22.09.05.43 for (Google Transport Security); Sun, 22 Dec 2024 09:05:43 -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: ASbGncvkEzMdpK1YWwPmklDGb50NFQSVXi5T1apTpHUR0kjMvHI5fbBdqLE0AOhGwGM IJGjQN9EVxRSaNtF4hOp+Zke+4T8FSAIjJDYeLJeVKZjFxkSlFqvPWHY3pVDFZbeLHGar793rZD 8o3nbDiraoDT5Tmy2UMiR12P2xq3fF0t1cx+cyHNZwHGSQ2lnQFjE9uqx86KfjbIvu4MZpvpksy nIo5xrh9uRDzRDRuSnGe+RbDTluWc9KKmM9LrYxGC62EHqLYc/Zx/5ZmwVM958jPCnsAgRs2OMj vUkyC5k8I/JzqfoFz5xGcURnahY2E514mLyHOxzSGI3shw== X-Received: by 2002:a17:907:3688:b0:aa6:aa89:6d5e with SMTP id a640c23a62f3a-aac2ad7f926mr1174889966b.18.1734887143441; Sun, 22 Dec 2024 09:05:43 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 09:05:43 -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 03/18] dt-bindings: clock: imx8mp: add VIDEO_PLL clocks Date: Sun, 22 Dec 2024 18:04:18 +0100 Message-ID: <20241222170534.3621453-4-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=pgcG+tn1; 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 --- 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