From patchwork Fri Mar 9 15:12:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 883695 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vanguardiasur.com.ar Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=vanguardiasur-com-ar.20150623.gappssmtp.com header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.b="GUqiHpyP"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zyW9K6GJ0z9sc2 for ; Sat, 10 Mar 2018 02:13:25 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932124AbeCIPNY (ORCPT ); Fri, 9 Mar 2018 10:13:24 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:34864 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932121AbeCIPNX (ORCPT ); Fri, 9 Mar 2018 10:13:23 -0500 Received: by mail-qt0-f194.google.com with SMTP id z14so11046670qti.2 for ; Fri, 09 Mar 2018 07:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gOyZTLYBUN29sc/NXSomkiVqT7iPyYD2eKGMKo30/xw=; b=GUqiHpyPE34SuuPip0kAkbHLiE24b04PLR/IaDadO3/Pcys/VH+26b/wbAQucGDbHe aVsTp3DZU46/af/Zvqv5gTikoNT437DBv5lugDDaX+i4xXaDDK5TRkCnE2oZxAqFFLvx p/wtNc9Gwr5gfPKFfqaLddUWdaM/oc71bVrZqq1hIEOD9TzFKqjUig0E6AExGnslt3o+ SOxT1WuW8+biqMeUAoXCmbBOsrNbpdBoLhcplW2d31vSxEhAElGtk1VceAWaf9hgLCVt whgbBgb+BNW7DLA+dlZ5JjOJac79COoHnsmlNqCjZt3dWtB/KnSR+nVvmuomaxqC7Jgn pxHQ== 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=gOyZTLYBUN29sc/NXSomkiVqT7iPyYD2eKGMKo30/xw=; b=bmcU+dXnC8FPO48F3zrQ9kszuRsv9zhEk4n2QmVaZ3IWIy046jAx8IUxLZt2oFXrW7 AuvSZTsfzw4W1pnhx9AlYrcOTamDTQq9sOjipres2TFY+o2Sl8R+YPGZw6eW8ZnqN4y5 M4Td57RtVcbReq61P2f1/S+o7++lFqSj5yNhTOAWPuPfth9OX0K9k3y3OJILaU0wrL2D /9CIoeyEcuVlufUHryLXeMCnvcOBSDVNEkZC7S1UJdCEPkvWVLE139I2nxeIETXhna+e iSKECAF8b/5cxveXURVCJNOxsknIeG3gDuebgzDKoqrYIDjhByUwA8UlU2W38jpWHey8 PrQg== X-Gm-Message-State: AElRT7Gp7+hJhWPRa7An45LWH8Xml7hcshH62Be4dymEI6KjRiQDkSyv rRQ2jEDKm81zd0gJmqkVfz3r5A== X-Google-Smtp-Source: AG47ELt0CAehitwlpcwN7su2Ie4QiFzxCGj9oBtBnm+F0Mzo2JTPUz16ziwjuXuKZzTaptCGMtMcXw== X-Received: by 10.200.7.11 with SMTP id g11mr14020966qth.264.1520608402609; Fri, 09 Mar 2018 07:13:22 -0800 (PST) Received: from localhost.localdomain ([190.210.56.45]) by smtp.gmail.com with ESMTPSA id d186sm682187qkf.37.2018.03.09.07.13.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 07:13:21 -0800 (PST) From: Ezequiel Garcia To: Ulf Hansson , Paul Cercueil Cc: linux-mmc@vger.kernel.org, linux-mips@linux-mips.org, James Hogan , Ezequiel Garcia , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 06/14] mmc: dt-bindings: add MMC support to JZ4740 SoC Date: Fri, 9 Mar 2018 12:12:11 -0300 Message-Id: <20180309151219.18723-7-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180309151219.18723-1-ezequiel@vanguardiasur.com.ar> References: <20180309151219.18723-1-ezequiel@vanguardiasur.com.ar> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the devicetree binding for JZ4740/JZ4780 SoC. Cc: Rob Herring Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Ezequiel Garcia --- Documentation/devicetree/bindings/mmc/jz4740.txt | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/jz4740.txt diff --git a/Documentation/devicetree/bindings/mmc/jz4740.txt b/Documentation/devicetree/bindings/mmc/jz4740.txt new file mode 100644 index 000000000000..7cd8c432d7c8 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/jz4740.txt @@ -0,0 +1,38 @@ +* Ingenic JZ47xx MMC controllers + +This file documents the device tree properties used for the MMC controller in +Ingenic JZ4740/JZ4780 SoCs. These are in addition to the core MMC properties +described in mmc.txt. + +Required properties: +- compatible: Should be one of the following: + - "ingenic,jz4740-mmc" for the JZ4740 + - "ingenic,jz4780-mmc" for the JZ4780 +- reg: Should contain the MMC controller registers location and length. +- interrupts: Should contain the interrupt specifier of the MMC controller. +- clocks: Clock for the MMC controller. + +Optional properties: +- dmas: List of DMA specifiers with the controller specific format + as described in the generic DMA client binding. A tx and rx + specifier is required. +- dma-names: RX and TX DMA request names. + Should be "rx" and "tx", in that order. + +For additional details on DMA client bindings see ../dma/dma.txt. + +Example: + +mmc0: mmc@13450000 { + compatible = "ingenic,jz4780-mmc"; + reg = <0x13450000 0x1000>; + + interrupt-parent = <&intc>; + interrupts = <37>; + + clocks = <&cgu JZ4780_CLK_MSC0>; + clock-names = "mmc"; + + dmas = <&dma JZ4780_DMA_MSC0_RX 0xffffffff>, <&dma JZ4780_DMA_MSC0_TX 0xffffffff>; + dma-names = "rx", "tx"; +};