From patchwork Tue Aug 10 09:31:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12428493 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2A47C4338F for ; Tue, 10 Aug 2021 09:36:56 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5CA4F61073 for ; Tue, 10 Aug 2021 09:36:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5CA4F61073 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AsEGetISP+A6maweBtsemrM7cpomFjjlwwBTYkHRmvw=; b=DW7P3/Aug8PIit 5ijZFWwikcNEkIjgK70jKzxTeEOD8wBsoAbZWxHbPiLyEZlsMwfdl48Dj+sRZy3XBgkAM7r/Z6/U9 ZL/LEkTYf6LB7Gfz/YafBu3wHMRBMuNcMLPXKslIOt2xh3X2NF0M7+FP9t1/sTqjcmPf1ftxge+mu RQvbtg90Oryhpc67X3LLGSXUp7OcFtInQ6oKwOuyn0i0OM92LM9lxvXc/cba6RwSppr3910soOLu+ FCJSI4tAT0/6bVYi48MDu86lYwlyOaNmViTofdGDQxV59HzvUYcXfiLBwccPYxcv49YGiGhqB+om4 n2+qz4KD4WyJCnfACP4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDO7l-003I7O-N9; Tue, 10 Aug 2021 09:32:41 +0000 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDO7f-003I3Z-79 for linux-arm-kernel@lists.infradead.org; Tue, 10 Aug 2021 09:32:39 +0000 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id 1748440C7C for ; Tue, 10 Aug 2021 09:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628587951; bh=OzcbdzDbFX/7hdNHc1Uaa9h5AIzXuGJQ7WWbGJRZv2I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZajrWkqEi5f0ihZncVp27vKgDWlx2WbmLfFtlgDkU+bjchsqXWX/QUqQb3fCXi2+3 vNUQfRUBDTlFZxklDjt/WH/vSEP3AlABWiP6mxX5AV2WpSnVTrd4WnGwRyErq9pd/3 KUm0KZeT01+X5OPZmo9miYKmzzEco6feMGqoi83mBIZxy0OMSYsBtScsUuOBzlS6aP DNZbDivMdOrukjKAfItNZ2XRBjAwY4D9RwfqU74kFLDqIz5BLmh26rrbg7AhtW9yUo O8vsBLJ6jA3TipbZho94aMAd4sQzcQqUkYY5fYXUHZbpw0xosxRA0Vw5UwH8xOf8uS XJuXdWVUE6a5Q== Received: by mail-ej1-f71.google.com with SMTP id q19-20020a1709064cd3b02904c5f93c0124so5353756ejt.14 for ; Tue, 10 Aug 2021 02:32:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OzcbdzDbFX/7hdNHc1Uaa9h5AIzXuGJQ7WWbGJRZv2I=; b=HYgFfqhzh9a5UBXo+wWNacbCmMjsUpMVDmjicVIvaDAUdTeyzvAFtfHBVyUhJX/Y1K h8yTemdZa2DgDOIvljF3MXJ61Ir3EoVsqwIEipAdyiBObk/jMSFv8tyz7ZhXzTzl7/4x PiPC+UtJ6QwU/qPwy2JuVy0jZscLVtX2KolYO42p/GPpsh71vIYTGmJEXY5dXeeyEats jIg+iEQNB41A3UIplJV5VAYRq4yVc8YkS9DM3oAsxqPB72R+YCFTnhYyYnUhSlNPStlB 05f9jgW+x19h7/Sq3XrKAGMJgDC67MN21IyzpXJFsGSSaDPXaMrGBeVwQvalGw3TIt+3 M+iA== X-Gm-Message-State: AOAM530+YHetwcgEGVWh1iBCnEVAuIeaP//yo6xsrPsbEsoxIVbuwudj B/I7t22UH9BFBNcB/7N1bnZKlxLHVLzc0/DEYwJkIDAy7myBi0KZglxhhDkyF/jyDr2RwSEgE8W ZvBaDOWU5q4wr8N2wLZzdCW5ValtUusByeDRNptse76/Q98qVd+Fr X-Received: by 2002:a17:906:1919:: with SMTP id a25mr26443270eje.161.1628587950813; Tue, 10 Aug 2021 02:32:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEhq+DTJX3If44p8meBN5uqXskUe0qEC5dC6lsnCApRuAsi68OVH0j029oDIRI/IB9Bru+nA== X-Received: by 2002:a17:906:1919:: with SMTP id a25mr26443186eje.161.1628587949557; Tue, 10 Aug 2021 02:32:29 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id q21sm5117606ejs.43.2021.08.10.02.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 02:32:29 -0700 (PDT) From: Krzysztof Kozlowski To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sam Protsenko Subject: [PATCH v2 2/8] dt-bindings: clock: samsung: add bindings for Exynos external clock Date: Tue, 10 Aug 2021 11:31:39 +0200 Message-Id: <20210810093145.26153-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210810093145.26153-1-krzysztof.kozlowski@canonical.com> References: <20210810093145.26153-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210810_023235_451441_BCA75BBA X-CRM114-Status: GOOD ( 16.72 ) 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 Document the bindings for Samsung Exynos external to SoC (oscclk/XXTI/XusbXTI) clock provided on boards. The bindings are already implemented in most of the Exynos clock drivers and DTS files. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../clock/samsung,exynos-ext-clock.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml new file mode 100644 index 000000000000..64d027dbe3b2 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/samsung,exynos-ext-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC external/osc/XXTI/XusbXTI clock + +maintainers: + - Chanwoo Choi + - Krzysztof Kozlowski + - Sylwester Nawrocki + - Tomasz Figa + +description: | + Samsung SoCs require an external clock supplied through XXTI or XusbXTI pins. + +properties: + compatible: + enum: + - samsung,clock-xxti + - samsung,clock-xusbxti + - samsung,exynos5420-oscclk + + "#clock-cells": + const: 0 + + clock-frequency: true + + clock-output-names: + maxItems: 1 + +required: + - compatible + - clock-frequency + +additionalProperties: false + +examples: + - | + fixed-rate-clocks { + clock { + compatible = "samsung,clock-xxti"; + clock-frequency = <24000000>; + }; + };