From patchwork Fri Dec 27 16:56:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3740 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 5591743434 for ; Fri, 27 Dec 2024 17:57:28 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5d3f4cbbbbcsf7431565a12.1 for ; Fri, 27 Dec 2024 08:57:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1735318648; cv=pass; d=google.com; s=arc-20240605; b=lZqBTEBqyltFzQUfOQUy7mauF6wJdqhcgvBTfkzDDp+dqPpfmTNnuogf6FB9F/L0/n rKVdCDxDEhKui5MFFBt9I6rp63qtcs6TRys0V1VInv9PhbSfZvHUIiUjSd++r8c5+HZ/ g1NdpghDKtO8pH1V2DzzdSEyLx649tS8Iqlgkp0s/DK8BB+dRHDNq1viAV1LTU8cvpdD Yz1sVImBMaMEHhfZ6oaDzfQDBRFGU35OSOsTjDb8GRYQqUQT7sOzKeJx31iQIPBJ2eiW 96C/J/8KfELnXAUjSxIZDnUIMFDcOXVH2/DuOdbHjnGwrZxysQUyAi+s0YRdK9V9e0X9 4ITw== 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=tg6IgTQP0MUvj4jswQHTfNQX3w/vpFVNN+Ch93P0ao4=; b=eYc3T+f/HCTkZG86qI8QCGKk1R46oe7HtzcC+AuNdzxD/UexUqE6IGx9ny0WRcWQ1w iAGwkoV8XfvI/B/gtvhvkqjqrzzd1aeeHB3AnYR8/h3THNzd3nIdtyaXLDvxYRN2EsGI 0Ne/zw3vah0jp8fU3inFpGBH/YpmuU3HdxxSpcEThLj6E0FXngkgPLD8JnBNXX/YA6Tu PuDeQgyiK0hudiO2ozgEYAkDSvlHReQji+ayiz66IAcw2iEnt/vvFqh4Q2adlmUVrj1V CrSbmAiZJ9766bb0c9lIB5fjPzEEeTwg8hyx4+hdGVEo8Xn8y1AvrR7FXBbyRepL8oqO 9vlQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=POEwDYod; 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=1735318648; x=1735923448; 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=D1MZEcWvrUJFHRmY5jvSMkxTtFXEc6vuk5NQEK5hV5aC/OZG0ki3aRs1Ux+RivRVAX 7AeuTHx83RB8itVLPHpbAupDGAdSus3TMBNIzEq3VaXGiDouJWhOVRKjv4Ij+DkPKXQb G1FT1JK+TQcLD0/QKVQGkseljiGrG2NJyMyFQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735318648; x=1735923448; 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=J4GSXH0ULKuQB81waA/sA4zMyK2UB/17KT/8Ftez8UBqSqXV5zEcRu2nsSdTojtQCz cpDSSmI/liIBRhsr4vieekYzX2yle02cI0jDkl98UTEO3wFZqbKSpEohvH1rrkQlk10O vs4zLZICU5qY/dOSlSeSluxzBzBi1gnb6QIsCEURPc2k3QgfTP9SmdADKyLfnnwcWGwM bS3lNIOXLcQc46CgBRk3CuZtkzS6rDJSJm2BLLaY8LPcyrbXjSi/O7CyUg21febe6Y/s 4E+15jVDIEhjgHpq5cjmsDqVVOc5lkvr4XN2kUUC5WBst93C3Ey5uaangERm/lPlkBnJ A7Tg== X-Forwarded-Encrypted: i=2; AJvYcCWSb+kzs5siLyeuEIaBhctBLoacNygF8yRIssIAZ6TNJHGU3aZG8j+7/h8RLHjcCrLDVVkLJ5n/t6nuPEn0@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxLfHCfBqjtOd8Ycaf6evhmi0kOCKGN+vgNA6EEQtfwUYwiL44w z48LlCYPnGDS+OLVQQmULJFFURoCJ4tRC9b0I+I/mQVH44fYrTbAa9+u6eFDtRcGRQ== X-Google-Smtp-Source: AGHT+IHtuTEW+X/ygobvkjqfwNavXKgsE8QKupFfqUmhxTTlWQzYGUSyhUoVkwiJNx2Qb7UnloI3VQ== X-Received: by 2002:a05:6402:401b:b0:5cf:420a:9 with SMTP id 4fb4d7f45d1cf-5d81dd83eebmr24510106a12.5.1735318647881; Fri, 27 Dec 2024 08:57:27 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:e8c:b0:5d0:d5d6:eb6e with SMTP id 4fb4d7f45d1cf-5d8a8753d50ls299232a12.1.-pod-prod-07-eu; Fri, 27 Dec 2024 08:57:26 -0800 (PST) X-Received: by 2002:a17:907:8dc8:b0:aae:c159:9e10 with SMTP id a640c23a62f3a-aaec159a0a9mr1507436866b.42.1735318645901; Fri, 27 Dec 2024 08:57:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735318645; cv=none; d=google.com; s=arc-20240605; b=FyKT01CtLvK+VEZTUPlCgD8vXXfzjTiyFkJFk+CGGSxxAH3VgNhullos99Ik9iqtiP sZV7CHxgskPNe5PFVH5wspSkYBPi1IosCGyZ7aTvsWkff2yGpZZH2AhmYnoEa5JP7npj aYTWzXxUC43z+T/sg+IsH1WiRHgysS8vCewVIRHSZ6x5sryfdQAHJy/zhO+njHXYCxWY RnYlwvjCbj+cSoAi43sw7jLrthvx6b9K537v5NI3+j4d1ZFJ5Vdrfwug4metdporBDkx LzcTI62N+JY5JLwoFlewIDI39tNaJOcVEoyUyAx7Lx5Fa22T2Qhv4OXqKbi3L/MtiWy1 N8Mg== 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=eauKudfPQvksK4yogzuMFTNIBD4E/q9Hw1qFB0BwN7RDMRQyq1I5CrmB377liIJuCH eGyoiUm7Tzk0hOEAqGoxgzTuoQBoN3KCzM8etrWwB74P+16XHC59QUChc1/IlQrTwvEC aPiGCxv4uIjtNRmHX43ICZxGtcxKX+4viZKwqnG2P2hITdCg+7UA4e+SubWfA5aS/BR7 JEiJB9hXjbAArC0uSXf3DamF9ozwOEOXgzZoOIcXLRQuDy05+cwzkPXXao/mPTDbCQXs XDmcJvAkugR+Rx25oKEHur5hUisG5BicFNKmROHgYNCbiC3ojfGD/q6DPyk9k8gqzGhS tfGA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=POEwDYod; 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-aac0ef83f62sor583764966b.16.2024.12.27.08.57.25 for (Google Transport Security); Fri, 27 Dec 2024 08:57:25 -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: ASbGncuHTXZgL9g04Y060jE7GruTNtSdrfUKIPmpf2AbB+SRDL7Fji/71dL2yO0pNOa OBEVC3wS2D5aIyiocbagAL7f3Re4aY75K158lOW/0TLbK8TEIdOHiH87WKfvADcycPRVFzPkxcq uN2v+YHqBIfE92WP80E55cocY9SWwonhN55ud/7VDLlXE9sW1Qpiv8iuhJI5bmCTipHy6MKh1WK +9jNtcOzL76w9ttT7EvwWjdrLnJjO27kYN4fjCrsBsoY/PerVE5aPHZdOcw/mNfITjG9iGGPdYZ 7KM8lYLKB1eVMDyWj6QU7g== X-Received: by 2002:a17:906:c106:b0:aa6:7cae:db98 with SMTP id a640c23a62f3a-aac2d447333mr2312573666b.10.1735318645446; Fri, 27 Dec 2024 08:57:25 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.43.175]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0f0159f1sm1130097266b.154.2024.12.27.08.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 08:57:24 -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 v7 01/23] dt-bindings: clock: imx8mm: add VIDEO_PLL clocks Date: Fri, 27 Dec 2024 17:56:04 +0100 Message-ID: <20241227165719.3902388-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241227165719.3902388-1-dario.binacchi@amarulasolutions.com> References: <20241227165719.3902388-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=POEwDYod; 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