From patchwork Fri Jun 11 15:10:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengxun X-Patchwork-Id: 1490793 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Bh2GErUR; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G1X9W3Bw3z9sVb for ; Fri, 11 Jun 2021 17:12:47 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E6AB782F38; Fri, 11 Jun 2021 09:12:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Bh2GErUR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 16CC382F34; Fri, 11 Jun 2021 09:12:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_06_12, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D634082F2D for ; Fri, 11 Jun 2021 09:12:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=zhengxunli.mxic@gmail.com Received: by mail-pj1-x102f.google.com with SMTP id mp5-20020a17090b1905b029016dd057935fso5309997pjb.5 for ; Fri, 11 Jun 2021 00:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=frsTWJbQ1BePzgfDmk4lGe687Ofix5dR75hSf7JbjK8=; b=Bh2GErUR4lmbjMrakdN0EVPlB/uHGPkzBWog7nLHa5KkOVsjdwIal8FLN+XXd3WnyH PLFoI9lCWP4MPGPRXfkw2J/RD7NFt9LXnbTJYMUHUGGZOO9j5PO9rOuja5fb6ktsK0oG zASD8BvwvxtWG8uQmX6TQ9BiRVymHsYxGyq/1l3gZXEzfuXnSKFVA2xEjiwSjSK/97Lb T2FmGkz5DAsXhxywN4xrdGyNY3dQsuXoPZTh48gCIxgmQ1cYqFbIUz2SMiAm6jnnbvbG tP1EQktzZq2CUEMaStl0ksyLG0DjSBM5UHlTiDx89D1Co3w0iG3P0OYRCdrL07J6ZOLg uL3w== 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; bh=frsTWJbQ1BePzgfDmk4lGe687Ofix5dR75hSf7JbjK8=; b=Vu09k2qBZz44GuYs06rLFv7w56t8vn8myARr689NNvUxrsudqhg70cfFHjel0zC2S3 4zyaaYYDRaW2gsvo8+yJaYhyPdLQn1wj7ycZTy0u9CHOAPmyd6Olxyqdrh3ZsZGKW0OK Myrdl93Vo9wt6wvvvJiFcPssq1/DnTJi1c92ikNpauk43t331bhTWsRXT+5jCt9Ckvbf 1RYQ+KsKcmyk99PNhdDE1lHKM2Bqt9QXyoAJgbhdH8HqbBnn6fbLY1LcrxYXZM2z5dsu DiepGBPTprxQQ+IVPNueCgkOjbk9V2Qcjm/LEoU2WYN9ID/xvdW7A3GLUebgFBLt4h2K uk/A== X-Gm-Message-State: AOAM532SnZ23OcKekNFFhyEWWJFwlPWY6axdBzVBF1fvcOIhvFNmtITe kqyzf4YcyFn57aYsBViycnvaGqWjPIkayg== X-Google-Smtp-Source: ABdhPJy0DhGYS7doSW6eJs+XPwh6tCnO5NJU03s/WhnZ5KRR8pzK24NI5FSnM5cpJ/wfmLFCavIb7g== X-Received: by 2002:a17:90a:d0c5:: with SMTP id y5mr3171204pjw.37.1623395550070; Fri, 11 Jun 2021 00:12:30 -0700 (PDT) Received: from localhost.localdomain ([123.51.145.88]) by smtp.gmail.com with ESMTPSA id k6sm4107070pfa.215.2021.06.11.00.12.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 00:12:29 -0700 (PDT) From: Zhengxun To: u-boot@lists.denx.de, michal.simek@xilinx.com, lukma@denx.de, sean.anderson@seco.com Cc: zhengxunli@mxic.com.tw, zhengxunli.mxic@gmail.com Subject: [PATCH v6 2/2] dt-bindings: add xilinx clocking wizard bindings Date: Fri, 11 Jun 2021 15:10:49 +0000 Message-Id: <20210611151049.13475-3-zhengxunli.mxic@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210611151049.13475-1-zhengxunli.mxic@gmail.com> References: <20210611151049.13475-1-zhengxunli.mxic@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Add the devicetree binding for the xilinx clocking wizard. Signed-off-by: Zhengxun --- .../clock/xlnx,clocking-wizard.txt | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 doc/device-tree-bindings/clock/xlnx,clocking-wizard.txt diff --git a/doc/device-tree-bindings/clock/xlnx,clocking-wizard.txt b/doc/device-tree-bindings/clock/xlnx,clocking-wizard.txt new file mode 100644 index 0000000000..e0e73ec723 --- /dev/null +++ b/doc/device-tree-bindings/clock/xlnx,clocking-wizard.txt @@ -0,0 +1,43 @@ +Xilinx clocking wizard bindings + +description: + The clocking wizard is a soft ip clocking block of Xilinx versal. It + reads required input clock frequencies from the devicetree and acts as + clock output. + +properties: + compatible: + const: xlnx,clocking-wizard + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + + clocks: + items: + - description: clock input + + clock-names: + items: + - const: clk_in1 + +required: + - compatible + - reg + - "#clock-cells" + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + clkwizard@43c20000 { + compatible = "xlnx,clocking-wizard"; + reg = <0x43c20000 0x10000>; + #clock-cells = <1>; + clock-names = "clk_in1"; + clocks = <&clkc 18>; + };