Message ID | 20230920140343.2329225-1-alvin@pqrs.dk |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4234454vqi; Wed, 20 Sep 2023 08:46:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5vXn9J2JYirI5MSOYGGpns/B5fbBdyTdOYmTlwlfMqHmA337WLQxayQJLyLuLFaGgRfKN X-Received: by 2002:a17:90b:4f42:b0:269:25a8:66c with SMTP id pj2-20020a17090b4f4200b0026925a8066cmr3043503pjb.45.1695224784153; Wed, 20 Sep 2023 08:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695224784; cv=none; d=google.com; s=arc-20160816; b=abV2ie71EvcopvumMFE5PyhvhA5vX4CsZv9Bfg2kT7bowYSmmtka1rTOE76Mpw1rSR f0GsoDggR1cnWq82ec+BpwxCGm12YmeCFJ3S7ns8yYufdD9SkLVUQ/p1HwG4JhroBPaY fEh2LiaD5v8FouuCfnfnDjPUW7G/yNSdmz55vF3jb4NZJ2srxCabCJLpcl6DmhS/yaUj hyM9KGzQAKu3szmxMI82nRaha4iu65Bx8Roc08wqpOXyZT4HQUJMkND4C8QJk8R9uNh5 kUE3xw+XApaKdJnoOIM9MH/c2tmxdx70mMHIcaz7Q0ErVxQkjM8mSuYKNURqTNAanoFe 99OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hwi8Aua8Y+P9FZKHN1BFMedplZvBD6+gBTVYLrMGWT8=; fh=Cm5fySmRiMXtURj3mp+PZ3Z4HTOwC2V95Ub6ZhegXLQ=; b=y9Ztn7NglJA9yTcu+Al+YrdySm/PszxoZm0/0gndcDHne1gupylaRuURAUhkotkip4 lm3DoqEBQaRh3g3hjY3PP/w7JjWaReqeZ4uPw4xqJdZiZfDKYvJi0zZjy+GqSNrt3c+w Z+0MF6Em1U5b4asr/MOPT5FShymjBH+MXPg54ch10VGWGKnmtkd+QDrJkWeGYgN0Norw 8T4LWJydy27/apO5xtWYTmehMXqXkMYL498BRKyO3UXs27iBMF7R9dvpD9MOMHbQJ7io yyv4hYvijZ/4bgjITGCoZphdLFlWC3dTTSHEDQxftfx4GFIqIhGDg8MOk7RfoDk2sYfi K+VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pqrs.dk header.s=google header.b=FKJiiU1n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w10-20020a17090abc0a00b002681fea6d14si1731252pjr.79.2023.09.20.08.46.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 08:46:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@pqrs.dk header.s=google header.b=FKJiiU1n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id EB158811F130; Wed, 20 Sep 2023 07:11:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234579AbjITOLV (ORCPT <rfc822;toshivichauhan@gmail.com> + 26 others); Wed, 20 Sep 2023 10:11:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234100AbjITOLU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 20 Sep 2023 10:11:20 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EB21AD for <linux-kernel@vger.kernel.org>; Wed, 20 Sep 2023 07:11:14 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3214cdb4b27so3327168f8f.1 for <linux-kernel@vger.kernel.org>; Wed, 20 Sep 2023 07:11:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pqrs.dk; s=google; t=1695219073; x=1695823873; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hwi8Aua8Y+P9FZKHN1BFMedplZvBD6+gBTVYLrMGWT8=; b=FKJiiU1nuHY/TlAjYGLSG0DzZoIg9sLpdBsWDEUosCjL8GhAfdzqhG3iiFvYIzyR2J aueaa2el9vyBZ5jzHUaizFxKml1Z4QVp5L1js783GTU1n2Lnois+UOomoqVDHOxS/oB9 401Z683OuBlQvzgBiWVa6yoq9rj7zEH8sSG/YS7S8QX1OMyhPqQJhcSgJMQIVNT+bqdL xq4IS3y7uPpXFU/uJsGtGRgqReHPvV/3YjVHsTJyGHRvSH1rGjgoQcB+Ov1jSaaNulc1 CSksd12V06JcN16hIL2qvOxu6mKHXfUNUmVnsdBTJD4t/LqVSs3l1V+sz8WNo9ZgNyog CRtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695219073; x=1695823873; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hwi8Aua8Y+P9FZKHN1BFMedplZvBD6+gBTVYLrMGWT8=; b=EqwkVX8acDkki87qkVG/f3YZDAxSz8+41Efa3KG6zC3k9Ewh2+0fCU3wnOcddGq5FC DCnKia5wI9xNoiyTqFbRKv3YXERXUKXu/fKkhM7XiF9eb0huVq5HTL3zHCSdg6lMQFZU O25p7FOxe1IrOUPeTG3tbr8n9pauYLXL6FBrpWW+6rZIsTm+MAYvEHq/Wq3o9tZfOm1X GhZDLZ54VO5pzqpiViE65twwBLeSBhsehRj4q1pUEP8ZEFWRrtvN7y0Z90RaJN/tVMyY VHFKp4Pim8UnlVVwp5Kjz2r6j3bmBOjNulCrK59Yu+0bXbuMNhf4a0yl2GKPysvVAH1s G5cA== X-Gm-Message-State: AOJu0YzSdPtPqNc9Y/dLJhw2HnK01/qWX9SVRpIub/+RHjDYmFaNZbCF rZSpBbi1GWEcOUBp1QQ91UlT09LsP2ZHTFx0X1uSQw== X-Received: by 2002:a5d:60c5:0:b0:31f:dc60:13b5 with SMTP id x5-20020a5d60c5000000b0031fdc6013b5mr2391311wrt.25.1695218654230; Wed, 20 Sep 2023 07:04:14 -0700 (PDT) Received: from capella.localdomain ([193.89.194.60]) by smtp.gmail.com with ESMTPSA id c26-20020a170906341a00b00993470682e5sm9397761ejb.32.2023.09.20.07.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 07:04:13 -0700 (PDT) From: =?utf-8?q?Alvin_=C5=A0ipraga?= <alvin@pqrs.dk> To: =?unknown-8bit?q?Michael_Turquette_=3Cmturquette=40baylibre=2Ecom=3E=2C_?= =?unknown-8bit?q?Stephen_Boyd_=3Csboyd=40kernel=2Eorg=3E=2C_Rob_Herring_=3C?= =?unknown-8bit?q?robh+dt=40kernel=2Eorg=3E=2C_Krzysztof_Kozlowski_=3Ckrzysz?= =?unknown-8bit?q?tof=2Ekozlowski+dt=40linaro=2Eorg=3E=2C_Conor_Dooley_=3Cco?= =?unknown-8bit?q?nor+dt=40kernel=2Eorg=3E=2C_=A0ipraga__=3Calsi=40bang-oluf?= =?unknown-8bit?q?sen=2Edk=3E?= Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] clk: si5351: add option to adjust PLL without glitches Date: Wed, 20 Sep 2023 15:09:52 +0200 Message-ID: <20230920140343.2329225-1-alvin@pqrs.dk> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 20 Sep 2023 07:11:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777572023380641562 X-GMAIL-MSGID: 1777572023380641562 |
Series |
clk: si5351: add option to adjust PLL without glitches
|
|
Message
Alvin Šipraga
Sept. 20, 2023, 1:09 p.m. UTC
From: Alvin Šipraga <alsi@bang-olufsen.dk>
This series intends to address a problem I had when using the Si5351A as
a runtime adjustable audio bit clock. The basic issue is that the driver
in its current form unconditionally resets the PLL whenever adjusting
its rate. But this reset causes an unwanted ~1.4 ms LOW signal glitch in
the clock output.
As a remedy, a new property is added to control the reset behaviour of
the PLLs more precisely. In the process I also converted the bindings to
YAML.
Alvin Šipraga (3):
dt-bindings: clock: si5351: convert to yaml
dt-bindings: clock: si5351: add PLL reset mode property
clk: si5351: allow PLLs to be adjusted without reset
.../bindings/clock/silabs,si5351.txt | 126 --------
.../bindings/clock/silabs,si5351.yaml | 270 ++++++++++++++++++
drivers/clk/clk-si5351.c | 47 ++-
include/linux/platform_data/si5351.h | 2 +
4 files changed, 316 insertions(+), 129 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/silabs,si5351.txt
create mode 100644 Documentation/devicetree/bindings/clock/silabs,si5351.yaml