From patchwork Sun Dec 1 17:46:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3681 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6EC8C3F033 for ; Sun, 1 Dec 2024 18:47:37 +0100 (CET) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-aa54d1c790csf245309666b.3 for ; Sun, 01 Dec 2024 09:47:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733075257; cv=pass; d=google.com; s=arc-20240605; b=HuTkaAVqMU76PAID4FZJeT78WXuAyuLeCEhEt+fxI1w2t/yCasICo/HOSR0+pG0nsk 8TttYeVg9mUQny9V8gjCXscYNAh4mkK1fS/hPoDISR7r0NJTp8eQa19bdqmW5qhNRKZu F/20rKEtFtFXIyPHc0EF9CoF36G0Eqw3hg6NV0OLV/ChW7U8Q2pEscF36VpMVkVji3ZQ m7Zlfh0JBI0RivygvndyZ0AZBCrLt02erP9bZWC1wdzYMogZ/bRGf3n8irSi5uWn2Ae3 RLB9LMl5AsJuCp2BNT7Xe2Mrk18YuYBJHB2qSQJbjkdLYX05kdem/oVDoVGQ9qnXJkWj vYTQ== 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=z5hXJKqh373KV5jR8D+27//LQ5HszMReCwjGHBS5yzY=; fh=3HpZGE4c608Pd4p3oJ15qqh0zAwVcswKZLX8t4ktY64=; b=eCOBXeqW6T++xqHlDMKpiY0haPVLJgbleLKll+E+Yd4LkQd6QTywY8nwb83W3H4IE2 xjSMm2242k91CE2CdFqHHlCNa4dXZDN4gdD/aetY8iHw9dywyelr/D4z0qRJySznEFE9 DkNmH/ilnf7V8maZvwU6Es5qcrUlJPq2Kb7MgXt+io9UnstJ5UkiGkdmpo8fVdmxfvKi pbzqSMJmyr5ooSjRn9tFTtWhLauUuwQKjalM/NZMjVxs+d5KiGI1MwKX/JP0Yg9dc9Uf Sg9c6vQOAhOfrb+oohkOrI23R9TjTRVOGPRSfDUd8p04HxHBLB+lYB1wdCnz/HFAECWQ wP6Q==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SISqE+rZ; 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=1733075257; x=1733680057; 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=z5hXJKqh373KV5jR8D+27//LQ5HszMReCwjGHBS5yzY=; b=M+5i7uuO4qzV4e1sRD5Bt04OUUulfngyQO/gTUmh3xZZCe5h47EBf3GBcxBQS1tvIk yj8c32Bll7ieh8nmPMzwWue1/t6u0FrqVTmcpRauOjPHY++PtAI3/me1I8ULUnSEyuuD 7vl86LrmVa52JWkRklNtbI/+VE6AjJdJXeJN0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733075257; x=1733680057; 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=z5hXJKqh373KV5jR8D+27//LQ5HszMReCwjGHBS5yzY=; b=dtwJ7zIJmekXX49FcO5GSZCft073Dp3Ew4FFIxT7gVAAfTWwVLVuL2W3kDkxsSGwPd AIodoOvo0VGuzPTA4U/tsVLUkFQesCfk7ulDVlfEc68bGOOEW2/vcF0Ufyk1SiIpRqgw yRwwaNQDBPoc19+eEYNzQXVf4ORCwRNwoIRRlwRVZkXzBmBiR7/xF1ki8suIJ0KKZJOT S+jRs6P78UY8RRUfszyNQupFdHIwAeGO8tXP6goAYMLqVVMr+7xx0NM5dHOgperURYMo 9XbD90HCcLuDtxG+027kEYRsR+PCtaUDJ5dhzPI2ZodNAhCci5ncwhWrWwItRDRU1ld9 Mckg== X-Forwarded-Encrypted: i=2; AJvYcCVZ+kNLtJdUj/As9nXsst1r5bDwrT1Es3NCMI2BE7N2x+svhTvA3nFsbo5rcgSDE2FSuSi74pLfpmm9u/hu@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yyf+uUHDbcWitvP1CQbxd6bNDq3rKtdmSJgG9Gzl3pgJtJyi84V 7cXkRkkZnIjoSHCNeTwzrOaTV70Nw2E0USbP8574Vh7ctX5MsVO4AmRg6Sx/njGoVg== X-Google-Smtp-Source: AGHT+IEzY4ypUr/V8vVBg9l7RMGmcCPBlC3PLuGgxF0tTOmILwfZ3lf2UTDqFk0Nkb4ByXDccSPpdA== X-Received: by 2002:a17:906:32c3:b0:aa5:4982:abca with SMTP id a640c23a62f3a-aa580f2fb6emr1823339966b.25.1733075257094; Sun, 01 Dec 2024 09:47:37 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a50:d751:0:b0:5d0:bcd8:21e with SMTP id 4fb4d7f45d1cf-5d0e27dcb79ls584010a12.0.-pod-prod-06-eu; Sun, 01 Dec 2024 09:47:35 -0800 (PST) X-Received: by 2002:a17:906:319a:b0:aa5:1ef5:261e with SMTP id a640c23a62f3a-aa580f01a3bmr1977584166b.17.1733075255152; Sun, 01 Dec 2024 09:47:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733075255; cv=none; d=google.com; s=arc-20240605; b=kQo4sqkaHThtIkFS4RkeVF0wEZHPD2sjcfej6oySEjVcZmz3gjumxLqocsnhMjA2+j BaMWMqeQBFqxsANpaS7ibB6DTsna2wcmKrF73y3aU7k00tjryOBDpR1MPvgsnFasrWqz P9WnccW5rmNz/T5O0x1owfQYRrLdJmSduRCC8DFqIHZrAtxoE4pey+fhIJx9l4n0Nafc 3eziTNz/Tu/QUSe2pcv/vC68TjAJ/YYofFUnW3WeBJ/2TryIpkaFKRLPnDKO1mQR6isO dMd2TLI1YTdpn3J8wbUtn/1Yl8VLnNrJ+TqHYSl8vP4oqLLbrbWQmVFQ4KOYQg7d/No3 sr3g== 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=z9ECY73UG8ehnqT2joX/xp2njmIlfmPxWimrFTqyoco=; fh=2TL5gdVAJyX/yhk5/AxHrADrCeVz/BiuKBD/sWsuHYo=; b=ctLhgLzNwf5cBUa1L1SPP15S6UhiaBa6iILZCMPfJaW/XJCF7uiKwyPICYYr5ysZvn ETJQqvUpr+k+kofv9cSAbbhn/464rPSM2Uz9ztN/WEKahKCHFLL0Q6Qv7Gf50q6HeJTL EQSrwW7urr1vwA54Eu2fylb6E4KSf4fWy2OAsz9I2ywhkmI4JL7VNxzaSO7tLf2wa88H tRi0PDTE9fjVYBs2P/crYxqKH6oUgGvm1FNqWwuCK3PbVqMu4r0fgk7I8nhFKd1Yh/sk Vy+qp0VGMMjV5LeHZS6TnR5zcaAdTYsqaIlNY97z3m10haWJI37Id+B46dUeQTnUe066 3ugA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SISqE+rZ; 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-aa5998db497sor235728466b.13.2024.12.01.09.47.35 for (Google Transport Security); Sun, 01 Dec 2024 09:47:35 -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: ASbGncvFkyjz0u8FBNfPlgOjpIDHxyiKvC7G0Caqq0r8+RcXOtE6NvnLlhI+960uRt2 Nl6pkoqrfJRPwaqbE24Vl4yNbv8Pd0EiiARnaZgEY9WntcbTcrlSBhsRV17Z4F6Ln/8vGlTG3Jy 9drBzi4jtjDfptGBLAMLBKpo2o+T7xnUvNKojBQaIRysftY8y65c6ZS8BZ9IlRV5lBCpJ6y3TXc dKXcDfEjN6mQOvs+68CcawgWF5nGbc9S6ozaShPu/squlGUTmPAaPsjzMwOcVMXIlgw9TQaEDwX cjwAojnYhNAR0xga4S4j8KIHIn1Cos00lSz2VEaTA5zXFCWhHpU8QqwCjiJchgsUI6xNrdNQzlK RgpgFw6NYV/illpmO X-Received: by 2002:a17:906:3d22:b0:aa5:11be:5703 with SMTP id a640c23a62f3a-aa580f3a76dmr1448724266b.35.1733075254737; Sun, 01 Dec 2024 09:47:34 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-54-94-193.retail.telecomitalia.it. [82.54.94.193]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa59990a78esm415220066b.163.2024.12.01.09.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 09:47:34 -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 v4 10/18] dt-bindings: clock: imx8mp: add binding definitions for anatop Date: Sun, 1 Dec 2024 18:46:10 +0100 Message-ID: <20241201174639.742000-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241201174639.742000-1-dario.binacchi@amarulasolutions.com> References: <20241201174639.742000-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=SISqE+rZ; 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: , Add the bindings definitions for the anatop node. The patch is preparatory for future developments. Signed-off-by: Dario Binacchi - Added in v4 --- (no changes since v1) include/dt-bindings/clock/imx8mp-clock.h | 70 ++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/clock/imx8mp-clock.h index 0601df6c8d38..39e4ad470927 100644 --- a/include/dt-bindings/clock/imx8mp-clock.h +++ b/include/dt-bindings/clock/imx8mp-clock.h @@ -401,4 +401,74 @@ #define IMX8MP_CLK_AUDIOMIX_END 59 +#define IMX8MP_ANATOP_CLK_DUMMY 0 +#define IMX8MP_ANATOP_CLK_24M 1 +#define IMX8MP_ANATOP_CLK_32K 2 +#define IMX8MP_ANATOP_AUDIO_PLL1_REF_SEL 3 +#define IMX8MP_ANATOP_AUDIO_PLL2_REF_SEL 4 +#define IMX8MP_ANATOP_VIDEO_PLL_REF_SEL 5 +#define IMX8MP_ANATOP_DRAM_PLL_REF_SEL 6 +#define IMX8MP_ANATOP_GPU_PLL_REF_SEL 7 +#define IMX8MP_ANATOP_VPU_PLL_REF_SEL 8 +#define IMX8MP_ANATOP_ARM_PLL_REF_SEL 9 +#define IMX8MP_ANATOP_SYS_PLL1_REF_SEL 10 +#define IMX8MP_ANATOP_SYS_PLL2_REF_SEL 11 +#define IMX8MP_ANATOP_SYS_PLL3_REF_SEL 12 +#define IMX8MP_ANATOP_AUDIO_PLL1 13 +#define IMX8MP_ANATOP_AUDIO_PLL2 14 +#define IMX8MP_ANATOP_VIDEO_PLL 15 +#define IMX8MP_ANATOP_DRAM_PLL 16 +#define IMX8MP_ANATOP_GPU_PLL 17 +#define IMX8MP_ANATOP_VPU_PLL 18 +#define IMX8MP_ANATOP_ARM_PLL 19 +#define IMX8MP_ANATOP_SYS_PLL1 20 +#define IMX8MP_ANATOP_SYS_PLL2 21 +#define IMX8MP_ANATOP_SYS_PLL3 22 +#define IMX8MP_ANATOP_AUDIO_PLL1_BYPASS 23 +#define IMX8MP_ANATOP_AUDIO_PLL2_BYPASS 24 +#define IMX8MP_ANATOP_VIDEO_PLL_BYPASS 25 +#define IMX8MP_ANATOP_DRAM_PLL_BYPASS 26 +#define IMX8MP_ANATOP_GPU_PLL_BYPASS 27 +#define IMX8MP_ANATOP_VPU_PLL_BYPASS 28 +#define IMX8MP_ANATOP_ARM_PLL_BYPASS 29 +#define IMX8MP_ANATOP_SYS_PLL1_BYPASS 30 +#define IMX8MP_ANATOP_SYS_PLL2_BYPASS 31 +#define IMX8MP_ANATOP_SYS_PLL3_BYPASS 32 +#define IMX8MP_ANATOP_AUDIO_PLL1_OUT 33 +#define IMX8MP_ANATOP_AUDIO_PLL2_OUT 34 +#define IMX8MP_ANATOP_VIDEO_PLL_OUT 35 +#define IMX8MP_ANATOP_DRAM_PLL_OUT 36 +#define IMX8MP_ANATOP_GPU_PLL_OUT 37 +#define IMX8MP_ANATOP_VPU_PLL_OUT 38 +#define IMX8MP_ANATOP_ARM_PLL_OUT 39 +#define IMX8MP_ANATOP_SYS_PLL3_OUT 40 +#define IMX8MP_ANATOP_SYS_PLL1_OUT 41 +#define IMX8MP_ANATOP_SYS_PLL1_40M 42 +#define IMX8MP_ANATOP_SYS_PLL1_80M 43 +#define IMX8MP_ANATOP_SYS_PLL1_100M 44 +#define IMX8MP_ANATOP_SYS_PLL1_133M 45 +#define IMX8MP_ANATOP_SYS_PLL1_160M 46 +#define IMX8MP_ANATOP_SYS_PLL1_200M 47 +#define IMX8MP_ANATOP_SYS_PLL1_266M 48 +#define IMX8MP_ANATOP_SYS_PLL1_400M 49 +#define IMX8MP_ANATOP_SYS_PLL1_800M 50 +#define IMX8MP_ANATOP_SYS_PLL2_OUT 51 +#define IMX8MP_ANATOP_SYS_PLL2_50M 52 +#define IMX8MP_ANATOP_SYS_PLL2_100M 53 +#define IMX8MP_ANATOP_SYS_PLL2_125M 54 +#define IMX8MP_ANATOP_SYS_PLL2_166M 55 +#define IMX8MP_ANATOP_SYS_PLL2_200M 56 +#define IMX8MP_ANATOP_SYS_PLL2_250M 57 +#define IMX8MP_ANATOP_SYS_PLL2_333M 58 +#define IMX8MP_ANATOP_SYS_PLL2_500M 59 +#define IMX8MP_ANATOP_SYS_PLL2_1000M 60 +#define IMX8MP_ANATOP_CLK_CLKOUT1_SEL 61 +#define IMX8MP_ANATOP_CLK_CLKOUT1_DIV 62 +#define IMX8MP_ANATOP_CLK_CLKOUT1 63 +#define IMX8MP_ANATOP_CLK_CLKOUT2_SEL 64 +#define IMX8MP_ANATOP_CLK_CLKOUT2_DIV 65 +#define IMX8MP_ANATOP_CLK_CLKOUT2 66 + +#define IMX8MP_ANATOP_CLK_END 67 + #endif