From patchwork Thu Dec 5 11:17:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3693 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 324AF42D3A for ; Thu, 5 Dec 2024 12:19:49 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5d0c06ca986sf1056584a12.1 for ; Thu, 05 Dec 2024 03:19:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733397589; cv=pass; d=google.com; s=arc-20240605; b=VDSaS7tSZFmx2lrz/fvqCyhopivQ0a4QcbcBMPplmjgf1KH4AMqhvFx55iz3gQWz5t z+Yy3DXzca7uHXnlVZ2tzOL8/viDwKazenUIo9n1HG9dH+15ap0od1fwjcVcSWprrTAw DlWKnj1YuybEiSnf1tHU0/A23iNaJVEFlC/PIlKEmbwNIc09MRW2iM2rVvkmMI/GxdC8 Ae+aNGlRJHFY23grRYDejiGnJtCsD6+c171vQe5axr+Cq/0ZOHFaid1DKlKsuafh3QVs V8tZWjVep4KJI8BVnW3rfk2jNBHKHl6GCdyndm/G3iN89sD4bevW38tr9Wl4L2npQ7bw 1n3A== 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=k13jkdZWAPqKY9RLBUVMyULzjFOIRwdAoO6QdzsgsrE=; fh=jmEYpwK3EVDmMbXf2WPmpLBoVkYJe8WF4DegDqkpXj8=; b=b2nz3UMIm5sPm3tj+scTxfIu+tltFDFSVPOF1lfLJ9P/2LcV8ksqGW9330MHibenkf 5oiq0hyqhL2MUpEs7nV8QMbaB1Pt5CVNqUiMcmslT1RDbahAR7wCYs/IxXFYDpT59uuh +L2CI2aVopDeI/LFGM9tcgUUNnp2sme3msV+iaNqEz9XJZPE3Q9NBROWHiKeNYOWpQ17 0sd8p2bjz9gcGXepbkUzxIt88zgIrfhLE8opL1pFCKFIyQ63/M4CeCxR8xdeo7dKp83G Is4IJDPn/bhWBr4zk6Tzba2CtOlLqIIcJYkooBpskEPp3dPrrxlH7fPZm3vjXhGnmMgT TTVQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BApF542n; 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=1733397589; x=1734002389; 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=k13jkdZWAPqKY9RLBUVMyULzjFOIRwdAoO6QdzsgsrE=; b=hHkykjvAB9Qy7/L8+eiLMAdrpbyzCFSfTLnwyGl7nAhbMLrK/v5s9W2ZVi9SMnvwBr 8zyBV487AzHtfMtTQan43EuRUK1o4AsH8NfbE2jn7LYVbCgLTRH15onkTFi/D8ipVdXb qTg/Ba/2sAEm2rS0njPdCuQNPTktfpKcSrDMQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733397589; x=1734002389; 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=k13jkdZWAPqKY9RLBUVMyULzjFOIRwdAoO6QdzsgsrE=; b=YEBv4X+YrFNmHefWqISHXf8chbhsUVVll5+SH8TfhLWfPM0WkTb4VyicfEm62DOGC3 tdOd8DIB+SNb2D9YT/wJhk27dNn292iyV8LtqHd107VG2u+QBPGEtOtzkgLWbRo23tFa mIzQoW6wDBJeoof7TIpZDthRR6BF3SNT1wPePLqgcEn8P0tGSzQCkZ5weKeYu17ks1g6 I5ipB03grfcgSfKr1RabhMNtXTXGUfl2MeS9Cz5CxarrxZuTHBaWMqZibAjouwMHOA4G glnA4wRQbnkszz4fscKladX8OiK1YRvtFLqNkn4rxMQ55cJ0TkMGhrqjAvov3hYd9dYO fGww== X-Forwarded-Encrypted: i=2; AJvYcCXtd7HsWDQO9TlONkGQ50j48gEb1dbx3l8+Yz/sqMxhHY0yeAFoAU8rmrSUXdeyq/0Il2Xp8CK/zW6RoSL9@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yzdki1d7pbwmLcOK32cLwYJkGdJua/HTxry6lSKhGEEX4ivMGW5 0dev+F6lQKTEpkIKlRLKaIrgma0Qj9695k6YiahWaVFcBvCiBhGMOQdAPURZ5gN+pA== X-Google-Smtp-Source: AGHT+IFYpzq/PRtfB7kHIVkAsMS3H5yhUsR8Ix2W5ztKmpmxNeNvi3qpyRNoj79c7u+u179dmaqbvw== X-Received: by 2002:a05:6402:268c:b0:5d2:723c:a559 with SMTP id 4fb4d7f45d1cf-5d2723ca98dmr1354033a12.10.1733397588856; Thu, 05 Dec 2024 03:19:48 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:7c1:b0:5ce:c9e0:aeb2 with SMTP id 4fb4d7f45d1cf-5d1251ef07cls79230a12.1.-pod-prod-04-eu; Thu, 05 Dec 2024 03:19:47 -0800 (PST) X-Received: by 2002:a17:906:319b:b0:aa6:1e47:f10e with SMTP id a640c23a62f3a-aa61e47f7ddmr305158366b.12.1733397586957; Thu, 05 Dec 2024 03:19:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733397586; cv=none; d=google.com; s=arc-20240605; b=YLmnPivR7BKbRHWWbXlCrcDvzHzHWHOddTvfJOKnKiW5Vq+YyXPsOUhYwZfG+f0fCa GUIPYn/FQsMOs2lb3i3H9O6MWM9kDdHycnSOgusl4ZreJdvxYjs+Gl9m7T0vaoYEzC1G p2AMIV9Iz6Sf6sWiaLHGGjx8NWwuCfhZTlOsdMKsPqPtGDEHxWiDy+1+atZ4HMyQ7lJy G3S44c3sYi7A4936e04ec2e2ryEwxmxUjxv0uOTCU0kfmTepgDTP7KDahLkwGpaVBkBD 5k1vLiC+F7AoUboLcSPuFweCh1AuKpAIMmQz3kMgtxboDUzHk+Ts84m4r/m8rgq2W4xc fkBA== 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=lfJsRcPD/8EPzi0YLbSU3Cc8teD2P8WEd5mYwYdJZ8c=; fh=2TL5gdVAJyX/yhk5/AxHrADrCeVz/BiuKBD/sWsuHYo=; b=FE0VC/jfHQur70HwnpWLazypP6DZF+YRLLjVeYfCZtCcJAunprLSqtknvTRnKNI7qf sEaBQq6vDQCusg+6842y8kMEYwUJAzgDlJ3joZZUeNniTLQF2GId2mYYdxrx1HM27zaZ vY3vmVD09r3RgUyC7KX1PmYlAB0Kp5otpS33ZnQKg31wEI4pSke+gNW3UZ1AcjQW0gLo dkRPPqNU11f9C6ry2ofmIXcQ3bDNyalbUDQ9Apmp+eHZAOJbh63Bwf4zWll5fg8fGPxH JX+UFG1rlayo9G0PHrrLR7J47ElGz3hPH66J5A7fYF1EzogK+9Tnj4xy4K481V+tGMNY HOnw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BApF542n; 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-aa625eeeb05sor50086566b.9.2024.12.05.03.19.46 for (Google Transport Security); Thu, 05 Dec 2024 03:19:46 -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: ASbGncuVbkq+2vrFwjQgHuEQPUjLyanGFnf7XFvh1+cxzFf8b17Nm6GS19mP2lazTqS LKytqtWEqbP150h+BsXzeQhykNX7hOWV6fkSaKYFqcOGsnX0cJPPHika94x7JBwLGteQN1323qK WnuzZi24SQFbaZNiz4QkGbY4RWSihGf8lQcdxuyH96uMGoqi3HS1hnrwlU7oDq/pg6pVfQx1yHr wsB6NP+Y8UVmlXbeOXhzzLISOnbi3yTEmfu/i9l2XKh8cHyO6WTWaBrouAxgdOLENtF9+jGbOUT gKikJQMETUQ4yT7G4+1YZuoy/Rwr/pY8il12hN0BYbllqg== X-Received: by 2002:a17:906:1da1:b0:a99:3c32:b538 with SMTP id a640c23a62f3a-aa5f7ecdd96mr850956766b.42.1733397586585; Thu, 05 Dec 2024 03:19:46 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:61a1:9bc8:52c6:3c2d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa625eedcd0sm77505266b.87.2024.12.05.03.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 03:19:46 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , 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 v5 03/20] dt-bindings: clock: imx8mp: add VIDEO_PLL clocks Date: Thu, 5 Dec 2024 12:17:38 +0100 Message-ID: <20241205111939.1796244-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241205111939.1796244-1-dario.binacchi@amarulasolutions.com> References: <20241205111939.1796244-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=BApF542n; 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 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