From patchwork Mon Sep 16 15:45:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 173858 Delivered-To: patch@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp4056418oce; Mon, 16 Sep 2019 08:46:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyh6vADIR6RwZgNAhV+eqgDbko8XmFHwwYiMi/q9CUyNobyze3UiDYh/nx7x+pcSfMGL0nz X-Received: by 2002:a17:906:6818:: with SMTP id k24mr591093ejr.271.1568648789839; Mon, 16 Sep 2019 08:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568648789; cv=none; d=google.com; s=arc-20160816; b=ABr8eKwJe1/HwpCz6mA/Xenm5YAOw/GAlg3POpetA9gZegKLaWB7buZcwohkKkKpgS GE3ZQPSy4W7aJiCsbe/rY7LNF5rOd/lnX23fMgLEA1SaLJubmsPqQdZO/OlAWEZ/1JHB F+NzmvMCIOWwca0tP2KTQnwyjQXMPOz1iopEwOILvgZntbW+ABNUlCckwvV9+Jwxw7MX PoquydfjB+kGmklmdxypt20TDqOfJ47G4VZK3TUnd2DI/F4uFRsaoE+7/c5+8BQcSTSX 5SNp5NYfZVq/sHBmBbTc28aIiPw0GecPzXulJUJUoz1HQUr7MEJJGBt8Tl12w1BLB6fA 4ayg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=vkOxPRaPbuf2u6O5EgSQilbhBs4SLuHStjl2F1LwBbA=; b=uumpIsWqy8VObwKKqhL58tZODhcsVt17OALsW5FE4OIGqx1Yh/fsI/uJ4o38ZHEGIB NLLIRagulRFRad53V5jMCMTE0p4RMhNSrJW+haWEKSo8J2w1sU5E8+nt1EM3rzO8ZYhn CcOloEP4aZPF2WS8Fg/2i+wWJec0ki6Xuz5urpOAONReGQg9AGDAow4nieh/fOLbvjkw yVpO67Kr1KxSYG1nnoujGyNaa2qTA460D9tpIc72G2E0l4FQvvLFz97YXhfMl8MKcCEB 53DqEXs7xrFG6Sr9nVACLfobZpaIAPnK8pE6SgzdYFsGjpI6Hp2vIxQvw3ULQhprPKTZ ytgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fDPJlRmm; 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=pass (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 f22si3822416ejc.373.2019.09.16.08.46.29; Mon, 16 Sep 2019 08:46:29 -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=pass header.i=@linaro.org header.s=google header.b=fDPJlRmm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389394AbfIPPq2 (ORCPT + 8 others); Mon, 16 Sep 2019 11:46:28 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42180 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389391AbfIPPq2 (ORCPT ); Mon, 16 Sep 2019 11:46:28 -0400 Received: by mail-pl1-f193.google.com with SMTP id e5so54672pls.9 for ; Mon, 16 Sep 2019 08:46:28 -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:in-reply-to:references; bh=vkOxPRaPbuf2u6O5EgSQilbhBs4SLuHStjl2F1LwBbA=; b=fDPJlRmmgIKRQu7QCJ3d1Kb5Fym9YQrGLxIh/dIN3cAXauC78bXRhNcXqn74YNPDuF XGwPyevw1I44l8G1G37uXqHnV6+psOCpszvbIq2UeEVsX23BNHJ9Fus9TKIhU76evWgz XP8gfq+FKoamM07ZDJqK9wWNFXBOJEcOCX1x0R7JFHB7y3F4T5/yhQ3mRGYwmAlMrdVi noZlQdjE4nwMbPTPLk2X87xZrzL76qnuLvJiAMyIu61ONdAHJOpEIyyqQWL+nN6MT1p3 KgKxiWYVbZUQegIR/bddVubqiIRIK3d7wzXWi69Eq50qsquOpeE8sBlo29BHxQp/Jqhr nzzg== 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=vkOxPRaPbuf2u6O5EgSQilbhBs4SLuHStjl2F1LwBbA=; b=cnfASY8dE0KECcIhd1OnAz4djkoNIhlZLpllBZOkBIoD0eS5PtPXxRqwzNuCJR+zB+ lbOwXbQcqBnG5LXPef+GXjkHC0iQIdexyw9kcGgr1Wbn8QPrMwkt21zRBBAF1T/PTxoa clZiCiGWx+oiQhZWfSFCk6NuNt3Gx+7bH4AoGrnCZ8KKK79GKBUsE1kqj8O3R9hSCKpV o1z3BQWTqDmwtYaEgzvDhH5sjzcFYOCZ9hm0iLOx1AfUvckDzWsN0B9ZKan9xD8ZFd6x s5/aC6J9J4AfGtxJW9TUXZRYHwjM+Q+ou4tKFGBOUdlRf+sfXNwsFhzUB502m+VKHc99 r4rA== X-Gm-Message-State: APjAAAVCzVXZk6aSIkMpPgtDN1eTY9AhOeNtK87QRNHamRMN2vXefGEp G0Vt5qc+hZoy8J8OLsGrQyHN X-Received: by 2002:a17:902:690c:: with SMTP id j12mr487701plk.132.1568648787774; Mon, 16 Sep 2019 08:46:27 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:90b:91ce:94c2:ef93:5bd:cfe8]) by smtp.gmail.com with ESMTPSA id s5sm36227670pfe.52.2019.09.16.08.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2019 08:46:27 -0700 (PDT) From: Manivannan Sadhasivam To: ulf.hansson@linaro.org, afaerber@suse.de, robh+dt@kernel.org, sboyd@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.liau@actions-semi.com, linux-actions@lists.infradead.org, linus.walleij@linaro.org, linux-clk@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v4 2/7] dt-bindings: mmc: Add Actions Semi SD/MMC/SDIO controller binding Date: Mon, 16 Sep 2019 21:15:41 +0530 Message-Id: <20190916154546.24982-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190916154546.24982-1-manivannan.sadhasivam@linaro.org> References: <20190916154546.24982-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add devicetree YAML binding for Actions Semi Owl SoC's SD/MMC/SDIO controller. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/mmc/owl-mmc.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/owl-mmc.yaml -- 2.17.1 Reviewed-by: Linus Walleij diff --git a/Documentation/devicetree/bindings/mmc/owl-mmc.yaml b/Documentation/devicetree/bindings/mmc/owl-mmc.yaml new file mode 100644 index 000000000000..12b40213426d --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/owl-mmc.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/owl-mmc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl SoCs SD/MMC/SDIO controller + +allOf: + - $ref: "mmc-controller.yaml" + +maintainers: + - Manivannan Sadhasivam + +properties: + compatible: + const: actions,owl-mmc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + + resets: + maxItems: 1 + + dmas: + maxItems: 1 + + dma-names: + const: mmc + +required: + - compatible + - reg + - interrupts + - clocks + - resets + - dmas + - dma-names + +examples: + - | + mmc0: mmc@e0330000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe0330000 0x0 0x4000>; + interrupts = <0 42 4>; + clocks = <&cmu 56>; + resets = <&cmu 23>; + dmas = <&dma 2>; + dma-names = "mmc"; + bus-width = <4>; + }; + +...