From patchwork Thu Dec 5 11:17:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3692 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 A718A40D6D for ; Thu, 5 Dec 2024 12:19:48 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5d0c64ce365sf1060785a12.0 for ; Thu, 05 Dec 2024 03:19:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733397588; cv=pass; d=google.com; s=arc-20240605; b=ODou44SCL0RJcqGsDGzyNYj0UlRPIutsE8NqdVUYKxnT5Rv0/f9ClamDihhZORQon0 YR67Cwt27Fcth1GCl6r9iZmJIqkCXkflUuEDB0RJmO0iWCyi79b2pev+xmOQ6TvnZtQ0 0HqQeMPvZRO9Ggy8XASu+xbQqo/Lx1pD1g4TfpRvA4Y4z3gI5ZROrDPYvo92gcG9315R uKuk/fyRpobVU6rfjDK4+VUFKLZ35EOy7EMWesyxhOOCQUMpEpoVHMCdnfaqyqsIydVw 3qx5qbeNbnoHv51sFa88QKIiR7/uF65oUpUHtd4iRZpiHttKiJeewLAx74fQOFn1jREg TQFQ== 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=ZD8R3KEt6ZBbZuGr5OjZob6jcchXI0+vrFy6qxEvh1w=; fh=o2TGcUU7QlF7j6qreEE6N+j2cqS6L7N4oq2MZiLx9+I=; b=bNm3EoaT2Ew/BBi+MPoqE8fJ+VBVxw9gBVn+ugcwca5/uFN3ktHGj24uJKWF5KKFYi GhueE86YxUyyqI0ldg7f0G9GZMCsy9ZpZ01jeFCr6uY3E5XW3CQPeRKIjNFFrEdOiWXB VXlvvomkaK6puI8sJJ4ZdyQbZbSkqsM8O5wDdRQJiAz8zo2/6IOQc4uWeoeVdbhvPHae Kkv4hl2GnD84Wi4Er7QW49HWq7/2x/GKVmD2Irjz5C7NTumyoT7HgYC+j2EhmHFmFTNa ZYvJQg3h+iAyG8nKYQz4DCAZQyaRtviE5UABTSWajGK/GCQuCKr6CdN+Z8z9CqbU2ZJp 89vA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=C018oiDL; 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=1733397588; x=1734002388; 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=ZD8R3KEt6ZBbZuGr5OjZob6jcchXI0+vrFy6qxEvh1w=; b=BBpkakh5oSypbGocX6dItUO+eQesakQ5/p3cNiiRiswRMQnRLh5hw775//+g47Vvi2 0JWBq4gURBYuBMWlSasfdmjyeVqPcFMub+AdsAs/0SUycDda4TfseWmtyTRRnKdFyaCL PO6vLpTX+KKzMkQBAiXy9eKHNnIRu3mhdYcM8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733397588; x=1734002388; 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=ZD8R3KEt6ZBbZuGr5OjZob6jcchXI0+vrFy6qxEvh1w=; b=PQMYAUXJUONHmgHlFs4p9eGHh5hM20nELbUtae0+IjTA//zk90KKb606n91FmxkCH5 F9c+lRMkBr993pqPN5GDkt+z12YiepThKB/7v9meAGQReUa/6xgwlYrGe9c9T5asoVmy GSdfyQQJg83WxlA1d3oWSZX3105op6lGpB0wQhGzyPTrnvkKXMhv4sFsSM9cLFhK8z7l r+QHAsaSajrACsgtf88+3nFkQeyI92UG7GDXfFmEyvCFlHjnH5MMZYNLJlrdEu6/NNf2 n3a5+TbD74CQkga77hm2fT5N0ZNZYlR2hbTH9Lfnhu574Q/v1t4VahvQfc6ZJP4YRyT4 Ycag== X-Forwarded-Encrypted: i=2; AJvYcCWKwz/+xJJVw9ksP4zOKF/kfYRhq8l4K0pBbnG/jEsZnwofqeWg7wVDdie6N3hyAlL+TObYxu8lOlucDqUR@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YwGDTM3auVeN6I355s9TrY3xuIjyiFvJ4784fBv7tzBJ0bU3iwL vCXqeZIgfWe3NP3+K/zbQ86fZOgPEQdTjWI3F1taSjVSv4rDUN+XNnYK+EnjBegwoQ== X-Google-Smtp-Source: AGHT+IErQG7Mz1ouIRz6G7Ju+7lxc9Je5lywo6MHH586OnifShl0klQA4qXbqFjmuK5FwF6L5MBG6w== X-Received: by 2002:a05:6402:5245:b0:5d0:f904:c23d with SMTP id 4fb4d7f45d1cf-5d10cb99b63mr10785855a12.28.1733397588183; Thu, 05 Dec 2024 03:19:48 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:12da:b0:5d1:245e:9dfb with SMTP id 4fb4d7f45d1cf-5d125050ff7ls96661a12.0.-pod-prod-04-eu; Thu, 05 Dec 2024 03:19:45 -0800 (PST) X-Received: by 2002:a17:907:7715:b0:aa6:2ad3:6258 with SMTP id a640c23a62f3a-aa62ad3645cmr150533166b.38.1733397584911; Thu, 05 Dec 2024 03:19:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733397584; cv=none; d=google.com; s=arc-20240605; b=LLv01Gq4zsYYshAWqu+h6vT3mH4/kN6pNW+z772UlO2rXs2JzlfblXrWtIe9GJYer5 mutWeu1F16V304b8eTa8+5mpDy+CZMgZsRENJMUlj/dQZDUrNLjo8QaW/vQqj884FZaB nGIf3gf6kJIGIFStYMPyLrQFV3jSSLl3poK/2pTxj0X8q/3feenhEhki1EWDM51Ix7S+ uCCSjLKMAqRBTvo58NiEX85DLq5jM3I8zO+yGefZqZFEss2f9v9fPywwNqn3ixXLsRPs BA/Zv9St3LK59FnQnHI9RQf7iCMbcnyesfV/OwVV31GF0PD0hZnNIcWoUk5KOJhpVQ5p qutA== 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=7OgnJTRYaGToVHZFCJ+TqtWqC7383KgEzRV1X5oSD68=; fh=2TL5gdVAJyX/yhk5/AxHrADrCeVz/BiuKBD/sWsuHYo=; b=X+j5t8orC8vRCCxhl0Zqx7s/SotajtOpvPBzUUjCOWQAsPBHq7Wn4IGkZDtPM4WEb2 pjpuAKhqF/1Bkjbf6Ws1WsoQWof6EzpT9wo3y61jJRnGh24PVTi/u4osEVI3aJ3vB1fT lggOVzuvWnWwv63vV3lptdy9BehD76t4aQkZEtghWTR+KMWDs+FYjfpMAgCMtpgF0+OU RcXCv5Zg9uJFg9G5GBLn8Rp1NXA0gaWdlPV3qj9fpXhUIR1NPIieDOHSfEz3NQqo5XMV UwXhBAleHObKuIb3GgQMMb19Di4WRKrcE9AykGxpM04vtnSrMq0SLpN2i0s6opGo2oUk fhmQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=C018oiDL; 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-aa625e4b5b1sor59194666b.4.2024.12.05.03.19.44 for (Google Transport Security); Thu, 05 Dec 2024 03:19:44 -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: ASbGncsadqoIxNar7x7waAz/vHllHg+hmhePgaJ4ix9Pe7MGnyvWm7d1jzPVje3qRFl slWohkiNyoTTQ0goteshtrkmc9n/vjuWIVoekNu7ipV5ApLvkxnXxPTfUfpETNkHREaN1sI812z z7tOKXpA850cSSXEBsuaHnKcD/4sz9VZ6mv/RG9RzY3odLvnvYlUoXMk5RvTZOUQ5uFda5dr+IP Oypof5/oiCs20sXcyngc7zU4s7F0Wi9DgYIg74cEXREA76SC1PBMaWZuxo0IPjybxk2mQE9Zhoz tgcML8+iKpXwD7vSOiqytfONDZGdGcQTUNXKO4WRYSg0uQ== X-Received: by 2002:a17:906:2182:b0:aa6:1c4f:4642 with SMTP id a640c23a62f3a-aa61c4f48a7mr271020466b.53.1733397583627; Thu, 05 Dec 2024 03:19:43 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 03:19:43 -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 01/20] dt-bindings: clock: imx8mm: add VIDEO_PLL clocks Date: Thu, 5 Dec 2024 12:17:36 +0100 Message-ID: <20241205111939.1796244-2-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=C018oiDL; 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 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