From patchwork Wed May 17 07:34:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13244307 Return-Path: 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 3627DC77B75 for ; Wed, 17 May 2023 07:35:00 +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:CC:To:MIME-Version:Message-ID:Date: Subject: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=U+5jbKrn9qUWp4x/XEIs622yC2Z979KiLnAamunVujY=; b=TawyIu6X0i7lqA DpSWevp1GyTn3BvgK0EBFzlY44eASIFC/pfWgtPxD06Gy67VHFA4e9LLLRQLq3y9frxhYFW92QQiE mZoflwDzRMN1U6wL82VHNRcIOl+Scv48XN+0uleYZX7dtkpcT7dVtdmiw5zwKpfqh3BY/iiZYuKUH k7wBTxJgfBcMfeo0DGXrB1c7lOaW3mwNVa4fAzrTHvGlOUFGZKsyd8xDj9u1dsUj6SYp8z8tXOFGX 15WbzA8vtzJDSMAR22XZh5CZtBksapiZA1MQFHcSwFkCIPgAo8brU7tHwVf6FGH7iU/WEWTOWOl88 QCV36iA/ibBz0tkUs4eQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzBgB-008gb1-0K; Wed, 17 May 2023 07:34:35 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzBg4-008gY6-09 for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2023 07:34:29 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34H7YHFd129172; Wed, 17 May 2023 02:34:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684308857; bh=q/SFmzYhjBJLA55MxMPvGUOzW2FoR1LTN7CN6R4bpuM=; h=From:Subject:Date:To:CC; b=ZWJVJBcZwCD4D91xNGFuJ9gxMmRAasVH5izU/Q1oknJGKL00sozvTeNU5F8Eb+155 hDfnEnlVGifEpVi2gBTI36Lcy3YLVbAvwJNvRwJKoiFXFIllTGKwtw6J5nEmcjP7ru TlyKGuj0GjnWUTvo1do9t6nNjEe2NjCbrw7YP4h0= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34H7YHSN013715 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 17 May 2023 02:34:17 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 17 May 2023 02:34:16 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 17 May 2023 02:34:16 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34H7YG2L103469; Wed, 17 May 2023 02:34:16 -0500 From: Jai Luthra Subject: [PATCH 0/2] clk: keystone: syscon-clk: Enable audio reference clock Date: Wed, 17 May 2023 13:04:04 +0530 Message-ID: <20230515-refclk-v1-0-5e89f01d6733@ti.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAGyDZGQC/x3MSwqAIBSF4a3IHSfka9JWooGPW10KC40QpL1nD f/Dx6mQMRFmGFiFhDdlOmIL0THwq40LcgqtQfZS9UYYnnD2+8aNM1oHJbSXChp2NiN3yUa/fjx iub75bJzK/z9Oz/MC74WpkW8AAAA= To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Santosh Shilimkar CC: Vignesh Raghavendra , , , , Jai Luthra X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1065; i=j-luthra@ti.com; h=from:subject:message-id; bh=/0cUZo86/f53s3JQ6WfEz9sn4ePUwoM0/fp5Dviv2R4=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkZINyTqYcN2XUOj8v3yDQWPEGxR17RGVT+pqLT VidUy0YOgKJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZGSDcgAKCRBD3pH5JJpx RcgqD/9E9BOAmyaI06N441eNhGq4LdMc48I0vYbhWg2GkZJJhw/0GEemRqoF6FnZJQqp+5Y70Oj mSvZQ5iU/GVBDQ1dEgTeGcVKQUSEYKb3al+Bvq6Pp15dRLE+u9YtXjG8zV9Vbsn7ZPx9fCPSP2d T3RAeJ+YQzU0NQ1yP0iUBQ+4q5JCU41GUUucoADzPQZ22eIQ4lTNlCkIXW+yqa1lJYrvvklYyzc PaxUo1seX5YTNekT5tyMbn77UuRIXobNiKw6N5BDhU3as0Je/XYtYoXjuFt3upmvozIYPQPYGvg 3iiaLwUxdk0rKoS7hyjOusLZE0FZK4yWJ1wKWDJyX9ObhjVZbUSH8wSvzeHyb+6XxHPskNgzxP8 m3v9CBcjW5Xx11qHG9KoTC7ouoKGoAd9HZ7aflB6mprRF6S+O4UxXm9bZkJLBE3/PomXbx6c/zI 8raW6EmwcBoVa2lAB8NbNXUskw28J8BkNb9OhW6yh534bMqyXfEMeviMni93QdBm1opgaoaEgS1 kAG7wQe+zvPBScUdcp9umBDREE1DvVrf0t2xI8W/fbcoQXvpdJwljUt2L8RD0JAPcEXLz3pKKlX ScodvdzbA/UZhx5RjAMDmzTYps9/dNkUMQHqcfS1yEGU4bxSXozbpju3zveFwpkEOoVRTp1aT2t FZI24B89+qS4oBA== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230517_003428_170289_4D01B663 X-CRM114-Status: GOOD ( 11.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org TI's AM62 SoC can optionally provide two audio reference clocks (AUDIO_REFCLKx) to external peripherals. By default the reference clock is looped-back inside the SoC to a mux that goes to McASP AHCLK, but can optionally be enabled as an output to peripherals outside the SoC by setting a bit through the syscon (CTRL_MMR) registers. This patch series extends the existing syscon-clk driver to support the audio reference clock, and also adds new device tree bindings documentation. Signed-off-by: Jai Luthra --- Jai Luthra (2): dt-bindings: clock: Add binding documentation for TI Audio REFCLK clk: keystone: syscon-clk: Add support for audio refclk .../bindings/clock/ti,am62-audio-refclk.yaml | 44 ++++++++++++++++++++++ drivers/clk/keystone/syscon-clk.c | 43 ++++++++++++++++++--- 2 files changed, 82 insertions(+), 5 deletions(-) --- base-commit: d3a08193ebf4220a69f1f13087f150429769f911 change-id: 20230515-refclk-5b544d314c23 Best regards,