From patchwork Wed Oct 19 16:12:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 684227 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3szcQn4VXmz9t1S for ; Thu, 20 Oct 2016 03:12:17 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b=VAQYSNJU; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941797AbcJSQMO (ORCPT ); Wed, 19 Oct 2016 12:12:14 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:35562 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942917AbcJSQMI (ORCPT ); Wed, 19 Oct 2016 12:12:08 -0400 Received: by mail-pf0-f178.google.com with SMTP id s8so18518121pfj.2 for ; Wed, 19 Oct 2016 09:12:08 -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 :mime-version:content-transfer-encoding; bh=FPMFwmivIgcpTxqWqxvuoJYUCqMjCtX855rONNE93us=; b=VAQYSNJUHC1HeaLlgmK9/xMugktf9HulIBn67rftnnnQ/+3Y6DK5HnxKv62ZODBb5L EPL8LM0x6o8WLeXUBcF2+9tFV+Cd+26vA5+1GKojuQIBsTBPuCjL00kPZxyWNyWrgAfY aDfq1m08o8xziSWSg8Vggzv7lOFe/uhVAMjpBHQspMlENm2W3iLEizR6ySpjfyrA03cN Yot8XJqPIua6EBP3uuFmwE/sCP74rdn9Ypal7jy4B8TR/ABURlSkYPyA8GP02wHNUQAF jp9hKQulFbDxBhjXR9zStMHLDrHKSCsnO2KOjpDmpg3nLw6+tllgWMVgbho1AyJ5EZxN Jncg== 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:mime-version:content-transfer-encoding; bh=FPMFwmivIgcpTxqWqxvuoJYUCqMjCtX855rONNE93us=; b=bCsaMJwYxRpNP8sX3kiICnKmC5lgjCOzZGPqLDsaEVNFvH1a3Fo0n6XO253n/tpRup RBlcAn1g7o/wzWOQCjMut0t/GAP3aog/o7cLm67x+KYSMPGJL/StxzdLyt/TlHPLEzzq Zu1RcfsN9+vbXy/gTfszeij7jV0RJ3xpRB2KsKRD1aWwPWgBgWRv0MkGMWaF6mzWXJ9w d+Z3OjKtfHJl5FE+Too4g2KvqpMZ3onvf+XFZxROc4+2VhNlRt8nBTsOZrOVYitDqa1M SJtB2vdmSHXenscuWte/Pb3562qvyB6HDF/ucgP0U7bJP6bwsgZiOq5Anu3baok5/Vi3 siag== X-Gm-Message-State: AA6/9RnhSc3+CEksuySGhU7QJYoksvd315BDj6uhcrbeDptHXItd0K442aEsyEP2DmNwcnyu X-Received: by 10.99.50.71 with SMTP id y68mr10345404pgy.111.1476893527923; Wed, 19 Oct 2016 09:12:07 -0700 (PDT) Received: from localhost (c-98-203-232-209.hsd1.wa.comcast.net. [98.203.232.209]) by smtp.gmail.com with ESMTPSA id k89sm65023318pfg.6.2016.10.19.09.12.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Oct 2016 09:12:07 -0700 (PDT) From: Kevin Hilman To: Ulf Hansson , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 2/2] Documentation: DT: MMC: meson-gx: new bindings doc Date: Wed, 19 Oct 2016 09:12:05 -0700 Message-Id: <20161019161205.28565-2-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161019161205.28565-1-khilman@baylibre.com> References: <20161019161205.28565-1-khilman@baylibre.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Kevin Hilman --- .../devicetree/bindings/mmc/amlogic,meson-gx.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt diff --git a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt new file mode 100644 index 000000000000..a2fa9a1c26ae --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt @@ -0,0 +1,33 @@ +Amlogic SD / eMMC controller for S905/GXBB family SoCs + +The MMC 5.1 compliant host controller on Amlogic provides the +interface for SD, eMMC and SDIO devices. + +This file documents the properties in addition to those available in +the MMC core bindings, documented by mmc.txt. + +Required properties: +- compatible : contains one of: + - "amlogic,meson-gx-mmc" + - "amlogic,meson-gxbb-mmc" + - "amlogic,meson-gxl-mmc" + - "amlogic,meson-gxm-mmc" +- clocks : A list of phandle + clock-specifier pairs for the clocks listed in clock-names. +- clock-names: Should contain the following: + "core" - Main peripheral bus clock + "clkin0" - Parent clock of internal mux + "clkin1" - Other parent clock of internal mux + The driver has an interal mux clock which switches between clkin0 and clkin1 depending on the + clock rate requested by the MMC core. + +Example: + + sd_emmc_a: mmc@70000 { + compatible = "amlogic,meson-gxbb-mmc"; + reg = <0x0 0x70000 0x0 0x2000>; + interrupts = < GIC_SPI 216 IRQ_TYPE_EDGE_RISING>; + clocks = <&clkc CLKID_SD_EMMC_A>, <&xtal>, <&clkc CLKID_FCLK_DIV2>; + clock-names = "core", "clkin0", "clkin1"; + pinctrl-0 = <&emmc_pins>; + }; +