From patchwork Thu Dec 5 11:17:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3702 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 C0E1740D6D for ; Thu, 5 Dec 2024 12:20:02 +0100 (CET) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-aa6219bb498sf71329166b.3 for ; Thu, 05 Dec 2024 03:20:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733397602; cv=pass; d=google.com; s=arc-20240605; b=kxV7ZDYX1i4ci5hB9ATefC520DziN5vjOKh08MeKw/riX8WiTeryyVFSg2BOCloYrc +6s8oq4TIWD9ffuRX6DDuOh7/f+1xwh8pMSn1Z3nucVvf7b175ZNhidloTH3FAzWYL0q hhk4WXOs4LGrvmlS4OvS+7MzTfgoO+XYhTLNIGnV3RimnJoYl/JNbbJXzrWA0pMDKyq+ LLheonM0IJae8gRgGSK23yYSUYm/h33dwOXuO1zOoUPJ3yepA/w6JeB61yd5dcbK/2Db xCibjZKg4HhNF4PvlYokl0EN8u8NGlWvF9rsHc1RmQaP8oF5M9HsanQmb5LTYr1LSEZc u5kg== 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=iBLIE2FGgujkweestyiGlDFOJQ9LXeILJDP390rNxCw=; fh=fSdnPsK8A7hXBsw1FCTUHB2QJJf8D8tfBGPmKJZwX5k=; b=ZLqRfqr5gq1NK53ab6E3hdBEaOnwILwS+3zlRoVqwzc/mNG5cD8wR1wUm2Xq9g8k92 I7l2Wd5pM8qlQfbZBMDkiEg4Y+U7IgpIb4KttZHlkrk4kJQT0oe98d+XFp+qjYIhBpSM gOcOgbN3OE92eAmfM3q8wmeiSZQvasu8BuK6pVJKzmFYX+oNvB1YJXV5UR4AAPuUjQ2u 1By6h8f0Z2zS2rkOZ3V6PBQPv4hkOkraF7GdIZx1FVbLutq+NXxXf7ZBz58SW/jqz+lJ TV5/xUKrbeiAcJii1tPn7XnrgrBmwt0jvTjJVVsrN68O1FtvBJzSNp6v9nOHANcSEKWV rRJQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eRrgd1TF; 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=1733397602; x=1734002402; 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=iBLIE2FGgujkweestyiGlDFOJQ9LXeILJDP390rNxCw=; b=cq5RTBoHWSg30tqVPjoNNnVBUWhhpXZM8pupz469WXsJyJwg19hxz8F/jdcCEDPJfO P/450Eu0gEUI6pmCP4WfwoDCiWR9qUutDXrH0kksHv32D2unYFv5d3KEu++AIB0cVAAX Qt2VOUmETdksDl+gQIEz3N1ZTiFfkfHqV81UE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733397602; x=1734002402; 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=iBLIE2FGgujkweestyiGlDFOJQ9LXeILJDP390rNxCw=; b=q308JAjNdvx6R8RQY2GfV5HKdR6jxZNyXcak9b7Z2R4B0UKhQsMifSo3Z2+3OeAYi4 csuQxfkV2HbLcLxJEua5dUgqfH0afdDlEsN8a8EgjvGaFpMNe4ul6QmeMlZy3P80yCdX m31+bHOj/LNO2l/Lqd0Gy5kJVH/5wiRmYt4ksOGUKm1Y8q+2hvYwgEq/ZTUwb2JDyF8Q BN7XfUT0mwEZguk7kslUuUzlx71s5QcRzdThml/WGkwet3qSwDDiSHClpqXBlyQKzacW eCTaS4td9ofkTsZXbHb5PGQ7IC46TnGsFA90UZp2/sH8UXf/c7NjuZ8DBMst44z9mnAu rfYA== X-Forwarded-Encrypted: i=2; AJvYcCWSAnEHlgEx1cJIUcqV/Vy+RSw9rP+ThA/Kp2hmEkH9yMl2agT30cPt4GjAE6Ji8/Nw/bETHAnseAmzw99I@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YzV24Z2cIimgjxjcwLWL8cDZS1l5oWZNXewLeZRANWUIDmdZPu3 dbK/ZRhgXKmQnuk7NDSDV2a2oM6VFq7sFnzow+IQ4in7iUYkrj40i7qUqyb3kQV73g== X-Google-Smtp-Source: AGHT+IEfjK+2u1q+DO7N5Pgck6pJeA4nsq33z7eI3WFjxlEeM0On3InjD4cXuwdqmBv5HPC4obfAsA== X-Received: by 2002:a17:906:2931:b0:aa5:b54:7549 with SMTP id a640c23a62f3a-aa5f7dc9013mr672326166b.34.1733397602384; Thu, 05 Dec 2024 03:20:02 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a50:d4d7:0:b0:5d0:b87c:ad0b with SMTP id 4fb4d7f45d1cf-5d125201b68ls79258a12.1.-pod-prod-03-eu; Thu, 05 Dec 2024 03:20:00 -0800 (PST) X-Received: by 2002:a17:906:1ba2:b0:aa6:2278:319d with SMTP id a640c23a62f3a-aa622784537mr243989166b.21.1733397600494; Thu, 05 Dec 2024 03:20:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733397600; cv=none; d=google.com; s=arc-20240605; b=I/13nug6JSIbTfdX0EbtftdcrSczdrA0IvXf8avry2crd9tDQ6eZOXUUT9KIlKbyuw 7RwUOeswkP5BzGf1uiKr0aTFSLe8WtXjAdU1jaxPmy4f/T/g582dI7s2h60aoCIF5Ex6 1UJ3cGPQiuUnJ+JBo35Re8dQkyQDvPeOGW4119m6fkUDTj812yhlS3eJuXUvABRqWEkn hC3vo+UDWQ6Nnipp5/zX1y8Z0hvd2U1eOamTe3tOqquY6Sk9yVYflCRb1sRNffQc/uKu ObOpF0wPVLmfVWUAsPqqFllQ+n9QdS3z1qJl2haDJpPkTxd7D3b/uaIYOS1L4MGATDWh 9k8Q== 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=YQV84YY3kxNcx24ekDyafnu8RIJlZ6f4/uTM5oPtiQA=; fh=2TL5gdVAJyX/yhk5/AxHrADrCeVz/BiuKBD/sWsuHYo=; b=YKjdJjdvWeyK+9OVZ1S8bXKO7WOyu6hf9sswCVqtwhN4NzP/N9l235JA/6nGg07nTB YRc3wkBGTRGqvLrU/wh8vLV5YeiXyL1qHUFq23JEWLN9A5NcmxSFRUcr7yfo30DXN2i4 6AgxS/Qmom1FuTWnT0jl6PKUat+ATWUT159zmj8FyhH2fEqdn/7ttihLDVwKZUBkWaVw hgRtF3emiMnEU7jq8VOJC2tI8QPEN+h2sTxY/vcZNIbeqqN7Ts+UREQXZDcqgn0nrIfG HmvNSz2dTDAqBO/kwQzHydj/CFpm2vi9+KdoXp2YEt+mWXT7k1q+uaYnSwQZfb4MeZI7 zzAw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eRrgd1TF; 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-aa6260e176dsor59299466b.13.2024.12.05.03.20.00 for (Google Transport Security); Thu, 05 Dec 2024 03:20:00 -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: ASbGnctYTSclZLnl/a7mO/bAma5w3r39aWxD6djFziK6udlxaFyB5jJcGmyIMiJyeTJ AH4C2vN+4aax3hg73dQv5T2k9JEiahNkWDjDnQsaZegSJxuZkG1Mf+gbE1iAIkShXa0PZwoZr5r ZFwl4qXE4VF+KT7Qb61oSUWFJbq0SCTKj9ya7pGrMms7ApINqI0whiIW+Z5yROhmMgAPfXsnbwW Hpzhzs/0TGhFLKoWGtrm6FGHZDofBUyVEyaj5e3I73qAwA87RN39zMNIFHk1rVlxnWOwcZjPOLF Jzsun97G969VeVF033ySJMwchTYwIPN9CP5etXDsi6wjaQ== X-Received: by 2002:a17:906:308c:b0:aa6:2cad:2d61 with SMTP id a640c23a62f3a-aa62cad2dc3mr99811966b.19.1733397600072; Thu, 05 Dec 2024 03:20:00 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 03:19:59 -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 12/20] dt-bindings: clock: imx8mp: add binding definitions for anatop Date: Thu, 5 Dec 2024 12:17:47 +0100 Message-ID: <20241205111939.1796244-13-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=eRrgd1TF; 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 --- (no changes since v4) Changes in v4: - New 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 3235d7de3b62..c2acba5d4555 100644 --- a/include/dt-bindings/clock/imx8mp-clock.h +++ b/include/dt-bindings/clock/imx8mp-clock.h @@ -402,4 +402,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