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: 99826 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1649365qge; Mon, 15 May 2017 10:23:22 -0700 (PDT) X-Received: by 10.99.178.11 with SMTP id x11mr7505804pge.68.1494869002818; Mon, 15 May 2017 10:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494869002; cv=none; d=google.com; s=arc-20160816; b=OfsvpTni2qDcl11amd09Ph0K+lcs4RCRecquxvrLWRw2UUvi4V+hjcgsVbaUeY6fD4 wStcya583eZzKXhLBpk4DSe6Eui7oLwZaqYcgdd97ZjtX0Oq0NgVIShRpyX+jg3V4pPS 68pQ98zYeB9kgqrORgDzlyPzaHW1sXmS8tGfHF8oGBGnNoGXef62aPqeeTdpWhN/72jU D1UHDNYEuoT60kIgANr2JdvyRypRt23J6LHamRaxOwFZ4V2EPA0rMsfZ7Qf2koUa1Ktt OF942DMbJ3Fa0Q9EaiSc64bJa/1ZjkyHir2zEfgBgs0Q91kI3fVO8zAp4QSqAvXpkEEj RP8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=6kKIZVxgZM2a2B4jmwbUzcrf/ch2DUdrtx80EGlMQoU=; b=z6XLIQS/MCRmVfv60ORyR6ZM/S+fg947cddMmd9frU8ouqBPQFsfK2PIGIK5EGQzJD ZSyXq9sytyS2aHNV/GCEwQX8pHMiY2VM/Ev9ohnL3K9gyff+/l7Q5Y1Bafkz5IxFg7DO gfdFN7Bd/rGG5yiiSNFAEeVUtRRRxRh2Wc2Mg/uo3sDlzYFmgoTJd3orIvRwsigWrwvu JLTuAlPkAgV0+5M8ywZgnNRsBlyMnC7cxQFOlLfPJVOMU9p2p1liI1b3WgdjySCLaHAW d9SxhE2VjdBaC4+2WmIelcyStkJWuHo17jR41CgZnsnnNGEsgiJGbT9oN+4dfwsLyhAq xczg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p20si11748951pli.35.2017.05.15.10.23.22; Mon, 15 May 2017 10:23:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760109AbdEORXV (ORCPT + 7 others); Mon, 15 May 2017 13:23:21 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:38326 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757753AbdEORXU (ORCPT ); Mon, 15 May 2017 13:23:20 -0400 Received: by mail-wm0-f52.google.com with SMTP id v15so55478959wmv.1 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=mnr7r9BfUgov7s0X5JfzcA+1DAsIrP3QfYN1FMnRkVSYY2S74bkG4OckOfE+nVBXoB UDs/9MJoIRAvSCns78uTer8TjNClIeb22VS53RUjY9c5L4YZc3sRoexictluuArFKb2I GXACl/HKMauT36+wo9PTPmqlFfBf33449Bf7mWi+cTB4UkqU0gSy+v3MGrtG5Wck0kYd xq0qTNE+UimvCH+EEYQYUcp+gaxLlVxZCYHB9zGIv4wkT/BicJhhtpGvps2KGe0k875+ cLaEupIJmYE7PZIDCXDd0cqAwJ9rAQokZpAqxhhEzRJ0S85LpVUdIB0I4GxKPI6aILTQ WJ+w== X-Gm-Message-State: AODbwcDDPrMnY218qafV+5nEfyHR9U4m/eHuuG4WiZLFCMxKprxA1Y61 mrCwzuKFtQd0HcMi 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- Documentation/devicetree/bindings/pci/faraday,ftpci100.txt | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Rob Herring 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: