From patchwork Thu Sep 26 10:48:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3521 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 246043F9F6 for ; Thu, 26 Sep 2024 12:49:02 +0200 (CEST) Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-2f75ea32971sf7875011fa.1 for ; Thu, 26 Sep 2024 03:49:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727347741; cv=pass; d=google.com; s=arc-20240605; b=DLw3noOUlti8Ku9MhURD9b6Za8kmtHEULNK/pak42XUvfC3eY931v6D4kO0bVU8ycB zg7jKaf3J7r6LZtn2cfO2t/LoIfUEao41NgPhOHMiFJb0vnOfXzM5H9MO/28XnLZ7V5M /fA2UR7J+wqy+A8eSZmgqaoNgsU+9EVa126Oi86XYotuQanltzriuIrOyQxuOdzySnma DhyXLvvZWVDwlVDEidiNMOkMTWpjuFCiQfkILqDIBszD/FapZCKuwtmgXhqJ4GbtnUvE SqPzYYzwKoP4PgQj0J/Unn76cIu9DioVlLLK0XKqkly5afhk7gbV6PDIUvXAkXls09y6 sS4Q== 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:to:from:dkim-signature; bh=KKjCxc9wOoF4nBE1KmU1wYzNDV/fuglG12YjXQqIsWs=; fh=G47q1lKr05LM8hwHmclnZ8mTRXuH4wXmLzEeOpClKIs=; b=F4ZfpTwY8+Uv7Qy7ySXgpDdmKkF17pzvN21AWd/Gvxf2N7P1OMc3FGnAqGjI2h6vbq 1NN8UiTjdr7g4XWnxCZ+3hn14pNHDilSBBCQR87QhkfmoacoKMumL7nzQJez+nSwjDTH tQIoQgrms+n5PqlDVNXcB5pZKbl0cWtwX0k89ZiWmYZMaMoDi9f2QnUseOiMYhlmf4iK MUp8Ww5ZjqNJm4HmRZA7+5jtxFHHyARXhx5QuKEC1qSmJzomEsYCy2gtiobtTtiArJI9 echl0oRBEib82fG9u+5qbZDVGECmzEEC0AluRa9SHs44vgiyBUd0KNSI9LQF+iyKZ1lf 6PIw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=myXZBuYb; 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=1727347741; x=1727952541; 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:to:from:from:to:cc:subject:date:message-id:reply-to; bh=KKjCxc9wOoF4nBE1KmU1wYzNDV/fuglG12YjXQqIsWs=; b=fZ7K1gGKDaeUcfpX0LhI2V4p0mPl+bgY9WZMf/Zjo8LDbavXxEd2NftNv/05xAOIQZ wd6bUfoWF0CzbY+SkhA1HamiplmlcwUG8rYdsrOQ6S1vjFTshp3iVvHvIfhLR35Kuvhq uIL1CggB64ZjV3F/Ud2mgeyB3XSrvH3AnhqEc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727347741; x=1727952541; 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:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KKjCxc9wOoF4nBE1KmU1wYzNDV/fuglG12YjXQqIsWs=; b=VRWLFmhJg4NbtMATjdL6KYfSjOTq5ZHB8Gemw+m6IyY7rajDOuvDSWl1j8aO5jCPZO IOFg2ESLjSrkhd6SZpQvw1TONsl70m3rBsvt3qURaSxGBcgKhq74ErgfE4+M7L6e9zkN ULzVuhPCO/phxbXyg76BGoSiLwney53Z4Nu7+pt82WC0GNz4UJEOc2lsGoubpJGt4OhW oaeRyYJGionx9lHQdkfIDBceeUFR/TjtFX7A6eya7aRWBb4Cz/L2JWxZVedi2tBo8rui yWV5eZDEse9hW6TFIs/ArjCa2RBVe81nDtr8hsdPXxrrF+mEzh9koX98tLh9peXLE0NP fBNw== X-Forwarded-Encrypted: i=2; AJvYcCVElWH5Pbd+Xqhbk7LwLerWgoxgIV0lV8yF0BgOP8bHle4oycfDNHxr1PTVH7abtqnfVVCqT0sJFSS8K8FE@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yzpu5Ri/BZK/wTXMuGyjzMD2+RkY1QX78jgfsjglvd/1C27bqrx fZaAIyZ4LSRVHJ3Z4nd5T8u4Z5E+vfE8iHliDDMMDTrdHkChDD8GGONEj07ZuumDwQ== X-Google-Smtp-Source: AGHT+IF/myJWAyhiGPjz0ydBV5ES7b4wH4/uYfS9ZThIQvn9gTYGP9/RGqYjPZ6+1gJv3TM5W8S/VQ== X-Received: by 2002:a2e:74f:0:b0:2f7:5e7f:b4e1 with SMTP id 38308e7fff4ca-2f91ca4643bmr29836501fa.30.1727347741063; Thu, 26 Sep 2024 03:49:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:1f0a:0:b0:2f6:6185:385f with SMTP id 38308e7fff4ca-2f9c6bb36a5ls3575061fa.0.-pod-prod-04-eu; Thu, 26 Sep 2024 03:48:59 -0700 (PDT) X-Received: by 2002:a2e:be8e:0:b0:2f7:64b9:ff90 with SMTP id 38308e7fff4ca-2f915fc366bmr40772701fa.9.1727347739175; Thu, 26 Sep 2024 03:48:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727347739; cv=none; d=google.com; s=arc-20240605; b=aFLsrX0iewgWtR9wIUp/kPu24EFakykm3m3ktXsIR3zpCtgLlDnQMfYUNG6qZWp/eT QZt6GOj4sZJSaxzf3HARqIMTsGbr+hHuDhrcQmdWRcdmj+WT2LtFPnmqzrrxuxDsUTj9 iXvD6KH0MB0qWtCo4cxhUF+8o7a/sQDWu2qAt9V84taBAMhHCrHCTvDRa4W7Cvs++L5S n/cIXzxOJSxSSkxiC+t553p4XoDsydHbbkahMQLfe/bmOEI68YGPrH05OlVybD0T0rrM LTjIX4YErhiJGPwhssITGxStVFSpcTIKR6E5pPF7yW6GExnhvDAWJoNAPKpridL5jNTX 0lnw== 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:to:from:dkim-signature; bh=hgBA2YgBzcVdnVEoc6s2KOvaf1NpbuG7MmZKT5HNBsQ=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=AMBg0q1mLdIPMLMwZolSTduytUXZngicdJnYw1YNXqpUZ/0/Of2LN/3eAtwt/K9d83 e3O0HGU69cD4f0qXV/6dLc+6r6BaSnITNCCwXvhEMQVrjQb3Hshm6uG0HWc7Kn+i8RJq auDFL4tXRQDxsXCHhDYiQAp9WMqWzHuRI14rKHNNLko8y/upoLN/rUejTQA3zB5anpqF MdEStT4ygoIhK045cQcXrtdhAeimML2UiKd24oCSJsh6eu2IRnwOdehwRKVQC0pM3MQo ybT3S2P8U1SUIuHQDkIptrlIPUvenbqKRYWVpupyPGNLZRQei551WIflqF9GWllbjBsh SLvg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=myXZBuYb; 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 38308e7fff4ca-2f9c85bc647sor3222731fa.14.2024.09.26.03.48.59 for (Google Transport Security); Thu, 26 Sep 2024 03:48:59 -0700 (PDT) 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-Received: by 2002:a2e:130a:0:b0:2f6:5f0a:9cf8 with SMTP id 38308e7fff4ca-2f91ca68592mr29419511fa.39.1727347738299; Thu, 26 Sep 2024 03:48:58 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.42.126]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e96a55336sm43314755e9.47.2024.09.26.03.48.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 03:48:57 -0700 (PDT) From: Dario Binacchi To: linux-amarula@amarulasolutions.com Subject: [PATCH 1/6] dt-bindings: clock: imx8m-anatop: support spread spectrum clocking Date: Thu, 26 Sep 2024 12:48:50 +0200 Message-ID: <20240926104855.656121-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240926104855.656121-1-dario.binacchi@amarulasolutions.com> References: <20240926104855.656121-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=myXZBuYb; 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: , The patch adds the DT bindings for enabling and tuning spread spectrum clocking generation. Signed-off-by: Dario Binacchi --- .../bindings/clock/fsl,imx8m-anatop.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/fsl,imx8m-anatop.yaml b/Documentation/devicetree/bindings/clock/fsl,imx8m-anatop.yaml index bbd22e95b319..c91eb4229ed3 100644 --- a/Documentation/devicetree/bindings/clock/fsl,imx8m-anatop.yaml +++ b/Documentation/devicetree/bindings/clock/fsl,imx8m-anatop.yaml @@ -32,6 +32,47 @@ properties: '#clock-cells': const: 1 +if: + properties: + compatible: + contains: + enum: + - fsl,imx8mm-anatop + +then: + properties: + fsl,ssc-clocks: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: + The phandles to the PLLs with spread spectrum clock generation + hardware capability. + maxItems: 4 + + fsl,ssc-modfreq-hz: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + The values of modulation frequency (Hz unit) of spread spectrum + clocking for each PLL. + maxItems: 4 + + fsl,ssc-modrate-percent: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + The percentage values of modulation rate of spread spectrum + clocking for each PLL. + maxItems: 4 + + fsl,ssc-modmethod: + $ref: /schemas/types.yaml#/definitions/string-array + description: + The modulation techniques of spread spectrum clocking for + each PLL. + oneOf: + - enum: + - down-spread + - up-spread + - center-spread + maxItems: 4 required: - compatible