Message ID | 20231004063712.3348978-1-alvin@pqrs.dk (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D223E8FDCF for <linux-arm-kernel@archiver.kernel.org>; Wed, 4 Oct 2023 06:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qUr2OWKVcxB7ZaK4e/FLblvXQjBONyE9C3K2seHD/jY=; b=DGTOkc1u8jPspd BJTIR8kiWLzG+5DCGdwFA8NQM/fizTQxZWB64JQ1Tn77vd26zdosF4GWjhse3hHzw20X29m6x51Ns LkPNDXssWRMc0Ae3IAsuES7otoRbw+66YbJNwlzVbaNKyB+Az0C55h8u2Se+4YL3o56fsSfN2Bksb iCwq5YsZeFsmhX/lBr8S3bW3xrNR9LKXdRuvsv5LB2I4DdNiQhwEdRBXMCd8jAozWLb8HlpAw9kwu LBLBXaaS9RTWk8hmHfYTGWIWe9PluAdaNeHLe/kO1cJXxVobkjKj9C8TsJIEQyK3RmxouaLGgosDn 8+3DMWLNCrqrKtY2PiQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qnvVr-00GRA8-0Y; Wed, 04 Oct 2023 06:37:39 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qnvVn-00GR7c-2k for linux-arm-kernel@lists.infradead.org; Wed, 04 Oct 2023 06:37:37 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9ad810be221so325722866b.2 for <linux-arm-kernel@lists.infradead.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=lists.infradead.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=nTbPEexY+OOGD71/nUep71I9dd0IfVxcxQLCdVBxqJHd/ek8KSs4JtDjVi9Zw1Ugzs FABaoFOqNaMXSFO2a3Nqu/7O41IQYsCeqBPks6DoWEITcuhEl0K4M9l4Iaj3yM390FyM YzeD8EUulrY9hBEzagEirg/kaXUQnT36Rkw7TTF+uU7AkbAb4VjRRJXHGm/bGPEapkUb s22KCjdAG8FORpla2ZVkEP1LsNi7wD9/Kwqouaf9bM5tDMmt3SNmm2ul/4LvUqDQ1KlW m6IGTPgQ3J3droKWbVyma45Btyhf0N0mwXsJI5DuGsto+/kP+GuNEluEy/9PjKC6el1t wUqg== 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=X+nQIkRBMApfUeibADCofCw/SUFX3K9FgDuY9L2/mCZN1OqCPYwkXtdSFLHqlHSiV+ ntg7bz/E9Dihe9J44fIFDSJVMhn42G5XR9Y3ZuFwZ/sFzY2PRzaBbBgZklMvxt4UCoL4 gTYb1Zto99h+S0Dmge9kDpHdQiap9SCnT+eQGDF92SF4vlpBOAdQqSfya+1TukSpFGcg UdwtK1XA0zsWNeYqMxdHlzXLXHof9AAyl8xfgEGi9YnbkbYZFgcV/sALPa7Vh7TnIGZx CRpAQVgsoJmClHPniziZa7juAwyLi9fwpoFZnasWIXW2AScW8SPaHPCB8Pnh/ynkqJnN Xu4g== X-Gm-Message-State: AOJu0Yyf+GWRl5tgOMix3OLM3HmDij/qFfduBZEuwdSJAmns6gpAnPh+ Mo5VQ1IOjn16yF2PDlX5YtgpFg== X-Google-Smtp-Source: AGHT+IFXko1HRNr/4Dc0L8fANl3BqcyCvc3Cn7PaDAryRcAoBLK0XQQ8Ui4NukV9CX/nSbkjj3V7xQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231003_233736_492465_5455C357 X-CRM114-Status: GOOD ( 16.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
clk: si5351: add option to adjust PLL without glitches
|
expand
|
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