Message ID | 20231004063712.3348978-1-alvin@pqrs.dk |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp2562517vqb; Tue, 3 Oct 2023 23:38:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHd2k65aYdWcejh8nq/FU4J8wElLtb6gOMmZVWU1vjjcorCXeSHNOpr/XhhxxkmTi4JBMvM X-Received: by 2002:a17:902:7207:b0:1bd:ca80:6fe6 with SMTP id ba7-20020a170902720700b001bdca806fe6mr1449509plb.41.1696401482161; Tue, 03 Oct 2023 23:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696401482; cv=none; d=google.com; s=arc-20160816; b=MkurICll2wVYc83qo/KrSM1OKqZY6FWVYhsxXSDObf4kbYAiT9ZLMiDduI3XvVcVdR KTW3/Y5nhd82XtSEi/2eiRBAPTqa2rJ0eqQhf+J4Ddg3bj6JOYtKEgiAQaTmiXz8gU6c Vh5WgKAbuMlf1IM2SIsOt5SftjGRvbj2XAtMa8fFNhNWsMEhPia0GM9SR31M3A9rIWw7 fMQwzVuzDMVs4qyzaavAservnKI7e7EZHYXsRwGE+d/q8i2U2j1zTw/1BdLCpSv/O5xZ wxPQ/zXNXWyXp7lJOCrFfafF07Rop1hU+ll1EPJ2DvydS3QG5K1K45kUYH8yiRYKcR1Y S8+Q== 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=fpgW+gEag9qXZo1DXgsSo0SmTLeZysRZSApP6lP9jNo=; fh=S4B5/f5/pZTD56hJ+MO9YX/idQ0QZoneW+TTTK2JCmY=; b=fyAfAgKQ+SEebeFbMv4TDLYVPMqJ/e3Hj3ZjtWuqnD2XOfFOTRjTEg89KScHMtAVZi x2ph4mptWgL6X7RWFpV54h2QKLIAEtOR/iy05hoVrJf6vxkpqSSiSrJa5vT8nDsEPmi8 Cq+ROL7RJmDLDin0W/qf1Mq9hBpwpve4+pyW1CMIXlnxiFGsZU9lU+P2saIQWoswUpJD kyqTdXc62EIzEQF5wl1LeGmQ1ZKaXY1yxOhj3GeBe0SDvh2MOuVCYmaFTPicFtdqSQ+C 4sM1h1Wda1CHrnShOJ/X4CdTk50E70yq6xafQZaiHs80bnogH1hB1pkHeU5mpQzgdG2i bTFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pqrs.dk header.s=google header.b=nYEZ4Zhn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id n6-20020a170902d2c600b001b8a4954be1si3273604plc.595.2023.10.03.23.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 23:38:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@pqrs.dk header.s=google header.b=nYEZ4Zhn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 5FE668236265; Tue, 3 Oct 2023 23:37:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241417AbjJDGhj (ORCPT <rfc822;chrisfriedt@gmail.com> + 17 others); Wed, 4 Oct 2023 02:37:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241400AbjJDGhh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Oct 2023 02:37:37 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AD0FB0 for <linux-kernel@vger.kernel.org>; Tue, 3 Oct 2023 23:37:32 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9ad8bf9bfabso324785566b.3 for <linux-kernel@vger.kernel.org>; Tue, 03 Oct 2023 23:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pqrs.dk; s=google; t=1696401450; x=1697006250; 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=fpgW+gEag9qXZo1DXgsSo0SmTLeZysRZSApP6lP9jNo=; b=nYEZ4Zhn/h+N6FdpG7ZXSVc7yqFX70id39nZiBCBXvZUrozB0UIEdYNU243bhuCiZc ivSg0bIgaOJkeWRofPFsTo9Bi8nQ8E7qmZINCQXgVu3TFS+d/zGAhj/n4gddVX6eUcZs lLDm0YOdQm2tvOrdKay+dHpcMeOd/kuVBGZwbeendEMzuk2ySaEODIb/Bwjm0FNdbrsg dqo98IPlJxytO6uqlx2IFYQaTyb7afIav30UNYsUpi2iblZGm5/4aQTpTS5dhmdqjLLv +b77I//HJzClF+46J8y3jV/FPcy64bDDArLjdph5LbJBcyDTx2d62+Nnn0gsVJ7RInm5 05HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696401450; x=1697006250; 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=fpgW+gEag9qXZo1DXgsSo0SmTLeZysRZSApP6lP9jNo=; b=OhhsG0q3qWep1dzm759BFkQtAXKIjGb8YR6xP656hvePgJlBOTpqx2ZoOfuoKNT0ED DFi7A3H70z5ZfW83TyhWym2XthFRLEtuxjuW4CEP5sXDJMaQLSC35zIVihHVqGFEiLQv iYrphvLcHioJ/U/BMEn2U4fflJYS4WlnAsFop5ogTpsQkcmHMNfhB4OPDId8nWjJJI+s gLJqLGt8pDO8a3p1fb1qU6G7JnxqxVlDtXrnBKH0xPzK49s9r2v6GPLZY6uDo6TYuO4X 07Ero5Fbv9WvOlxvEyMfcdcVht2da3ehzietXVDZqGxQcR5N+E3tGK9BEhjcc8wNEovS AWBQ== X-Gm-Message-State: AOJu0Yy4RSfYH1D5wFu4qcyYEmzharmGq992MbqfBK8OKa27JfFgkt6P 4roW9RnBWLcsaK+sFnaxOfvJ1Q== X-Received: by 2002:a17:906:217:b0:9b6:3be9:a84 with SMTP id 23-20020a170906021700b009b63be90a84mr1121861ejd.74.1696401450383; Tue, 03 Oct 2023 23:37:30 -0700 (PDT) Received: from capella.localdomain ([193.89.194.60]) by smtp.gmail.com with ESMTPSA id jx14-20020a170906ca4e00b009ade1a4f795sm2193507ejb.168.2023.10.03.23.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 23:37:29 -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_Andrew_Lunn_=3Candrew=40lunn?= =?unknown-8bit?q?=2Ech=3E=2C_Sebastian_Hesselbarth_=3Csebastian=2Ehesselbar?= =?unknown-8bit?q?th=40gmail=2Ecom=3E=2C_Gregory_Clement_=3Cgregory=2Eclemen?= =?unknown-8bit?q?t=40bootlin=2Ecom=3E=2C_=A0ipraga__=3Calsi=40bang-olufsen?= =?unknown-8bit?q?=2Edk=3E?= Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/4] clk: si5351: add option to adjust PLL without glitches Date: Wed, 4 Oct 2023 08:35:26 +0200 Message-ID: <20231004063712.3348978-1-alvin@pqrs.dk> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 23:37:53 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778805880178414874 X-GMAIL-MSGID: 1778805880178414874 |
Series |
clk: si5351: add option to adjust PLL without glitches
|
|
Message
Alvin Šipraga
Oct. 4, 2023, 6:35 a.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.
Changes:
v1 -> v2:
- address Rob's comments on the two dt-bindings patches
- new patch to correct the clock node names in the only upstream device
tree using si5351
Alvin Šipraga (4):
dt-bindings: clock: si5351: convert to yaml
ARM: dts: dove-cubox: fix si5351 node names
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 | 277 ++++++++++++++++++
arch/arm/boot/dts/marvell/dove-cubox.dts | 4 +-
drivers/clk/clk-si5351.c | 47 ++-
include/linux/platform_data/si5351.h | 2 +
5 files changed, 325 insertions(+), 131 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/silabs,si5351.txt
create mode 100644 Documentation/devicetree/bindings/clock/silabs,si5351.yaml