From patchwork Mon Apr 18 10:01:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 8869391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 125109F443 for ; Mon, 18 Apr 2016 10:04:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 39D8620211 for ; Mon, 18 Apr 2016 10:04:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5A7432012D for ; Mon, 18 Apr 2016 10:04:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1as60d-0004TE-S4; Mon, 18 Apr 2016 10:02:23 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1as60N-0004Fb-Ou for linux-arm-kernel@lists.infradead.org; Mon, 18 Apr 2016 10:02:08 +0000 Received: by mail-wm0-x22f.google.com with SMTP id n3so116261878wmn.0 for ; Mon, 18 Apr 2016 03:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nWwO+hIpFpN15vTHs9HCxskFT/+LSI7iEYMWtNagMEg=; b=IfBziNeAEIyyxWq/5pdK6YILsCaHHRIMw5OHoRHf1pGG0VT4+EmPbEE8sN7XVSD2Kv SQTI5oOQNJCUz3BNHzPIK4mRIaqiQjBkeFDpw7BI/pYZfBTW2YGNKFomlcWCVvkEOXau Un3guSX919/XU+uuqvg85OzNs9RuuxEdiCbKvQnuUA5qEBgykX3qHS9opjME0xDQIIDV dhAeBTIObeWCvBeqLSZJKUEc8iLoul6c5O1uKFPz04mriNr9VSp1/VyhhBfmenbQTk6e O/MxgnzS+64dZJKw4pER3U2K4t3l+ZvrzkTodn13uyZoTuwG4w/EH3zSWm+d9qZHrpQG +ckQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nWwO+hIpFpN15vTHs9HCxskFT/+LSI7iEYMWtNagMEg=; b=A7yvdJ716xcOFnuLmPtbfqjIZM/Cg+4/Fs8ZmAYHOFzBHUKiIYOkmEcKYm6c7ItIxB vHvkAx1FPfo99KtRt45U87K9h+MHQv8Ke7zgQ0CeTzrzZ2BT0fIYhCK3plcy6QDGAoXM XWfJsaNZci95F1HvRMwbYDi+if4UmQhh+S8CbI72ToOuMRHlRHp8DjIxXHgslIUm7p5Y LMxv/wkV44XuTgbVAgu/MHpSSlDOIL6CFqUi2LwyJUfsIHt+S+dJ2pF6np+CsLu/U2lX FNi/yzW66OyAGF9OTPnqVoO+toqAmFDUcTPoAHe+A70ohXIHT/uZ9onqUj/nJJV6JMdK towg== X-Gm-Message-State: AOPr4FUK1lH+aAuvw5TBpbY28VoMsAUK9vkqZDro8czpMVAlrtkTW34rqQ09S/h5VsuOM+nR X-Received: by 10.28.135.204 with SMTP id j195mr16788006wmd.65.1460973706071; Mon, 18 Apr 2016 03:01:46 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id m6sm63033338wje.21.2016.04.18.03.01.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Apr 2016 03:01:45 -0700 (PDT) From: Neil Armstrong To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, sboyd@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: Add Oxford Semiconductor OXNAS Standard Clocks bindings Date: Mon, 18 Apr 2016 12:01:36 +0200 Message-Id: <1460973696-5977-3-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460973696-5977-1-git-send-email-narmstrong@baylibre.com> References: <1460973696-5977-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160418_030207_954025_84C21105 X-CRM114-Status: GOOD ( 12.20 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- .../devicetree/bindings/clock/oxnas,stdclk.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/oxnas,stdclk.txt diff --git a/Documentation/devicetree/bindings/clock/oxnas,stdclk.txt b/Documentation/devicetree/bindings/clock/oxnas,stdclk.txt new file mode 100644 index 0000000..208cca6 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/oxnas,stdclk.txt @@ -0,0 +1,35 @@ +Oxford Semiconductor OXNAS SoC Family Standard Clocks +================================================ + +Please also refer to clock-bindings.txt in this directory for common clock +bindings usage. + +Required properties: +- compatible: Should be "oxsemi,ox810se-stdclk" +- #clock-cells: 1, see below + +Parent node should have the following properties : +- compatible: Should be "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd" + +For OX810SE, the clock indices are : + - 0: LEON + - 1: DMA_SGDMA + - 2: CIPHER + - 3: SATA + - 4: AUDIO + - 5: USBMPH + - 6: ETHA + - 7: PCIA + - 8: NAND + +example: + +sys: sys-ctrl@000000 { + compatible = "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd"; + reg = <0x000000 0x100000>; + + stdclk: stdclk { + compatible = "oxsemi,ox810se-stdclk"; + #clock-cells = <1>; + }; +};