From patchwork Mon May 15 17:23:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9727645 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6301460386 for ; Mon, 15 May 2017 17:23:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C1192898C for ; Mon, 15 May 2017 17:23:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40B4B28992; Mon, 15 May 2017 17:23:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C74342898C for ; Mon, 15 May 2017 17:23:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760086AbdEORXV (ORCPT ); Mon, 15 May 2017 13:23:21 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:33429 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757046AbdEORXU (ORCPT ); Mon, 15 May 2017 13:23:20 -0400 Received: by mail-wm0-f53.google.com with SMTP id f135so27790342wmd.0 for ; Mon, 15 May 2017 10:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=AW/+LRIMyjCVlxnB1YPBydhLPt6/6bC+2/RQV+a4ims=; b=WWWh9DdJp6/1+8DvaLrM0JpSBk44+CPI81w2k0+zXoH/VhMgtxSXYvaZY5YsOLOqHc lTIiJXELinrGzRdufpp8zV/pCvpx9A3bP9KVllkdlA8Dob9h8CAM78aYRI6QHMdmL32c tTCT3vCfwWXVgodP6YuL1JHRASyaCBeD116I8= 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; bh=AW/+LRIMyjCVlxnB1YPBydhLPt6/6bC+2/RQV+a4ims=; b=T5dCvOraV5DKJTk/JjcY/II+IQdgNcCG7yXieB7K2/HWT/C+3v+Lu++GSvldgOky8p X88C2x3N2NjCxw/ts02fFaSs3rGwQ5uMzQXkX6aUZ3NFIidRQT4i1r4pOF04zVqZG/GI muy/4otdoMs9zg+Up2uGC8hZRAQGkHAzJyu5OCSUeFM5T/pbA1Mfl7ynkgULHvWEOItC icXV1q6YCNBYJMFM1LMM3l4gE6hMffGzyVb7I8/OKIDcU0PinJkGwWrglfMajjeZBINi +IrtOrXmGl0kPYFd4Q2V9pNHinbUVe6rvb8wKyXSxprqTE+nVHne5o6v1S0E7Kpc05v0 ++XQ== X-Gm-Message-State: AODbwcAKhAn7qZIl633ELAszda+SoHX4LASV/TJPXFf8AM8DZ22yf7qU XBTH+eToHHQ75BSdvmlwdg== X-Received: by 10.25.79.67 with SMTP id a3mr2130648lfk.36.1494868999400; Mon, 15 May 2017 10:23:19 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-0e0be055.014-348-6c756e10.cust.bredbandsbolaget.se. [85.224.11.14]) by smtp.gmail.com with ESMTPSA id a17sm2329986lfg.51.2017.05.15.10.23.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 May 2017 10:23:17 -0700 (PDT) From: Linus Walleij To: Kishon Vijay Abraham I , Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2] pci: ftpci100: add clock bindings Date: Mon, 15 May 2017 19:23:12 +0200 Message-Id: <20170515172312.1722-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Faraday FTPCI100 controller has two clock ports, PCLK and PCICLK. We add bindings for these two clocks so we can assign them in the device tree. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij Acked-by: Rob Herring --- Documentation/devicetree/bindings/pci/faraday,ftpci100.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/faraday,ftpci100.txt b/Documentation/devicetree/bindings/pci/faraday,ftpci100.txt index 35d4a979bb7b..89a84f8aa621 100644 --- a/Documentation/devicetree/bindings/pci/faraday,ftpci100.txt +++ b/Documentation/devicetree/bindings/pci/faraday,ftpci100.txt @@ -30,6 +30,13 @@ Mandatory properties: 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as pre-fetchable. +Optional properties: +- clocks: when present, this should contain the peripheral clock (PCLK) and the + PCI clock (PCICLK). If these are not present, they are assumed to be + hard-wired enabled and always on. The PCI clock will be 33 or 66 MHz. +- clock-names: when present, this should contain "PCLK" for the peripheral + clock and "PCICLK" for the PCI-side clock. + Mandatory subnodes: - For "faraday,ftpci100" a node representing the interrupt-controller inside the host bridge is mandatory. It has the following mandatory properties: