From patchwork Mon May 22 06:31:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13249807 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 E2704C7EE23 for ; Mon, 22 May 2023 06:32:39 +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:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bsAmjdv0iUiCoAZ99xkgfCArePGHUq0YydAiSFmPEks=; b=paKi7fKH9OIFJY nQ+pUE3QMHXu5uPezCSbsnoT9/6mznQuDl6LISvb/WBbDxqz1Ck1MzXtQXh4GTqq+PS4E55urAdGq meFMjpluW5fa0Kkf4+jCceogj+x/wM6RqMvar7zZkeIqUWlAdrK+3mqFwbvCuectP+onuCedX4ZYP skJduziz/C7Zn7gnOEATZ+9QJKIbrn/IZuII9KZuJuIjiNSnAIJtyXTEBxH6qPrRxX353GCOiGqLL iElkdVstjK4CtOoqMSPP6uyPg/WKdF5x2WcEEm52QmqqibjOefCGfy6eX+gbryWT0FMS4VYA6PVnC f0qLg5bAuPmZOCcaBxIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q0z5d-005Vpn-0r; Mon, 22 May 2023 06:32:17 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q0z5a-005Vo9-0X for linux-arm-kernel@lists.infradead.org; Mon, 22 May 2023 06:32:15 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34M6W0Zl083222; Mon, 22 May 2023 01:32:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684737120; bh=CiCfrMcb4BYFASqX11gojkZmjfK+qOQOzQ+Q6TDuTCQ=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=S5FS1GqwsyKfiUOZUFwr81Ckf6aFQUC8yOsEuEMJeTgudjGzKiROBIvLbLXiWW0Zh G2OPmy8da/3MMav+dJeHYVqbqZYi7IiT1m3YmQZUmneVwAnyZp6LOoKx148/IatpEh ZpCnCWZZIVqsjGoch2euqPdPqE9tr7v5X+As1bf0= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34M6W0db069258 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 May 2023 01:32:00 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 22 May 2023 01:32:00 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE100.ent.ti.com (10.64.6.21) 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; Mon, 22 May 2023 01:31:59 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34M6VxKj124364; Mon, 22 May 2023 01:31:59 -0500 From: Jai Luthra Date: Mon, 22 May 2023 12:01:55 +0530 Subject: [PATCH v2 1/2] dt-bindings: clock: Add binding documentation for TI Audio REFCLK MIME-Version: 1.0 Message-ID: <20230515-refclk-v2-1-fc9ff08826f5@ti.com> References: <20230515-refclk-v2-0-fc9ff08826f5@ti.com> In-Reply-To: <20230515-refclk-v2-0-fc9ff08826f5@ti.com> To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Santosh Shilimkar CC: Vignesh Raghavendra , Andrew Davis , , , , Jai Luthra X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1473; i=j-luthra@ti.com; h=from:subject:message-id; bh=Et4mocBn4YPUAENbGwghw+m7cx59NgRRvJfkDMlpQXg=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkawxegp1c4a9ZID7+jUDmD9dTFZgFO5HZ2Zlhb 6QMAZDZ0MKJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZGsMXgAKCRBD3pH5JJpx RY0UD/4vD7/4ImWAuBjukkX2uLtSfX3bC6cA2OxD+NeZVU9/DZgd1OWV7MpiijhQh3y002NXPUA B52I+t9X/PL4fg8C1FlyBzpZm6AA3DKd1Drs28Q9tBCcxtvZiqX8O7qnaFf3aVXYGXABoxKI1SQ W/QqOcXscNInPwZaPFeUyeMMwmyGXAkCrInwesD3Xf0tJRZhOT8GGI9rpE6XvZgudDTx7eRTK9/ kswxj/JhgtsVa+tXnXFUEGQ7rcL8OEkgNgSZ6N5QrNDQ8iv6Am99aNY8feWvicTZDwFhO/OmvX0 n8dAIgiJWekhbSeq7dUdaMI53Ps0MaNFJS9pbfl72yP1X+N74aHee++AslwzLjBz+S+ZnH5G18Q Ayd4ye6SiVMhlzZZSyNagPTrVMYhGHcacX8wn9H/vjIM0OKzTv5C5MYOfcFtiNkIvMokDdPRSfC qOPrHtmuAFlfUg03W/vUaRzeFYDGm2S8K2kVKhXVygX5cWIyRZt5w4s8jvqIUSV26eqPZnbVkUn 7Cs6wKQg2ITyA05VUy59Rv5m4V11TR+dhwaV82eHYT27QF50tkdKolWdnkJvjV+SuefBmQCONWH 0O2QNx/1AmyXBvkBCuzeLODL8kUjjIJuvTeKMScuULo/XOgefpA5iI2mvKnkRWk6iKmQKD+In2G VIgXCv14e/ZdVXA== 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-20230521_233214_301739_21CC7558 X-CRM114-Status: GOOD ( 12.56 ) 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 Add DT bindings for TI's audio reference clocks (REFCLK) present on AM62 SoC. Signed-off-by: Jai Luthra Reviewed-by: Conor Dooley --- .../bindings/clock/ti,am62-audio-refclk.yaml | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml b/Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml new file mode 100644 index 000000000000..b2e40bd39a3a --- /dev/null +++ b/Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/ti,am62-audio-refclk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI Audio Reference Clock + +maintainers: + - Jai Luthra + +properties: + compatible: + items: + - const: ti,am62-audio-refclk + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - "#clock-cells" + - clocks + +additionalProperties: false + +examples: + - | + audio_refclk0: clock@82e0 { + compatible = "ti,am62-audio-refclk"; + reg = <0x82e0 0x4>; + clocks = <&k3_clks 157 0>; + assigned-clocks = <&k3_clks 157 0>; + assigned-clock-parents = <&k3_clks 157 8>; + #clock-cells = <0>; + };