From patchwork Wed May 17 07:34:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13244305 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 EF430C77B7A for ; Wed, 17 May 2023 07:34:55 +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=EeWFzFVPDjH+wQ1lSLM89vohzQLktrT92eOVG83mXjc=; b=rSY2pEke/132Co jwwdyOBN1GJYoh6PfIjDV9O511kYljdUhWxKsNOZHPnFURkT+tDdB0u/73aP2iwwaN7e7YMchGsOv ga/GDJT5vnkwbLvy7i2Ci51wZ2j7+ERqtRxslqbLHkJDjauZkoB8NuVqWDS5keokvi6FMaFu2tzNL SRmJxyQohKw0HQCWOH4/uAJrf2xfORw0fadxslxV5ao3cD5I8bgRqueY3YKFrfhcmkpNWdjGAFUEA D387EEYuF61S0eD4gAPhIthEn8Ltgg8REPe6WX1ZbD14PxD0xQWoqqOFI879gXC7NYAaRIeR0jmri rnkB3j9MsePEWHyiux8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzBg6-008ga9-1U; Wed, 17 May 2023 07:34:30 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzBg2-008gXh-1y for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2023 07:34:28 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34H7YI9l011997; Wed, 17 May 2023 02:34:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684308858; bh=9XO7ZFTOBmVgS5wVPw7iT0N1BbUDchcd1kg31gKYM1o=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=kGc8XyLi5xXUp0eQdlDg8SgjpRS4JcfA339CfwFxJS7MOr4xeJImByXWGTjlk8xcP U8OW2JNmpgpubiioiwmdKtpv3jApqoGgPeYRzlomi151A+VNEmE0KKSdiczHpsentT HITGEPDf/O30EGR8befE1ouDuI4D8V6EPtOAB8zI= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34H7YImF025730 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 17 May 2023 02:34:18 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE101.ent.ti.com (157.170.170.31) 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:18 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.32) 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:18 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34H7YHai014979; Wed, 17 May 2023 02:34:17 -0500 From: Jai Luthra Date: Wed, 17 May 2023 13:04:05 +0530 Subject: [PATCH 1/2] dt-bindings: clock: Add binding documentation for TI Audio REFCLK MIME-Version: 1.0 Message-ID: <20230515-refclk-v1-1-5e89f01d6733@ti.com> References: <20230515-refclk-v1-0-5e89f01d6733@ti.com> In-Reply-To: <20230515-refclk-v1-0-5e89f01d6733@ti.com> 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=1507; i=j-luthra@ti.com; h=from:subject:message-id; bh=BubXVHygbUybZAeOGucfV4lt84XX6gTLRp9Y3aceZ6I=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkZIN3z7tc7Q/0etkDb7awFW08DJhnDBy3u3K4c UU4j2rW5LOJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZGSDdwAKCRBD3pH5JJpx RftwD/wMP2rF9Gq6N8CfAsvdKB0NbJtXuwmCJAUYAVcN+aQr3pVCfQyo5r93J7KEZlWy2Chk5tM wiOzpN2GJtlPCAmiagJsGMs5f/VavJCWIq2iXJrSkKySMIJXNFRPQZtxGPZkIiPDp8PdHbhhJnx 8mPBlxbmBssTHvZp583LFu0E0OFg0wIn6nOTCNsslTKXKKcyFiMm8bQIY4F6b4SqpFpNWX4XGG0 LXis9bUprbtLaSIwzOs//uYoqt4R6WuG059gDCfZa7+lEZsGio3LY+N4IWiV937dQl6z9iX7B9y wIoY0GXnBTFgAsiG1LZBrFsYbYFf3wL7dpsK7vSXRgwYHJUQPe23Wa6ZHm1YT9xr6hCZp/ZETDZ sp/+0KWLvC+P1wcgzc4600of9Fe/bR0LclawFcUv33Az1izMIFdmyVnMCw+K6r6K3r4Rw749pdQ /jBGTQ5j38yEnZEUGgtp7e0I6+e8BPpwVoTb6pjFMGotlRcAWibuZyCIxB4STIPeYBYotxGdly9 ODPwxNJO19abSKZvnRypQZonqC0tGKEDYLEApr5M0C/gEmvgfcgs7FUm4qhPRNAOqVeUmJYUSWC GpUfZ7ZyO8ROSPqngYN3X/9pQKmd84kFYAAiShXmwS4ZWmVCNhb3C8VBEqKRVCyq3aSoaYLISIh K+gLBOUPqgt9eYg== 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_003426_834567_B024ECB0 X-CRM114-Status: GOOD ( 12.77 ) 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 | 44 ++++++++++++++++++++++ 1 file changed, 44 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..7c4cf7abe007 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml @@ -0,0 +1,44 @@ +# 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 + - const: syscon + + "#clock-cells": + const: 0 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - "#clock-cells" + - reg + - clocks + +additionalProperties: false + +examples: + - | + audio_refclk0: clock@82e0 { + compatible = "ti,am62-audio-refclk", "syscon"; + reg = <0x82e0 0x4>; + clocks = <&k3_clks 157 0>; + assigned-clocks = <&k3_clks 157 0>; + assigned-clock-parents = <&k3_clks 157 8>; + #clock-cells = <0>; + };