From patchwork Sun Dec 22 17:04:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13918192 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B57A1898FB for ; Sun, 22 Dec 2024 17:05:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734887143; cv=none; b=nD22bxq34IvzGs1ZFEc6DuJ9D149NIspFo+pS3nGJ67NQlVsCVzq5mqyL4OdZGt6qC4yFfCmI5CjTuKQ7uH7Kj4Yj60aK3NCnK2U/SvQaclLquMXF5/9zXcI2AE0pKHN8EBUEwZhLxy+2K951Bhi7tYEk7Fi8UKbzgH6IXeqpoI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734887143; c=relaxed/simple; bh=3RR7TtmT2tghjfLjtOiYGFW7M/pVGEzXb7TNNEfCgjM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WLTM4iVr+SGAy8BesXc5ewSPJnAJI4DwY30SEvp/n+SwqExaV55wXUV/bxtOhP0UVLIBz7obSOZNODaLMmlg9UA+MVdfAsz4wT7oRtjmrTMyRj+18iQHwBm/Fc5la/fW2GYMFTOpup17Sn1xbf5N0vaAAThODDrVSLDEqHEHl58= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=qnUVkx76; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="qnUVkx76" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-aaec111762bso154119066b.2 for ; Sun, 22 Dec 2024 09:05:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1734887140; x=1735491940; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mSqZmzfg82O+4dHUY/JUhUjoJ4s2N8toybCaelOQrvU=; b=qnUVkx766GfQaDKN/O9fs2W4LH8O7ZhdjhPJ8W5rCZ3A/ypvwvRIC3lC4ElecL2YSX /vnNvdJLkFeq0pUpQ6NZHrzwPwtc/LtBCGlZXOV+CfWcDJA10vzt+Img4eLL4mJmMN9F sp7lx4Pc3TcADyDY72JPoha14yjtcur9MjDS0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734887140; x=1735491940; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mSqZmzfg82O+4dHUY/JUhUjoJ4s2N8toybCaelOQrvU=; b=p9UAH0iXj0nX8p8xP9iytDMIJs4GwoSbdcs5OErhrMmxMflg4mgKcoMUVR7c6rg+tT 2kMzJyPO8qcgOuOp3zOBsE25Pwow0K1NIzLRQ/JBwb0VaHvo9X78beGwbU9xKOdL+e/S z+MAdN6B/xB398ProYBEt2oqg/6DjabyroQ5N4mm38zjUB8GqO5/YnFrbhpbqZZIbv1M zeaIq24S9I0vJGLzG5Q6fJO66yv+58goQErp8XQWWJ1Ujk9ilRdJxD11Xd6iB2vFl+lW rivvjwGU3zWbhBAzz4XkSRJcp0p9o1NCdWRR+XCTYt1wUj+mnJfKTZPaHzCzpmy+V6qd lwUg== X-Forwarded-Encrypted: i=1; AJvYcCXMhexm73MWtckn0Cv6QtKEolu7lUh1g4BsL+fsXoQwI356Q+VOV9FKf3vKPIGv6elqOd8K5pTV7X8=@vger.kernel.org X-Gm-Message-State: AOJu0YxJK7lNWsUd3JsQ1iNkfXHxVV3Sv8521YksSVaUqRbMdabCUSLZ wBIsla2E0RTByjlrynA1A7PxQueiEumjyktAaeka8zp0Ud/YDy14zEFpUynoing= X-Gm-Gg: ASbGncvtZ71DN13isxO5m0nqX6Ei2zB8kJTfOuiUIkTvIlH/hgy7lZXwso7GoMtRKpW 9EC0CMObEkXrYYCOvYc/zPBP1TcB5BdEBeRA1sfJgMRS3sau1pCmPuXW+J7Us2cuXt6KEmMsvds hG4TImn2ERiozaHbkP6x7wivQX7gQeaz6WuGNeWfmjFM7MUEQa7KEZckG164Ay+xxYo3n8zEemL wDOYHh0Uio7T8dMYzKOMdp6TH2yCuFK7nNKRQY5I21GPZIRpFeQ4hsKNtK1eUOkhieUwh0D9LV7 Y27XMwwd9QSvVmbU3hyZ1mRpCKNab/VeyjktfFsR1FQuHQ== X-Google-Smtp-Source: AGHT+IGoSNLLXoUG9w9h5MwSnQKDCveLmkkQwCAObiEaQRbH9lAFBzDeGX6ULegdYk7dQYszNotN8w== X-Received: by 2002:a17:906:730a:b0:aa6:a572:49fd with SMTP id a640c23a62f3a-aac3368c074mr1008129766b.54.1734887139810; Sun, 22 Dec 2024 09:05:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 09:05:39 -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 01/18] dt-bindings: clock: imx8mm: add VIDEO_PLL clocks Date: Sun, 22 Dec 2024 18:04:16 +0100 Message-ID: <20241222170534.3621453-2-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> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 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