Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp246419rwd; Wed, 31 May 2023 22:47:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7btJeEmZVv00dgmdwbjyMKtIEScLp+Aq4hmzKnjye7GGHtpmJUaAU2gRfOmZU+sr83YZ/5 X-Received: by 2002:a05:6a21:6d8b:b0:10c:4a13:99e2 with SMTP id wl11-20020a056a216d8b00b0010c4a1399e2mr861602pzb.9.1685598475508; Wed, 31 May 2023 22:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685598475; cv=none; d=google.com; s=arc-20160816; b=z56strhTwhQGcA7kpzmarkvmj/QJAYfI9TWls0QBoFmZ8nFnjs1xxQDBA/xiQ4ScyS bt5GExkX6bY7aqN7XmCrkbzizw2doVQPjZ3OJdQWYPIvrSuMWP+n8hN1d31Jr8Zp+0R2 MiejPZ1f+1bog0JXmbRZbZ8GUeojHHzUsE/so7Q2EMO6U7aUEidYaSspBpDJRMGdDLxG VqKybFOX3hRE/ucN816brQ9ESnDcEhvAeu6BQw1HPEUa/m7ODgQxDTPlCKy/u/4Nr9gz 6byhXDDc7ApvszZuFszQyZRX+qYWBTA9JTm3vxZd9yIrnhxflogjB9ah3GpHIPI7dLsv sT6Q== 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 :dkim-signature; bh=zIJEhcZ91Oaqa6Xmm24KHPdM/EoDuW4yx6hKsFtUgXw=; b=oF9tNxsZypIFGPxX0RIsFYpzn2khHNIeSJgc+p7j7xCVYMUtyW3c54TuTIen4tHXDD piboDZ+xEhTH/WKhKppAzaMZg/PwNNzYg3z5SM375LqlvJfAS435vKmGZLSewo9lgER6 2PRdqiqGmu1n4nTBxGulrRmBhCsvsDD0q5LSU8b8c56xLsJCpdmOcfDBjWjLMixxDmhy BMMsC6wYoZC6qVczBuJDp999A4gZQOGSUS2f4mvkKefRNMLYZd/EJVJdHhWEWB4f85Xd kuS2+1bm5ZGanr+yH1q4A77EpHutFSsR2BZAeUtUsnyMEjm2xhVWXmKSDozXPm+h8XnY ixRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=idlakvnN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h185-20020a636cc2000000b0052c2b1efee2si2482789pgc.339.2023.05.31.22.47.44; Wed, 31 May 2023 22:47:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=idlakvnN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231360AbjFAFhY (ORCPT + 99 others); Thu, 1 Jun 2023 01:37:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231221AbjFAFhR (ORCPT ); Thu, 1 Jun 2023 01:37:17 -0400 Received: from forward101c.mail.yandex.net (forward101c.mail.yandex.net [178.154.239.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 284561BE; Wed, 31 May 2023 22:36:58 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:c83:0:640:84f9:0]) by forward101c.mail.yandex.net (Yandex) with ESMTP id CA60F600FB; Thu, 1 Jun 2023 08:36:55 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id OaGNfZvWv8c0-ljXORRHt; Thu, 01 Jun 2023 08:36:55 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1685597815; bh=zIJEhcZ91Oaqa6Xmm24KHPdM/EoDuW4yx6hKsFtUgXw=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=idlakvnNspTx/hhaf1scWcevr+yryNuzxvfQEdwBri6tBVlLw8q+i9LEJ1rFbfXvP VWI3pcacmkyMJkSqi/yJkfrLllDi5wFiXPRLIMULIdz65wwmZs9VcAPSI4UFrQwtci G1/yTh1J1qbmJd19/0fmpteYQn9kNbb3rkCQXuq8= Authentication-Results: mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin To: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Nikita Shubin Cc: Michael Peters , Kris Bahnsen , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 04/43] dt-bindings: clock: Add Cirrus EP93xx Date: Thu, 1 Jun 2023 08:33:55 +0300 Message-Id: <20230601053546.9574-5-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds device tree bindings for the Cirrus Logic EP93xx clock block used in these SoCs. Signed-off-by: Nikita Shubin --- Notes: v0 -> v1: - it's now a clock controller .../bindings/clock/cirrus,ep9301.yaml | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/cirrus,ep9301.yaml diff --git a/Documentation/devicetree/bindings/clock/cirrus,ep9301.yaml b/Documentation/devicetree/bindings/clock/cirrus,ep9301.yaml new file mode 100644 index 000000000000..4f9e0d483698 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/cirrus,ep9301.yaml @@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/cirrus,ep9301.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic ep93xx SoC's clock controller + +maintainers: + - Nikita Shubin + - Alexander Sverdlin + +description: | + Cirrus Logic EP93XX SoC clocks driver bindings. The clock + controller node must be defined as a child node of the ep93xx + system controller node. + + See also: + - dt-bindings/clock/cirrus,ep93xx-clock.h + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-clk + - items: + - enum: + - cirrus,ep9302-clk + - cirrus,ep9307-clk + - cirrus,ep9312-clk + - cirrus,ep9315-clk + - const: cirrus,ep9301-clk + + "#clock-cells": + const: 1 + + clocks: + description: List of clock specifiers which are external input + clocks to the given clock controller. + items: + - description: reference clock + +required: + - compatible + - "#clock-cells" + - clocks + +additionalProperties: false + +examples: + - | + clocks { + xtali: oscillator { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <14745600>; + }; + }; + + clock-controller { + #clock-cells = <1>; + compatible = "cirrus,ep9301-clk"; + clocks = <&xtali>; + }; +... -- 2.37.4