Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5536315pxb; Wed, 26 Jan 2022 14:25:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQtttAPH+6fcD+M6WVgvdYfjBoPNC6llOuASrxsU9md2S3K+0IFT1daPlk8HWkPhoH66NR X-Received: by 2002:a05:6402:1705:: with SMTP id y5mr1064722edu.200.1643235945696; Wed, 26 Jan 2022 14:25:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643235945; cv=none; d=google.com; s=arc-20160816; b=lvOQ0txk3t0ILkYxMS9aWaPZKfEcqunzbdax77wxSvWxgTIdBb+9lvfPqpxHAL40vU KkHY360ZMbMIE5fuojEuaNHl+Tfbso23kdmOCNFdbRJJA9rqWHCpU83COwWoYd45Eq6A wHx8otceB4VUyikiGDEwiBHu21d8cGPz9vbnuvqlmk+1uBxPiRDnIZsqoSrYGriw8/0Z WvYvAPHharVj3/k8sQCVtxNHGEUGhYpbNDN39ATDPqHlMvey/FsJ0jKlIwhOYM/vHwra NyoBdO6yF4TiiGBImiI+TbQH7/aNcidSknVVUIZ9VJJe4Yn2eBKsjL5lsSgsH5fab+1q pdTw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=xv2b2upMAcR7nSQETF1v56wdlWnH1nAzIzdRtUFQ2Q0=; b=gOs4WP2sVqSNCPr9/EExnSPGdZtPy2Ss7OV2Ydl2XZgFB8fJN3aIMilTNMr1CgpftH 6+Who+BvklGAASX0wd8MIUVt40qqdn1FBWgoHA0qMxV+NWnt0bycE99rT92txzzfo9tW 7UI5rm1NjodOtbCMYKMGrRUptZ6sAI8dg5yreDRN3BjP+Cl4/gEPlhSUCDHjgcZnkZDI H/elZCNGTrKrrBeKd2vuI3DWhMGZuufuoFlqQQ1zbEfzTodc/r3mNBfw/BFrRz2yhXWO z+WcbtPd80rVW9k+f34vAWTGUVsAM/i1g/S8vCn78XNCjXVd02+0oqPl8EXMSMxm5ahU ZWkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=oaiVVtd0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qb21si292892ejc.343.2022.01.26.14.25.20; Wed, 26 Jan 2022 14:25:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=oaiVVtd0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243934AbiAZRkh (ORCPT + 99 others); Wed, 26 Jan 2022 12:40:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243866AbiAZRk2 (ORCPT ); Wed, 26 Jan 2022 12:40:28 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6790C06161C; Wed, 26 Jan 2022 09:40:27 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id h21so313704wrb.8; Wed, 26 Jan 2022 09:40:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xv2b2upMAcR7nSQETF1v56wdlWnH1nAzIzdRtUFQ2Q0=; b=oaiVVtd0jXBEnibcQJNTjQPcSi168VUHbuUyejwZOlXZ4RfMGcj6cK9fONkmXmhx/d dw/23BaXyUm03VpDj/IpA5J1uHkiMAetTP/3HZDCCsWR+SPiXH87WiCjt9qjfcgZ5qy+ 209SfXUF3GpZK8gg4+Uw/homdEiCaI187xHyyjjP+JOxdseE4zccU2EyTjNbngY2gHqO oWKHlruXwFtJYjfSa0ybaG6uIFHhnk4heChTUI4wG8Z0ouzd36XFy20FoXUWHX8Sl9Ep hC3ZNIDh6eczc80Ifg6stDxuFDj2ONjmsBFgRhqM2nEI+hzrTth3Fw6JZUFrtYo1OUv2 e2Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=xv2b2upMAcR7nSQETF1v56wdlWnH1nAzIzdRtUFQ2Q0=; b=6Jo/GRslM1gguJvzkjPKBxTiEN5pDKSeu8MrangHru+T4AhEwP4+SRtDgjT1IRTIuA jOTEJlogmY/1OT06HVfvecIMr9SfxmFFFuRRz48z0AjAdZSRL8OVoBXzlTL2ACSvh4H4 3yCOA7P+GQoki50/wZHCGJyZlmtKdMhhG1J8bGmqvBRB1ilzoMfqbD19SmH0MLI8E82S RP63Uxzc46bekviu6X3CQgdTdeEhXGqj0SlCBowDOUr7Gn6VOFjJea554FJIZF/7PBrP 6dJvBt52l5F8GAiOsORP+vbSO02ca8LYsQQ3itvmpXVSvORB3Ax9LV18ZTVczopx2aBx lTag== X-Gm-Message-State: AOAM533CdKEyQ0Y10KK3z+8ltnzGJpW1HNlcPnVXoMgHLmOzexCvqRLW 0wJLMf5zBvYQMrFexsomDywAoKRiUWw= X-Received: by 2002:a05:6000:15ca:: with SMTP id y10mr2141434wry.531.1643218826533; Wed, 26 Jan 2022 09:40:26 -0800 (PST) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id y2sm3498451wmj.13.2022.01.26.09.40.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 09:40:25 -0800 (PST) Sender: Emil Renner Berthing From: Emil Renner Berthing To: linux-clk@vger.kernel.org, devicetree@vger.kernel.org Cc: Emil Renner Berthing , Michael Turquette , Stephen Boyd , Rob Herring , Andy Shevchenko , Geert Uytterhoeven , Arnd Bergmann , Michael Zhu , Fu Wei , linux-kernel@vger.kernel.org Subject: [PATCH v1 4/7] dt-bindings: clock: Add starfive,jh7100-audclk bindings Date: Wed, 26 Jan 2022 18:39:50 +0100 Message-Id: <20220126173953.1016706-5-kernel@esmil.dk> X-Mailer: git-send-email 2.35.0 In-Reply-To: <20220126173953.1016706-1-kernel@esmil.dk> References: <20220126173953.1016706-1-kernel@esmil.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for the audio clocks on the StarFive JH7100 RISC-V SoC. Signed-off-by: Emil Renner Berthing --- .../clock/starfive,jh7100-audclk.yaml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/starfive,jh7100-audclk.yaml diff --git a/Documentation/devicetree/bindings/clock/starfive,jh7100-audclk.yaml b/Documentation/devicetree/bindings/clock/starfive,jh7100-audclk.yaml new file mode 100644 index 000000000000..8f49a1ae03f1 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/starfive,jh7100-audclk.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/starfive,jh7100-audclk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7100 Audio Clock Generator + +maintainers: + - Emil Renner Berthing + +properties: + compatible: + const: starfive,jh7100-audclk + + reg: + maxItems: 1 + + clocks: + items: + - description: Audio source clock + - description: External 12.288MHz clock + - description: Domain 7 AHB bus clock + + clock-names: + items: + - const: audio_src + - const: audio_12288 + - const: dom7ahb_bus + + '#clock-cells': + const: 1 + description: + See for valid indices. + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + + clock-controller@10480000 { + compatible = "starfive,jh7100-audclk"; + reg = <0x10480000 0x10000>; + clocks = <&clkgen JH7100_CLK_AUDIO_SRC>, + <&clkgen JH7100_CLK_AUDIO_12288>, + <&clkgen JH7100_CLK_DOM7AHB_BUS>; + clock-names = "audio_src", "audio_12288", "dom7ahb_bus"; + #clock-cells = <1>; + }; -- 2.34.1